From: Mathias Nyman <mathias.nyman@linux.intel.com>
To: Lovekesh Solanki <lovekeshsolanki00@gmail.com>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Michal Pecio <michal.pecio@gmail.com>,
Mathieu Fluhr <mathieu.fluhr@gmail.com>,
Mario Limonciello <mario.limonciello@amd.com>,
Thorsten Leemhuis <regressions@leemhuis.info>,
regressions@lists.linux.dev, stable@vger.kernel.org
Subject: Re: [PATCH 1/2] usb: hub: use shorter 120ms post resume hold for SS root hubs
Date: Thu, 3 Sep 2026 10:50:21 +0300 [thread overview]
Message-ID: <7db85d54-8fda-4fbe-bbc4-f004ebbd5e1e@linux.intel.com> (raw)
In-Reply-To: <aphpX-0WxWQOR4mQ@eggarch>
On 9/2/26 21:43, Lovekesh Solanki wrote:
> Thanks for the feedback,
>
> On Wed, Sep 02, 2026 at 04:29:40PM +0300, Mathias Nyman wrote:
>> I'd highlight the fact that this patch mitigates the AMD platform issue.
>>
>> Maybe begin commit message with something like
>>
>> "Holding a USB3 hub PM runtime reference for 200ms at hub resume triggers a
>> AMD platform issue. Users running Android adb report crashes after adb has
>> been polling and waking up the USB subsystem once a second for some time.
>> Vendors are working on a solution. Disabling USB runtime PM is one way to
>> prevent this issue, but it is also proven that reducing the hold time to 120ms in
>> resume also mitigates it. See Link for more details.
>>
>> Reducing the hold time to 120ms for the USB3 roothub is in itself a valid change
>> and optimization as the current 200ms is excessive...
>> "
> I will re work the commit message in v2 along those lines. But if the
> mention of the commit 8f5b7e2bec1c is removed, should I keep the Fixes
> tag or remove it as well?
Keep it.
It helps stable maintainers know how far back it makes sense to port this.
No need to remove the point about the commit message either.
It was just a suggestion to shuffle the content and highlight the real reason
why this patch is created.
> > I could change it to something like:
>
> /*
> * Give SS hubs 200ms time after wake to train downstream links before
> * assuming no port activity and allowing hub to runtime suspend back.
> * Root hubs have no upstream hub whose wake propagation needs to be
> * accounted for, so they need less time, use 120ms for them.
> */
> #define USB_SS_PORT_U0_WAKE_TIME 200 /* ms */
> #define USB_SS_RH_PORT_U0_WAKE_TIME 120 /* ms */
>
> If everything else's fine, I'll send a v2 with these changes.
Looks good to me
Thanks
Mathias
prev parent reply other threads:[~2026-09-03 7:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 19:03 [PATCH 1/2] usb: hub: use shorter 120ms post resume hold for SS root hubs Lovekesh Solanki
2026-08-31 19:03 ` [PATCH 2/2] xhci: drop 120ms U3 LFPS wake retry wait from runtime resume Lovekesh Solanki
2026-09-01 12:53 ` Mathias Nyman
2026-09-01 15:50 ` Lovekesh Solanki
2026-09-02 12:10 ` Mathias Nyman
2026-09-02 18:21 ` Lovekesh Solanki
2026-09-03 7:42 ` Mathias Nyman
2026-09-02 13:29 ` [PATCH 1/2] usb: hub: use shorter 120ms post resume hold for SS root hubs Mathias Nyman
2026-09-02 18:43 ` Lovekesh Solanki
2026-09-03 7:50 ` Mathias Nyman [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=7db85d54-8fda-4fbe-bbc4-f004ebbd5e1e@linux.intel.com \
--to=mathias.nyman@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=lovekeshsolanki00@gmail.com \
--cc=mario.limonciello@amd.com \
--cc=mathieu.fluhr@gmail.com \
--cc=michal.pecio@gmail.com \
--cc=regressions@leemhuis.info \
--cc=regressions@lists.linux.dev \
--cc=stable@vger.kernel.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