Re: [PATCH v5 16/19] arm64: Enable memory encrypt for Realms
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2024-08-26 10:46:15
Also in:
kvm, kvmarm, linux-coco, lkml
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2024-08-26 10:46:15
Also in:
kvm, kvmarm, linux-coco, lkml
On Mon, Aug 19, 2024 at 02:19:21PM +0100, Steven Price wrote:
From: Suzuki K Poulose <suzuki.poulose@arm.com> 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. 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>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>