Linux USB
 help / color / mirror / Atom feed
From: Francesco Dolcini <francesco@dolcini.it>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Francesco Dolcini" <francesco@dolcini.it>,
	linux-usb@vger.kernel.org,
	"Linyu Yuan" <quic_linyyuan@quicinc.com>,
	"Maciej Żenczykowski" <maze@google.com>,
	"Jon Hunter" <jonathanh@nvidia.com>
Subject: Re: kernel warning in usb_ep_queue() during suspend/resume
Date: Tue, 12 Dec 2023 17:56:39 +0100	[thread overview]
Message-ID: <ZXiQx8onEA1YEWHD@francesco-nb.int.toradex.com> (raw)
In-Reply-To: <2023121206-ventricle-partly-63ea@gregkh>

Hello Greg,

On Tue, Dec 12, 2023 at 05:44:43PM +0100, Greg Kroah-Hartman wrote:
> On Tue, Dec 12, 2023 at 05:36:14PM +0100, Francesco Dolcini wrote:
> >   ------------[ cut here ]------------
> >   WARNING: CPU: 0 PID: 1385 at drivers/usb/gadget/udc/core.c:295 usb_ep_queue+0x58/0x6c
> >   Modules linked in: 8021q bnep mcp251x mwifiex_sdio mwifiex cfg80211 btmrvl_sdio btmrvl imx_sdma fuse
> >   CPU: 0 PID: 1385 Comm: analogclock Not tainted 6.1.66-6.5.0-devel+git.6c6a6c7e211c #1
> >   Hardware name: Freescale i.MX6 Ultralite (Device Tree)
> >    unwind_backtrace from show_stack+0x10/0x14
> >    show_stack from dump_stack_lvl+0x40/0x4c
> >    dump_stack_lvl from __warn+0x88/0xc0
> >    __warn from warn_slowpath_fmt+0x10c/0x1a0
> >    warn_slowpath_fmt from usb_ep_queue+0x58/0x6c
> >    usb_ep_queue from eth_start_xmit+0x1ec/0x330
> >    eth_start_xmit from dev_hard_start_xmit+0x7c/0xf8
> >    dev_hard_start_xmit from sch_direct_xmit+0x110/0x310
> >    sch_direct_xmit from __qdisc_run+0x110/0x5d8
> >    __qdisc_run from net_tx_action+0x170/0x20c
> >    net_tx_action from __do_softirq+0xc0/0x234
> >    __do_softirq from __irq_exit_rcu+0x8c/0xb8
> >    __irq_exit_rcu from irq_exit+0x8/0x10
> >    irq_exit from call_with_stack+0x18/0x20
> >    call_with_stack from __irq_usr+0x7c/0xa0
> >   Exception stack(0xe0fcdfb0 to 0xe0fcdff8)
> >   dfa0:                                     b2f9e000 b30775a0 0002edf8 00000000
> >   dfc0: 01493268 014fdd00 0002edf8 0002edf8 000185b8 be8d9734 b3f6f811 0000000c
> >   dfe0: b2fb4580 be8d95f4 b3f6f7d3 b64006a8 20070010 ffffffff
> >   ---[ end trace 0000000000000000 ]---
> > 
> > 
> > The warning is happening during a suspend/resume test (not sure which
> > one of the twos), I cannot really tell if this is a regression (and from
> > which version, eventually), but this is happening since a while with
> > multiple 6.1 kernel version (this last log is from a recent 6.1.66).
> > 
> > I cannot really tell the current status with mainline or v6.6 given that
> > it does not seems so trivial to reproduce.
> > 
> > It happened on various arm and arm64 machine.
> 
> After the warning happens, does the machine still work?
yes, the machine keeps working. I cannot tell much more since this is
happening sporadically while doing some automated test and a few seconds
after it is just switched off.


Thanks,
Francesco


      reply	other threads:[~2023-12-12 16:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12 16:36 kernel warning in usb_ep_queue() during suspend/resume Francesco Dolcini
2023-12-12 16:44 ` Greg Kroah-Hartman
2023-12-12 16:56   ` Francesco Dolcini [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=ZXiQx8onEA1YEWHD@francesco-nb.int.toradex.com \
    --to=francesco@dolcini.it \
    --cc=gregkh@linuxfoundation.org \
    --cc=jonathanh@nvidia.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=maze@google.com \
    --cc=quic_linyyuan@quicinc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox