Re: [PATCH 0/2] Drivers: hv: Specify buffer size using Hyper-V page size

From: Sasha Levin
Date: Fri Oct 04 2019 - 11:29:37 EST


On Wed, Sep 04, 2019 at 11:40:21PM +0000, Michael Kelley wrote:
From: Himadri Pandya <himadrispandya@xxxxxxxxx> Sent: Wednesday, July 24, 2019 10:03 PM

recv_buffer and VMbus ring buffers are sized based on guest page size
which Hyper-V assumes to be 4KB. It might not be the case for some
architectures. Hence instead use the Hyper-V page size.

Himadri Pandya (2):
Drivers: hv: Specify receive buffer size using Hyper-V page size
Drivers: hv: util: Specify ring buffer size using Hyper-V page size

drivers/hv/hv_fcopy.c | 3 ++-
drivers/hv/hv_kvp.c | 3 ++-
drivers/hv/hv_snapshot.c | 3 ++-
drivers/hv/hv_util.c | 13 +++++++------
4 files changed, 13 insertions(+), 9 deletions(-)

--
2.17.1

Thomas -- can you pick up this patch set in the x86/hyperv branch
of your tip tree along with the other patches to fix wrong page size
assumptions?

I've queued these two for hyperv-next, thanks!

--
Thanks,
Sasha