cloud-hypervisor/pci/src
Jianyong Wu b475965632 vfio: align memory region size and address to PAGE_SIZE
In current implementation, memory region used in vfio is assumed to
align to 4k which may cause error when the PAGE_SIZE is not 4k, like on
Arm, it can be 16k and 64k.

Remove this assumption and align memory resource used by vfio to
PAGE_SIZE then vfio can run on host with 64k PAGE_SIZE.

Fixes: #5292
Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
(cherry picked from commit eca75dcfc9)
2024-01-19 09:09:22 -08:00
..
bus.rs pci: Replace BAR tuple with PciBarConfiguration 2022-04-19 12:54:09 -07:00
configuration.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2023-01-19 09:12:38 -08:00
device.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2023-01-19 09:12:38 -08:00
lib.rs pci: vfio: Filter out some PCI extended capabilities 2022-08-08 18:29:16 +02:00
msi.rs pci: msi: Make MsiCap field public 2022-06-09 09:19:58 +02:00
msix.rs pci: Optimise MSI-X table programming 2022-10-07 09:57:27 -07:00
vfio_user.rs misc: Automatically fix cargo clippy issues added in 1.65 (stable) 2023-01-19 09:12:38 -08:00
vfio.rs vfio: align memory region size and address to PAGE_SIZE 2024-01-19 09:09:22 -08:00