Hi, Based on Benjamin Herrenschmidt's iommu series - these patches provide infrastructure for a chipset topology where an iommu can sit between main memory and the isa dma engine. The idea is remap addresses according to the iommu's wish when we are performing a dma engine r/w operation.
Since the iommu context is tied to the isa device structure, it can be set independently of the bus on which the isa device resides. Thus, I'm hoping that this patchset allows us to correctly model more complex chipset topologies. Thanks, -Jason Jason Baron (3): iommu: remove extra 'typedef struct DMAContext' iommu: add support for the isa dma engine iommu: add generic mapping support for the isa bus dma.h | 5 ++--- hw/cs4231a.c | 2 +- hw/dma.c | 19 ++++++++++++------- hw/fdc.c | 10 +++++----- hw/gus.c | 2 +- hw/isa-bus.c | 14 ++++++++++++++ hw/isa.h | 9 ++++++++- hw/sb16.c | 4 ++-- hw/sun4m.c | 2 +- hw/sun4u.c | 2 +- 10 files changed, 47 insertions(+), 22 deletions(-)