[PATCH v12 4/7] arm64: realm: Move Realm memory encryption ops to RSI code
Suzuki K Poulose
suzuki.poulose at arm.com
Mon Sep 21 03:00:11 PDT 2026
On 21/09/2026 10:05, Aneesh Kumar K.V wrote:
> Catalin Marinas <catalin.marinas at arm.com> writes:
>
>> On Mon, Sep 21, 2026 at 11:08:04AM +0530, Aneesh Kumar K.V (Arm) wrote:
>>> Realm memory encryption callbacks are CCA-specific. Keep the Realm callback
>>> registration with the RSI initialization code instead of pageattr.c, which
>>> only needs to provide the low-level page-attribute transition helper.
>>>
>>> Export __set_memory_enc_dec() within arm64 so the RSI code can wrap it with
>>> the Realm-specific encrypt/decrypt callbacks and warning policy.
>>>
>>> No functional changes in this patch.
>>>
>>> Reviewed-by: Suzuki K Poulose <suzuki.poulose at ram.com>
>>
>> Nit: Suzuki's still at arm ;)
;-)
>>
>
>
> Will fix. I copied it from:
>
> https://lore.kernel.org/all/bb59b1e0-2550-4a9d-8738-a54e5f106f45@arm.com
Yikes, my bad.
for FWIW, I really meant :
Reviewed-by: Suzuki K Poulose <suzuki.poulose at arm.com>
More information about the linux-arm-kernel
mailing list