summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2026-10-02 07:15:04 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2026-10-02 18:32:27 +0100
commitfe4a24613bc206a8c8d77dc624c0f4fa46f5e724 (patch)
treed5be70b949e47884bf581bcedb1b2b91a84683b6 /tools/perf/scripts/python
parent5487bff69b85ca9bde7884655e2e45997d947acb (diff)
arm64: Block hibernate and kexec while RMM is active
RMM can be deactivated only after all delegated granules have been reclaimed. If a new kernel is entered while any granules remain in the Realm PAS, accesses to that memory can raise a Granule Protection Fault and be fatal to the new kernel. Crash kexec/kdump needs separate handling. It can be supported only once the crash kernel can tolerate delegated memory inherited from the primary kernel. i.e., be able to read the pages safely and fixup the GPF. Until then disable the kexec completely. Hibernate has a similar problem. The image cannot be safely saved for delegated pages, as the RMM doesn't support exporting the pages. Also, on the resume path, if the RMM is active, there could be delegated granules and overwriting them is fatal. Disable both kexec and hiberation while the RMM is active. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@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