From: Jan Kiszka <jan.kiszka@siemens.com>
To: "David S. Ahern" <daahern@cisco.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [PATCH] ehci: uhci-ehci co-existence (handling v1.1 and v2 devices)
Date: Thu, 08 Jul 2010 18:35:51 +0200 [thread overview]
Message-ID: <4C35FE67.2090800@siemens.com> (raw)
In-Reply-To: <4C35EFCD.9040305@cisco.com>
David S. Ahern wrote:
>>> As an alternative, what about enhancing the -usb option to note the
>>> maximum version to enable: e.g., -usb v2[,v3]? -usb alone defaults to
>>> uhci/ohci for compatibility with current design. Then ehci can be
>>> enabled by the user. Enabling v2 means v1 is also enabled. Similarly
>>> when v3 comes along -usb v3 means uhci/ohci, ehci and xhci are all enabled.
>> I think we either go for your current proposal as an intermediate
>> solution and fix the routing later on, or we find a way to do it
>> correctly on first run.
>
> Moving devices from ehci to uhci and vice versa can be implemented later
> if there is agreement that a simplified ehci model (ie, no companion
> controllers) is acceptable.
Now I see clearer.
Zero-companion EHCIs are allowed by the spec, so I see no reason to not
support this option as well - and specifically make it the first step
towards full EHCI emulation. Adding companion support with port routing
to EHCI is indeed an exercise that can be done later on.
Regarding how to configure things: We only need a way to explicitly
specify the controller bus (or some to-be-implemented hub bus) that an
USB device shall be attached to. And that could become a qdev property.
We can still apply some smart selection logic to the legacy interfaces
as you suggested. But for anything special, there will be -device /
device_add with full control over the setup.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
prev parent reply other threads:[~2010-07-08 16:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-07 16:58 [Qemu-devel] [PATCH] ehci: uhci-ehci co-existence (handling v1.1 and v2 devices) David Ahern
[not found] ` <4C358319.9070401@web.de>
2010-07-08 13:46 ` [Qemu-devel] " David S. Ahern
2010-07-08 14:42 ` Jan Kiszka
2010-07-08 15:33 ` David S. Ahern
2010-07-08 16:35 ` Jan Kiszka [this message]
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=4C35FE67.2090800@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=daahern@cisco.com \
--cc=qemu-devel@nongnu.org \
/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).