diff options
| author | Mark Brown <broonie@kernel.org> | 2026-11-05 16:05:04 +0000 |
|---|---|---|
| committer | Catalin Marinas <catalin.marinas@arm.com> | 2026-11-11 22:52:16 +0000 |
| commit | 2386c3dcf13e39d7576eae821af66537332c02de (patch) | |
| tree | 2fdd7839d122b7031a91fb906fae85ef8d41b9aa /tools/perf/scripts/python | |
| parent | 58c1eb84e97701c583605ba2fd553b69afba2245 (diff) | |
arm64: suspend: Save POR_EL0 over suspend
POR_EL0 is a live EL0 register on systems with S1POE but it is not saved
and restored by cpu_do_suspend()/cpu_do_resume(). This means that the task
that initiated suspend can return to userspace with an UNKNOWN value. Fix
this by saving and restoring the value over suspend.
This increases the size of struct cpu_suspend_ctx.
Fixes: bf83dae90fbc ("arm64: enable the Permission Overlay Extension for EL0")
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
