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)
commit95fdffcc2c581654627e79553b45180da58793a7
tree795cfd6ec227bc48f5f6fffab5d7018db422b8e8
parente424b40fd8e8905af4362b053cb9c976c2e69385
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Documentation/kernel-parameters.txt
arch/x86/mm/kaiser.c