Mark Rutland b2452cc1fa arm64: compat: map SPSR_ELx<->PSR for signals
commit 25dc2c80cfa33153057aa94984855acd57adf92a upstream.

The SPSR_ELx format for exceptions taken from AArch32 differs from the
AArch32 PSR format. Thus, we must translate between the two when setting
up a compat sigframe, or restoring context from a compat sigframe.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Fixes: 7206dc93a58fb764 ("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>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-02 16:34:28 +02:00
..
2019-02-20 10:20:53 +01:00
2018-02-28 10:19:44 +01:00
2020-04-02 16:34:12 +02:00
2020-02-28 16:35:57 +01:00
2019-12-05 15:37:49 +01:00
2020-04-02 16:34:20 +02:00
2019-12-21 10:47:43 +01:00