From: Michal Pecio <michal.pecio@gmail.com>
To: Oliver Neukum <oneukum@suse.com>
Cc: Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
"amardeep.rai@intel.com" <amardeep.rai@intel.com>,
"r.kannappan@intel.com" <r.kannappan@intel.com>,
"mathias.nyman@linux.intel.com" <mathias.nyman@linux.intel.com>,
"sakari.ailus@linux.intel.com" <sakari.ailus@linux.intel.com>,
"stern@rowland.harvard.edu" <stern@rowland.harvard.edu>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Re: [PATCH 1/1] USB: core: also treat eUSB2V2 as eUSB2 regarding ISO transfers
Date: Mon, 6 Oct 2025 20:38:46 +0200 [thread overview]
Message-ID: <20251006203846.203790b4.michal.pecio@gmail.com> (raw)
In-Reply-To: <692e4565-507e-430c-ba97-dc6d6539f800@suse.com>
On Mon, 6 Oct 2025 20:14:46 +0200, Oliver Neukum wrote:
> On 06.10.25 20:06, Thinh Nguyen wrote:
> > On Mon, Oct 06, 2025, Oliver Neukum wrote:
> >> eUSB2V2 devices use a bcdUSB of 0x0230, not 0x0220
> >> to identify as eUSB2 devices, yet their endpoint companion
> >> descriptors must also be parsed.
> >>
> >> Fixes: c749f058b4371 ("USB: core: Add eUSB2 descriptor and parsing in USB core")
> >
> > This is not a fix.
>
> It is backwards compatible to eUSB2V1, isn't it?
> So we are failing to treat an eUSB2V2 devices as
> an eUSB2V1 device when we should do so.
Hi,
What is the actual problem you are trying to solve?
This descriptor is a v2 extension which is simply not supported
by xhci_hcd and uvcvideo (nor any other in-tree driver AFAIK).
Parsing it will hopefully have no effect at this time, and it could
only have bad effects, if some parts are ready but not others.
Removing the warning alone seems safe, if somebody is complaining.
A device which has this descriptor will hopefully also have alts
which don't have this descriptor, and then it will work as a v1 device
with those alts, whether we parse the v2 descriptor or not.
Any driver with a clue should avoid alts with wMaxPacketSize == 0.
Regards,
Michal
prev parent reply other threads:[~2025-10-06 18:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-06 16:44 [PATCH 1/1] USB: core: also treat eUSB2V2 as eUSB2 regarding ISO transfers Oliver Neukum
2025-10-06 18:06 ` Thinh Nguyen
2025-10-06 18:14 ` Oliver Neukum
2025-10-06 18:33 ` Thinh Nguyen
2025-10-06 18:38 ` Michal Pecio [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=20251006203846.203790b4.michal.pecio@gmail.com \
--to=michal.pecio@gmail.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=amardeep.rai@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@linux.intel.com \
--cc=oneukum@suse.com \
--cc=r.kannappan@intel.com \
--cc=sakari.ailus@linux.intel.com \
--cc=stern@rowland.harvard.edu \
/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