<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/asm-generic/bug.h, branch v6.19.11</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.19.11'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2025-11-24T19:23:25+00:00</updated>
<entry>
<title>x86/bug: Implement WARN_ONCE()</title>
<updated>2025-11-24T19:23:25+00:00</updated>
<author>
<name>Peter Zijlstra</name>
<email>peterz@infradead.org</email>
</author>
<published>2025-06-02T13:08:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=11bb4944f014d756f35261f5afcb346901ef1efa'/>
<id>urn:sha1:11bb4944f014d756f35261f5afcb346901ef1efa</id>
<content type='text'>
Implement WARN_ONCE like WARN using BUGFLAG_ONCE.

Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://patch.msgid.link/20251110115758.339309119@infradead.org
</content>
</entry>
<entry>
<title>x86/bug: Use BUG_FORMAT for DEBUG_BUGVERBOSE_DETAILED</title>
<updated>2025-11-24T19:22:21+00:00</updated>
<author>
<name>Peter Zijlstra</name>
<email>peterz@infradead.org</email>
</author>
<published>2025-11-10T09:24:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4f1b701f24bea0900e349aa1c860db24ba0150aa'/>
<id>urn:sha1:4f1b701f24bea0900e349aa1c860db24ba0150aa</id>
<content type='text'>
Since we have an explicit format string, use it for the condition string
instead of frobbing it in the file string.

Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://patch.msgid.link/20251110115758.097401406@infradead.org
</content>
</entry>
<entry>
<title>bug: Allow architectures to provide __WARN_printf()</title>
<updated>2025-11-21T10:21:32+00:00</updated>
<author>
<name>Peter Zijlstra</name>
<email>peterz@infradead.org</email>
</author>
<published>2025-06-02T13:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=b9b2c455f462b67954bee5f17c3d68355d37586f'/>
<id>urn:sha1:b9b2c455f462b67954bee5f17c3d68355d37586f</id>
<content type='text'>
In addition to providing __WARN_FLAGS(), allow an architecture to also
provide __WARN_printf().

Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://patch.msgid.link/20251110115757.807154591@infradead.org
</content>
</entry>
<entry>
<title>bug: Implement WARN_ON() using __WARN_FLAGS()</title>
<updated>2025-11-21T10:21:32+00:00</updated>
<author>
<name>Peter Zijlstra</name>
<email>peterz@infradead.org</email>
</author>
<published>2025-11-10T10:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3fd45b871fde00f4fac96318a136bd256ec0b90b'/>
<id>urn:sha1:3fd45b871fde00f4fac96318a136bd256ec0b90b</id>
<content type='text'>
This completes 3bc3c9c3ab6d ("bugs/core: Pass down the condition
string of WARN_ON_ONCE(cond) warnings to __WARN_FLAGS()") and makes
WARN_ON() and WARN_ON_ONCE() behaviour consistent.

Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://patch.msgid.link/20251110115757.690999560@infradead.org
</content>
</entry>
<entry>
<title>bug: Add BUG_FORMAT_ARGS infrastructure</title>
<updated>2025-11-21T10:21:31+00:00</updated>
<author>
<name>Peter Zijlstra</name>
<email>peterz@infradead.org</email>
</author>
<published>2025-06-07T08:51:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5c47b7f3d1a9d7589026a201abb8ad445f029246'/>
<id>urn:sha1:5c47b7f3d1a9d7589026a201abb8ad445f029246</id>
<content type='text'>
Add BUG_FORMAT_ARGS; when an architecture is able to provide a va_list
given pt_regs, use this to print format arguments.

Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://patch.msgid.link/20251110115757.457339417@infradead.org
</content>
</entry>
<entry>
<title>bug: Clean up CONFIG_GENERIC_BUG_RELATIVE_POINTERS</title>
<updated>2025-11-21T10:21:31+00:00</updated>
<author>
<name>Peter Zijlstra</name>
<email>peterz@infradead.org</email>
</author>
<published>2025-06-02T13:01:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=30b82568b04e279d0d99482db036f1bdfecac522'/>
<id>urn:sha1:30b82568b04e279d0d99482db036f1bdfecac522</id>
<content type='text'>
Three repeated CONFIG_GENERIC_BUG_RELATIVE_POINTERS #ifdefs right
after one another yields unreadable code. Add a helper.

Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://patch.msgid.link/20251110115757.341703850@infradead.org
</content>
</entry>
<entry>
<title>bug: Add BUG_FORMAT infrastructure</title>
<updated>2025-11-21T10:21:30+00:00</updated>
<author>
<name>Peter Zijlstra</name>
<email>peterz@infradead.org</email>
</author>
<published>2025-06-02T12:59:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d292dbb5640c5b73b5ad889ae31fe889a2bf3137'/>
<id>urn:sha1:d292dbb5640c5b73b5ad889ae31fe889a2bf3137</id>
<content type='text'>
Add BUG_FORMAT; an architecture opt-in feature that allows adding the
WARN_printf() format string to the bug_entry table.

Signed-off-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Link: https://patch.msgid.link/20251110115757.223371452@infradead.org
</content>
</entry>
<entry>
<title>bugs/core: Introduce the CONFIG_DEBUG_BUGVERBOSE_DETAILED Kconfig switch</title>
<updated>2025-06-13T08:25:29+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@kernel.org</email>
</author>
<published>2025-05-15T12:46:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=687fac9d1b00fb10421fdd455d60543cc46e42d0'/>
<id>urn:sha1:687fac9d1b00fb10421fdd455d60543cc46e42d0</id>
<content type='text'>
Allow configurability of the inclusion of more detailed
WARN_ON() strings, to be implemented in subsequent
commits.

Since the full cost will be around 100K more memory on
an x86 defconfig, disable it by default.

Provide the WARN_CONDITION_STR() macro to allow the conditional
passing of extra strings to lower level BUG/WARN handlers.

Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: linux-arch@vger.kernel.org
Link: https://lore.kernel.org/r/20250515124644.2958810-4-mingo@kernel.org
</content>
</entry>
<entry>
<title>bugs/core: Pass down the condition string of WARN_ON_ONCE(cond) warnings to __WARN_FLAGS()</title>
<updated>2025-06-13T08:20:52+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@kernel.org</email>
</author>
<published>2025-05-15T12:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3bc3c9c3ab6df45a3a3389f74000f8bec1bc96e3'/>
<id>urn:sha1:3bc3c9c3ab6df45a3a3389f74000f8bec1bc96e3</id>
<content type='text'>
Doing this will allow architecture code to store and print out
this information as part of the WARN_ON and BUG_ON facilities.

The format of the string is '[condition]', for example:

  WARN_ON_ONCE(idx &lt; 0 &amp;&amp; ptr);

Will get the '[idx &lt; 0 &amp;&amp; ptr]' string literal passed down as 'cond_str'
in __WARN_FLAGS().

Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: linux-arch@vger.kernel.org
Link: https://lore.kernel.org/r/20250515124644.2958810-3-mingo@kernel.org
</content>
</entry>
<entry>
<title>bugs/core: Extend __WARN_FLAGS() with the 'cond_str' parameter</title>
<updated>2025-06-13T08:20:52+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@kernel.org</email>
</author>
<published>2025-05-15T12:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=aec58b48517c911fbdf2beebba46a347e5910072'/>
<id>urn:sha1:aec58b48517c911fbdf2beebba46a347e5910072</id>
<content type='text'>
Push the new parameter down into every architecture that defines __WARN_FLAGS():

  arm64
  loongarch
  parisc
  powerpc
  riscv
  s390
  sh
  x86

Don't pass anything substantial down yet, just propagate the
new parameter with empty strings, without generating it or
using it.

( The string is never NULL, so it can be concatenated at the
  preprocessor level. )

Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: linux-arch@vger.kernel.org
Link: https://lore.kernel.org/r/20250515124644.2958810-2-mingo@kernel.org
</content>
</entry>
</feed>
