aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2025-04-04 13:34:29 +0000
committerThomas Gleixner <[email protected]>2025-04-09 20:30:39 +0000
commit92e250c624ea37fde64bfd624fd2556f0d846f18 (patch)
tree2fb516ce5853a4cfb5cfb7434d3f5d3ad1831b67 /rust/helpers/platform.c
parenthrtimer: Add missing ACCESS_PRIVATE() for hrtimer::function (diff)
downloadkernel-92e250c624ea37fde64bfd624fd2556f0d846f18.tar.gz
kernel-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 <[email protected]> Reported-by: Chris Bainbridge <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/all/[email protected] 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/platform.c')
0 files changed, 0 insertions, 0 deletions