Skip to content

Sysbus EHCI + Zynq USB.

Peter Crosthwaite qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 6 repliesIn review
  2. v211 patches 11 repliesSuperseded
  3. v18 patches 36 repliesSuperseded

Changes in v3 from the cover letter

No more usages of unions, seperated out PCI and Sysbus structs and codepaths completely. Removed init_ram hack for unimplemented EHCI regions.
Removed debug message cleanup patch (conflicts with pending USB [PULL] (usb.68)) Changed since V1:
Overhauled properties - moved them to class properties rather than object properties. Various Review based fixes (Please see individual patch change logs)
Peter Crosthwaite (7):
usb/ehci: Use class_data to init PCI variations
usb/ehci: parameterise the register region offsets
usb/ehci: Abstract away PCI DMA API
usb/ehci: seperate out PCIisms
usb/ehci: Add Sysbus variant and Xilinx Zynq USB
xilinx_zynq: add USB controllers
usb/ehci: Guard definition of EHCI_DEBUG

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8dma: Define dma_context_memory and use in sysbus-ohcidma.h exec.c hw/usb/hcd-ohci.c+11 -10 replies
2/8usb/ehci: Use class_data to init PCI variationshw/usb/hcd-ehci.c+41 -353 replies
3/8usb/ehci: parameterise the register region offsetshw/usb/hcd-ehci.c+46 -320 replies
4/8usb/ehci: Abstract away PCI DMA APIhw/usb/hcd-ehci.c+8 -50 replies
5/8usb/ehci: seperate out PCIismshw/usb/hcd-ehci.c+77 -580 replies
6/8usb/ehci: Add Sysbus variant and Xilinx Zynq USBhw/usb/hcd-ehci.c+65 -00 replies
7/8xilinx_zynq: add USB controllershw/xilinx_zynq.c+3 -00 replies
8/8usb/ehci: Guard definition of EHCI_DEBUGhw/usb/hcd-ehci.c+2 -00 replies

Reviews trailers per patch

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

PatchPeter Crosthwaite
1/8R-b
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/8] Sysbus EHCI + Zynq USB.

Added Sysbus variant of EHCI and attached it to Xilinx Zynq. The EHCI stuff is going to useful for Tegra too.

See http://lists.gnu.org/archive/html/qemu-devel/2012-06/msg04100.html thread for the inital RFC discussion on this development.

Regession tested using i386 Debian (dd of=/dev/sdx ...) to get some test coverage outside of Zynq. More testing welcome.

Few other bits and pieces of cleanup in there too, around the EHCI_DEBUG printfery.

The series will rebase without conflict on the current pending usb patch queue (usb.68).

Changed since V2:
No more usages of unions, seperated out PCI and Sysbus structs and codepaths completely. Removed init_ram hack for unimplemented EHCI regions.
Removed debug message cleanup patch (conflicts with pending USB [PULL] (usb.68)) Changed since V1:
Overhauled properties - moved them to class properties rather than object properties. Various Review based fixes (Please see individual patch change logs)
Peter Crosthwaite (7):
usb/ehci: Use class_data to init PCI variations
usb/ehci: parameterise the register region offsets
usb/ehci: Abstract away PCI DMA API
usb/ehci: seperate out PCIisms
usb/ehci: Add Sysbus variant and Xilinx Zynq USB
xilinx_zynq: add USB controllers
usb/ehci: Guard definition of EHCI_DEBUG

Peter Maydell (1):
dma: Define dma_context_memory and use in sysbus-ohci

 dma.h             |    5 +
 exec.c            |    5 +
 hw/usb/hcd-ehci.c |  339 +++++++++++++++++++++++++++++++++++------------------
 hw/usb/hcd-ohci.c |    2 +-
 hw/xilinx_zynq.c  |    3 +
 5 files changed, 238 insertions(+), 116 deletions(-)