aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2020-11-17 11:37:51 +0100
committerJonathan Cameron <[email protected]>2020-12-03 19:40:30 +0000
commit0449fc4eead7af2523cd12f312b856dfa93731ed (patch)
tree5dc36b8d3aca6446a303eca24a751d5f0f7eca6e /lib/mpi/mpi-mod.c
parent0178297c1e6898e2197fe169ef3be723e019b971 (diff)
iio: sysfs-trigger: Mark irq_work to expire in hardirq context
Mark the IIO sysfs-trigger irq_work with IRQ_WORK_HARD_IRQ to ensure that it is always executed in hard interrupt context, even with PREEMPT_RT=y. The IIO sysfs-trigger irq_work needs to run in hard interrupt context since it will end up calling generic_handle_irq() which has the requirement to run in hard interrupt context. Note that the IRQ_WORK_HARD_IRQ flag, while it exists, does not seem to do anything in the mainline kernel yet. It does have an effect in the RT patchset though and presumably this is sooner or later going to be added to mainline as well. Reported-by: Christian Eggers <[email protected]> Signed-off-by: Lars-Peter Clausen <[email protected]> Acked-by: Sebastian Andrzej Siewior <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions