powerpc/boot: Explicitly disable usage of SPE instructions
authorPali Rohár <pali@kernel.org>
Sat, 27 Aug 2022 13:44:54 +0000 (15:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 10:34:25 +0000 (12:34 +0200)
commitba2159df18066045b6db1a44d502071e1c52b230
treeceb1c6bb206af812fdf39dcd96c0a7653b61fe19
parent9df2a9cdad5bf843aa20bdcf2ce9987130e87afb
powerpc/boot: Explicitly disable usage of SPE instructions

commit 110a58b9f91c66f743c01a2c217243d94c899c23 upstream.

uImage boot wrapper should not use SPE instructions, like kernel itself.
Boot wrapper has already disabled Altivec and VSX instructions but not SPE.
Options -mno-spe and -mspe=no already set when compilation of kernel, but
not when compiling uImage wrapper yet. Fix it.

Cc: stable@vger.kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220827134454.17365-1-pali@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/boot/Makefile