lkml.org 
[lkml]   [2023]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [EXTERNAL] [PATCH AUTOSEL 6.4 02/15] x86/smpboot: Implement a bit spinlock to protect the realmode stack
From
Date
On Sun, 2023-07-02 at 15:40 -0400, Sasha Levin wrote:
> From: Thomas Gleixner <tglx@linutronix.de>
>
> [ Upstream commit f6f1ae9128d2a080ecdd55f85e8a0ca3ed1d58eb ]
>
> 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.

This is also preparation for the parallel CPU bringup and (again,
unless I'm missing something) doesn't need to be backported to stable.
[unhandled content-type:application/pkcs7-signature]
\
 
 \ /
  Last update: 2023-07-03 11:19    [W:0.086 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site