On 8/28/2025 5:43 PM, Nuno Das Neves wrote:
> From: Jinank Jain <[email protected]>
> 
> Introduce mshv_use_overlay_gpfn() to check if a page needs to be
> allocated and passed to the hypervisor to map VP state pages. This is
> only needed on L1VH, and only on some (newer) versions of the
> hypervisor, hence the need to check vmm_capabilities.
> 
> Introduce functions hv_map/unmap_vp_state_page() to handle the
> allocation and freeing.
> 
> Signed-off-by: Jinank Jain <[email protected]>
> Signed-off-by: Nuno Das Neves <[email protected]>
> ---
>  drivers/hv/mshv_root.h         | 11 +++---
>  drivers/hv/mshv_root_hv_call.c | 61 +++++++++++++++++++++++++---
>  drivers/hv/mshv_root_main.c    | 72 +++++++++++++++++-----------------
>  3 files changed, 96 insertions(+), 48 deletions(-)

<snip>

Reviewed-by: Easwar Hariharan <[email protected]>

Reply via email to