qemu-e2k/hw/arm
Alex Williamson db0da029a1 vfio: Generalize region support
Both platform and PCI vfio drivers create a "slow", I/O memory region
with one or more mmap memory regions overlayed when supported by the
device. Generalize this to a set of common helpers in the core that
pulls the region info from vfio, fills the region data, configures
slow mapping, and adds helpers for comleting the mmap, enable/disable,
and teardown.  This can be immediately used by the PCI MSI-X code,
which needs to mmap around the MSI-X vector table.

This also changes VFIORegion.mem to be dynamically allocated because
otherwise we don't know how the caller has allocated VFIORegion and
therefore don't know whether to unreference it to destroy the
MemoryRegion or not.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2016-03-10 20:03:16 -07:00
..
allwinner-a10.c
armv7m.c loader: Add data swap option to load-elf 2016-03-04 11:30:21 +00:00
bcm2835_peripherals.c raspi: fix SD card with recent sdhci changes 2016-02-26 15:09:42 +00:00
bcm2836.c raspi: fix SD card with recent sdhci changes 2016-02-26 15:09:42 +00:00
boot.c arm: boot: Support big-endian elfs 2016-03-04 11:30:21 +00:00
collie.c
cubieboard.c
digic_boards.c
digic.c
exynos4_boards.c
exynos4210.c
fsl-imx25.c
fsl-imx31.c
gumstix.c
highbank.c arm/boot: move highbank secure board setup code to common routine 2016-02-03 15:00:46 +00:00
imx25_pdk.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
integratorcp.c
kzm.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
mainstone.c
Makefile.objs raspi: add raspberry pi 2 machine 2016-02-03 15:00:47 +00:00
musicpal.c
netduino2.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
nseries.c
omap1.c
omap2.c
omap_sx1.c
palm.c
pxa2xx_gpio.c
pxa2xx_pic.c
pxa2xx.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
raspi.c raspi: fix SD card with recent sdhci changes 2016-02-26 15:09:42 +00:00
realview.c
spitz.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
stellaris.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
stm32f205_soc.c
strongarm.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
strongarm.h
sysbus-fdt.c vfio: Generalize region support 2016-03-10 20:03:16 -07:00
tosa.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
versatilepb.c
vexpress.c device_tree: qemu_fdt_getprop_cell converted to use the error API 2016-02-19 09:42:30 -07:00
virt-acpi-build.c acpi: arm: add fw_cfg device node to dsdt 2016-03-08 12:15:15 +01:00
virt.c hw/arm/virt: Assume EL3 boot rom will handle PSCI if one is provided 2016-03-04 11:30:18 +00:00
xilinx_zynq.c sdhci_sysbus: Create SD card device in users, not the device itself 2016-02-18 14:26:33 +00:00
xlnx-ep108.c sdhci_sysbus: Create SD card device in users, not the device itself 2016-02-18 14:26:33 +00:00
xlnx-zynqmp.c sdhci_sysbus: Create SD card device in users, not the device itself 2016-02-18 14:26:33 +00:00
z2.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00