mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-12 05:48:39 +08:00
95e5fda3b5
The interrupt handler (pt_core_irq_handler()) of the ptdma
driver can be called from interrupt context. The code flow
in this function can lead down to pt_core_execute_cmd() which
will attempt to grab a mutex, which is not appropriate in
interrupt context and ultimately leads to a kernel panic.
The fix here changes this mutex to a spinlock, which has
been verified to resolve the issue.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ptdma-debugfs.c | ||
ptdma-dev.c | ||
ptdma-dmaengine.c | ||
ptdma-pci.c | ||
ptdma.h |