Skip to content

usb: make host adapters hot-pluggable

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5usb: tag xhci as hotpluggablehw/usb/hcd-xhci.c+0 -10 replies
2/5usb: tag standalone uhci as hotpluggablehw/usb/hcd-uhci.c+13 -30 replies
3/5usb: tag standalone ehci as hotpluggablehw/usb/hcd-ehci-pci.c hw/usb/hcd-ehci.c hw/usb/hcd-ehci.h+18 -30 replies
4/5usb: tag ohci as hotpluggablehw/usb/hcd-ohci.c+0 -10 replies
5/5tests: add usb hcds hotplugging qtesttests/Makefile tests/usb-hcd-hotplug-test.c+88 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] usb: make host adapters hot-pluggable

Hi,

This series the usb host adapters hot-pluggable. Problem is that we can NOT hotplug host adapters which are part of a companion setup. The way this is tackled now is to split the usb host adapter variants into two groups:

* All ich9-* variants (both uhci and ehci) support companion controller and are NOT hot-pluggable.
* All other variants do NOT support companion controller setups and can be hotplugged.

[ ohci is to be done, we have only one type there, so we have to create
a new one and put the existing into one of the two groups, /me wants collect feedback on the approach though. ]

Comments? Other suggestions?

cheers,
Gerd

Gerd Hoffmann (4):
usb: tag xhci as hotpluggable
usb: tag standalone uhci as hotpluggable
usb: tag standalone ehci as hotpluggable
[wip] usb: tag ohci as hotpluggable

Gonglei (1):
tests: add usb hcds hotplugging qtest

 hw/usb/hcd-ehci-pci.c        | 12 ++++++-
 hw/usb/hcd-ehci.c            |  8 +++--
 hw/usb/hcd-ehci.h            |  1 +
 hw/usb/hcd-ohci.c            |  1 -
 hw/usb/hcd-uhci.c            | 16 +++++++--
 hw/usb/hcd-xhci.c            |  1 -
 tests/Makefile               |  2 ++
 tests/usb-hcd-hotplug-test.c | 86 ++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 119 insertions(+), 8 deletions(-)
 create mode 100644 tests/usb-hcd-hotplug-test.c
Signature · 1 line
1.8.3.1