powerpc/fsl: Add nospectre_v2 command line argument
authorDiana Craciun <diana.craciun@nxp.com>
Fri, 29 Mar 2019 11:26:12 +0000 (22:26 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2019 04:26:20 +0000 (06:26 +0200)
commit020e5f13805b4a35c9394fbe55508311453fdbc8
treebe4cd42fc000252a6bf67f3188e6308606a34ef8
parent4a6a2287e0e61dfe9449413d09e63842e016fdcb
powerpc/fsl: Add nospectre_v2 command line argument

commit f633a8ad636efb5d4bba1a047d4a0f1ef719aa06 upstream.

When the command line argument is present, the Spectre variant 2
mitigations are disabled.

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/include/asm/setup.h
arch/powerpc/kernel/security.c