Skip to content

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

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8dma: Have dma_buf_rw() take a void pointersoftmmu/dma-helpers.c+2 -10 replies
2/8dma: Have dma_buf_read() / dma_buf_write() take a void pointerhw/scsi/megasas.c include/sysemu/dma.h softmmu/dma-helpers.c+15 -150 replies
3/8dma: Let pci_dma_rw() take MemTxAttrs argumenthw/audio/intel-hda.c hw/scsi/esp-pci.c include/hw/pci/pci.h+9 -60 replies
4/8dma: Let dma_buf_rw() take MemTxAttrs argumentsoftmmu/dma-helpers.c+6 -50 replies
5/8dma: Let dma_buf_write() take MemTxAttrs argumenthw/ide/ahci.c hw/nvme/ctrl.c hw/scsi/megasas.c +3 more+11 -90 replies
6/8dma: Let dma_buf_read() take MemTxAttrs argumenthw/ide/ahci.c hw/nvme/ctrl.c hw/scsi/megasas.c +3 more+19 -200 replies
7/8dma: Let dma_buf_rw() propagate MemTxResultsoftmmu/dma-helpers.c+19 -60 replies
8/8dma: Let dma_buf_read() / dma_buf_write() propagate MemTxResulthw/ide/ahci.c hw/nvme/ctrl.c hw/scsi/megasas.c +3 more+52 -361 reply

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKlaus Jensen
SeriesR-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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/8] hw: Have DMA API take MemTxAttrs arg & propagate MemTxResult (part 2)

This is the continuation of part 1 (dma_memory API):
https://www.mail-archive.com/[email protected]/msg820359.html

This series update the dma_buf API.

Based on "hw: Let the DMA API take a MemTxAttrs argument"
Based-on: <[email protected]>

Philippe Mathieu-Daudé (8):
dma: Have dma_buf_rw() take a void pointer
dma: Have dma_buf_read() / dma_buf_write() take a void pointer
dma: Let pci_dma_rw() take MemTxAttrs argument
dma: Let dma_buf_rw() take MemTxAttrs argument
dma: Let dma_buf_write() take MemTxAttrs argument
dma: Let dma_buf_read() take MemTxAttrs argument
dma: Let dma_buf_rw() propagate MemTxResult
dma: Let dma_buf_read() / dma_buf_write() propagate MemTxResult

 include/hw/pci/pci.h  | 10 +++++----
 include/sysemu/dma.h  |  6 ++++--
 hw/audio/intel-hda.c  |  3 ++-
 hw/ide/ahci.c         | 10 +++++----
 hw/nvme/ctrl.c        |  5 +++--
 hw/scsi/esp-pci.c     |  2 +-
 hw/scsi/megasas.c     | 48 ++++++++++++++++++++++++++++++-------------
 hw/scsi/scsi-bus.c    |  4 ++--
 softmmu/dma-helpers.c | 25 ++++++++++++++--------
 9 files changed, 74 insertions(+), 39 deletions(-)
Signature · 1 line
2.33.1