qemu-e2k/hw
Paul Durrant dfb6578d69 xen-hvm: stop faking I/O to access PCI config space
This patch removes the current hackery where IOREQ_TYPE_PCI_CONFIG
requests are handled by faking PIO to 0xcf8 and 0xcfc and replaces it
with direct calls to pci_host_config_read/write_common().
Doing so necessitates mapping BDFs to PCIDevices but maintaining a simple
QLIST in xen_device_realize/unrealize() will suffice.

NOTE: whilst config space accesses are currently limited to
      PCI_CONFIG_SPACE_SIZE, this patch paves the way to increasing the
      limit to PCIE_CONFIG_SPACE_SIZE when Xen gains the ability to
      emulate MCFG table accesses.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
2018-05-31 12:05:01 -07:00
..
9pfs xen: remove other open-coded use of libxengnttab 2018-05-22 11:43:21 -07:00
acpi acpi: fix a comment about aml_call0() 2018-05-20 08:58:58 +03:00
adc
alpha
arm ARM: ACPI: Fix use-after-free due to memory realloc 2018-05-31 16:32:35 +01:00
audio
block Xen 2018/05/22 2018-05-24 11:30:59 +01:00
bt
char xen: remove other open-coded use of libxengnttab 2018-05-22 11:43:21 -07:00
core numa: postpone options post-processing till machine_run_board_init() 2018-05-30 13:08:11 -03:00
cpu
cris
display bochs-display: add pcie support 2018-05-24 10:42:13 +02:00
dma xlnx-zdma: Correct mem leaks and memset to zero on desc unaligned errors 2018-05-31 14:50:52 +01:00
gpio
hppa Make MemoryRegion valid.accepts callback take a MemTxAttrs argument 2018-05-31 16:32:35 +01:00
i2c
i386 xen-hvm: stop faking I/O to access PCI config space 2018-05-31 12:05:01 -07:00
ide hw/ide/ahci: Keep ALLWINNER_AHCI() macro internal 2018-05-20 08:37:53 +03:00
input ps2: Fix mouse stream corruption due to lost data 2018-05-15 11:31:33 +02:00
intc KVM: GIC: Fix memory leak due to calling kvm_init_irq_routing twice 2018-05-31 16:32:35 +01:00
ipack
ipmi
isa
lm32
m68k
mem nvdimm: fix typo in label-size definition 2018-05-23 17:02:03 +03:00
microblaze
mips
misc Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
moxie
net Xen 2018/05/22 2018-05-24 11:30:59 +01:00
nios2
nvram Make MemoryRegion valid.accepts callback take a MemTxAttrs argument 2018-05-31 16:32:35 +01:00
openrisc
pci
pci-bridge
pci-host hw/pci-host/q35: Replace hardcoded value with macro 2018-05-23 03:14:40 +03:00
pcmcia
ppc ppc: Rename 2.13 machines to 3.0 2018-05-29 11:28:46 +01:00
rdma
riscv RISC-V: QEMU 2.13 Minor Fixes 2018-05-10 10:25:15 +01:00
s390x Make memory_region_access_valid() take a MemTxAttrs argument 2018-05-31 16:32:35 +01:00
scsi Make MemoryRegion valid.accepts callback take a MemTxAttrs argument 2018-05-31 16:32:35 +01:00
sd sdcard: Correct CRC16 offset in sd_function_switch() 2018-05-15 14:58:44 +01:00
sh4
smbios
sparc
sparc64
ssi
timer hw/timer/mt48t59: Fix bit-rotten NVRAM_PRINTF format strings 2018-05-20 08:50:16 +03:00
tpm tpm: extend TPM TIS with state migration support 2018-05-24 12:07:04 -04:00
tricore
unicore32
usb xen: remove other open-coded use of libxengnttab 2018-05-22 11:43:21 -07:00
vfio Make address_space_translate{, _cached}() take a MemTxAttrs argument 2018-05-31 14:50:52 +01:00
virtio Make address_space_get_iotlb_entry() take a MemTxAttrs argument 2018-05-31 16:32:35 +01:00
watchdog
xen Make MemoryRegion valid.accepts callback take a MemTxAttrs argument 2018-05-31 16:32:35 +01:00
xenpv
xtensa
Makefile.objs