]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: ptrace: map SPSR_ELx<->PSR for compat tasks
authorMark Rutland <mark.rutland@arm.com>
Thu, 5 Jul 2018 14:16:51 +0000 (15:16 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 5 Jul 2018 16:24:14 +0000 (17:24 +0100)
commit66952dac0d9c6c61b27c29bbd083661d70ae8566
tree02e3ae3a9a2244cb74504f72b63cebcd99ca88ba
parent8c0852cf9eebcb8300d723dafb22bcfcfeeb068e
arm64: ptrace: map SPSR_ELx<->PSR for compat tasks

The SPSR_ELx format for exceptions taken from AArch32 is slightly
different to the AArch32 PSR format.

Map between the two in the compat ptrace code.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Fixes: c9a45e52c848845c ("arm64: Expose Arm v8.4 features")
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Suzuki Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/ptrace.c