x86/kaiser: Check boottime cmdline params
authorBorislav Petkov <bp@suse.de>
Tue, 2 Jan 2018 13:19:48 +0000 (14:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2018 14:46:35 +0000 (15:46 +0100)
commit8018307a45a90ab2eecfd03d48b7efb31707df37
tree08ade1aba746b60f7d35e0bf545311ee021b1fce
parent50624dd12d6df936f80cb9f02e9a0e40197b5d91
x86/kaiser: Check boottime cmdline params

AMD (and possibly other vendors) are not affected by the leak
KAISER is protecting against.

Keep the "nopti" for traditional reasons and add pti=<on|off|auto>
like upstream.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/kernel-parameters.txt
arch/x86/mm/kaiser.c