]> git.ipfire.org Git - people/arne_f/kernel.git/commit
powerpc/fsl: Add nospectre_v2 command line argument
authorDiana Craciun <diana.craciun@nxp.com>
Thu, 11 Apr 2019 11:46:22 +0000 (21:46 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2019 06:36:43 +0000 (08:36 +0200)
commit7133df4c86d9e853e12469a3a5c363fb75981429
tree99c4bd95b2c24cfdc0198fca76a11bfa4ef1ac6e
parenta1101a6297c97c126c485d2f5209547bbbb8b332
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: Sasha Levin <sashal@kernel.org>
arch/powerpc/include/asm/setup.h
arch/powerpc/kernel/security.c