diff options
| author | Jiaxun Yang <[email protected]> | 2023-04-24 10:31:56 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2023-05-16 09:59:28 +0000 |
| commit | 3d6a0e4197c04599d75d85a608c8bb16a630a38c (patch) | |
| tree | 7e4f92d130aa88dde31f161b77e89c1c61f6c0a5 /drivers/fpga | |
| parent | irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable (diff) | |
| download | kernel-3d6a0e4197c04599d75d85a608c8bb16a630a38c.tar.gz kernel-3d6a0e4197c04599d75d85a608c8bb16a630a38c.zip | |
irqchip/mips-gic: Use raw spinlock for gic_lock
Since we may hold gic_lock in hardirq context, use raw spinlock
makes more sense given that it is for low-level interrupt handling
routine and the critical section is small.
Fixes BUG:
[ 0.426106] =============================
[ 0.426257] [ BUG: Invalid wait context ]
[ 0.426422] 6.3.0-rc7-next-20230421-dirty #54 Not tainted
[ 0.426638] -----------------------------
[ 0.426766] swapper/0/1 is trying to lock:
[ 0.426954] ffffffff8104e7b8 (gic_lock){....}-{3:3}, at: gic_set_type+0x30/08
Fixes: 95150ae8b330 ("irqchip: mips-gic: Implement irq_set_type callback")
Cc: [email protected]
Signed-off-by: Jiaxun Yang <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
Tested-by: Serge Semin <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions
