mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 16:06:45 +07:00
b113f3bf16
[ Upstream commit 0178297c1e6898e2197fe169ef3be723e019b971 ]
On PREEMPT_RT enabled kernels unmarked hrtimers are moved into soft
interrupt expiry mode by default.
The IIO hrtimer-trigger 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.
Explicitly specify that the timer needs to run in hard interrupt context by
using the HRTIMER_MODE_REL_HARD flag.
Fixes:
|
||
---|---|---|
.. | ||
iio-trig-hrtimer.c | ||
iio-trig-interrupt.c | ||
iio-trig-loop.c | ||
iio-trig-sysfs.c | ||
Kconfig | ||
Makefile | ||
stm32-lptimer-trigger.c | ||
stm32-timer-trigger.c |