Skip to contentSkip to conversation

qemu-sparc update

GIT PULL Applied Mark Cave-Ayland 2 participants 2 messages Oct 31, 2017 – Nov 2, 2017

lore
Share & tools
lore
#0 lore raw

Hi Peter,

Here are the last set of changes for 2.11 which is the tidy up of the sun4m DMA devices along with the switch from the legacy sun4m IOMMU API to an IOMMU memory region instead. Please pull.

ATB,

Mark.

The following changes since commit 7fa00e204902cee0b33a0c60de87e87319d1809f:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20171031' into staging (2017-10-31 14:28:25 +0000)

are available in the git repository at:

https://github.com/mcayland/qemu.git tags/qemu-sparc-signed

for you to fetch changes up to badd3d62c619d24a5af62198374f42b7c510ee41:

sun4m: change TYPE_SUN4M_IOMMU macro from "iommu" to "sun4m-iommu" (2017-10-31 17:25:37 +0000)

----------------------------------------------------------------
qemu-sparc update

----------------------------------------------------------------
Mark Cave-Ayland (17):
sparc32_dma: rename SPARC32_DMA type to SPARC32_DMA_DEVICE
sparc32_dma: split esp and le into separate DMA devices
sparc32_dma: move type declarations from sparc32_dma.c to sparc32_dma.h
sun4m: move DMA device wiring from sparc32_dma_init() to sun4m_hw_init()
sun4m_iommu: move TYPE_SUN4M_IOMMU declaration to sun4m.h
sparc32_dma: use object link instead of qdev property to pass IOMMU reference
esp: move TYPE_ESP and SysBusESPState from esp.c to esp.h
sparc32_dma: make esp device child of espdma device
lance: move TYPE_LANCE and SysBusPCNetState from lance.c to lance.h
sparc32_dma: make lance device child of ledma device
sparc32_dma: introduce new SPARC32_DMA type container object
sparc32_dma: remove is_ledma hack and replace with memory region alias
sparc32_dma: add len to esp/le DMA memory tracing
sun4m: implement IOMMU translation using IOMMU memory region
sparc32_dma: switch over to using IOMMU memory region and DMA API
sun4m_iommu: remove legacy sparc_iommu_memory_rw() function
sun4m: change TYPE_SUN4M_IOMMU macro from "iommu" to "sun4m-iommu"

 hw/dma/sparc32_dma.c           |  252 +++++++++++++++++++++++++++++-----------
 hw/dma/sun4m_iommu.c           |  101 +++++++++-------
 hw/dma/trace-events            |    8 +-
 hw/net/lance.c                 |   11 +-
 hw/scsi/esp.c                  |   13 ---
 hw/sparc/sun4m.c               |   82 +++++--------
 include/hw/net/lance.h         |   45 +++++++
 include/hw/scsi/esp.h          |   14 +++
 include/hw/sparc/sparc32_dma.h |   55 +++++++++
 include/hw/sparc/sun4m.h       |   35 +++---
 10 files changed, 413 insertions(+), 203 deletions(-)
 create mode 100644 include/hw/net/lance.h
#1 lore raw
Quoted 19 lines · Mark Cave-Ayland

Hi Peter,

Here are the last set of changes for 2.11 which is the tidy up of the sun4m DMA devices along with the switch from the legacy sun4m IOMMU API to an IOMMU memory region instead. Please pull.

ATB,

Mark.

The following changes since commit 7fa00e204902cee0b33a0c60de87e87319d1809f:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20171031' into staging (2017-10-31 14:28:25 +0000)

are available in the git repository at:

Quoted 8 lines

https://github.com/mcayland/qemu.git tags/qemu-sparc-signed

for you to fetch changes up to badd3d62c619d24a5af62198374f42b7c510ee41:

sun4m: change TYPE_SUN4M_IOMMU macro from "iommu" to "sun4m-iommu" (2017-10-31 17:25:37 +0000)

----------------------------------------------------------------
qemu-sparc update

Applied, thanks.

-- PMM