diff options
author | Suzuki K Poulose <[email protected]> | 2024-10-17 14:14:32 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2024-10-23 10:19:33 +0100 |
commit | 42be24a4178fe51e6f47d91d8621b2f53820f88b (patch) | |
tree | cccff966fc34df03ac84619547fb31b23a22542b /lib/crypto/mpi/mpiutil.c | |
parent | 0e9cb5995b2539a332fe65ada6a28a6be55f6e40 (diff) |
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 <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Signed-off-by: Suzuki K Poulose <[email protected]>
Co-developed-by: Steven Price <[email protected]>
Signed-off-by: Steven Price <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions