summaryrefslogtreecommitdiff
path: root/tools/docs/lib
diff options
context:
space:
mode:
authorJinank Jain <jinankjain@linux.microsoft.com>2025-10-10 14:55:51 -0700
committerWei Liu <wei.liu@kernel.org>2025-11-15 06:18:16 +0000
commitd62313bdf5961b5f815f0b212f029cf146a8a804 (patch)
tree47226884bb881facd67b326c39c96a4ced4298c5 /tools/docs/lib
parent19c515c27cee3bbba7e70a4d84f4b7e4d8d1cd7e (diff)
mshv: Introduce new hypercall to map stats page for L1VH partitions
Introduce HVCALL_MAP_STATS_PAGE2 which provides a map location (GPFN) to map the stats to. This hypercall is required for L1VH partitions, depending on the hypervisor version. This uses the same check as the state page map location; mshv_use_overlay_gpfn(). Add mshv_map_vp_state_page() helpers to use this new hypercall or the old one depending on availability. For unmapping, the original HVCALL_UNMAP_STATS_PAGE works for both cases. Signed-off-by: Jinank Jain <jinankjain@linux.microsoft.com> Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com> Reviewed-by: Easwar Hariharan <easwar.hariharan@linux.microsoft.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/docs/lib')
0 files changed, 0 insertions, 0 deletions