x86/kaiser: Check boottime cmdline params
authorBorislav Petkov <bp@suse.de>
Tue, 2 Jan 2018 13:19:48 +0000 (14:19 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 7 Jan 2018 01:46:52 +0000 (01:46 +0000)
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Documentation/kernel-parameters.txt
arch/x86/mm/kaiser.c

Simple merge
Simple merge