All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@kernel.org>
To: Roger Quadros <rogerq@ti.com>,
	"linux-usb\@vger.kernel.org" <linux-usb@vger.kernel.org>
Cc: "Bin Liu \[EP\]" <b-liu@ti.com>
Subject: Re: g_audio breaks with dwc3
Date: Tue, 29 Oct 2019 14:25:14 +0200	[thread overview]
Message-ID: <87r22vhh79.fsf@gmail.com> (raw)
In-Reply-To: <c97b96cf-65f6-5143-838f-a3e9d1a5c5b2@ti.com>

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]


Hi,

Roger Quadros <rogerq@ti.com> writes:
> I'm on v5.4-rc5 on TI's dra7 platform
>
> root@dra7xx-evm:~# modprobe g_audio
> [   79.951077] g_audio gadget: Linux USB Audio Gadget, version: Feb 2, 2012
> [   79.957849] g_audio gadget: g_audio ready
>
> Now I plug the EVM's USB to PC host.
>
> root@dra7xx-evm:~# [   85.359410] g_audio gadget: high-speed config #1: Linux USB Audio Gadget
> [   85.450574] 8<--- cut here ---
> [   85.453645] Unable to handle kernel paging request at virtual address ecb769dc
> [   85.460900] pgd = 08bb55ef
> [   85.463618] [ecb769dc] *pgd=aca1141e(bad)
> [   85.467651] Internal error: Oops: 8000000d [#1] SMP ARM
> [   85.472897] Modules linked in: usb_f_uac2 u_audio g_audio libcomposite xhci_plat_hcd xhci_hcd usbcore dwc3 evdev udc_core usb_common spi_nor snd_soc_simple_card snd_soc_simple_card_utils leds_gpio led_class 4
> [   85.523128] CPU: 0 PID: 1240 Comm: irq/170-dwc3 Not tainted 5.4.0-rc5 #50
> [   85.529945] Hardware name: Generic DRA74X (Flattened Device Tree)
> [   85.536066] PC is at 0xecb769dc
> [   85.539240] LR is at dwc3_gadget_giveback+0x44/0x50 [dwc3]

what's in dwc3_gadget_giveback + 0x44? GDB can tell you that.

> dwc3 trace dump is below
>

[...]

> irq/170-dwc3-1240  [000] d...    85.450567: dwc3_gadget_giveback: : req d4301893 length 0/0 zsI ==> 0

What the hell??? Where's the endpoint name?

-- 
balbi

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-10-29 12:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-29 11:30 g_audio breaks with dwc3 Roger Quadros
2019-10-29 12:25 ` Felipe Balbi [this message]
2019-10-29 12:33   ` Roger Quadros
2019-10-30  8:17 ` Jack Pham
2019-10-30  8:57   ` Felipe Balbi
2019-10-30 10:00     ` Roger Quadros
2019-10-30 11:26       ` Felipe Balbi
2019-10-30 12:39         ` Roger Quadros
2019-10-31  8:56           ` Felipe Balbi
2019-10-30 10:08   ` Roger Quadros

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=87r22vhh79.fsf@gmail.com \
    --to=balbi@kernel.org \
    --cc=b-liu@ti.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=rogerq@ti.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.