Re: [PATCH] powerpc: Don't allow the use of EMIT_BUG_ENTRY with BUGFLAG_WARNING

2022-03-02 Thread Michael Ellerman
On Sun, 13 Feb 2022 10:02:41 +0100, Christophe Leroy wrote: > Warnings in assembly must use EMIT_WARN_ENTRY in order to generate > the necessary entry in exception table. > > Check in EMIT_BUG_ENTRY that flags don't include BUGFLAG_WARNING. > > This change avoids problems like the one fixed by >

[PATCH] powerpc: Don't allow the use of EMIT_BUG_ENTRY with BUGFLAG_WARNING

2022-02-13 Thread Christophe Leroy
Warnings in assembly must use EMIT_WARN_ENTRY in order to generate the necessary entry in exception table. Check in EMIT_BUG_ENTRY that flags don't include BUGFLAG_WARNING. This change avoids problems like the one fixed by commit fd1ea686 ("powerpc/64s: Use EMIT_WARN_ENTRY for SRR debug warni