diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-08-25 19:41:30 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2022-09-19 15:35:08 +0300 |
commit | 9458e0a78c45bc6537ce11eb9f03489eab92f9c2 (patch) | |
tree | a8fb3afdf9cc749b56242fed822c372f8158432d /drivers/spi/spi-sifive.c | |
parent | c7e0b3d088717d148707cd6fcb12f97c6fd961c1 (diff) | |
download | linux-9458e0a78c45bc6537ce11eb9f03489eab92f9c2.tar.xz |
flex_proportions: Disable preemption entering the write section.
The seqcount fprop_global::sequence is not associated with a lock. The
write section (fprop_new_period()) is invoked from a timer and since the
softirq is preemptible on PREEMPT_RT it is possible to preempt the write
section which is not desited.
Disable preemption around the write section on PREEMPT_RT.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20220825164131.402717-8-bigeasy@linutronix.de
Diffstat (limited to 'drivers/spi/spi-sifive.c')
0 files changed, 0 insertions, 0 deletions