summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2025-01-20 18:56:56 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-17 10:05:14 +0100
commited0ad04c6825f96d40798e9f904632318d6a1d12 (patch)
tree6c09f2a1c36adace2fdcf855c58c577a997b49fe /scripts/stackusage
parent416d22fe8c188bf65389a0eeb32e79ef24c60bb4 (diff)
downloadlinux-ed0ad04c6825f96d40798e9f904632318d6a1d12.tar.gz
linux-ed0ad04c6825f96d40798e9f904632318d6a1d12.tar.bz2
linux-ed0ad04c6825f96d40798e9f904632318d6a1d12.zip
ring-buffer: Do not allow events in NMI with generic atomic64 cmpxchg()
commit cd2375a3567fd3d93aa6c68e0027a5756213bda0 upstream. Some architectures can not safely do atomic64 operations in NMI context. Since the ring buffer relies on atomic64 operations to do its time keeping, if an event is requested in NMI context, reject it for these architectures. Cc: stable@vger.kernel.org Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andreas Larsson <andreas@gaisler.com> Link: https://lore.kernel.org/20250120235721.407068250@goodmis.org Fixes: c84897c0ff592 ("ring-buffer: Remove 32bit timestamp logic") Closes: https://lore.kernel.org/all/86fb4f86-a0e4-45a2-a2df-3154acc4f086@gaisler.com/ Reported-by: Ludwig Rydberg <ludwig.rydberg@gaisler.com> Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions