From: sashiko-bot@kernel.org
To: "Joseph Telaak" <joseph@telaak.dev>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH 3/3] usb: dwc2: Handle OTG interrupts that GINTSTS does not flag
Date: Wed, 04 Nov 2026 07:31:18 +0000 [thread overview]
Message-ID: <sashiko-outbox-196799@kernel.org> (raw)
In-Reply-To: <20261104-sf19a2890-dwc2-v1-3-d959375e26ab@telaak.dev>
> From: Chuanhong Guo <gch981213@gmail.com>
>
> The DWC OTG 3.30a found on Siflower SF19A2890 has battery charger
> support enabled. It triggers MultVallpChng interrupt (bit 20 of
> GOTGINT) but doesn't set OTGInt in GINTSTS. As a result, this
> interrupt is never handled, and Linux disables USB interrupt
> because "nobody cares".
>
> Handle OTG interrupt in IRQ handler regardless of whether the
> OTGInt bit in GINTSTS is set or not.
>
> On a GL.iNet GL-SFT1200 it shows differently: after a few replugs of a
> USB stick the system stops making progress, the console repeating its
> last message with the same timestamp, until a power cycle.
>
> Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
> [jt: only on cores with the new otg_int_unflagged parameter, which
> SF19A2890 sets, in the one place that already handles flagged OTG
> interrupts and with IRQ_HANDLED returned; the others still handle OTG
> interrupts only when GINTSTS flags them; what a GL-SFT1200 does without
> the patch, subject]
> Signed-off-by: Joseph Telaak <joseph@telaak.dev>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-sf19a2890-dwc2-v1-0-d959375e26ab@telaak.dev?part=3
prev parent reply other threads:[~2026-11-04 7:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 7:22 [PATCH 0/3] usb: dwc2: Add Siflower SF19A2890 support Joseph Telaak via B4 Relay
2026-11-04 7:22 ` [PATCH 1/3] dt-bindings: usb: dwc2: Add Siflower SF19A2890 Joseph Telaak via B4 Relay
2026-11-04 7:25 ` sashiko-bot
2026-11-04 23:43 ` Conor Dooley
2026-11-04 7:22 ` [PATCH 2/3] usb: dwc2: Add Siflower SF19A2890 support Joseph Telaak via B4 Relay
2026-11-04 7:26 ` sashiko-bot
2026-11-04 7:22 ` [PATCH 3/3] usb: dwc2: Handle OTG interrupts that GINTSTS does not flag Joseph Telaak via B4 Relay
2026-11-04 7:31 ` 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-196799@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