diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2016-09-01 13:35:59 (GMT) |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-09-01 19:22:47 (GMT) |
commit | 563cada03db9cb5df19b20290b65c4e5e1d21358 (patch) | |
tree | 494a916076f45e93bac2aa361e17fc0e4dd5770d /block | |
parent | e937dd5782688928d8c4050237b93b0a51faebee (diff) | |
download | linux-563cada03db9cb5df19b20290b65c4e5e1d21358.tar.xz |
arm64: kernel: do not need to reset UAO on exception entry
Commit e19a6ee2460b ("arm64: kernel: Save and restore UAO and
addr_limit on exception entry") states that exception handler inherits
the original PSTATE.UAO value, so UAO needes to be reset
explicitly. However, ARM 8.2 Extension documentation says:
PSTATE.UAO is copied to SPSR_ELx.UAO and is then set to 0 on an
exception taken from AArch64 to AArch64
so hardware already does the right thing.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Acked-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions