diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2016-09-23 16:42:08 +0900 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-09-23 11:25:01 +0100 |
commit | 67787b68ec48c239d5ec12f9bf5adaf5c459517a (patch) | |
tree | 807c1243a2458bb8a83d527c4970ad48840f87ee /mm/util.c | |
parent | c18df0adabf8400c1825b90382d06df5edc303fa (diff) | |
download | linux-67787b68ec48c239d5ec12f9bf5adaf5c459517a.tar.bz2 |
arm64: kgdb: handle read-only text / modules
Handle read-only cases when CONFIG_DEBUG_RODATA (4.0) or
CONFIG_DEBUG_SET_MODULE_RONX (3.18) are enabled by using
aarch64_insn_write() instead of probe_kernel_write() as introduced by
commit 2f896d586610 ("arm64: use fixmap for text patching") in 4.0.
Fixes: 11d91a770f1f ("arm64: Add CONFIG_DEBUG_SET_MODULE_RONX support")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions