[PATCH] powerpc/prom: convert PROM_BUG() to standard trap

Michael Ellerman patch-notifications at ellerman.id.au
Mon Sep 2 13:29:36 AEST 2019


On Mon, 2019-08-26 at 11:10:23 UTC, Christophe Leroy wrote:
> Prior to commit 1bd98d7fbaf5 ("ppc64: Update BUG handling based on
> ppc32"), BUG() family was using BUG_ILLEGAL_INSTRUCTION which
> was an invalid instruction opcode to trap into program check
> exception.
> 
> That commit converted them to using standard trap instructions,
> but prom/prom_init and their PROM_BUG() macro were left over.
> head_64.S and exception-64s.S were left aside as well.
> 
> Convert them to using the standard BUG infrastructure.
> 
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/63ce271b5e377deaddace4bac6dafb6e79d2bee4

cheers


More information about the Linuxppc-dev mailing list