Re: [XEN PATCH 8/9] x86/smp: make cpu_state per-CPU

2024-03-13 Thread Jan Beulich
On 12.03.2024 17:38, Krystian Hebel wrote: > On 8.02.2024 13:13, Jan Beulich wrote: >> On 14.11.2023 18:50, Krystian Hebel wrote: >>> @@ -320,6 +317,10 @@ void start_secondary(unsigned int cpu) >>> >>> /* Critical region without IDT or TSS. Any fault is deadly! */ >>> >>> +/* Wait

Re: [XEN PATCH 8/9] x86/smp: make cpu_state per-CPU

2024-03-12 Thread Krystian Hebel
On 8.02.2024 13:13, Jan Beulich wrote: On 14.11.2023 18:50, Krystian Hebel wrote: This will be used for parallel AP bring-up. CPU_STATE_INIT changed direction. Nit: I think you mean "changes" as you describe what the patch does, not what has happened before. But ... It was previously set

Re: [XEN PATCH 8/9] x86/smp: make cpu_state per-CPU

2024-02-08 Thread Jan Beulich
On 14.11.2023 18:50, Krystian Hebel wrote: > This will be used for parallel AP bring-up. > > CPU_STATE_INIT changed direction. Nit: I think you mean "changes" as you describe what the patch does, not what has happened before. But ... > It was previously set by BSP and never > consumed by AP.

[XEN PATCH 8/9] x86/smp: make cpu_state per-CPU

2023-11-14 Thread Krystian Hebel
This will be used for parallel AP bring-up. CPU_STATE_INIT changed direction. It was previously set by BSP and never consumed by AP. Now it signals that AP got through assembly part of initialization and waits for BSP to call notifiers that set up data structures required for further