[PATCH hyperv-next v5 04/11] Drivers: hv: Provide arch-neutral implementation of get_vtl()

Tianyu Lan ltykernel at gmail.com
Mon Mar 10 06:44:55 PDT 2025


On Sat, Mar 8, 2025 at 6:04 AM Roman Kisel <romank at linux.microsoft.com> wrote:
>
> 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 at linux.microsoft.com>
> Reviewed-by: Michael Kelley <mhklinux at outlook.com>
> ---
Reviewed-by: Tianyu Lan <tiala at microsoft.com>

-- 
Thanks
Tianyu Lan



More information about the linux-arm-kernel mailing list