Skip to content

usb: Clean up and extend SysBus EHCI

Andreas Färber qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 4 repliesIn review
  2. v15 patches 15 repliesSuperseded

Changes in v2 from the cover letter

* Moved structs to header and add TYPE_* and cast macros there instead
* Fixed exynos4210 opregbase as pointed out by Igor
* Renamed the new "exynos4210-ehci" type, suggested by Igor
* Dropped patch showcasing "tegra2-ehci[-usb]" model (deferred to Tegra series)
* Added gtk-doc annotations for the parent instance/class fields

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4usb/ehci: Clean up SysBus and PCI EHCI splithw/usb/hcd-ehci-pci.c hw/usb/hcd-ehci-sysbus.c hw/usb/hcd-ehci.h+65 -243 replies
2/4usb/ehci: Move capsbase and opregbase into SysBus EHCI classhw/usb/hcd-ehci-sysbus.c hw/usb/hcd-ehci.h+26 -20 replies
3/4usb/ehci: Add SysBus EHCI device for Exynos4210hw/usb/hcd-ehci-sysbus.c hw/usb/hcd-ehci.h+17 -01 reply
4/4exynos4210: Add EHCI supporthw/exynos4210.c hw/exynos4210_gic.c+8 -10 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchIgor Mitsyanko
1/4
2/4
3/4R-b
4/4R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] usb: Clean up and extend SysBus EHCI

Hello Gerd,

Here's an updated patchset for SysBus EHCI models, fixing exynos4210 values. As indicated, I've moved the state structs to the hcd-ehci.h header to allow my experimental Tegra model to embed EHCISysBusState into the SoC object's struct.

When you and reviewers are happy, please apply through your USB queue.

Potential UHCI cleanups can be done in a separate series later on. Also any multi-EHCI issues discussed are outside the scope of this series.

Regards,
Andreas

v1 -> v2:
* Moved structs to header and add TYPE_* and cast macros there instead
* Fixed exynos4210 opregbase as pointed out by Igor
* Renamed the new "exynos4210-ehci" type, suggested by Igor
* Dropped patch showcasing "tegra2-ehci[-usb]" model (deferred to Tegra series)
* Added gtk-doc annotations for the parent instance/class fields

Changes from Liming Wang's patchset:
* Introduce abstract sysbus-ehci-usb and pci-ehci-usb types
* Move class_init / instance_init to base type as far as possible
* Use TYPE_* constant for instantiating exynos4210 EHCI
* Added my tegra2 SysBus EHCI device to the mix

Cc Gerd Hoffmann <[email protected]>
Cc Peter A. G. Crosthwaite <[email protected]>
Cc Peter Maydell <[email protected]>
Cc Igor Mitsyanko <[email protected]>
Cc Liming Wang <[email protected]>

Andreas Färber (3):
usb/ehci: Clean up SysBus and PCI EHCI split usb/ehci: Move capsbase and opregbase into SysBus EHCI class usb/ehci: Add SysBus EHCI device for Exynos4210

Liming Wang (1):
exynos4210: Add EHCI support

 hw/exynos4210.c          |    7 +++++++
 hw/exynos4210_gic.c      |    2 +-
 hw/usb/hcd-ehci-pci.c    |   39 ++++++++++++++++++++++--------------
 hw/usb/hcd-ehci-sysbus.c |   49 +++++++++++++++++++++++++++++++++++-----------
 hw/usb/hcd-ehci.h        |   46 +++++++++++++++++++++++++++++++++++++++++++

5 Dateien geändert, 116 Zeilen hinzugefügt(+), 27 Zeilen entfernt(-)

Signature · 1 line
1.7.10.4