arm64: print additional fault message when executing non-exec memory
authorXiang Zheng <zhengxiang9@huawei.com>
Tue, 29 Oct 2019 12:41:31 +0000 (20:41 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 29 Oct 2019 15:41:14 +0000 (15:41 +0000)
commite44ec4a35dbdf3f3fe772f176fab3b8be7e02b0f
tree94d602bcbbcc9091dc123b54b24bd6b9d169ad4c
parentbfcef4ab1d7ee8921bc322109b1692036cc6cbe0
arm64: print additional fault message when executing non-exec memory

When attempting to executing non-executable memory, the fault message
shows:

  Unable to handle kernel read from unreadable memory at virtual address
  ffff802dac469000

This may confuse someone, so add a new fault message for instruction
abort.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Xiang Zheng <zhengxiang9@huawei.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/fault.c