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

From: Michael Ellerman
Date: Wed Mar 02 2022 - 07:46:45 EST


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
> commit fd1eaaaaa686 ("powerpc/64s: Use EMIT_WARN_ENTRY for SRR debug
> warnings").
>
> [...]

Applied to powerpc/next.

[1/1] powerpc: Don't allow the use of EMIT_BUG_ENTRY with BUGFLAG_WARNING
https://git.kernel.org/powerpc/c/38a1756861b8fc2ea9afb93e231194c642a4e261

cheers