Skip to content

Extract DEBUG_WX to shared use.

Zong Li linux-arm-kernel linux-mm linux-riscv lkml 1 version Applied

Status from this message: [merged] arm64-mm-use-arch_has_debug_wx-instead-of-arch-defined.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4mm: add DEBUG_WX supportmm/Kconfig.debug+33 -03 repliesApplied
2/4riscv: support DEBUG_WXarch/riscv/Kconfig arch/riscv/include/asm/ptdump.h arch/riscv/mm/init.c+10 -01 replyApplied
3/4x86: mm: use ARCH_HAS_DEBUG_WX instead of arch definedarch/x86/Kconfig arch/x86/Kconfig.debug+1 -270 repliesApplied
4/4arm64: mm: use ARCH_HAS_DEBUG_WX instead of arch definedarch/arm64/Kconfig arch/arm64/Kconfig.debug+1 -291 replyApplied

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchWill Deacon
1/4
2/4
3/4
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Extract DEBUG_WX to shared use.

Some architectures support DEBUG_WX function, it's verbatim from each others, so extract to mm/Kconfig.debug for shared use.

PPC and ARM ports don't support generic page dumper yet, so we only refine x86 and arm64 port in this patch series.

For RISC-V port, the DEBUG_WX support depends on other patches which be merged already:
- RISC-V page table dumper
- Support strict kernel memory permissions for security

Zong Li (4):
mm: add DEBUG_WX support
riscv: support DEBUG_WX
x86: mm: use ARCH_HAS_DEBUG_WX instead of arch defined
arm64: mm: use ARCH_HAS_DEBUG_WX instead of arch defined

 arch/arm64/Kconfig              |  1 +
 arch/arm64/Kconfig.debug        | 29 -----------------------------
 arch/riscv/Kconfig              |  1 +
 arch/riscv/include/asm/ptdump.h |  6 ++++++
 arch/riscv/mm/init.c            |  3 +++
 arch/x86/Kconfig                |  1 +
 arch/x86/Kconfig.debug          | 27 ---------------------------
 mm/Kconfig.debug                | 33 +++++++++++++++++++++++++++++++++
 8 files changed, 45 insertions(+), 56 deletions(-)
Signature · 1 line
2.26.1