]> 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)
commita2cc6f6bb5c62d723dab56334808e257ed55bf21
tree965be97ecf4d3293717e77576de6f412a1f78dfe
parentb582aee4ecb3fcddb0b61c8b08f06baf1f2c2fa7
powerpc/boot: Explicitly disable usage of SPE instructions

commit 5e70176e50f89fa9cd756e2d111ddd45dea387e8 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