Re: [PATCH v3] x86/hyperv: Use per cpu initial stack for vtl context

2024-03-08 Thread Wei Liu
On Tue, Mar 05, 2024 at 12:26:50AM +, Wei Liu wrote: > On Sun, Mar 03, 2024 at 11:08:17PM -0800, Saurabh Singh Sengar wrote: > > On Mon, Mar 04, 2024 at 06:24:27AM +, Wei Liu wrote: > > > On Sun, Mar 03, 2024 at 12:01:36AM -0800, Saurabh Sengar wrote: > > > > Currently, the secondary CPUs i

Re: [PATCH v3] x86/hyperv: Use per cpu initial stack for vtl context

2024-03-04 Thread Wei Liu
On Sun, Mar 03, 2024 at 11:08:17PM -0800, Saurabh Singh Sengar wrote: > On Mon, Mar 04, 2024 at 06:24:27AM +, Wei Liu wrote: > > On Sun, Mar 03, 2024 at 12:01:36AM -0800, Saurabh Sengar wrote: > > > Currently, the secondary CPUs in Hyper-V VTL context lack support for > > > parallel startup. Th

Re: [PATCH v3] x86/hyperv: Use per cpu initial stack for vtl context

2024-03-03 Thread Saurabh Singh Sengar
On Mon, Mar 04, 2024 at 06:24:27AM +, Wei Liu wrote: > On Sun, Mar 03, 2024 at 12:01:36AM -0800, Saurabh Sengar wrote: > > Currently, the secondary CPUs in Hyper-V VTL context lack support for > > parallel startup. Therefore, relying on the single initial_stack fetched > > from the current task

Re: [PATCH v3] x86/hyperv: Use per cpu initial stack for vtl context

2024-03-03 Thread Wei Liu
On Sun, Mar 03, 2024 at 12:01:36AM -0800, Saurabh Sengar wrote: > Currently, the secondary CPUs in Hyper-V VTL context lack support for > parallel startup. Therefore, relying on the single initial_stack fetched > from the current task structure suffices for all vCPUs. > > However, common initial_s

[PATCH v3] x86/hyperv: Use per cpu initial stack for vtl context

2024-03-03 Thread Saurabh Sengar
Currently, the secondary CPUs in Hyper-V VTL context lack support for parallel startup. Therefore, relying on the single initial_stack fetched from the current task structure suffices for all vCPUs. However, common initial_stack risks stack corruption when parallel startup is enabled. In order to