[PATCH 0/2] Fix uio_hv_generic on 64k page systems

longli@linuxonhyperv.com posted 2 patches 8 months ago
drivers/hv/hv_common.c       | 29 +++++++----------------------
drivers/uio/uio_hv_generic.c |  4 ++--
2 files changed, 9 insertions(+), 24 deletions(-)
[PATCH 0/2] Fix uio_hv_generic on 64k page systems
Posted by longli@linuxonhyperv.com 8 months ago
From: Long Li <longli@microsoft.com>

UIO framework requires the device memory aligned to page boundary.
Hyper-V may allocate some memory that is Hyper-V page aligned (4k)
but not system page aligned.

Fix this by having Hyper-V always allocate those pages on system page
boundary and expose them to user-mode.

Long Li (2):
  Drivers: hv: Allocate interrupt and monitor pages aligned to system
    page boundary
  uio_hv_generic: Use correct size for interrupt and monitor pages

 drivers/hv/hv_common.c       | 29 +++++++----------------------
 drivers/uio/uio_hv_generic.c |  4 ++--
 2 files changed, 9 insertions(+), 24 deletions(-)

-- 
2.34.1