numam-dpdk/drivers
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
..
baseband bb/turbo_sw: update for FlexRAN 18.09 2018-12-19 11:19:10 +01:00
bus vfio: support 64KB kernel page size 2018-12-20 00:12:20 +01:00
common compress/qat: fix dequeue error counter 2018-12-19 11:19:10 +01:00
compress compress/qat: fix dequeue error counter 2018-12-19 11:19:10 +01:00
crypto crypto/qat: fix message for NULL algo setting unused counter 2018-12-19 11:19:10 +01:00
event fix global variable issues 2018-10-29 02:34:27 +01:00
mempool add missing static keyword to globals 2018-10-29 02:01:08 +01:00
net net/netvsc: disable multi-queue on older servers 2018-12-19 03:02:13 +01:00
raw drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: change default driver installation directory 2018-10-27 23:22:12 +02:00