Skip to content

Better page protections for arm64

Laura Abbott linux-arm-kernel 11 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest2 patches 0 repliesNew
  2. v72 patches 0 repliesSuperseded
  3. v68 patches 0 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v5 posting 2/20 of 7 patches0 repliesSuperseded
v5 posting 1/27 patches0 repliesSuperseded
v4 posting 2/27 patches0 repliesSuperseded
v3 posting 2/27 patches0 repliesSuperseded
v4 posting 1/22 patches0 repliesSuperseded
v3 posting 1/22 patches0 repliesSuperseded
v24 patches0 repliesSuperseded
v13 patches0 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: use fixmap for text patchingarch/arm64/include/asm/fixmap.h arch/arm64/kernel/insn.c+47 -10 replies
2/2arm64: add better page protections to arm64arch/arm64/Kconfig.debug arch/arm64/include/asm/cacheflush.h arch/arm64/kernel/vmlinux.lds.S +3 more+233 -260 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKees CookMark RutlandArd Biesheuvel
1/2R-b T-b R-b T-b
2/2T-b A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v8 thread

Cover letter [PATCHv8 0/2] Better page protections for arm64

Hi,

This should be the final version of the series to add stricter page protections for arm64. The goal is to have text be RO/X and everything else be RW/NX.

v8: Minor tweaks, adding acks

Laura Abbott (2):
arm64: use fixmap for text patching
arm64: add better page protections to arm64

 arch/arm64/Kconfig.debug            |  23 ++++
 arch/arm64/include/asm/cacheflush.h |   5 +
 arch/arm64/include/asm/fixmap.h     |   1 +
 arch/arm64/kernel/insn.c            |  47 +++++++-
 arch/arm64/kernel/vmlinux.lds.S     |  17 ++-
 arch/arm64/mm/init.c                |   1 +
 arch/arm64/mm/mm.h                  |   2 +
 arch/arm64/mm/mmu.c                 | 211 ++++++++++++++++++++++++++++++++----
 8 files changed, 280 insertions(+), 27 deletions(-)
Signature · 2 lines
Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project