x86/kaiser: Check boottime cmdline params
authorBorislav Petkov <bp@suse.de>
Tue, 2 Jan 2018 13:19:48 +0000 (14:19 +0100)
committerYves-Alexis Perez <corsac@debian.org>
Thu, 4 Jan 2018 11:12:40 +0000 (11:12 +0000)
commitbf1bef9147a208c6e71a3c84f4baff20c864f5e5
treec6fac8e7b9d80c1e06a260bf1b7bec960da3185a
parentd5f4f8431b777bf88e01e1c00e67ebf0d106630d
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>
Gbp-Pq: Topic features/all/kpti
Gbp-Pq: Name x86-kaiser-check-boottime-cmdline-params.patch
Documentation/kernel-parameters.txt
arch/x86/mm/kaiser.c