Skip to content

usb patch queue

Gerd Hoffmann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22xhci: add {get, set}_field macros & enum for plshw/usb/hcd-xhci.c+31 -80 replies
2/22xhci: s/xhci_update_port/xhci_port_update/hw/usb/hcd-xhci.c+5 -50 replies
3/22xhci: add xhci_port_have_devicehw/usb/hcd-xhci.c+12 -20 replies
4/22xhci: add xhci_port_notifyhw/usb/hcd-xhci.c+17 -140 replies
5/22xhci: add xhci_port_resethw/usb/hcd-xhci.c+9 -40 replies
6/22xhci: set pls in xhci_port_update & xhci_port_resethw/usb/hcd-xhci.c+24 -20 replies
7/22xhci: add port trace pointshw/usb/hcd-xhci.c trace-events+7 -10 replies
8/22xhci: allow address slot being called multiple timeshw/usb/hcd-xhci.c+7 -20 replies
9/22usb/ehci: parameterise the register region offsetshw/usb/hcd-ehci.c+36 -320 replies
10/22usb/ehci: Abstract away PCI DMA APIhw/usb/hcd-ehci.c+8 -50 replies
11/22usb/ehci: seperate out PCIismshw/usb/hcd-ehci.c+72 -520 replies
12/22usb/ehci: Guard definition of EHCI_DEBUGhw/usb/hcd-ehci.c+2 -00 replies
13/22usb/ehci: split into multiple source fileshw/usb/Makefile.objs hw/usb/hcd-ehci-pci.c hw/usb/hcd-ehci.c +1 more+462 -4240 replies
14/22usb/ehci: add sysbus varianthw/usb/Makefile.objs hw/usb/hcd-ehci-sysbus.c+78 -11 reply
15/22uhci: dynamic type generationhw/usb/hcd-uhci.c+70 -1260 replies
16/22uhci: stick irq routing info into UHCIInfo too.hw/usb/hcd-uhci.c+18 -140 replies
17/22uhci: add ich9 00:1a.* variantshw/usb/hcd-uhci.c+24 -30 replies
18/22usb/ehci-pci: dynamic type generationhw/usb/hcd-ehci-pci.c+35 -310 replies
19/22usb/ehci-pci: add ich9 00:1a.* varianthw/usb/hcd-ehci-pci.c+6 -10 replies
20/22usb/ehci-pci: add helper to create ich9 usb controllershw/usb.h hw/usb/hcd-ehci-pci.c+55 -00 replies
21/22usb: mtp filesharinghw/usb/Makefile.objs hw/usb/dev-mtp.c trace-events+1109 -00 replies
22/22trace: allow disabling events in events filetrace/control.c+8 -10 replies

Reviews trailers per patch

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

PatchPeter Crosthwaite
1/22
2/22
3/22
4/22
5/22
6/22
7/22
8/22
9/22
10/22
11/22
12/22
13/22
14/22R-b T-b
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/22] usb patch queue

Hi,

Current state of the usb patch queue, including all experimental bits. Overview:

   1 ->  8  --  A bunch of xhci bugfixes.  IMO ready to merge.
   9 -> 14  --  Separate core + pci bits of ehci, add sysfs ehci.

Should be (almost) ready for merge too.
15 -> 20 -- Experiments with dynamic type generation for
UHCI and EHCI. Does also provide a helper function for q35 usb bus creation. QOM folks should have a look at this. I expect discussions ;)
21 -- Experimental USB Media Transfer Protocol implementation
for easy filesharing.
22 -- Unrelated trace patch.

/me plans to send out a pull request for 1 -> 14 before kvm forum.

Reviews & comments and test results are welcome.

Bits are also available from:
git://git.kraxel.org/qemu rebase/usb-next [ warning: moving target ]

cheers,
Gerd

Gerd Hoffmann (18):
xhci: add {get,set}_field macros & enum for pls
xhci: s/xhci_update_port/xhci_port_update/
xhci: add xhci_port_have_device
xhci: add xhci_port_notify
xhci: add xhci_port_reset
xhci: set pls in xhci_port_update & xhci_port_reset
xhci: add port trace points
xhci: allow address slot being called multiple times usb/ehci: split into multiple source files usb/ehci: add sysbus variant
uhci: dynamic type generation
uhci: stick irq routing info into UHCIInfo too.
uhci: add ich9 00:1a.* variants
usb/ehci-pci: dynamic type generation usb/ehci-pci: add ich9 00:1a.* variant usb/ehci-pci: add helper to create ich9 usb controllers [RfC] usb: mtp filesharing
trace: allow disabling events in events file

Peter Crosthwaite (4):
usb/ehci: parameterise the register region offsets usb/ehci: Abstract away PCI DMA API usb/ehci: seperate out PCIisms
usb/ehci: Guard definition of EHCI_DEBUG

 hw/usb.h                 |    2 +
 hw/usb/Makefile.objs     |    3 +-
 hw/usb/dev-mtp.c         | 1086 ++++++++++++++++++++++++++++++++++++++++++++++
 hw/usb/hcd-ehci-pci.c    |  200 +++++++++
 hw/usb/hcd-ehci-sysbus.c |   77 ++++
 hw/usb/hcd-ehci.c        |  465 ++------------------
 hw/usb/hcd-ehci.h        |  320 ++++++++++++++
 hw/usb/hcd-uhci.c        |  249 +++++------
 hw/usb/hcd-xhci.c        |  134 +++++--
 trace-events             |   24 +
 trace/control.c          |    9 +-
 11 files changed, 1968 insertions(+), 601 deletions(-)
 create mode 100644 hw/usb/dev-mtp.c
 create mode 100644 hw/usb/hcd-ehci-pci.c
 create mode 100644 hw/usb/hcd-ehci-sysbus.c
 create mode 100644 hw/usb/hcd-ehci.h