[PATCH v2 0/1] x86/pti: Fix kernel warnings for pti= and nopti cmdline

From: Jo Van Bulck
Date: Fri Aug 11 2023 - 17:37:26 EST


Hi,

This is the second iteration of a patch to improve the cmdline option parsing
for PTI.

Changelog
---------

v2
- Split pti=off and mitigations=off checks (Sohil)
- Ensure backwards compatibility for conflicting options (Sohil)

Best,
Jo

Jo Van Bulck (1):
x86/pti: Fix kernel warnings for pti= and nopti cmdline options.

arch/x86/mm/pti.c | 59 +++++++++++++++++++++++++++--------------------
1 file changed, 34 insertions(+), 25 deletions(-)

--
2.25.1