]> 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)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Sep 2022 09:22:14 +0000 (19:22 +1000)
commit3cde5b89ace2d7de843ba5f505d79efca866ba7c
tree816c680d40e9087ecf827db9529b048484c13813
parent959e5bb4b4ed0da556b341edfa2ac3f9e4f3ca15
powerpc/boot: Explicitly disable usage of SPE instructions

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
arch/powerpc/boot/Makefile