]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: exception: handle Synchronous External Abort
authorTyler Baicar <tbaicar@codeaurora.org>
Wed, 21 Jun 2017 18:17:08 +0000 (12:17 -0600)
committerWill Deacon <will.deacon@arm.com>
Thu, 22 Jun 2017 17:21:46 +0000 (18:21 +0100)
commit429aaf4dcb82349fb1d392a614b5efe3dc4dbd1e
tree174a3293200843e44853872a3d230bf47dc3fdcc
parent3a85055c98854ba202a567af9618cbdd140e89d1
arm64: exception: handle Synchronous External Abort

SEA exceptions are often caused by an uncorrected hardware
error, and are handled when data abort and instruction abort
exception classes have specific values for their Fault Status
Code.
When SEA occurs, before killing the process, report the error
in the kernel logs.
Update fault_info[] with specific SEA faults so that the
new SEA handler is used.

Signed-off-by: Tyler Baicar <tbaicar@codeaurora.org>
CC: Jonathan (Zhixiong) Zhang <zjzhang@codeaurora.org>
Reviewed-by: James Morse <james.morse@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
[will: use NULL instead of 0 when assigning si_addr]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/esr.h
arch/arm64/mm/fault.c