Re: [PATCH v4 07/14] arm64: Add support for suppressing warning backtraces

2025-03-19 Thread Guenter Roeck
On 3/19/25 01:05, Christophe Leroy wrote: Le 18/03/2025 à 16:59, Will Deacon a écrit : On Thu, Mar 13, 2025 at 05:40:59PM +0100, Alessandro Carminati wrote: On Thu, Mar 13, 2025 at 1:25 PM Will Deacon wrote: On Thu, Mar 13, 2025 at 11:43:22AM +, Alessandro Carminati wrote: diff --git

Re: [PATCH v4 07/14] arm64: Add support for suppressing warning backtraces

2025-03-19 Thread Dan Carpenter
On Wed, Mar 19, 2025 at 09:05:27AM +0100, Christophe Leroy wrote: > > Doesn't sparse and/or checkpatch complain about 0 being used in lieu of NULL > ? Sparse does have a "Using plain integer as NULL pointer" warning, yes. I can't apply this patchset and I haven't been following the conversation

Re: [PATCH v4 07/14] arm64: Add support for suppressing warning backtraces

2025-03-19 Thread Christophe Leroy
Le 18/03/2025 à 16:59, Will Deacon a écrit : On Thu, Mar 13, 2025 at 05:40:59PM +0100, Alessandro Carminati wrote: On Thu, Mar 13, 2025 at 1:25 PM Will Deacon wrote: On Thu, Mar 13, 2025 at 11:43:22AM +, Alessandro Carminati wrote: diff --git a/arch/arm64/include/asm/bug.h b/arch/arm6

Re: [PATCH v4 07/14] arm64: Add support for suppressing warning backtraces

2025-03-18 Thread Guenter Roeck
On 3/18/25 08:59, Will Deacon wrote: On Thu, Mar 13, 2025 at 05:40:59PM +0100, Alessandro Carminati wrote: On Thu, Mar 13, 2025 at 1:25 PM Will Deacon wrote: On Thu, Mar 13, 2025 at 11:43:22AM +, Alessandro Carminati wrote: diff --git a/arch/arm64/include/asm/bug.h b/arch/arm64/include/a

Re: [PATCH v4 07/14] arm64: Add support for suppressing warning backtraces

2025-03-18 Thread Will Deacon
On Thu, Mar 13, 2025 at 05:40:59PM +0100, Alessandro Carminati wrote: > On Thu, Mar 13, 2025 at 1:25 PM Will Deacon wrote: > > > > On Thu, Mar 13, 2025 at 11:43:22AM +, Alessandro Carminati wrote: > > > diff --git a/arch/arm64/include/asm/bug.h b/arch/arm64/include/asm/bug.h > > > index 28be04

Re: [PATCH v4 07/14] arm64: Add support for suppressing warning backtraces

2025-03-13 Thread Alessandro Carminati
Hello Will, On Thu, Mar 13, 2025 at 1:25 PM Will Deacon wrote: > > On Thu, Mar 13, 2025 at 11:43:22AM +, Alessandro Carminati wrote: > > diff --git a/arch/arm64/include/asm/bug.h b/arch/arm64/include/asm/bug.h > > index 28be048db3f6..044c5e24a17d 100644 > > --- a/arch/arm64/include/asm/bug.h

Re: [PATCH v4 07/14] arm64: Add support for suppressing warning backtraces

2025-03-13 Thread Will Deacon
On Thu, Mar 13, 2025 at 11:43:22AM +, Alessandro Carminati wrote: > diff --git a/arch/arm64/include/asm/bug.h b/arch/arm64/include/asm/bug.h > index 28be048db3f6..044c5e24a17d 100644 > --- a/arch/arm64/include/asm/bug.h > +++ b/arch/arm64/include/asm/bug.h > @@ -11,8 +11,14 @@ > > #include

[PATCH v4 07/14] arm64: 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