From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Thinh.Nguyen@synopsys.com, linux-usb@vger.kernel.org,
Sasha Levin <sashal@kernel.org>,
Andrey Konovalov <andreyknvl@google.com>,
Alan Stern <stern@rowland.harvard.edu>,
Rikard Falkeborn <rikard.falkeborn@gmail.com>,
Eugeniu Rosca <erosca@de.adit-jv.com>,
Thomas Gleixner <tglx@linutronix.de>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
Dmitry Vyukov <dvyukov@google.com>,
Mathias Nyman <mathias.nyman@intel.com>,
Allen Pais <allen.lkml@gmail.com>,
Oliver Neukum <oneukum@suse.com>,
Zeng Tao <prime.zeng@hisilicon.com>,
Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
"Ahmed S. Darwish" <a.darwish@linutronix.de>
Subject: [PATCH v3 0/8] usb: Check for genXxY on host
Date: Wed, 10 Mar 2021 19:42:35 -0800 [thread overview]
Message-ID: <cover.1615432770.git.Thinh.Nguyen@synopsys.com> (raw)
This series add some missing support for USB 3.2 SuperSpeed Plus detection on
the host side. A SuperSpeed Plus device can operate in gen2x2, gen2x1, or
gen1x2. The current implementation can't detect whether the device is in Gen 1
or Gen 2 speed. We can do this by matching for the lane speed exponent and
mantissa of the SSP sublink speed capability descriptor from the hub driver.
Also, the current xHCI driver is missing some reports for the default SSP
Sublink Speed capability for USB 3.2 roothub. This series also add some support
for xHCI driver detecting various SuperSpeed Plus GenXxY.
Changes in v3:
- Rebase on greg/usb-testing
- Update speed print from genXxY to Gen XxY
- Use > < operators for easier read for port minor revision fix
Changes in v2:
- Remove RFC tag
- Rebase on greg/usb-testing
- Make some updates on BOS descriptor creation base on Mathias suggestions
Thinh Nguyen (8):
usb: core: Track SuperSpeed Plus GenXxY
usb: core: hub: Remove port_speed_is_ssp()
usb: core: hub: Print speed name based on ssp rate
usb: core: sysfs: Check for SSP rate in speed attr
usb: xhci: Init root hub SSP rate
usb: xhci: Fix port minor revision
usb: xhci: Rewrite xhci_create_usb3_bos_desc()
usb: xhci: Remove unused function
drivers/usb/core/hcd.c | 6 +-
drivers/usb/core/hub.c | 97 ++++++++---
drivers/usb/core/sysfs.c | 5 +-
drivers/usb/host/xhci-hub.c | 320 +++++++++++++++++++++++-------------
drivers/usb/host/xhci-mem.c | 9 +
drivers/usb/host/xhci.c | 2 +
include/linux/usb.h | 2 +
7 files changed, 300 insertions(+), 141 deletions(-)
base-commit: 60a35ba9141f06b67150ce3544bc595d049b0d83
--
2.28.0
next reply other threads:[~2021-03-11 3:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-11 3:42 Thinh Nguyen [this message]
2021-03-11 3:42 ` [PATCH v3 1/8] usb: core: Track SuperSpeed Plus GenXxY Thinh Nguyen
2021-03-11 3:42 ` [PATCH v3 2/8] usb: core: hub: Remove port_speed_is_ssp() Thinh Nguyen
2021-03-11 3:43 ` [PATCH v3 3/8] usb: core: hub: Print speed name based on ssp rate Thinh Nguyen
2021-03-11 3:43 ` [PATCH v3 4/8] usb: core: sysfs: Check for SSP rate in speed attr Thinh Nguyen
2021-03-11 3:43 ` [PATCH v3 5/8] usb: xhci: Init root hub SSP rate Thinh Nguyen
2021-03-11 3:43 ` [PATCH v3 6/8] usb: xhci: Fix port minor revision Thinh Nguyen
2021-03-11 3:43 ` [PATCH v3 7/8] usb: xhci: Rewrite xhci_create_usb3_bos_desc() Thinh Nguyen
2021-03-11 3:43 ` [PATCH v3 8/8] usb: xhci: Remove unused function Thinh Nguyen
2021-03-23 12:19 ` [PATCH v3 0/8] usb: Check for genXxY on host Greg Kroah-Hartman
2021-03-23 14:36 ` Mathias Nyman
2021-03-23 15:53 ` Greg Kroah-Hartman
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=cover.1615432770.git.Thinh.Nguyen@synopsys.com \
--to=thinh.nguyen@synopsys.com \
--cc=a.darwish@linutronix.de \
--cc=allen.lkml@gmail.com \
--cc=andreyknvl@google.com \
--cc=bigeasy@linutronix.de \
--cc=dvyukov@google.com \
--cc=erosca@de.adit-jv.com \
--cc=gregkh@linuxfoundation.org \
--cc=gustavoars@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@intel.com \
--cc=oneukum@suse.com \
--cc=prime.zeng@hisilicon.com \
--cc=rikard.falkeborn@gmail.com \
--cc=sashal@kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=tglx@linutronix.de \
/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.