Skip to content

arm64: align KPTI interface with x86

Mark Langsdorf linux-arm-kernel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Two patches dealing with debugfs dropped as x86 doesn't have this capability
- Documentation changed so that the existing kpti argument is documented, instead of a pti argument similar to what x86 uses but arm64 does not.
- when logging kpti status, made it clear when status is set by default

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: capabilities: add nopti command line argumentDocumentation/admin-guide/kernel-parameters.txt arch/arm64/kernel/cpufeature.c+25 -50 replies
2/2arm64: cpufeature: always log KPTI setting on bootarch/arm64/kernel/cpufeature.c+18 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] arm64: align KPTI interface with x86

ARM64 supports KPTI, but support isn't documented and KPTI can be enabled or disabled silently. Also, x86_64 supports the nopti kernel parameter, but ARM64 doesn't.

Add the nopti argument, update the documentation so that ARM64 as well as x86 supports nopti, add documentation for the existing kpti parameter, and revise how kpti is logged.

--Mark Langsdorf

Changes from v1:
- Two patches dealing with debugfs dropped as x86 doesn't have this capability
- Documentation changed so that the existing kpti argument is documented, instead of a pti argument similar to what x86 uses but arm64 does not.
- when logging kpti status, made it clear when status is set by default