summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/device_pm.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-03-06 17:37:44 +0100
committerJason Cooper <jason@lakedaemon.net>2015-03-08 06:33:06 +0100
commitcf613871946230c5dd8178d07bcdc2984f4545cd (patch)
treea74f34ffbd961798a4e0432335f57b933b7401e2 /drivers/acpi/device_pm.c
parentirqchip: gicv3-its: Fix unsafe locking reported by lockdep (diff)
downloadlinux-cf613871946230c5dd8178d07bcdc2984f4545cd.tar.xz
linux-cf613871946230c5dd8178d07bcdc2984f4545cd.zip
irqchip: gic: Fix unsafe locking reported by lockdep
When compiled with CONFIG_LOCKDEP, the kernel shouts badly, saying that the locking in the GIC code is unsafe. I'm afraid the kernel is right: CPU0 ---- lock(irq_controller_lock); <Interrupt> lock(irq_controller_lock); *** DEADLOCK *** This can happen while enabling, disabling, setting the type or the affinity of an interrupt. The fix is to take the interrupt_controller_lock with interrupts disabled in these cases. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Link: https://lkml.kernel.org/r/1425659870-11832-6-git-send-email-marc.zyngier@arm.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/acpi/device_pm.c')
0 files changed, 0 insertions, 0 deletions