x86/hyperv: extract partition ID from Microsoft Hypervisor if necessary
authorWei Liu <wei.liu@kernel.org>
Wed, 3 Feb 2021 15:04:25 +0000 (15:04 +0000)
committerWei Liu <wei.liu@kernel.org>
Thu, 11 Feb 2021 08:47:06 +0000 (08:47 +0000)
commit99a0f46af6a7715147e81c558d558021aad4e207
tree6766b7ff294dc7bfaa3ec8130e7a8ca668ad5740
parent5d0f077e0f413b7eca827b16ea8bfc4569e3946c
x86/hyperv: extract partition ID from Microsoft Hypervisor if necessary

We will need the partition ID for executing some hypercalls later.

Signed-off-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-7-wei.liu@kernel.org
arch/x86/hyperv/hv_init.c
arch/x86/include/asm/mshyperv.h
include/asm-generic/hyperv-tlfs.h