Skip to content

x86/mm: A _PAGE_NX fixlet and a kmap cleanup

Andy Lutomirski lkml 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. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Rebased on top of the cpu_has_xyz cleanups.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86_32/mm: Set NX in __supported_pte_mask before enabling pagingarch/x86/kernel/head_32.S arch/x86/mm/setup_nx.c+8 -30 replies
2/2x86/mm: Make kmap_prot into a #definearch/x86/include/asm/fixmap.h arch/x86/mm/init_32.c+1 -40 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] x86/mm: A _PAGE_NX fixlet and a kmap cleanup

The fixlet might help with some WX warnings. The kmap cleanup is just a cleanup.

This is very lightly tested.

Changes from v1:
- Rebased on top of the cpu_has_xyz cleanups.

Andy Lutomirski (2):
x86_32/mm: Set NX in __supported_pte_mask before enabling paging x86/mm: Make kmap_prot into a #define

 arch/x86/include/asm/fixmap.h | 2 +-
 arch/x86/kernel/head_32.S     | 6 ++++++
 arch/x86/mm/init_32.c         | 3 ---
 arch/x86/mm/setup_nx.c        | 5 ++---
 4 files changed, 9 insertions(+), 7 deletions(-)
Signature · 1 line
2.5.0