diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2016-09-23 09:42:08 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-09-23 12:25:01 +0200 |
commit | 67787b68ec48c239d5ec12f9bf5adaf5c459517a (patch) | |
tree | 807c1243a2458bb8a83d527c4970ad48840f87ee /kernel | |
parent | arm64: Call numa_store_cpu_info() earlier. (diff) | |
download | linux-67787b68ec48c239d5ec12f9bf5adaf5c459517a.tar.xz linux-67787b68ec48c239d5ec12f9bf5adaf5c459517a.zip |
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 'kernel')
0 files changed, 0 insertions, 0 deletions