bug: Add report_bug_entry()
authorPeter Zijlstra <peterz@infradead.org>
Sat, 7 Jun 2025 08:52:28 +0000 (10:52 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 21 Nov 2025 10:21:31 +0000 (11:21 +0100)
commit7d2c27a0ec5ecec980b623ded45758918c00b164
tree108a725438be7421d49514281817495852209cfa
parent5c47b7f3d1a9d7589026a201abb8ad445f029246
bug: Add report_bug_entry()

Add a report_bug() variant where the bug_entry is already known. This
is useful when the exception instruction is not instantiated per-site.
But instead has a single instance. In such a case the bug_entry
address might be passed along in a known register or something.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251110115757.575795595@infradead.org
include/linux/bug.h
lib/bug.c