[PATCH 0/4] Fix incorrect page size and address caclulations on systems with 64k (or other) page sizes
longli at linuxonhyperv.com
longli at linuxonhyperv.com
Fri Apr 18 21:32:46 CEST 2025
From: Long Li <longli at microsoft.com>
The Hyper-V uses 4k page size regardless of system page size.
This patchset fixes issues while running on systems with page sizes other than 4k.
Long Li (4):
bus/vmbus: Align ring buffer data region to system page boundary
bus/vmbus: Define Hyper-V page size
bus/vmbus: Use Hyper-V page size for mapping to UIO pages
net/netvsc: Use Hyper-V page size for the driver
drivers/bus/vmbus/bus_vmbus_driver.h | 4 ++++
drivers/bus/vmbus/linux/vmbus_uio.c | 2 +-
drivers/bus/vmbus/rte_vmbus_reg.h | 9 +++------
drivers/bus/vmbus/vmbus_bufring.c | 9 ++++++---
drivers/bus/vmbus/vmbus_common_uio.c | 2 +-
drivers/net/netvsc/hn_rndis.c | 14 +++++++-------
drivers/net/netvsc/hn_rxtx.c | 16 ++++++++--------
drivers/net/netvsc/hn_var.h | 4 ----
8 files changed, 30 insertions(+), 30 deletions(-)
--
2.34.1
More information about the dev
mailing list