x86/hyperv: implement and use hv_smp_prepare_cpus
authorWei Liu <wei.liu@kernel.org>
Wed, 3 Feb 2021 15:04:29 +0000 (15:04 +0000)
committerWei Liu <wei.liu@kernel.org>
Thu, 11 Feb 2021 08:47:06 +0000 (08:47 +0000)
commit333abaf5abb396820c4c7c26a8eecc7523c99184
tree414dac5e0d6ef40fd4a0454d3d5ccc28c18c1c4a
parent86b5ec3552f3c09694e6f7934834b0a2a3aeebbe
x86/hyperv: implement and use hv_smp_prepare_cpus

Microsoft Hypervisor requires the root partition to make a few
hypercalls to setup application processors before they can be used.

Signed-off-by: Lillian Grassin-Drake <ligrassi@microsoft.com>
Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Co-Developed-by: Lillian Grassin-Drake <ligrassi@microsoft.com>
Co-Developed-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20210203150435.27941-11-wei.liu@kernel.org
arch/x86/kernel/cpu/mshyperv.c