Re: [PATCH v6 09/14] x86: Secure Launch SMP bringup support

2023-05-15 Thread Ross Philipson
On 5/12/23 14:02, Thomas Gleixner wrote: On Thu, May 04 2023 at 14:50, Ross Philipson wrote: +#ifdef CONFIG_SECURE_LAUNCH + +static atomic_t first_ap_only = {1}; ATOMIC_INIT(1) if at all. + +/* + * Called to fix the long jump address for the waiting APs to vector to + * the correct

Re: [PATCH v6 09/14] x86: Secure Launch SMP bringup support

2023-05-12 Thread Thomas Gleixner
On Thu, May 04 2023 at 14:50, Ross Philipson wrote: > > +#ifdef CONFIG_SECURE_LAUNCH > + > +static atomic_t first_ap_only = {1}; ATOMIC_INIT(1) if at all. > + > +/* > + * Called to fix the long jump address for the waiting APs to vector to > + * the correct startup location in the Secure

Re: [PATCH v6 09/14] x86: Secure Launch SMP bringup support

2023-05-11 Thread Ross Philipson
On 5/10/23 18:55, Jarkko Sakkinen wrote: On Thu May 4, 2023 at 5:50 PM EEST, Ross Philipson wrote: On Intel, the APs are left in a well documented state after TXT performs the late launch. Specifically they cannot have #INIT asserted on them so a standard startup via INIT/SIPI/SIPI cannot be

Re: [PATCH v6 09/14] x86: Secure Launch SMP bringup support

2023-05-10 Thread Jarkko Sakkinen
On Thu May 4, 2023 at 5:50 PM EEST, Ross Philipson wrote: > On Intel, the APs are left in a well documented state after TXT performs > the late launch. Specifically they cannot have #INIT asserted on them so > a standard startup via INIT/SIPI/SIPI cannot be performed. Instead the > early SL stub

Re: [PATCH v6 09/14] x86: Secure Launch SMP bringup support

2023-05-05 Thread Ross Philipson
On 5/5/23 13:54, Simon Horman wrote: On Thu, May 04, 2023 at 02:50:18PM +, Ross Philipson wrote: On Intel, the APs are left in a well documented state after TXT performs the late launch. Specifically they cannot have #INIT asserted on them so a standard startup via INIT/SIPI/SIPI cannot be

Re: [PATCH v6 09/14] x86: Secure Launch SMP bringup support

2023-05-05 Thread Simon Horman
On Thu, May 04, 2023 at 02:50:18PM +, Ross Philipson wrote: > On Intel, the APs are left in a well documented state after TXT performs > the late launch. Specifically they cannot have #INIT asserted on them so > a standard startup via INIT/SIPI/SIPI cannot be performed. Instead the > early SL

[PATCH v6 09/14] x86: Secure Launch SMP bringup support

2023-05-04 Thread Ross Philipson
On Intel, the APs are left in a well documented state after TXT performs the late launch. Specifically they cannot have #INIT asserted on them so a standard startup via INIT/SIPI/SIPI cannot be performed. Instead the early SL stub code parked the APs in a pause/jmp loop waiting for an NMI. The