AKASHI Takahiro 67787b68ec 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>
2016-09-23 11:25:01 +01:00
..
2016-07-27 11:16:05 -07:00
2016-07-27 11:16:05 -07:00
2016-06-27 16:31:25 +01:00
2016-06-27 16:31:25 +01:00
2016-03-04 18:19:17 +00:00
2016-06-27 16:31:25 +01:00
2016-05-16 17:17:24 -07:00
2016-07-27 11:16:05 -07:00
2016-02-24 14:57:27 +00:00
2016-02-24 14:57:24 +00:00
2016-08-01 12:23:44 -05:00
2016-05-20 17:58:30 -07:00
2016-07-30 11:32:01 -07:00
2016-03-02 15:49:28 +00:00
2016-04-20 12:22:42 +01:00