On 29/10/2019 14:25, Felipe Balbi wrote:
Hi,
Roger Quadros <rogerq@xxxxxx> 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