linux/include/hyperv
Roman Kisel e7e6902fbd Drivers: hv: Provide arch-neutral implementation of get_vtl()
To run in the VTL mode, Hyper-V drivers have to know what
VTL the system boots in, and the arm64/hyperv code does not
have the means to compute that.

Refactor the code to hoist the function that detects VTL,
make it arch-neutral to be able to employ it to get the VTL
on arm64.

Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Reviewed-by: Tianyu Lan <tiala@microsoft.com>
Link: https://lore.kernel.org/r/20250428210742.435282-5-romank@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250428210742.435282-5-romank@linux.microsoft.com>
2025-05-23 16:30:55 +00:00
..
hvgdk.h hyperv: Add new Hyper-V headers in include/hyperv 2025-01-10 00:54:20 +00:00
hvgdk_ext.h hyperv: Add new Hyper-V headers in include/hyperv 2025-01-10 00:54:20 +00:00
hvgdk_mini.h Drivers: hv: Provide arch-neutral implementation of get_vtl() 2025-05-23 16:30:55 +00:00
hvhdk.h hyperv: Add definitions for root partition driver to hv headers 2025-03-20 21:23:04 +00:00
hvhdk_mini.h hyperv: Add definitions for root partition driver to hv headers 2025-03-20 21:23:04 +00:00