diff options
author | Michael Kelley <mikelley@microsoft.com> | 2021-08-04 18:52:35 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-08-04 19:54:36 +0300 |
commit | 57d276bbbd322409bb6f7c6446187a29953f8ded (patch) | |
tree | 3215d3505edd5a2169987cf9bcc728dde8850b8f /arch/arm64/hyperv/Makefile | |
parent | e5d9b714fe40270222a7de9dcd1cf62dad63eeef (diff) | |
download | linux-57d276bbbd322409bb6f7c6446187a29953f8ded.tar.xz |
arm64: hyperv: Add Hyper-V hypercall and register access utilities
hyperv-tlfs.h defines Hyper-V interfaces from the Hyper-V Top Level
Functional Spec (TLFS), and #includes the architecture-independent
part of hyperv-tlfs.h in include/asm-generic. The published TLFS
is distinctly oriented to x86/x64, so the ARM64-specific
hyperv-tlfs.h includes information for ARM64 that is not yet formally
published. The TLFS is available here:
docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/tlfs
mshyperv.h defines Linux-specific structures and routines for
interacting with Hyper-V on ARM64, and #includes the architecture-
independent part of mshyperv.h in include/asm-generic.
Use these definitions to provide utility functions to make
Hyper-V hypercalls and to get and set Hyper-V provided
registers associated with a virtual processor.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/1628092359-61351-2-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch/arm64/hyperv/Makefile')
-rw-r--r-- | arch/arm64/hyperv/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/hyperv/Makefile b/arch/arm64/hyperv/Makefile new file mode 100644 index 000000000000..1697d30ff106 --- /dev/null +++ b/arch/arm64/hyperv/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +obj-y := hv_core.o |