From: sashiko-bot@kernel.org
To: wenxiong@linux.ibm.com
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH V2] xhci: Reset TI usb controller on xhci shutdown
Date: Wed, 14 Oct 2026 22:38:06 +0000 [thread overview]
Message-ID: <sashiko-outbox-171982@kernel.org> (raw)
In-Reply-To: <20261014222855.13698-1-wenxiong@linux.ibm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] usb: xhci: typo in commit signature and comment formatting
--
commit d01818bc6cd938fdc83cd4a8bea9dbde80b9d813
Author: Wen Xiong <wenxiong@linux.ibm.com>
xhci: Reset TI usb controller on xhci shutdown
This commit introduces a PCI function reset on shutdown for TI xHCI
controllers to ensure they initialize properly in a kexec booted kernel.
> Signed-off-by: Wen Xixong <wenxiong@linux.ibm.com>
[Severity: Low]
This isn't a bug, but there is a typo in the Signed-off-by name (Xixong
instead of Xiong).
> diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
> index a8889081ae824..36191639bf430 100644
> --- a/drivers/usb/host/xhci-pci.c
> +++ b/drivers/usb/host/xhci-pci.c
[ ... ]
> @@ -950,6 +952,13 @@ static void xhci_pci_shutdown(struct usb_hcd *hcd)
> /* Yet another workaround for spurious wakeups at shutdown with HSW */
> if (xhci->quirks & XHCI_SPURIOUS_WAKEUP)
> pci_set_power_state(pdev, PCI_D3hot);
> +
> + /*
> + * TI xHCI controllers fail to initialize in a kexec
> + * kernel without a PCI function reset
> + */
[Severity: Low]
This isn't a bug, but is this block comment introduced in xhci_pci_shutdown
missing the standard leading spaces before the asterisks on the second and
third lines?
> + if (xhci->quirks & XHCI_RESET_ON_SHUTDOWN)
> + pci_reset_function_locked(pdev);
> }
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261014222855.13698-1-wenxiong@linux.ibm.com?part=1
prev parent reply other threads:[~2026-10-14 22:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 22:28 [PATCH V2] xhci: Reset TI usb controller on xhci shutdown wenxiong
2026-10-14 22:38 ` sashiko-bot [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=sashiko-outbox-171982@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=wenxiong@linux.ibm.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.