[PATCH 0/3] Page protections for arm64

Laura Abbott lauraa at codeaurora.org
Thu Apr 17 17:47:00 PDT 2014


Hi,

These are a couple of semi-related patches to set memory on arm64 to something
other than read/write/execute everywhere. The CONFIG_DEBUG_SET_MODULE_RONX is
actually v2 of the previous patch[1] but it seemed reasonable to put this with
the other work to map regular memory with better protections. The direction
for the arm64 work is roughly based on arm.

Thanks,
Laura


[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-March/238246.html

Laura Abbott (3):
  arm64: Add CONFIG_DEBUG_SET_MODULE_RONX support
  arm64: Treat handle_arch_irq as a function pointer
  arm64: WIP: add better page protections to arm64

 arch/arm64/Kconfig.debug            |  21 +++++
 arch/arm64/include/asm/cacheflush.h |   4 +
 arch/arm64/kernel/entry.S           |   4 +-
 arch/arm64/mm/Makefile              |   2 +-
 arch/arm64/mm/init.c                |   1 +
 arch/arm64/mm/mm.h                  |   2 +
 arch/arm64/mm/mmu.c                 | 173 ++++++++++++++++++++++++++++++++----
 arch/arm64/mm/pageattr.c            | 120 +++++++++++++++++++++++++
 8 files changed, 309 insertions(+), 18 deletions(-)
 create mode 100644 arch/arm64/mm/pageattr.c

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation




More information about the linux-arm-kernel mailing list