Re: [PATCH 0/2] Drivers: hv: Remove dependencies on guest page size

From: Sasha Levin
Date: Fri Oct 04 2019 - 11:41:27 EST


On Wed, Sep 04, 2019 at 11:41:43PM +0000, Michael Kelley wrote:
From: Himadri Pandya <himadrispandya@xxxxxxxxx>

Hyper-V assumes page size to be 4KB. This might not be the case on ARM64
architecture. The first patch in this patchset introduces a hyer-v
specific function for allocating a zeroed page which can have a
different implementation on ARM64 to address the issue of different
guest and host page sizes. The second patch removes dependencies on
guest page size in vmbus by using hyper-v specific page symbol and
functions.

Himadri Pandya (2):
x86: hv: Add function to allocate zeroed page for Hyper-V
Drivers: hv: vmbus: Remove dependencies on guest page size

arch/x86/hyperv/hv_init.c | 8 ++++++++
arch/x86/include/asm/mshyperv.h | 1 +
drivers/hv/connection.c | 14 +++++++-------
drivers/hv/vmbus_drv.c | 6 +++---
4 files changed, 19 insertions(+), 10 deletions(-)

--
2.17.1

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'll take it through the hyper-v tree, there's a bunch of similar work
queued up there already.

--
Thanks,
Sasha