powerpc/64: Disable the speculation barrier from the command line
authorDiana Craciun <diana.craciun@nxp.com>
Thu, 11 Apr 2019 11:46:06 +0000 (21:46 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2019 06:36:40 +0000 (08:36 +0200)
commit78749d1a7a08c21510d457fe27d5a14b1181a85b
tree8be50a674252904542adb18c3c4987ecc344f6fb
parentee617f5807c7a3722c2b9c19ab227deb7a0ff3c0
powerpc/64: Disable the speculation barrier from the command line

commit cf175dc315f90185128fb061dc05b6fbb211aa2f upstream.

The speculation barrier can be disabled from the command line
with the parameter: "nospectre_v1".

Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/kernel/security.c