Skip to content

hw/dma: Always expect 'dma' link property to be set to simplify

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 5 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4hw/arm/xlnx-zynqmp: Realize qspi controller *after* qspi_dmahw/arm/xlnx-zynqmp.c+20 -221 reply
2/4hw/dma/xlnx_csu_dma: Run trivial checks early in realize()hw/dma/xlnx_csu_dma.c+5 -51 reply
3/4hw/dma/xlnx_csu_dma: Always expect 'dma' link property to be sethw/arm/xlnx-zynqmp.c hw/dma/xlnx_csu_dma.c include/hw/dma/xlnx_csu_dma.h+15 -121 reply
4/4hw/dma/xlnx-zdma Always expect 'dma' link property to be sethw/arm/xlnx-versal.c hw/arm/xlnx-zynqmp.c hw/dma/xlnx-zdma.c +1 more+23 -131 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisPeter Maydell
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] hw/dma: Always expect 'dma' link property to be set to simplify

Fix a qdev realization ordering, then simplify a pair of DMA devices by always passing a MemoryRegion property to the device. Doing so we can move the AddressSpace field to the device struct, removing need for heap allocation.

Philippe Mathieu-Daudé (4):
hw/arm/xlnx-zynqmp: Realize qspi controller *after* qspi_dma hw/dma/xlnx_csu_dma: Run trivial checks early in realize() hw/dma/xlnx_csu_dma: Always expect 'dma' link property to be set hw/dma/xlnx-zdma Always expect 'dma' link property to be set

 include/hw/dma/xlnx-zdma.h    |  2 +-
 include/hw/dma/xlnx_csu_dma.h |  2 +-
 hw/arm/xlnx-versal.c          |  2 ++
 hw/arm/xlnx-zynqmp.c          | 54 +++++++++++++++++++++--------------
 hw/dma/xlnx-zdma.c            | 24 ++++++++--------
 hw/dma/xlnx_csu_dma.c         | 31 ++++++++++----------
 6 files changed, 63 insertions(+), 52 deletions(-)
Signature · 1 line
2.31.1