]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/boot: Disable vector instructions
authorJoel Stanley <joel@jms.id.au>
Wed, 10 Oct 2018 02:45:22 +0000 (13:15 +1030)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:20:46 +0000 (14:20 -0300)
commit3ce64a79180ae84a69b1df07764605fb80f9d528
tree912a715d30496611ebc88bf7d5492f1364b31fc3
parentb1e6b922ae8f6a3f984a7eced5d5467692333a6f
powerpc/boot: Disable vector instructions

BugLink: https://bugs.launchpad.net/bugs/1854975
[ Upstream commit e8e132e6885962582784b6fa16a80d07ea739c0f ]

This will avoid auto-vectorisation when building with higher
optimisation levels.

We don't know if the machine can support VSX and even if it's present
it's probably not going to be enabled at this point in boot.

These flag were both added prior to GCC 4.6 which is the minimum
compiler version supported by upstream, thanks to Segher for the
details.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/powerpc/boot/Makefile