]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47830e11f72fc0f43444b48b31456fdb37df5442
tree94d602bcbbcc9091dc123b54b24bd6b9d169ad4c
parent6c4387310f113831163305bb79c9501547ecab56
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