diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-12-13 18:02:22 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-12-14 10:03:46 +0100 |
commit | 425a5072dcd1bd895eea90a6b495392b6358ebd0 (patch) | |
tree | 312ffe3eee07e6fd1ae14732b2d67273df053548 /drivers/pci/host/pci-imx6.c | |
parent | f0cb32207307e9d7b3ee8117078b7a37f8d0166e (diff) |
genirq: Free irq_desc with rcu
The new VMD device driver needs to iterate over a list of
"demultiplexing" interrupts. Protecting that list with a lock is not
possible because the list is also required in code pathes which hold
irq descriptor lock. Therefor the demultiplexing interrupt handler
would create a lock inversion scenario if it calls a demux handler
with the list protection lock held.
A solution for this is to free the irq descriptor via RCU, so the
list can be walked with rcu read lock held.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'drivers/pci/host/pci-imx6.c')
0 files changed, 0 insertions, 0 deletions