arm: realm: Enable memory encryption
Enable memory encryption support for Realms. When a page is "decrypted", we set the RIPAS to EMPTY, hinting to the hypervisor that it could reclaim the page backing the IPA. Also the pagetable is updated with the PTE_NS_SHARED attrbiute, whic in effect turns the "ipa" to the unprotected alias. Similarly for "encryption" we mark the IPA back to RIPAS_RAM and clear the PTE_NS_SHARED attribute. Signed-off-by:Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by:
Joey Gouly <joey.gouly@arm.com>
Loading
Please register or sign in to comment