x86/hyperv: provide a bunch of helper functions
authorWei Liu <wei.liu@kernel.org>
Wed, 3 Feb 2021 15:04:28 +0000 (15:04 +0000)
committerWei Liu <wei.liu@kernel.org>
Thu, 11 Feb 2021 08:47:06 +0000 (08:47 +0000)
commit86b5ec3552f3c09694e6f7934834b0a2a3aeebbe
treea96fd59a9cde7371e95825f70a3f4c8c334fad76
parent4f0455cf6f23800c78265c88922c6afd875d08a7
x86/hyperv: provide a bunch of helper functions

They are used to deposit pages into Microsoft Hypervisor and bring up
logical and virtual processors.

Signed-off-by: Lillian Grassin-Drake <ligrassi@microsoft.com>
Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Co-Developed-by: Lillian Grassin-Drake <ligrassi@microsoft.com>
Co-Developed-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Co-Developed-by: Nuno Das Neves <nunodasneves@linux.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-10-wei.liu@kernel.org
arch/x86/hyperv/Makefile
arch/x86/hyperv/hv_proc.c [new file with mode: 0644]
arch/x86/include/asm/mshyperv.h
include/asm-generic/hyperv-tlfs.h