Bartlomiej Zolnierkiewicz
da331ba8e9
drivers/dma/pl330.c: fix locking in pl330_free_chan_resources()
tasklet_kill() may sleep so call it before taking pch->lock.
Fixes following lockup:
BUG: scheduling while atomic: cat/2383/0x00000002
Modules linked in:
unwind_backtrace+0x0/0xfc
__schedule_bug+0x4c/0x58
__schedule+0x690/0x6e0
sys_sched_yield+0x70/0x78
tasklet_kill+0x34/0x8c
pl330_free_chan_resources+0x24/0x88
dma_chan_put+0x4c/0x50
[...]
BUG: spinlock lockup suspected on CPU#0, swapper/0/0
lock: 0xe52aa04c, .magic: dead4ead, .owner: cat/2383, .owner_cpu: 1
unwind_backtrace+0x0/0xfc
do_raw_spin_lock+0x194/0x204
_raw_spin_lock_irqsave+0x20/0x28
pl330_tasklet+0x2c/0x5a8
tasklet_action+0xfc/0x114
__do_softirq+0xe4/0x19c
irq_exit+0x98/0x9c
handle_IPI+0x124/0x16c
gic_handle_irq+0x64/0x68
__irq_svc+0x40/0x70
cpuidle_wrap_enter+0x4c/0xa0
cpuidle_enter_state+0x18/0x68
cpuidle_idle_call+0xac/0xe0
cpu_idle+0xac/0xf0
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Acked-by: Jassi Brar <[email protected]>
Cc: Vinod Koul <[email protected]>
Cc: Tomasz Figa <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
|
2013-07-03 16:07:22 -07:00 |
| .. |
|
bestcomm
|
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
|
2013-02-23 17:09:55 -08:00 |
|
ioat
|
Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma
|
2013-05-09 09:46:45 -07:00 |
|
ipu
|
dma: ipu: ipu_idmac: Fix section mismatch
|
2013-04-15 09:51:18 +05:30 |
|
ppc4xx
|
Drivers: dma: remove __dev* attributes.
|
2013-01-03 15:57:15 -08:00 |
|
sh
|
sudmac: add support for SUDMAC
|
2013-04-30 15:50:12 +05:30 |
|
acpi-dma.c
|
dma: acpi-dma: parse CSRT to extract additional resources
|
2013-05-14 10:23:57 +05:30 |
|
amba-pl08x.c
|
pl080.h: moved from arm/include/asm/hardware to include/linux/amba/
|
2013-01-13 05:19:45 -08:00 |
|
at_hdmac.c
|
Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma
|
2013-05-09 09:46:45 -07:00 |
|
at_hdmac_regs.h
|
at_hdmac: move to generic DMA binding
|
2013-04-30 14:17:41 +05:30 |
|
coh901318.c
|
dma: coh901318: add devicetree support
|
2013-06-17 13:54:27 +02:00 |
|
coh901318.h
|
dma: coh901318: merge header files
|
2013-01-07 17:36:37 +01:00 |
|
coh901318_lli.c
|
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
|
2013-02-26 09:24:48 -08:00 |
|
dmaengine.c
|
Merge branch 'topic/of' into for-linus
|
2013-05-02 21:52:26 +05:30 |
|
dmaengine.h
|
|
|
|
dmatest.c
|
dmatest: do not allow to interrupt ongoing tests
|
2013-06-08 02:13:44 +05:30 |
|
dw_dmac.c
|
dw_dmac: add ACPI support
|
2013-04-15 22:04:19 +05:30 |
|
dw_dmac_regs.h
|
dw_dmac: add ACPI support
|
2013-04-15 22:04:19 +05:30 |
|
edma.c
|
ARM: davinci: move private EDMA API to arm/common
|
2013-06-18 10:52:03 +05:30 |
|
ep93xx_dma.c
|
dma: ep93xx_dma: reuse is_slave_direction helper
|
2013-01-12 05:07:22 -08:00 |
|
fsldma.c
|
|
|
|
fsldma.h
|
|
|
|
imx-dma.c
|
dma: imx-dma: Remove redundant NULL check before kfree
|
2013-04-15 09:51:18 +05:30 |
|
imx-sdma.c
|
dma: Remove erroneous __exit and __exit_p() references
|
2013-04-15 09:51:16 +05:30 |
|
intel_mid_dma.c
|
Drivers: dma: remove __dev* attributes.
|
2013-01-03 15:57:15 -08:00 |
|
intel_mid_dma_regs.h
|
|
|
|
iop-adma.c
|
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
|
2013-02-26 09:24:48 -08:00 |
|
iovlock.c
|
|
|
|
Kconfig
|
dmaengine: edma: enable build for AM33XX
|
2013-06-24 15:55:08 +05:30 |
|
Makefile
|
dma: sh: add Kconfig
|
2013-04-30 15:50:12 +05:30 |
|
mmp_pdma.c
|
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
|
2013-02-26 09:24:48 -08:00 |
|
mmp_tdma.c
|
dma: Convert to devm_ioremap_resource()
|
2013-01-25 12:21:46 -08:00 |
|
mpc512x_dma.c
|
Drivers: dma: remove __dev* attributes.
|
2013-01-03 15:57:15 -08:00 |
|
mv_xor.c
|
Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma
|
2013-02-26 09:24:48 -08:00 |
|
mv_xor.h
|
|
|
|
mxs-dma.c
|
dma: mxs-dma: move to generic device tree binding
|
2013-04-04 21:22:43 +08:00 |
|
of-dma.c
|
dma:of: Use a mutex to protect the of_dma_list
|
2013-05-02 21:50:38 +05:30 |
|
omap-dma.c
|
dmaengine: OMAP: Register SDMA controller with Device Tree DMA driver
|
2013-04-15 09:51:19 +05:30 |
|
pch_dma.c
|
pch_dma: Use GFP_ATOMIC because called from interrupt context
|
2013-04-15 09:51:16 +05:30 |
|
pl330.c
|
drivers/dma/pl330.c: fix locking in pl330_free_chan_resources()
|
2013-07-03 16:07:22 -07:00 |
|
sa11x0-dma.c
|
Drivers: dma: remove __dev* attributes.
|
2013-01-03 15:57:15 -08:00 |
|
sirf-dma.c
|
dmaengine: sirf: move driver init from module_init to subsys_initcall
|
2013-05-02 20:48:23 +05:30 |
|
ste_dma40.c
|
DMA40 fixes for earlier submitted driver patches:
|
2013-06-25 11:20:15 -07:00 |
|
ste_dma40_ll.c
|
dmaengine: ste_dma40_ll: Replace meaningless register set with comment
|
2013-06-04 11:12:10 +02:00 |
|
ste_dma40_ll.h
|
dmaengine: ste_dma40: Remove unnecessary call to d40_phy_cfg()
|
2013-05-23 21:13:19 +02:00 |
|
tegra20-apb-dma.c
|
drivers/dma: don't check resource with devm_ioremap_resource
|
2013-05-18 11:54:55 +02:00 |
|
timb_dma.c
|
dma: timb_dma: Fix compiler warning
|
2013-04-15 09:51:16 +05:30 |
|
TODO
|
|
|
|
txx9dmac.c
|
dma: Remove erroneous __exit and __exit_p() references
|
2013-04-15 09:51:16 +05:30 |
|
txx9dmac.h
|
|
|
|
virt-dma.c
|
|
|
|
virt-dma.h
|
|
|