Re: [PATCH v3 4/5] hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h
From: Easwar Hariharan
Date: Fri Dec 06 2024 - 00:13:49 EST
On 11/25/2024 3:24 PM, Nuno Das Neves wrote:
> Switch to using hvhdk.h everywhere in the kernel. This header
> includes all the new Hyper-V headers in include/hyperv, which form a
> superset of the definitions found in hyperv-tlfs.h.
>
> This makes it easier to add new Hyper-V interfaces without being
> restricted to those in the TLFS doc (reflected in hyperv-tlfs.h).
>
> To be more consistent with the original Hyper-V code, the names of
> some definitions are changed slightly. Update those where needed.
>
> Update comments in mshyperv.h files to point to include/hyperv for
> adding new definitions.
>
> Signed-off-by: Nuno Das Neves <nunodasneves@xxxxxxxxxxxxxxxxxxx>
> ---
> arch/arm64/hyperv/hv_core.c | 2 +-
> arch/arm64/hyperv/mshyperv.c | 4 ++--
> arch/arm64/include/asm/mshyperv.h | 7 +++----
> arch/x86/hyperv/hv_init.c | 20 ++++++++++----------
> arch/x86/hyperv/hv_proc.c | 2 +-
> arch/x86/hyperv/nested.c | 2 +-
> arch/x86/include/asm/kvm_host.h | 2 +-
> arch/x86/include/asm/mshyperv.h | 2 +-
> arch/x86/include/asm/svm.h | 2 +-
> arch/x86/kernel/cpu/mshyperv.c | 2 +-
> arch/x86/kvm/vmx/hyperv_evmcs.h | 2 +-
> arch/x86/kvm/vmx/vmx_onhyperv.h | 2 +-
> drivers/clocksource/hyperv_timer.c | 2 +-
> drivers/hv/hv_balloon.c | 4 ++--
> drivers/hv/hv_common.c | 2 +-
> drivers/hv/hv_kvp.c | 2 +-
> drivers/hv/hv_snapshot.c | 2 +-
> drivers/hv/hyperv_vmbus.h | 2 +-
> include/asm-generic/mshyperv.h | 7 +++----
> include/clocksource/hyperv_timer.h | 2 +-
> include/linux/hyperv.h | 2 +-
> net/vmw_vsock/hyperv_transport.c | 6 +++---
> 22 files changed, 39 insertions(+), 41 deletions(-)
Reviewed-by: Easwar Hariharan <eahariha@xxxxxxxxxxxxxxxxxxx>