numam-dpdk/drivers/bus
Tone Zhang 9cea8774cf vfio: support 64KB kernel page size
With a larger PAGE_SIZE it is possible for the MSI table to very
close to the end of the BAR s.t. when we align the start and end
of the MSI table to the PAGE_SIZE, the end offset of the MSI
table is out of the PCI BAR boundary.

This patch addresses the issue by comparing both the start and the
end offset of the MSI table with the BAR size, and skip the mapping
if it is out of Bar scope.

The patch fixes the debug log as below:
EAL: Skipping BAR0

Signed-off-by: Tone Zhang <tone.zhang@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Steve Capper <steve.capper@arm.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-12-20 00:12:20 +01:00
..
dpaa bus/dpaa: do nothing if bus not present 2018-12-19 03:13:29 +01:00
fslmc bus/fslmc: ignore dpaax PA-VA table errors 2018-10-25 00:51:05 +02:00
ifpga eal: allow probing a device again 2018-10-18 01:49:52 +02:00
pci vfio: support 64KB kernel page size 2018-12-20 00:12:20 +01:00
vdev devargs: do not replace already inserted device 2018-11-12 00:10:21 +01:00
vmbus bus/vmbus: debug subchannel setup 2018-12-19 03:02:16 +01:00
Makefile
meson.build