diff options
author | Alexey Kardashevskiy | 2014-05-27 07:36:33 +0200 |
---|---|---|
committer | Alexander Graf | 2014-06-16 13:24:39 +0200 |
commit | e28c16f61feefa197e04e83662f32bfc1d607723 (patch) | |
tree | 47f362c4ae61db1fa995ab809e04262a3713a877 /include | |
parent | spapr_pci: spapr_iommu: Make DMA window a subregion (diff) | |
download | qemu-e28c16f61feefa197e04e83662f32bfc1d607723.tar.gz qemu-e28c16f61feefa197e04e83662f32bfc1d607723.tar.xz qemu-e28c16f61feefa197e04e83662f32bfc1d607723.zip |
spapr_pci: Allow multiple TCE tables per PHB
At the moment sPAPRPHBState contains a @tcet pointer to the only
TCE table. However sPAPR spec allows having more than one DMA window.
Since the TCE object is already a child of SPAPR PHB object, there is
no need to keep an additional pointer to it in sPAPRPHBState so remove it.
This changes the way sPAPRPHBState::reset performs reset of sPAPRTCETable
objects.
This changes the default DMA window properties calculation.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/pci-host/spapr.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/pci-host/spapr.h b/include/hw/pci-host/spapr.h index fcb62137a2..9ce83ea1aa 100644 --- a/include/hw/pci-host/spapr.h +++ b/include/hw/pci-host/spapr.h @@ -62,7 +62,6 @@ struct sPAPRPHBState { uint32_t dma_liobn; uint64_t dma_window_start; uint64_t dma_window_size; - sPAPRTCETable *tcet; AddressSpace iommu_as; MemoryRegion iommu_root; |