On Wed, Sep 04, 2019 at 11:37:12PM +0000, Michael Kelley wrote:
From: Himadri Pandya <himadrispandya@xxxxxxxxx> Sent: Friday, August 16, 2019 9:09 PM
Hyper-V assumes page size to be 4K. This might not be the case for
ARM64 architecture. Hence use hyper-v specific page size and page
shift definitions to avoid conflicts between different host and guest
page sizes on ARM64.
Also, remove some old and incorrect comments and redefine ballooning
granularities to handle larger page sizes correctly.
Signed-off-by: Himadri Pandya <himadri18.07@xxxxxxxxx>
---
drivers/hv/hv_balloon.c | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>
Thomas -- can you pick up this patch in the x86/hyperv branch of your
tip tree along with the other patches to fix wrong page size assumptions?
I've queued this for hyperv-next, thanks!
--
Thanks,
Sasha