qemu/hw/pci-host
Alexander Graf cb3778a045 PPC: e500 pci host: Add support for ATMUs
The e500 PCI controller has configurable windows that allow a guest OS
to selectively map parts of the PCI bus space to CPU address space and
to selectively map parts of the CPU address space for DMA requests into
PCI visible address ranges.

So far, we've simply assumed that this mapping is 1:1 and ignored it.

However, the PCICSRBAR (CCSR mapped in PCI bus space) always has to live
inside the first 32bits of address space. This means if we always treat
all mappings as 1:1, this map will collide with our RAM map from the CPU's
point of view.

So this patch adds proper ATMU support which allows us to keep the PCICSRBAR
below 32bits local to the PCI bus and have another, different window to PCI
BARs at the upper end of address space. We leverage this on e500plat though,
mpc8544ds stays virtually 1:1 like it was before, but now also goes via ATMU.

With this patch, I can run guests with lots of RAM and not coincidently access
MSI-X mappings while I really want to access RAM.

Signed-off-by: Alexander Graf <agraf@suse.de>
2015-01-07 16:16:24 +01:00
..
apb.c apb: implement PCI bus error interrupt map registers 2014-09-09 06:07:12 +01:00
bonito.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
grackle.c pci-host: Consistently set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:23 +01:00
Makefile.objs dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
pam.c pci-host: update uncorresponding description 2014-08-15 18:54:06 +04:00
piix.c piix: do not set irq while loading vmstate 2014-09-11 12:20:32 +02:00
ppce500.c PPC: e500 pci host: Add support for ATMUs 2015-01-07 16:16:24 +01:00
prep.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
q35.c intel-iommu: add context-cache to cache context-entry 2014-08-28 23:10:22 +02:00
uninorth.c uninorth: Fix PCI hole size 2014-06-27 13:48:24 +02:00
versatile.c pci-host: Consistently set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:23 +01:00