Linux USB
 help / color / mirror / Atom feed
From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
To: Liu Jiazi <jiazi.liu1984@gmail.com>
Cc: Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	"lkp@intel.com" <lkp@intel.com>,
	"oe-kbuild-all@lists.linux.dev" <oe-kbuild-all@lists.linux.dev>,
	Jiazi Liu <liujiazi@amazon.com>
Subject: Re: [PATCH v2 1/1] usb: dwc3: gadget: fix IRQ storm on invalid event buffer count
Date: Fri, 4 Sep 2026 01:56:58 +0000	[thread overview]
Message-ID: <apokcUrFnd0kwSIx@vbox> (raw)
In-Reply-To: <CAAcjFgiCF0tC-REwzHmBTKew9LT9gmWsF==LUZ-htSTD2+s7+Q@mail.gmail.com>

On Wed, Sep 02, 2026, Liu Jiazi wrote:
> Hi @Thinh Nguyen
> 
> Tested on our device with the patch you provided.
> Trigger the error by writing a bogus value to GEVNTCOUNT and the
> controller recovers successfully
> USB re-enumrates and ADB comes back. No kernel panic observed.
> 
> uart print:
> [ 1892.781261][    C0] dwc3 b1800000.usb: invalid count(61436) >
> evt->length(4096)
> [ 1892.834341][ T6793] dwc3 b1800000.usb: request ffffff81475856c0 was
> not queued to ep0out
> [ 1895.042752][ T9114] ffs_data_put(): freeing
> [ 1896.206669][ T9142] read descriptors
> [ 1896.207465][ T9142] bcdVersion must be 0x0100, stored in Little
> Endian order. Userspace driver should be
> fixed, accepting 0x0001 for compatibility.
> [ 1896.209638][ T9142] bcdVersion must be 0x0100, stored in Little
> Endian order. Userspace driver should be
> fixed, accepting 0x0001 for compatibility.
> [ 1896.211754][ T9142] read strings
> [ 1897.244130][ T9123] FFS endpoints ready, proceeding with UDC bind
> [ 1897.258493][ T9123] bcdVersion must be 0x0100, stored in Little
> Endian order. Userspace driver should be
> fixed, accepting 0x0001 for compatibility.
> [ 1897.260970][ T9123] bcdVersion must be 0x0100, stored in Little
> Endian order. Userspace driver should be
> fixed, accepting 0x0001 for compatibility.
> 

Thanks for testing and for verifying the fix.

If there are no remaining concerns, could you please submit the patch?
Otherwise, let me know if you notice anything else that needs to be
addressed.

Thanks,
Thinh

  reply	other threads:[~2026-09-04  1:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260727092258.1121-1-liujiazi@amazon.com>
2026-08-12  8:21 ` [PATCH v2 1/1] usb: dwc3: gadget: fix IRQ storm on invalid event buffer count Jiazi Liu
2026-08-12  9:48   ` Krishna Kurapati
2026-08-28  2:36   ` Thinh Nguyen
2026-08-28  9:48     ` Liu Jiazi
2026-08-29  0:31       ` Thinh Nguyen
2026-09-02  4:14         ` Liu Jiazi
2026-09-04  1:56           ` Thinh Nguyen [this message]
2026-09-04  9:49 ` [PATCH v3] " Jiazi Liu
2026-09-04 23:55   ` Thinh Nguyen

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=apokcUrFnd0kwSIx@vbox \
    --to=thinh.nguyen@synopsys.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jiazi.liu1984@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=liujiazi@amazon.com \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@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