aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-03-06 16:37:43 +0000
committerAlex Shi <alex.shi@linaro.org>2015-11-07 12:16:07 +0800
commit0411687d1341ba2960d49160511cc952cbfd02fb (patch)
tree37dd9fb35bf0f7cd7897a875e97d3eba54b7c4f2 /Documentation
parent44fd0a671ef6d463e6227a3f45e6e6864384245f (diff)
downloadlinux-linaro-stable-0411687d1341ba2960d49160511cc952cbfd02fb.tar.gz
irqchip: gicv3-its: Fix unsafe locking reported by lockdep
When compiled with CONFIG_LOCKDEP, the kernel shouts badly, saying that my locking is unsafe. I'm afraid the kernel is right: CPU0 CPU1 ---- ---- lock(&its->lock); local_irq_disable(); lock(&irq_desc_lock_class); lock(&its->lock); <Interrupt> lock(&irq_desc_lock_class); *** DEADLOCK *** The fix is to always take its->lock with interrupts disabled. Reported-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Link: https://lkml.kernel.org/r/1425659870-11832-5-git-send-email-marc.zyngier@arm.com Signed-off-by: Jason Cooper <jason@lakedaemon.net> (cherry picked from commit 3e39e8f56c1c67cdd1e8f06da0d6b7c831818c76) Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions