From: Junjie Cao <junjie.cao@linux.dev>
To: kraxel@redhat.com
Cc: jamin_lin@aspeedtech.com, marcandre.lureau@redhat.com,
clg@kaod.org, peter.maydell@linaro.org, kane_chen@aspeedtech.com,
troy_lee@aspeedtech.com, qemu-arm@nongnu.org,
qemu-devel@nongnu.org, junjie.cao@intel.com,
junjie.cao@linux.dev
Subject: Re: [PATCH v7 1/8] hw/usb/bus: Let the controller ask for the automatic hub
Date: Thu, 29 Oct 2026 09:49:14 -0500 [thread overview]
Message-ID: <20261029144914.916641-1-junjie.cao@linux.dev> (raw)
In-Reply-To: <auMtC1vX9nRw1YIn@nucbdw.ghoffman.csb.home.kraxel.org>
Hi Gerd,
On Thu, Oct 29, 2026 at 12:33:54PM +0100, Gerd Hoffmann wrote:
> Which is a bad idea to begin with. Just configure xhci to have
> more ports if 4 is not enough.
Indeed, p2=/p3= covers that.
> So, if we need a property anyway, I guess it is better to have all
> usb host adapters behave the same and flip auto-hub to default off
> for new machines types. It's easy enough to turn it back on via
> qemu command line if needed.
Agreed. One case to account for is raspi: it has no versioned
machine types, and dwc2 has a single root port.
"-device usb-kbd -device usb-mouse" relies on the automatic hub
today; with auto-hub off, the second device would fail with
"no free ports".
I suggest enabling auto-hub in bcm2835_peripherals to preserve
the current board behaviour while leaving the controller default
off.
I will rerun the migration check on v8.
Thanks,
Junjie
next prev parent reply other threads:[~2026-10-29 14:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 3:41 [PATCH v7 0/8] hw/usb: Add a usbredir server transport Jamin Lin
2026-10-28 3:41 ` [PATCH v7 1/8] hw/usb/bus: Let the controller ask for the automatic hub Jamin Lin
2026-10-29 10:09 ` Junjie Cao
2026-10-29 11:33 ` Gerd Hoffmann
2026-10-29 14:49 ` Junjie Cao [this message]
2026-10-29 17:44 ` marcandre.lureau
2026-10-28 3:41 ` [PATCH v7 2/8] hw/usb/redirect-server: Add a usbredir server device Jamin Lin
2026-10-28 3:41 ` [PATCH v7 3/8] hw/usb/redirect-server: Connect usbredirparser to a chardev Jamin Lin
2026-10-28 3:41 ` [PATCH v7 4/8] hw/usb/redirect-server: Announce the exported device Jamin Lin
2026-10-29 10:09 ` Junjie Cao
2026-10-29 17:44 ` marcandre.lureau
2026-10-28 3:41 ` [PATCH v7 5/8] hw/usb/redirect-server: Implement control transfers Jamin Lin
2026-10-29 17:44 ` marcandre.lureau
2026-10-28 3:41 ` [PATCH v7 6/8] hw/usb/redirect-server: Implement bulk and interrupt transfers Jamin Lin
2026-10-29 10:09 ` Junjie Cao
2026-10-28 3:41 ` [PATCH v7 7/8] hw/usb/redirect-server: Stream interrupt IN endpoints Jamin Lin
2026-10-29 17:44 ` marcandre.lureau
2026-10-28 3:41 ` [PATCH v7 8/8] hw/arm/aspeed: Enable the usbredir server transport Jamin Lin
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=20261029144914.916641-1-junjie.cao@linux.dev \
--to=junjie.cao@linux.dev \
--cc=clg@kaod.org \
--cc=jamin_lin@aspeedtech.com \
--cc=junjie.cao@intel.com \
--cc=kane_chen@aspeedtech.com \
--cc=kraxel@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=troy_lee@aspeedtech.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.