diff options
author | Boqun Feng <boqun.feng@gmail.com> | 2020-09-16 11:48:07 +0800 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2020-09-28 08:55:12 +0000 |
commit | a5dda201a0384e577884d9427dc60a336ced216f (patch) | |
tree | 84fc2a76a7cc0c54ef619a3d32a12f1508c85769 /drivers/clk/clk.c | |
parent | 49971e6bad2da980686368baa34039907f62b516 (diff) |
Drivers: hv: vmbus: Always use HV_HYP_PAGE_SIZE for gpadl
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@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20200916034817.30282-2-boqun.feng@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/clk/clk.c')
0 files changed, 0 insertions, 0 deletions