summaryrefslogtreecommitdiffstats
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2025-04-04 15:34:29 +0200
committerThomas Gleixner <tglx@linutronix.de>2025-04-09 22:30:39 +0200
commit92e250c624ea37fde64bfd624fd2556f0d846f18 (patch)
tree2fb516ce5853a4cfb5cfb7434d3f5d3ad1831b67 /rust/helpers/workqueue.c
parent2424e146bee00ddb4d4f79d3224f54634ca8d2bc (diff)
downloadlinux-92e250c624ea37fde64bfd624fd2556f0d846f18.tar.gz
linux-92e250c624ea37fde64bfd624fd2556f0d846f18.tar.bz2
linux-92e250c624ea37fde64bfd624fd2556f0d846f18.zip
timekeeping: Add a lockdep override in tick_freeze()
tick_freeze() acquires a raw spinlock (tick_freeze_lock). Later in the callchain (timekeeping_suspend() -> mc146818_avoid_UIP()) the RTC driver acquires a spinlock which becomes a sleeping lock on PREEMPT_RT. Lockdep complains about this lock nesting. Add a lockdep override for this special case and a comment explaining why it is okay. Reported-by: Borislav Petkov <bp@alien8.de> Reported-by: Chris Bainbridge <chris.bainbridge@gmail.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/all/20250404133429.pnAzf-eF@linutronix.de Closes: https://lore.kernel.org/all/20250330113202.GAZ-krsjAnurOlTcp-@fat_crate.local/ Closes: https://lore.kernel.org/all/CAP-bSRZ0CWyZZsMtx046YV8L28LhY0fson2g4EqcwRAVN1Jk+Q@mail.gmail.com/
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions