diff options
| author | 2023-08-19 10:09:21 +0200 | |
|---|---|---|
| committer | 2023-10-20 12:50:14 +0200 | |
| commit | 0bd7feb2df7ef092c6b8914acca706fb21826f80 (patch) | |
| tree | bb82c445ca773ebcf4aa1016cd144bd37ead3d24 /include/linux/soc/apple/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com | |
| parent | x86/calldepth: Rename __x86_return_skl() to call_depth_return_thunk() (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 'include/linux/soc/apple/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
