hw: Have DMA APIs take MemTxAttrs arg & propagate MemTxResult (full)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest23 patches 3 repliesIn review
- v15 patches 5 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | dma: Let dma_memory_valid() take MemTxAttrs argumentinclude/ include/ | +3 | 0 replies | |
| 2/23 | dma: Let dma_memory_set() take MemTxAttrs argumenthw/ include/ include/ +1 more | +8 | 0 replies | |
| 3/23 | dma: Let dma_memory_rw_relaxed() take MemTxAttrs argumentinclude/ | +10 | 0 replies | |
| 4/23 | dma: Let dma_memory_rw() take MemTxAttrs argumenthw/ hw/ include/ +2 more | +18 | 0 replies | |
| 5/23 | dma: Let dma_memory_read/write() take MemTxAttrs argumenthw/ hw/ hw/ +27 more | +241 | 0 replies | |
| 6/23 | dma: Let dma_memory_map() take MemTxAttrs argumenthw/ hw/ hw/ +5 more | +29 | 0 replies | |
| 7/23 | dma: Have dma_buf_rw() take a void pointersoftmmu/ | +2 | 0 replies | |
| 8/23 | dma: Have dma_buf_read() / dma_buf_write() take a void pointerhw/ include/ softmmu/ | +15 | 0 replies | |
| 9/23 | dma: Let pci_dma_rw() take MemTxAttrs argumenthw/ hw/ include/ | +9 | 0 replies | |
| 10/23 | dma: Let dma_buf_rw() take MemTxAttrs argumentsoftmmu/ | +6 | 0 replies | |
| 11/23 | dma: Let dma_buf_write() take MemTxAttrs argumenthw/ hw/ hw/ +3 more | +11 | 0 replies | |
| 12/23 | dma: Let dma_buf_read() take MemTxAttrs argumenthw/ hw/ hw/ +3 more | +19 | 0 replies | |
| 13/23 | dma: Let dma_buf_rw() propagate MemTxResultsoftmmu/ | +19 | 0 replies | |
| 14/23 | dma: Let dma_buf_read() / dma_buf_write() propagate MemTxResulthw/ hw/ hw/ +3 more | +52 | 1 reply | |
| 15/23 | dma: Let st*_dma() take MemTxAttrs argumenthw/ include/ include/ +1 more | +18 | 0 replies | |
| 16/23 | dma: Let ld*_dma() take MemTxAttrs argumenthw/ hw/ include/ +2 more | +17 | 0 replies | |
| 17/23 | dma: Let st*_dma() propagate MemTxResultinclude/ | +10 | 0 replies | |
| 18/23 | dma: Let ld*_dma() propagate MemTxResulthw/ hw/ include/ +2 more | +29 | 0 replies | |
| 19/23 | hw/scsi/megasas: Use uint32_t for reply queue head/tail valueshw/ hw/ | +6 | 0 replies | |
| 20/23 | pci: Let st*_pci_dma() take MemTxAttrs argumenthw/ hw/ hw/ +3 more | +52 | 0 replies | |
| 21/23 | pci: Let ld*_pci_dma() take MemTxAttrs argumenthw/ hw/ hw/ +5 more | +46 | 0 replies | |
| 22/23 | pci: Let st*_pci_dma() propagate MemTxResultinclude/ | +5 | 0 replies | |
| 23/23 | pci: Let ld*_pci_dma() propagate MemTxResulthw/ hw/ hw/ +4 more | +60 | 0 replies |
Reviews trailers per patch
All 23 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Li Qiang | Edgar E. Iglesias | Stefan Hajnoczi | Klaus Jensen | Cédric Le Goater |
|---|---|---|---|---|---|---|
| 1/23 | R-b | R-b | R-b | A-b | ||
| 2/23 | R-b | R-b | R-b | A-b | ||
| 3/23 | R-b | R-b | R-b | A-b | ||
| 4/23 | R-b | R-b | R-b | A-b | ||
| 5/23 | R-b | R-b | R-b | A-b | ||
| 6/23 | R-b | R-b | R-b | A-b | ||
| 7/23 | R-b | |||||
| 8/23 | R-b | |||||
| 9/23 | R-b | |||||
| 10/23 | R-b | |||||
| 11/23 | R-b | |||||
| 12/23 | R-b | |||||
| 13/23 | R-b | |||||
| 14/23 | R-b | |||||
| 15/23 | R-b | R-b | ||||
| 16/23 | R-b | R-b | ||||
| 17/23 | R-b | R-b | ||||
| 18/23 | R-b | R-b | ||||
| 19/23 | A-b | |||||
| 20/23 | R-b | |||||
| 21/23 | R-b | |||||
| 22/23 | R-b | |||||
| 23/23 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH v2 00/23] hw: Have DMA APIs take MemTxAttrs arg & propagate MemTxResult (full)
Hi Peter and Paolo.
This series contains all the uncontroversary patches from the "improve DMA situations, avoid re-entrancy issues" earlier series. The rest will be discussed on top.
The only operations added are:
- take MemTxAttrs argument
- propagate MemTxResult
All patches are reviewed.
If you don't see any objection, I plan to send this via a pull request by the end of next week.
Regards,
Phil.
Philippe Mathieu-Daudé (23):
dma: Let dma_memory_valid() take MemTxAttrs argument
dma: Let dma_memory_set() take MemTxAttrs argument
dma: Let dma_memory_rw_relaxed() take MemTxAttrs argument
dma: Let dma_memory_rw() take MemTxAttrs argument
dma: Let dma_memory_read/write() take MemTxAttrs argument
dma: Let dma_memory_map() take MemTxAttrs argument
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
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 hw/scsi/megasas: Use uint32_t for reply queue head/tail values
pci: Let st*_pci_dma() take MemTxAttrs argument
pci: Let ld*_pci_dma() take MemTxAttrs argument
pci: Let st*_pci_dma() propagate MemTxResult
pci: Let ld*_pci_dma() propagate MemTxResult
include/hw/pci/pci.h | 38 +++++++++------ include/hw/ppc/spapr_vio.h | 30 ++++++++---- include/sysemu/dma.h | 90 +++++++++++++++++++++-------------- hw/arm/musicpal.c | 13 ++--- hw/arm/smmu-common.c | 3 +- hw/arm/smmuv3.c | 14 ++++-- hw/audio/intel-hda.c | 13 +++-- hw/core/generic-loader.c | 3 +- hw/display/virtio-gpu.c | 10 ++-- hw/dma/pl330.c | 12 +++-- hw/dma/sparc32_dma.c | 16 ++++--- hw/dma/xlnx-zynq-devcfg.c | 6 ++- hw/dma/xlnx_dpdma.c | 10 ++-- hw/hyperv/vmbus.c | 8 ++-- hw/i386/amd_iommu.c | 16 ++++--- hw/i386/intel_iommu.c | 28 ++++++----- hw/ide/ahci.c | 18 ++++--- hw/ide/macio.c | 2 +- hw/intc/pnv_xive.c | 7 +-- hw/intc/spapr_xive.c | 3 +- hw/intc/xive.c | 7 +-- hw/misc/bcm2835_property.c | 3 +- hw/misc/macio/mac_dbdma.c | 10 ++-- hw/net/allwinner-sun8i-emac.c | 18 ++++--- hw/net/eepro100.c | 49 +++++++++++-------- hw/net/ftgmac100.c | 25 ++++++---- hw/net/imx_fec.c | 32 ++++++++----- hw/net/npcm7xx_emc.c | 20 ++++---- hw/net/tulip.c | 36 +++++++------- hw/nvme/ctrl.c | 5 +- hw/nvram/fw_cfg.c | 16 ++++--- hw/pci-host/pnv_phb3.c | 5 +- hw/pci-host/pnv_phb3_msi.c | 9 ++-- hw/pci-host/pnv_phb4.c | 5 +- hw/scsi/esp-pci.c | 2 +- hw/scsi/megasas.c | 86 ++++++++++++++++++++++----------- hw/scsi/mptsas.c | 16 +++++-- hw/scsi/scsi-bus.c | 4 +- hw/scsi/vmw_pvscsi.c | 20 +++++--- hw/sd/allwinner-sdhost.c | 14 +++--- hw/sd/sdhci.c | 35 +++++++++----- hw/usb/hcd-dwc2.c | 8 ++-- hw/usb/hcd-ehci.c | 6 ++- hw/usb/hcd-ohci.c | 28 ++++++----- hw/usb/hcd-xhci.c | 26 ++++++---- hw/usb/libhw.c | 3 +- hw/virtio/virtio.c | 6 ++- softmmu/dma-helpers.c | 32 ++++++++----- hw/scsi/trace-events | 8 ++-- 49 files changed, 542 insertions(+), 332 deletions(-)
Signature · 1 line
2.33.1