Re: [PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-04-05 Thread Peter Zijlstra
On Tue, Apr 01, 2025 at 10:53:46AM -0700, Guenter Roeck wrote: > > > #define _BUG_FLAGS(ins, flags, extra) > > > \ > > > do { > > > \ > > > asm_inline volatile("1:\t" ins "\n"

Re: [PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-04-02 Thread Peter Zijlstra
On Tue, Apr 01, 2025 at 10:53:46AM -0700, Guenter Roeck wrote: > > > @@ -92,7 +102,8 @@ do { > > > \ > > > do {\ > > > __auto_type __flags = BUGFLAG_WARNING|(flags);

Re: [PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-04-01 Thread Josh Poimboeuf
On Tue, Apr 01, 2025 at 10:53:46AM -0700, Guenter Roeck wrote: > On 4/1/25 10:08, Peter Zijlstra wrote: > > > + if (!KUNIT_IS_SUPPRESSED_WARNING(__func__)) \ > > > + _BUG_FLAGS(ASM_UD2, __flags, ANNOTATE_REACHABLE(1b)); \ > > > instrumentation_end();

Re: [PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-04-01 Thread Guenter Roeck
On 4/1/25 10:08, Peter Zijlstra wrote: On Thu, Mar 13, 2025 at 11:43:21AM +, Alessandro Carminati wrote: From: Guenter Roeck Add name of functions triggering warning backtraces to the __bug_table object section to enable support for suppressing WARNING backtraces. To limit image size impa

Re: [PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-04-01 Thread Peter Zijlstra
On Thu, Mar 13, 2025 at 11:43:21AM +, Alessandro Carminati wrote: > From: Guenter Roeck > > Add name of functions triggering warning backtraces to the __bug_table > object section to enable support for suppressing WARNING backtraces. > > To limit image size impact, the pointer to the functio

Re: [PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-03-29 Thread David Gow
On Thu, 13 Mar 2025 at 19:44, Alessandro Carminati wrote: > > From: Guenter Roeck > > Add name of functions triggering warning backtraces to the __bug_table > object section to enable support for suppressing WARNING backtraces. > > To limit image size impact, the pointer to the function name is o

[PATCH v4 06/14] x86: Add support for suppressing warning backtraces

2025-03-13 Thread Alessandro Carminati
From: Guenter Roeck Add name of functions triggering warning backtraces to the __bug_table object section to enable support for suppressing WARNING backtraces. To limit image size impact, the pointer to the function name is only added to the __bug_table section if both CONFIG_KUNIT_SUPPRESS_BACK