Re: [PATCH v2 20/28] arm64: Save spsr in pt_regs

2022-03-10 Thread Sean Anderson
On 3/10/22 3:50 PM, Sean Anderson wrote: > This register holds "pstate" which includes (among other things) the > instruction mode the CPU was in when the exception was taken. This is > necessary to correctly interpret instructions at elr. > > Signed-off-by: Sean Anderson > --- > > Changes

[PATCH v2 20/28] arm64: Save spsr in pt_regs

2022-03-10 Thread Sean Anderson
This register holds "pstate" which includes (among other things) the instruction mode the CPU was in when the exception was taken. This is necessary to correctly interpret instructions at elr. Signed-off-by: Sean Anderson --- Changes in v2: - New arch/arm/cpu/armv8/exceptions.S | 5