diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2015-09-24 09:56:44 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2015-10-23 10:38:10 +1100 |
commit | f93caaac36ec3b030184055596cb56f64d0de988 (patch) | |
tree | 400cea0118975035cfe932fd8c6a5812e6b1c78e /hw/ppc/spapr_iommu.c | |
parent | fd5da5c47264a57c7d01507eaf50bf3d288ba8a4 (diff) |
spapr_pci: Allow PCI host bridge DMA window to be configured
At present the PCI host bridge (PHB) for the pseries machine type has a
fixed DMA window from 0..1GB (in PCI address space) which is mapped to real
memory via the PAPR paravirtualized IOMMU.
For better support of VFIO devices, we're going to want to allow for
different configurations of the DMA window.
Eventually we'll want to allow the guest itself to reconfigure the window
via the PAPR dynamic DMA window interface, but as a preliminary this patch
allows the user to reconfigure the window with new properties on the PHB
device.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'hw/ppc/spapr_iommu.c')
0 files changed, 0 insertions, 0 deletions