Bartosz Golaszewski 06459901d5 irq/irq_sim: Store multiple interrupt offsets in a bitmap
Two threads can try to fire the irq_sim with different offsets and will
end up fighting for the irq_work asignment. Thomas Gleixner suggested a
solution based on a bitfield where we set a bit for every offset
associated with an interrupt that should be fired and then iterate over
all set bits in the interrupt handler.

This is a slightly modified solution using a bitmap so that we don't
impose a limit on the number of interrupts one can allocate with
irq_sim.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2018-12-13 09:35:31 +00:00
..
2018-03-20 14:23:28 +01:00
2018-03-20 14:23:28 +01:00
2018-03-20 14:23:28 +01:00
2018-03-20 14:23:28 +01:00
2018-06-19 09:19:40 +02:00
2018-10-09 07:50:41 +02:00
2018-11-01 10:00:38 +01:00
2018-03-20 14:23:28 +01:00
2018-06-22 14:22:58 +02:00
2018-03-20 14:23:27 +01:00