Li Yang
185e3dead3
USB: fsl_usb2_udc: fix recursive lock
UDC needs to release lock before calling out to gadget driver, since
it may need to reenter. The change fixes kernel BUG observed on rt
kernel.
> kernel BUG at kernel/rtmutex.c:683!
> stopped custom tracer.
> Oops: Exception in kernel mode, sig: 5 [#1]
> PREEMPT MPC834x ITX
> NIP: c021629c LR: c0216270 CTR: 00000000
> REGS: df761d70 TRAP: 0700 Not tainted (2.6.23.9-rt13)
> MSR: 00021032 <ME,IR,DR> CR: 28000022 XER: 00000000
> TASK = df632080[241] 'IRQ-38' THREAD: df760000
> GPR00: 00000001 df761e20 df632080 00000000 11111111 00000000 df761e6c
> 00000000
> GPR08: df761e48 00000000 df761e50 00000000 80000000 ede5cdde 1fffd000
> 00800000
> GPR16: ffffffff 00000000 007fff00 00000040 00000000 007ffeb0 00000000
> 1fff8b08
> GPR24: 00000000 00000026 00000000 df79a320 c026b2e8 c02240bc 00009032
> df79a320
> NIP [c021629c] rt_spin_lock_slowlock+0x9c/0x200
> LR [c0216270] rt_spin_lock_slowlock+0x70/0x200
> Call Trace:
> [df761e20] [c0216270] rt_spin_lock_slowlock+0x70/0x200 (unreliable)
> [df761e90] [c0182828] fsl_ep_disable+0xcc/0x154
> [df761eb0] [c0184d30] eth_reset_config+0x88/0x1d0
> [df761ed0] [c0184ec0] eth_disconnect+0x48/0x64
> [df761ef0] [c01831a4] reset_queues+0x60/0x78
> [df761f00] [c0183b74] fsl_udc_irq+0x9b8/0xa58
> [df761f50] [c003ef30] handle_IRQ_event+0x64/0x100
> [df761f80] [c003f758] thread_simple_irq+0x6c/0xc8
> [df761fa0] [c003f888] do_irqd+0xd4/0x2e4
> [df761fd0] [c0032284] kthread+0x50/0x8c
> [df761ff0] [c000f9b4] kernel_thread+0x44/0x60
Signed-off-by: Li Yang <leoli@freescale.com>
Cc: Eugene T. Bordenkircher <Eugene_Bordenkircher@selinc.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
2008-05-29 13:59:06 -07:00 |
| .. |
|
amd5536udc.c
|
usb: fix integer as NULL pointer warnings found by sparse
|
2008-05-14 10:00:26 -07:00 |
|
amd5536udc.h
|
USB: amd5536 UDC driver (in GEODE southbridge)
|
2007-07-19 17:46:05 -07:00 |
|
at91_udc.c
|
usb: use non-racy method for proc entries creation
|
2008-04-29 08:06:21 -07:00 |
|
at91_udc.h
|
USB: at91_udc uses generic GPIO calls; minor cleanup
|
2008-02-01 14:35:01 -08:00 |
|
atmel_usba_udc.c
|
USB: atmel_usba_udc fixes, mostly disconnect()
|
2008-05-14 10:00:30 -07:00 |
|
atmel_usba_udc.h
|
atmel_usba_udc: Add support for AT91CAP9 UDPHS
|
2008-04-06 17:25:06 -04:00 |
|
config.c
|
USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h>
|
2007-10-12 14:55:31 -07:00 |
|
dummy_hcd.c
|
drivers/usb annotations and fixes
|
2008-04-28 10:03:31 -07:00 |
|
epautoconf.c
|
USB: gadget section fixes
|
2008-04-24 21:16:48 -07:00 |
|
ether.c
|
usb: pxa27x_udc driver
|
2008-05-02 10:25:53 -07:00 |
|
file_storage.c
|
USB GADGET/PERIPHERAL: g_file_storage Bulk-Only Transport compliance, clear-feature ignore
|
2008-05-02 10:25:58 -07:00 |
|
fsl_usb2_udc.c
|
USB: fsl_usb2_udc: fix recursive lock
|
2008-05-29 13:59:06 -07:00 |
|
fsl_usb2_udc.h
|
USB: replace remaining __FUNCTION__ occurrences
|
2008-04-24 21:16:55 -07:00 |
|
gadget_chips.h
|
USB: m66592-udc: fixes some problems
|
2007-07-19 17:46:05 -07:00 |
|
gmidi.c
|
drivers/usb annotations and fixes
|
2008-04-28 10:03:31 -07:00 |
|
goku_udc.c
|
usb: use get/put_unaligned_* helpers
|
2008-04-29 08:06:28 -07:00 |
|
goku_udc.h
|
USB: goku_udc trivial cleanups
|
2007-07-12 16:34:43 -07:00 |
|
inode.c
|
USB: replace remaining __FUNCTION__ occurrences
|
2008-04-24 21:16:55 -07:00 |
|
Kconfig
|
usb: pxa27x_udc driver
|
2008-05-02 10:25:53 -07:00 |
|
lh7a40x_udc.c
|
USB: replace remaining __FUNCTION__ occurrences
|
2008-04-24 21:16:55 -07:00 |
|
lh7a40x_udc.h
|
USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h>
|
2007-10-12 14:55:31 -07:00 |
|
m66592-udc.c
|
usb gadget: fix platform driver hotplug/coldplug
|
2008-04-11 08:06:43 -07:00 |
|
m66592-udc.h
|
drivers/usb annotations and fixes
|
2008-04-28 10:03:31 -07:00 |
|
Makefile
|
usb: pxa27x_udc driver
|
2008-05-02 10:25:53 -07:00 |
|
ndis.h
|
[PATCH] USB: rndis updates (mostly cleanup)
|
2005-06-27 14:43:50 -07:00 |
|
net2280.c
|
usb: net2280 can't have a function called show_registers()
|
2008-02-08 09:22:30 -08:00 |
|
net2280.h
|
USB: replace remaining __FUNCTION__ occurrences
|
2008-04-24 21:16:55 -07:00 |
|
omap_udc.c
|
usb: use non-racy method for proc entries creation
|
2008-04-29 08:06:21 -07:00 |
|
omap_udc.h
|
USB: gadget code switches to pr_err() and friends
|
2008-02-01 14:34:51 -08:00 |
|
printer.c
|
USB: replace remaining __FUNCTION__ occurrences
|
2008-04-24 21:16:55 -07:00 |
|
pxa2xx_udc.c
|
USB: replace remaining __FUNCTION__ occurrences
|
2008-04-24 21:16:55 -07:00 |
|
pxa2xx_udc.h
|
USB: pxa2xx_udc: fix misuse of clock enable/disable calls
|
2008-03-04 14:57:44 -08:00 |
|
pxa27x_udc.c
|
USB: pxa27x_udc - Fix Oops
|
2008-05-20 14:14:14 -07:00 |
|
pxa27x_udc.h
|
USB: pxa27x_udc: minor fixes
|
2008-05-14 10:00:29 -07:00 |
|
rndis.c
|
usb: use get/put_unaligned_* helpers
|
2008-04-29 08:06:28 -07:00 |
|
rndis.h
|
USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug
|
2007-04-27 13:28:40 -07:00 |
|
s3c2410_udc.c
|
usb gadget: fix platform driver hotplug/coldplug
|
2008-04-11 08:06:43 -07:00 |
|
s3c2410_udc.h
|
USB Gadget driver for Samsung s3c2410 ARM SoC
|
2007-07-12 16:34:30 -07:00 |
|
serial.c
|
USB: serial gadget: descriptor cleanup
|
2008-05-14 10:00:28 -07:00 |
|
usbstring.c
|
usb: use get/put_unaligned_* helpers
|
2008-04-29 08:06:28 -07:00 |
|
zero.c
|
usb: gadget zero timer init fix
|
2008-05-02 10:25:54 -07:00 |