OSDN Git Service

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:44:25 +0000 (15:44 +0100)
commite405a064bd7d6eca88935342ddb71057a9d6ceab
tree48628847f7f2b8d997decc863881cdd61513c9be
parentdea9aa9ffae11c91285335cc3215b4f0e48e8139
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