diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-05-12 23:07:53 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-05-15 13:45:03 +0200 |
commit | f6f1ae9128d2a080ecdd55f85e8a0ca3ed1d58eb (patch) | |
tree | 4555b22acd29516c4d70dcd7ec0d2c412b441730 /arch/x86/include/asm/apic.h | |
parent | bea629d57d006733d155bdb65ba4867788da69b6 (diff) | |
download | linux-stable-f6f1ae9128d2a080ecdd55f85e8a0ca3ed1d58eb.tar.gz linux-stable-f6f1ae9128d2a080ecdd55f85e8a0ca3ed1d58eb.tar.bz2 linux-stable-f6f1ae9128d2a080ecdd55f85e8a0ca3ed1d58eb.zip |
x86/smpboot: Implement a bit spinlock to protect the realmode stack
Parallel AP bringup requires that the APs can run fully parallel through
the early startup code including the real mode trampoline.
To prepare for this implement a bit-spinlock to serialize access to the
real mode stack so that parallel upcoming APs are not going to corrupt each
others stack while going through the real mode startup code.
Co-developed-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Helge Deller <deller@gmx.de> # parisc
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com> # Steam Deck
Link: https://lore.kernel.org/r/20230512205257.355425551@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/apic.h')
0 files changed, 0 insertions, 0 deletions