d25ab4b7f1
Currently, the next address picked by PCI mapping infrastructure
may be page-unaligned due to BAR length being smaller than page size.
This leads to a situation where the requested map address is invalid,
resulting in mmap() call returning an arbitrary address,
which will later interfere with device BAR mapping in secondary processes.
Fix it by always aligning the next requested address on page boundary.
Fixes:
|
||
---|---|---|
.. | ||
dpaa | ||
fslmc | ||
ifpga | ||
pci | ||
vdev | ||
vmbus | ||
Makefile | ||
meson.build |