Linux USB
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Joseph Telaak" <joseph@telaak.dev>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH v2 1/2] usb: ehci-pci: Skip SBRN and port-wake reads on Intel CE5300
Date: Tue, 27 Oct 2026 23:41:05 +0000	[thread overview]
Message-ID: <sashiko-outbox-187230@kernel.org> (raw)
In-Reply-To: <20261027-ehci-ce5300-hostpc-v2-1-375e9d362d74@telaak.dev>

> From: Joseph Telaak <joseph@telaak.dev>
> 
> The TDI EHCI core in the Intel CE5300 SoCs (192e:0101, revision >= 6)
> has no EHCI-specific PCI config registers at 0x60: those bytes shadow
> BAR3. ehci_pci_setup() reads two of them anyway.
> 
> SBRN (0x60) reads as 0 and overwrites the HCD_USB2 default, so the
> controller reports "USB 0.0 started" and ehci_shutdown() returns
> early because sbrn is 0, so the controller is never stopped on reboot
> or kexec. The port-wake word (0x62) is whatever BAR3 holds, so on
> some instances bit 0 is set and the driver prints "Enabling legacy
> PCI PM" and marks the controller wakeup-capable.
> 
> Skip both reads for this core, as is already done for SBRN on the ST
> ConneXT and HiSilicon Kunpeng920 controllers. The new helper is also
> used by the next patch.
> 
> Tested on a Control4 EA-3 (Intel Atom CE5310) with v7.3-rc6: the
> controllers report "USB 2.0 started" and the legacy PCI PM message is
> gone.
> 
> Assisted-by: LLM
> Signed-off-by: Joseph Telaak <joseph@telaak.dev>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261027-ehci-ce5300-hostpc-v2-0-375e9d362d74@telaak.dev?part=1


  reply	other threads:[~2026-10-27 23:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27 23:38 [PATCH v2 0/2] usb: ehci-pci: Intel CE5300 TDI EHCI support Joseph Telaak via B4 Relay
2026-10-27 23:38 ` [PATCH v2 1/2] usb: ehci-pci: Skip SBRN and port-wake reads on Intel CE5300 Joseph Telaak via B4 Relay
2026-10-27 23:41   ` sashiko-bot [this message]
2026-10-27 23:38 ` [PATCH v2 2/2] usb: ehci-pci: Set has_hostpc for TDI EHCI " Joseph Telaak via B4 Relay
2026-10-27 23:44   ` sashiko-bot

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-187230@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=joseph@telaak.dev \
    --cc=linux-usb@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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