diff options
author | Jo Van Bulck <jo.vanbulck@cs.kuleuven.be> | 2023-08-19 10:09:21 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-10-20 12:50:14 +0200 |
commit | 0bd7feb2df7ef092c6b8914acca706fb21826f80 (patch) | |
tree | bb82c445ca773ebcf4aa1016cd144bd37ead3d24 /arch/x86/kernel | |
parent | 99ee56c7657f939eecc4e8ac96e0aa0cd6ea7cbd (diff) |
x86/pti: Fix kernel warnings for pti= and nopti cmdline options
Parse the pti= and nopti cmdline options using early_param to fix 'Unknown
kernel command line parameters "nopti", will be passed to user space'
warnings in the kernel log when nopti or pti= are passed to the kernel
cmdline on x86 platforms.
Additionally allow the kernel to warn for malformed pti= options.
Signed-off-by: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Sohil Mehta <sohil.mehta@intel.com>
Link: https://lore.kernel.org/r/20230819080921.5324-2-jo.vanbulck@cs.kuleuven.be
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions