Skip to content

hw/usb/hcd-xhci-pci: Add TI TUSB73X0 XHCI controller model

Nicholas Piggin qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 9 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Remove an unused variable noticed by Philippe.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/usb/hcd-xhci-pci: Make PCI device more configurablehw/usb/hcd-xhci-nec.c hw/usb/hcd-xhci-pci.c hw/usb/hcd-xhci-pci.h+78 -107 replies
2/2hw/usb/hcd-xhci-pci: Add TI TUSB73X0 XHCI controller modelhw/usb/Kconfig hw/usb/hcd-xhci-ti.c hw/usb/meson.build +3 more+115 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] hw/usb/hcd-xhci-pci: Add TI TUSB73X0 XHCI controller model

Hi,

This adds a new USB XHCI PCI host controller model, the TI TUSB73X0.

The motivation for this is that IBM's AIX and PowerVM do not support the NEC driver.

hcd-xhci-pci code is changed in patch 1 to make PCI settings configurable where the new model differs from existing. E.g., the option to add the PM cap, and option to use exclusive MSIX BAR.

Changes since v1:
- Remove an unused variable noticed by Philippe.

Thanks,
Nick

Nicholas Piggin (2):
hw/usb/hcd-xhci-pci: Make PCI device more configurable hw/usb/hcd-xhci-pci: Add TI TUSB73X0 XHCI controller model

 hw/usb/hcd-xhci-pci.h           |  9 ++++
 include/hw/pci/pci_ids.h        |  1 +
 include/hw/usb/xhci.h           |  1 +
 hw/usb/hcd-xhci-nec.c           | 10 ++++
 hw/usb/hcd-xhci-pci.c           | 69 +++++++++++++++++++++----
 hw/usb/hcd-xhci-ti.c            | 92 +++++++++++++++++++++++++++++++++
 tests/qtest/usb-hcd-xhci-test.c | 21 +++++---
 hw/usb/Kconfig                  |  5 ++
 hw/usb/meson.build              |  1 +
 9 files changed, 193 insertions(+), 16 deletions(-)
 create mode 100644 hw/usb/hcd-xhci-ti.c
Signature · 1 line
2.45.2