Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43678 )
Change subject: soc/amd/picasso: Don't run dcache_clean_all() in psp_verstage
......................................................................
Patch Set 5:
The dcache_xxx functions are meant to be callable at any point in common code and do the platform-appropriate thing, so I guess it's true that we can't just have Picasso sidestep every point where it happens to be called. Otherwise we'll keep chasing that whenever we add more cache flushes to common code later (and I assume it's a runtime exception so it wouldn't even be easy to tell that you broke it).
Please don't put a guard around every dcache_xxx call in coreboot either, though, it should be handled inside the function. I guess we need something like CONFIG(ARM_IN_USR_MODE)?
--
To view, visit
https://review.coreboot.org/c/coreboot/+/43678
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6775b2e049d6cfd9f78f2e07a941f6cc5be254b8
Gerrit-Change-Number: 43678
Gerrit-PatchSet: 5
Gerrit-Owner: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Eric Peers
epeers@google.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Kangheui Won
khwon@chromium.org
Gerrit-Reviewer: Kangheui Won
khwon@google.com
Gerrit-Reviewer: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: Rob Barnes
robbarnes@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Julius Werner
jwerner@chromium.org
Gerrit-CC: Nico Huber
nico.h@gmx.de
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Thu, 23 Jul 2020 23:29:34 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment