linux/kernel/irq
Kefeng Wang 8b4f68b474 genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
commit e8458e7afa upstream.

When CONFIG_SPARSE_IRQ is disable, the request_mutex in struct irq_desc
is not initialized which causes malfunction.

Fixes: 9114014cf4 ("genirq: Add mutex to irq desc to serialize request/free_irq()")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20190404074512.145533-1-wangkefeng.wang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-17 08:38:52 +02:00
..
affinity.c genirq/affinity: Spread IRQs to all available NUMA nodes 2019-02-12 19:46:57 +01:00
autoprobe.c
chip.c genirq: Respect IRQCHIP_SKIP_SET_WAKE in irq_chip_set_wake_parent() 2019-04-17 08:38:52 +02:00
cpuhotplug.c
debug.h
debugfs.c
devres.c
dummychip.c
generic-chip.c
handle.c
internals.h genirq: Avoid summation loops for /proc/stat 2019-04-05 22:33:09 +02:00
ipi.c
irq_sim.c
irqdesc.c genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n 2019-04-17 08:38:52 +02:00
irqdomain.c
Kconfig
Makefile
manage.c genirq: Make sure the initial affinity is not empty 2019-03-05 17:58:47 +01:00
matrix.c genirq/matrix: Improve target CPU selection for managed interrupts. 2019-03-05 17:58:45 +01:00
migration.c
msi.c
pm.c
proc.c
resend.c
settings.h
spurious.c
timings.c