Files
linux/drivers
Boqun Feng e7a792dcd6 Drivers: hv: balloon: Support status report for larger page sizes
commit b3d6dd09ff upstream.

DM_STATUS_REPORT expects the numbers of pages in the unit of 4k pages
(HV_HYP_PAGE) instead of guest pages, so to make it work when guest page
sizes are larger than 4k, convert the numbers of guest pages into the
numbers of HV_HYP_PAGEs.

Note that the numbers of guest pages are still used for tracing because
tracing is internal to the guest kernel.

Reported-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20220325023212.1570049-2-boqun.feng@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-05 10:30:04 +02:00
..
2022-09-05 10:30:03 +02:00
2022-08-17 14:23:13 +02:00
2022-08-31 17:16:50 +02:00
2022-04-13 20:59:01 +02:00
2022-08-17 14:23:16 +02:00
2022-08-25 11:40:33 +02:00