Re: [PATCH v2 3/6] drivers/hv: arch-neutral implementation of get_vtl()

2024-05-15 Thread Roman Kisel
On 5/15/2024 6:38 AM, Michael Kelley wrote: From: Roman Kisel Sent: Tuesday, May 14, 2024 3:44 PM 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 t

RE: [PATCH v2 3/6] drivers/hv: arch-neutral implementation of get_vtl()

2024-05-15 Thread Michael Kelley
From: Roman Kisel Sent: Tuesday, May 14, 2024 3:44 PM > > 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-neutra

[PATCH v2 3/6] drivers/hv: arch-neutral implementation of get_vtl()

2024-05-14 Thread Roman Kisel
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: Roma