Re: [PATCH v8 1/6] arm64: hyperv: Add Hyper-V hypercall and register access utilities
From: Wei Liu <wei.liu@kernel.org>
Date: 2021-02-22 10:21:40
Also in:
linux-arm-kernel, linux-efi, lkml
From: Wei Liu <wei.liu@kernel.org>
Date: 2021-02-22 10:21:40
Also in:
linux-arm-kernel, linux-efi, lkml
On Thu, Feb 18, 2021 at 03:16:29PM -0800, Michael Kelley wrote:
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 <redacted>
Reviewed-by: Wei Liu <wei.liu@kernel.org>