Skip to content

hw: Have DMA API take MemTxAttrs arg & propagate MemTxResult (part 3)

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dma: Let st*_dma() take MemTxAttrs argumenthw/nvram/fw_cfg.c include/hw/pci/pci.h include/hw/ppc/spapr_vio.h +1 more+18 -112 replies
2/4dma: Let ld*_dma() take MemTxAttrs argumenthw/intc/pnv_xive.c hw/usb/hcd-xhci.c include/hw/pci/pci.h +2 more+17 -132 replies
3/4dma: Let st*_dma() propagate MemTxResultinclude/sysemu/dma.h+10 -102 replies
4/4dma: Let ld*_dma() propagate MemTxResulthw/intc/pnv_xive.c hw/usb/hcd-xhci.c include/hw/pci/pci.h +2 more+29 -232 replies

Reviews trailers per patch

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

PatchRichard HendersonCédric Le Goater
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

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

Read the v1 thread

Cover letter [PATCH 0/4] hw: Have DMA API take MemTxAttrs arg & propagate MemTxResult (part 3)

After updating the dma_buf API in part 3, we now update the ld/st API to:
- take a MemTxAttrs argument,
- propagate a MemTxResult.

Based-on: <[email protected]> "Have DMA API take MemTxAttrs arg & propagate MemTxResult (part 2)"
https://www.mail-archive.com/[email protected]/msg856860.html

Philippe Mathieu-Daudé (4):
dma: Let st*_dma() take MemTxAttrs argument
dma: Let ld*_dma() take MemTxAttrs argument
dma: Let st*_dma() propagate MemTxResult
dma: Let ld*_dma() propagate MemTxResult

 include/hw/pci/pci.h       |  8 ++++++--
 include/hw/ppc/spapr_vio.h | 19 ++++++++++++-----
 include/sysemu/dma.h       | 42 ++++++++++++++++++++------------------
 hw/intc/pnv_xive.c         |  7 ++++---
 hw/nvram/fw_cfg.c          |  4 ++--
 hw/usb/hcd-xhci.c          |  7 ++++---
 6 files changed, 52 insertions(+), 35 deletions(-)
Signature · 1 line
2.33.1