Re: [PATCH v3 3/7] Drivers: hv: Provide arch-neutral implementation of get_vtl()

2024-08-05 Thread Roman Kisel
On 8/5/2024 1:13 PM, Michael Kelley wrote: From: Roman Kisel Sent: Monday, August 5, 2024 9:20 AM On 8/4/2024 8:02 PM, Michael Kelley wrote: From: Roman Kisel Sent: Friday, July 26, 2024 3:59 PM To run in the VTL mode, Hyper-V drivers have to know what VTL the system boots in, and the

RE: [PATCH v3 3/7] Drivers: hv: Provide arch-neutral implementation of get_vtl()

2024-08-05 Thread Michael Kelley
From: Roman Kisel Sent: Monday, August 5, 2024 9:20 AM > > On 8/4/2024 8:02 PM, Michael Kelley wrote: > > From: Roman Kisel Sent: Friday, July 26, 2024 > > 3:59 > 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

Re: [PATCH v3 3/7] Drivers: hv: Provide arch-neutral implementation of get_vtl()

2024-08-05 Thread Roman Kisel
On 8/4/2024 8:02 PM, Michael Kelley wrote: From: Roman Kisel Sent: Friday, July 26, 2024 3:59 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 th

Re: [PATCH v3 3/7] Drivers: hv: Provide arch-neutral implementation of get_vtl()

2024-08-04 Thread Saurabh Singh Sengar
On Sat, Aug 03, 2024 at 01:21:52AM +, Wei Liu wrote: > On Fri, Jul 26, 2024 at 03:59:06PM -0700, Roman Kisel 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

RE: [PATCH v3 3/7] Drivers: hv: Provide arch-neutral implementation of get_vtl()

2024-08-04 Thread Michael Kelley
From: Roman Kisel Sent: Friday, July 26, 2024 3:59 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

Re: [PATCH v3 3/7] Drivers: hv: Provide arch-neutral implementation of get_vtl()

2024-08-02 Thread Wei Liu
On Fri, Jul 26, 2024 at 03:59:06PM -0700, Roman Kisel 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-neut