[PATCH v3 01/11] Drivers: hv: vmbus: Always use HV_HYP_PAGE_SIZE for gpadl
Michael Kelley
mikelley at microsoft.com
Sat Sep 12 15:23:22 EDT 2020
From: Boqun Feng <boqun.feng at gmail.com> Sent: Thursday, September 10, 2020 7:35 AM
>
> Since the hypervisor always uses 4K as its page size, the size of PFNs
> used for gpadl should be HV_HYP_PAGE_SIZE rather than PAGE_SIZE, so
> adjust this accordingly as the preparation for supporting 16K/64K page
> size guests. No functional changes on x86, since PAGE_SIZE is always 4k
> (equals to HV_HYP_PAGE_SIZE).
>
> Signed-off-by: Boqun Feng <boqun.feng at gmail.com>
> ---
> drivers/hv/channel.c | 13 +++++--------
> 1 file changed, 5 insertions(+), 8 deletions(-)
>
Reviewed-by: Michael Kelley <mikelley at microsoft.com>
More information about the linux-arm-kernel
mailing list