All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] hw/usb: Always expect 'dma' link property to be set to simplify
@ 2021-08-19 17:15 Philippe Mathieu-Daudé
  2021-08-19 17:15 ` [PATCH v2 1/3] hw/pci: Introduce pci_dma_memory_region() helper Philippe Mathieu-Daudé
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-08-19 17:15 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Sergio Lopez, Michael S. Tsirkin,
	Richard Henderson, Gerd Hoffmann, Paolo Bonzini,
	Philippe Mathieu-Daudé

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.

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(-)

-- 
2.31.1




^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2021-08-25  7:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19 17:15 [PATCH v2 0/3] hw/usb: Always expect 'dma' link property to be set to simplify Philippe Mathieu-Daudé
2021-08-19 17:15 ` [PATCH v2 1/3] hw/pci: Introduce pci_dma_memory_region() helper Philippe Mathieu-Daudé
2021-08-19 17:15 ` [PATCH v2 2/3] hw/usb/hcd-xhci-pci: Abort if setting link property failed Philippe Mathieu-Daudé
2021-08-23 18:34   ` Eduardo Habkost
2021-08-24  8:13     ` Markus Armbruster
2021-08-24  8:35       ` Philippe Mathieu-Daudé
2021-08-24  8:46         ` Philippe Mathieu-Daudé
2021-08-24  9:19       ` Peter Maydell
2021-08-24 12:05         ` Markus Armbruster
2021-08-24 12:16           ` Peter Maydell
2021-08-24 13:57             ` Eduardo Habkost
2021-08-24 14:24               ` Peter Maydell
2021-08-24 14:29               ` Markus Armbruster
2021-08-24 14:27             ` Markus Armbruster
2021-08-24 14:30               ` Peter Maydell
2021-08-24 15:15                 ` Markus Armbruster
2021-08-24 15:19                   ` Peter Maydell
2021-08-25  7:48                     ` Markus Armbruster
2021-08-19 17:15 ` [PATCH v2 3/3] hw/usb/xhci: Always expect 'dma' link property to be set Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.