qemu-irix/include
Alexey Kardashevskiy b4b6eb771a spapr_iommu: Add root memory region
We are going to have multiple DMA windows at different offsets on
a PCI bus. For the sake of migration, we will have as many TCE table
objects pre-created as many windows supported.
So we need a way to map windows dynamically onto a PCI bus
when migration of a table is completed but at this stage a TCE table
object does not have access to a PHB to ask it to map a DMA window
backed by just migrated TCE table.

This adds a "root" memory region (UINT64_MAX long) to the TCE object.
This new region is mapped on a PCI bus with enabled overlapping as
there will be one root MR per TCE table, each of them mapped at 0.
The actual IOMMU memory region is a subregion of the root region and
a TCE table enables/disables this subregion and maps it at
the specific offset inside the root MR which is 1:1 mapping of
a PCI address space.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-06-07 10:17:45 +10:00
..
block blockjob: Remove BlockJob.bs 2016-05-25 19:04:21 +02:00
crypto
disas qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
exec exec: hide mr->ram_addr from qemu_get_ram_ptr users 2016-05-29 09:11:12 +02:00
fpu
hw spapr_iommu: Add root memory region 2016-06-07 10:17:45 +10:00
io
libdecnumber
migration vmstate: Define VARRAY with VMS_ALLOC 2016-06-07 10:17:45 +10:00
monitor
net net_pkt: Extend packet abstraction as required by e1000e functionality 2016-06-02 10:42:28 +08:00
qapi migration: add reporting of errors for outgoing migration 2016-05-26 11:31:30 +05:30
qemu atomics: do not emit consume barrier for atomic_rcu_read 2016-05-29 09:11:11 +02:00
qom cpu: Add a sync version of cpu_remove() 2016-05-30 14:17:05 +10:00
standard-headers
sysemu kvm: API to obtain max supported mem slots 2016-06-07 10:17:45 +10:00
ui spice: Initialization stubs on qemu-spice.h 2016-05-20 14:28:53 -03:00
elf.h
glib-compat.h
qemu-common.h qemu-common: push cpu.h inclusion out of qemu-common.h 2016-05-19 16:42:29 +02:00
qemu-io.h
trace-tcg.h
trace.h