From: Roger Quadros <rogerq@ti.com>
To: Felipe Balbi <balbi@kernel.org>,
"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:33:54 +0200 [thread overview]
Message-ID: <e9f45017-eb2b-f6e1-0e15-814876bea4db@ti.com> (raw)
In-Reply-To: <87r22vhh79.fsf@gmail.com>
On 29/10/2019 14:25, Felipe Balbi wrote:
>
> 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.
(gdb) list *(dwc3_gadget_giveback+0x44)
0x80b8 is in dwc3_gadget_giveback (./include/linux/spinlock.h:338).
333 raw_spin_lock_init(&(_lock)->rlock); \
334 } while (0)
335
336 static __always_inline void spin_lock(spinlock_t *lock)
337 {
338 raw_spin_lock(&lock->rlock);
339 }
340
341 static __always_inline void spin_lock_bh(spinlock_t *lock)
342 {
>
>> 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?
>
--
cheers,
-roger
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
next prev parent reply other threads:[~2019-10-29 12:34 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
2019-10-29 12:33 ` Roger Quadros [this message]
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=e9f45017-eb2b-f6e1-0e15-814876bea4db@ti.com \
--to=rogerq@ti.com \
--cc=b-liu@ti.com \
--cc=balbi@kernel.org \
--cc=linux-usb@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;
as well as URLs for NNTP newsgroup(s).