qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <andreas.faerber@web.de>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	peter.crosthwaite@xilinx.com,
	"Igor Mitsyanko" <i.mitsyanko@samsung.com>,
	"Andreas Färber" <andreas.faerber@web.de>,
	kraxel@redhat.com, "Vincent Palatin" <vpalatin@chromium.org>,
	walimisdev@gmail.com
Subject: [Qemu-devel] [PATCH RFT 0/5] usb: Clean up and extend SysBus EHCI
Date: Sun,  2 Dec 2012 03:57:17 +0100	[thread overview]
Message-ID: <1354417042-8818-1-git-send-email-andreas.faerber@web.de> (raw)

Hello,

Some review comments for SysBus EHCI were ignored in favor of merging into 1.3.
As requested by Gerd, this now follows up with the cleanups I had requested
from Peter C. Apart from using the new-style QOM casts it also achieves some
deduplification. It then goes on to implement the suggested more slim way to
have different capsbase and opregbase values; the alternative would be to
create a new struct SysBusEHCIInfo for declarative initialization. Given that
there are only few models for now, the imperative approach allows for more
flexibility such as inheritence when, e.g., an Exynos 5 model varies only
slightly from Exynos 4.

Appended is Liming's patch to add an EHCI device to Exynos 4 as well as a
new patch of mine to prepare a Tegra 2 EHCI device (cf. my tegra branch) to
show how this works out.

Regards,
Andreas

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 <kraxel@redhat.com>
Cc: Peter A. G. Crosthwaite <peter.crosthwaite@xilinx.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Igor Mitsyanko <i.mitsyanko@samsung.com>
Cc: Liming Wang <walimisdev@gmail.com>
Cc: Vincent Palatin <vpalatin@chromium.org>

Andreas Färber (4):
  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
  usb/ehci: Add Tegra2 SysBus EHCI device

Liming Wang (1):
  exynos4210: Add EHCI support

 hw/exynos4210.c          |    7 +++++
 hw/exynos4210_gic.c      |    2 +-
 hw/usb/hcd-ehci-pci.c    |   37 ++++++++++++++++------
 hw/usb/hcd-ehci-sysbus.c |   76 ++++++++++++++++++++++++++++++++++++++++++----
 hw/usb/hcd-ehci.h        |    2 ++
 5 Dateien geändert, 108 Zeilen hinzugefügt(+), 16 Zeilen entfernt(-)

-- 
1.7.10.4

             reply	other threads:[~2012-12-02  2:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-02  2:57 Andreas Färber [this message]
2012-12-02  2:57 ` [Qemu-devel] [PATCH RFT 1/5] usb/ehci: Clean up SysBus and PCI EHCI split Andreas Färber
2012-12-03 18:35   ` Igor Mitsyanko
2012-12-02  2:57 ` [Qemu-devel] [PATCH RFT 2/5] usb/ehci: Move capsbase and opregbase into SysBus EHCI class Andreas Färber
2012-12-03 18:38   ` Igor Mitsyanko
2012-12-02  2:57 ` [Qemu-devel] [PATCH RFT 3/5] usb/ehci: Add SysBus EHCI device for Exynos4210 Andreas Färber
2012-12-03 18:51   ` Igor Mitsyanko
2012-12-04  0:19     ` walimis
2012-12-04  7:14     ` walimis
2012-12-02  2:57 ` [Qemu-devel] [PATCH RFT 4/5] exynos4210: Add EHCI support Andreas Färber
2012-12-03 18:52   ` Igor Mitsyanko
2012-12-02  2:57 ` [Qemu-devel] [PATCH RFT 5/5] usb/ehci: Add Tegra2 SysBus EHCI device Andreas Färber
2012-12-02 10:34 ` [Qemu-devel] [PATCH RFT 0/5] usb: Clean up and extend SysBus EHCI walimis
2012-12-02 16:27   ` Andreas Färber
2012-12-03  3:24     ` walimis
2012-12-03  6:59     ` Gerd Hoffmann
2012-12-03 11:58       ` walimis
2012-12-03 12:10         ` Peter Maydell
2012-12-03 12:38           ` walimis
2012-12-03 13:37             ` Gerd Hoffmann
2012-12-03 13:39               ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1354417042-8818-1-git-send-email-andreas.faerber@web.de \
    --to=andreas.faerber@web.de \
    --cc=i.mitsyanko@samsung.com \
    --cc=kraxel@redhat.com \
    --cc=peter.crosthwaite@xilinx.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vpalatin@chromium.org \
    --cc=walimisdev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).