Skip to content

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

Philippe Mathieu-Daudé qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 8 repliesIn review
  2. v23 patches 15 repliesSuperseded

Changes in v3 from the cover letter

- Use &error_abort (Eduardo)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/pci: Introduce pci_dma_memory_region() helperinclude/hw/pci/pci.h+5 -01 reply
2/3hw/usb/hcd-xhci-pci: Abort if setting link property failedhw/usb/hcd-xhci-pci.c+1 -11 reply
3/3hw/usb/xhci: Always expect 'dma' link property to be sethw/i386/microvm.c hw/usb/hcd-xhci-pci.c hw/usb/hcd-xhci-sysbus.c +2 more+21 -196 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMark Cave-Ayland
1/3
2/3R-b
3/3

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

Read the v3 thread

Cover letter [PATCH v3 0/3] hw/usb: Always expect 'dma' link property to be set to simplify

Simplify the XHCI based 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.

Since v2:
- Use &error_abort (Eduardo)

Philippe Mathieu-Daudé (3):
hw/pci: Introduce pci_dma_memory_region() helper hw/usb/hcd-xhci-pci: Abort if setting link property failed hw/usb/xhci: Always expect 'dma' link property to be set

 hw/usb/hcd-xhci.h        |  2 +-
 include/hw/pci/pci.h     |  5 +++++
 hw/i386/microvm.c        |  2 ++
 hw/usb/hcd-xhci-pci.c    |  5 +++--
 hw/usb/hcd-xhci-sysbus.c | 13 ++++++-------
 hw/usb/hcd-xhci.c        | 20 ++++++++++----------
 6 files changed, 27 insertions(+), 20 deletions(-)
Signature · 1 line
2.31.1