]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: Add CONFIG_DEBUG_SET_MODULE_RONX support
authorLaura Abbott <lauraa@codeaurora.org>
Tue, 19 Aug 2014 19:41:43 +0000 (20:41 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 8 Sep 2014 13:39:18 +0000 (14:39 +0100)
commit11d91a770f1fff44dafdf88d6089a3451f99c9b6
treedb7874516b61d7df4d85e4529b9ea6e1033624e6
parentb6d4f2800b7bad654caf00654f4bff21594ef838
arm64: Add CONFIG_DEBUG_SET_MODULE_RONX support

In a similar fashion to other architecture, add the infrastructure
and Kconfig to enable DEBUG_SET_MODULE_RONX support. When
enabled, module ranges will be marked read-only/no-execute as
appropriate.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
[will: fixed off-by-one in module end check]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig.debug
arch/arm64/include/asm/cacheflush.h
arch/arm64/mm/Makefile
arch/arm64/mm/pageattr.c [new file with mode: 0644]