[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/3] hw/usb: Always expect 'dma' link property to be set to si
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 0/3] hw/usb: Always expect 'dma' link property to be set to simplify |
Date: |
Thu, 19 Aug 2021 19:15:44 +0200 |
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
- [PATCH v2 0/3] hw/usb: Always expect 'dma' link property to be set to simplify,
Philippe Mathieu-Daudé <=
- [PATCH v2 1/3] hw/pci: Introduce pci_dma_memory_region() helper, Philippe Mathieu-Daudé, 2021/08/19
- [PATCH v2 2/3] hw/usb/hcd-xhci-pci: Abort if setting link property failed, Philippe Mathieu-Daudé, 2021/08/19
- Re: [PATCH v2 2/3] hw/usb/hcd-xhci-pci: Abort if setting link property failed, Eduardo Habkost, 2021/08/23
- Re: [PATCH v2 2/3] hw/usb/hcd-xhci-pci: Abort if setting link property failed, Peter Maydell, 2021/08/24
- Re: [PATCH v2 2/3] hw/usb/hcd-xhci-pci: Abort if setting link property failed, Markus Armbruster, 2021/08/24
- Re: [PATCH v2 2/3] hw/usb/hcd-xhci-pci: Abort if setting link property failed, Peter Maydell, 2021/08/24
- Re: [PATCH v2 2/3] hw/usb/hcd-xhci-pci: Abort if setting link property failed, Eduardo Habkost, 2021/08/24