diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2024-10-17 16:14:32 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2024-10-23 12:19:33 +0300 |
commit | 42be24a4178fe51e6f47d91d8621b2f53820f88b (patch) | |
tree | cccff966fc34df03ac84619547fb31b23a22542b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 0e9cb5995b2539a332fe65ada6a28a6be55f6e40 (diff) | |
download | linux-42be24a4178fe51e6f47d91d8621b2f53820f88b.tar.xz |
arm64: Enable memory encrypt for Realms
Use the memory encryption APIs to trigger a RSI call to request a
transition between protected memory and shared memory (or vice versa)
and updating the kernel's linear map of modified pages to flip the top
bit of the IPA. This requires that block mappings are not used in the
direct map for realm guests.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Co-developed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20241017131434.40935-10-steven.price@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions