All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix uio_hv_generic on 64k page systems
@ 2025-04-18  0:43 longli
  2025-04-18  0:43 ` [PATCH 1/2] Drivers: hv: Allocate interrupt and monitor pages aligned to system page boundary longli
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: longli @ 2025-04-18  0:43 UTC (permalink / raw)
  To: K. Y. Srinivasan, Haiyang Zhang, Wei Liu, Dexuan Cui,
	Greg Kroah-Hartman, linux-hyperv, linux-kernel
  Cc: Long Li

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-04-23 20:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-18  0:43 [PATCH 0/2] Fix uio_hv_generic on 64k page systems longli
2025-04-18  0:43 ` [PATCH 1/2] Drivers: hv: Allocate interrupt and monitor pages aligned to system page boundary longli
2025-04-20 23:57   ` Michael Kelley
2025-04-23 18:39     ` Long Li
2025-04-23 20:14       ` Michael Kelley
2025-04-18  0:43 ` [PATCH 2/2] uio_hv_generic: Use correct size for interrupt and monitor pages longli
2025-04-20 23:58   ` Michael Kelley
2025-04-23 18:49     ` Long Li
2025-04-23 20:07       ` Michael Kelley
2025-04-20 23:57 ` [PATCH 0/2] Fix uio_hv_generic on 64k page systems Michael Kelley
2025-04-23 18:30   ` Long Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.