Re: [PATCH v5 01/19] arm64: mm: Add top-level dispatcher for internal mem_encrypt API

From: Catalin Marinas
Date: Mon Aug 26 2024 - 06:00:58 EST


On Mon, Aug 19, 2024 at 02:19:06PM +0100, Steven Price wrote:
> From: Will Deacon <will@xxxxxxxxxx>
>
> Implementing the internal mem_encrypt API for arm64 depends entirely on
> the Confidential Computing environment in which the kernel is running.
>
> Introduce a simple dispatcher so that backend hooks can be registered
> depending upon the environment in which the kernel finds itself.
>
> Signed-off-by: Will Deacon <will@xxxxxxxxxx>
> Signed-off-by: Steven Price <steven.price@xxxxxxx>

Reviewed-by: Catalin Marinas <catalin.marinas@xxxxxxx>