lkml.org 
[lkml]   [2020]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] Extract DEBUG_WX to shared use.
Date
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(-)

--
2.26.1

\
 
 \ /
  Last update: 2020-04-21 10:18    [W:0.085 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site