0cfd027be1
pci_map_rom/pci_get_rom_size() performs memory access in the ROM.
In case the Memory Space accesses were disabled, readw() is likely
to trigger a synchronous external abort on some platforms.
In case memory accesses were disabled, re-enable them before the
call and disable them back again just after.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
trace.h | ||
vfio_pci.c | ||
vfio_pci_config.c | ||
vfio_pci_igd.c | ||
vfio_pci_intrs.c | ||
vfio_pci_nvlink2.c | ||
vfio_pci_private.h | ||
vfio_pci_rdwr.c |