Attention is currently required from: Jason Glenesk, Nico Huber, Marshall Dawson, Julius Werner, Kyösti Mälkki, Felix Held.
Raul Rangel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59020 )
Change subject: treewide: Remove unused spinlock functions
......................................................................
Patch Set 2:
(3 comments)
File src/arch/x86/include/arch/smp/spinlock.h:
https://review.coreboot.org/c/coreboot/+/59020/comment/09cf1c28_4d077768
PS2, Line 31: #define barrier() __asm__ __volatile__("" : : : "memory")
static void phys_memory_barrier(void) in lib/ramtest.c […]
In CB:43810 you said it doesn't belong here. If we want to clean up those other ones we can IMO do it in a separate CL.
File src/soc/amd/common/psp_verstage/include/arch/smp/spinlock.h:
https://review.coreboot.org/c/coreboot/+/59020/comment/a39f1509_76d2c996
PS2, Line 8: #define spin_unlock(lock) do {} while (0)
We enter this file undef CONFIG(SMP) so these are not really acceptable. […]
We could change the guard to `CONFIG(SMP) && ENV_RAMSTAGE`.
https://review.coreboot.org/c/coreboot/+/59020/comment/b9fddca1_5f63224c
PS2, Line 11: #define boot_cpu() 1
Why does spinlock.h have #include <smp/node.h> at the end? […]
no idea. this was copied from the arm spinlock.h.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/59020
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3e9a742e6b311d972a260039401bfd8f8766dd36
Gerrit-Change-Number: 59020
Gerrit-PatchSet: 2
Gerrit-Owner: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Jason Glenesk
jason.glenesk@gmail.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Karthik Ramasubramanian
kramasub@google.com
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Jason Glenesk
jason.glenesk@gmail.com
Gerrit-Attention: Nico Huber
nico.h@gmx.de
Gerrit-Attention: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-Attention: Julius Werner
jwerner@chromium.org
Gerrit-Attention: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Attention: Felix Held
felix-coreboot@felixheld.de
Gerrit-Comment-Date: Tue, 09 Nov 2021 15:35:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-MessageType: comment