]> git.baikalelectronics.ru Git - kernel.git/commit
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 11:22:16 +0000 (13:22 +0200)
commite9327ae510fa86ba9abc0173b914524c7de6adde
tree965be97ecf4d3293717e77576de6f412a1f78dfe
parent38220980b712a9f535016b26cf19eb38678abc62
powerpc/boot: Explicitly disable usage of SPE instructions

commit 3cde5b89ace2d7de843ba5f505d79efca866ba7c 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