]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: traps: Allow force_signal_inject to pass esr error code
authorAmit Daniel Kachhap <amit.kachhap@arm.com>
Mon, 14 Sep 2020 08:36:52 +0000 (14:06 +0530)
committerWill Deacon <will@kernel.org>
Mon, 14 Sep 2020 11:07:02 +0000 (12:07 +0100)
commit631d6c43e1e3c9b1d6d248ff54e9caea7ce85323
tree0d147a4cc7e5727049aba6b38b97fb0edbcc735f
parent3bc208b0461b27127b1a910d2d0f63ceaaf8780a
arm64: traps: Allow force_signal_inject to pass esr error code

Some error signal need to pass proper ARM esr error code to userspace to
better identify the cause of the signal. So the function
force_signal_inject is extended to pass this as a parameter. The
existing code is not affected by this change.

Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/20200914083656.21428-3-amit.kachhap@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/traps.h
arch/arm64/kernel/fpsimd.c
arch/arm64/kernel/traps.c