OSDN Git Service

powerpc/64: Disable the speculation barrier from the command line
authorDiana Craciun <diana.craciun@nxp.com>
Sun, 21 Apr 2019 14:20:18 +0000 (00:20 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:44:48 +0000 (19:44 +0200)
commit58dbc8def9497015169807849bed6a542e651d41
treeea1922ad74de0625d76b7a56718548ff5266cf68
parentd000015f628306b3aa4433e5b60d244dc9334dcd
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/security.c