]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: fault: avoid send SIGBUS two times
authorDongjiu Geng <gengdongjiu@huawei.com>
Wed, 13 Dec 2017 10:36:47 +0000 (18:36 +0800)
committerWill Deacon <will.deacon@arm.com>
Wed, 13 Dec 2017 09:58:13 +0000 (09:58 +0000)
commitba1076155a5dc3e77c67dc601790f0bfe84c3be4
tree7301fe6882973bd87f4ea1c4ab9dfab95188bed3
parentc903f79ab73ffa14db3fc41f3fbc529642b6096a
arm64: fault: avoid send SIGBUS two times

do_sea() calls arm64_notify_die() which will always signal
user-space. It also returns whether APEI claimed the external
abort as a RAS notification. If it returns failure do_mem_abort()
will signal user-space too.

do_mem_abort() wants to know if we handled the error, we always
call arm64_notify_die() so can always return success.

Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Reviewed-by: James Morse <james.morse@arm.com>
Reviewed-by: Xie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/fault.c