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 v2] hyperv-tlfs: Change prefix of generic HV_REGISTER_* MSRs to HV_MSR_*

2024-03-03 Thread Wei Liu
On Tue, Feb 20, 2024 at 06:55:33AM -0800, Nuno Das Neves wrote: > The HV_REGISTER_ are used as arguments to hv_set/get_register(), which > delegate to arch-specific mechanisms for getting/setting synthetic > Hyper-V MSRs. > > On arm64, HV_REGISTER_ defines are synthetic VP registers accessed via >

Re: [PATCH 1/1] x86/hyperv: Use Hyper-V entropy to seed guest random number generator

2024-03-03 Thread Wei Liu
On Mon, Jan 22, 2024 at 08:00:03AM -0800, mhkelle...@gmail.com wrote: > From: Michael Kelley > > A Hyper-V host provides its guest VMs with entropy in a custom ACPI > table named "OEM0". The entropy bits are updated each time Hyper-V > boots the VM, and are suitable for seeding the Linux guest r

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

[GIT PULL] Hyper-V fixes for 6.8-rc8

2024-03-03 Thread Wei Liu
Hi Linus, The following changes since commit d206a76d7d2726f3b096037f2079ce0bd3ba329b: Linux 6.8-rc6 (2024-02-25 15:46:06 -0800) are available in the Git repository at: ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git tags/hyperv-fixes-signed-20240303 for you to

[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