Thread (19 messages) 19 messages, 4 authors, 17d ago

Re: [PATCH v12 4/7] arm64: realm: Move Realm memory encryption ops to RSI code

flat view

From: Jonathan Cameron <hidden>
Date: 2026-09-21 22:24:40
Also in: linux-coco, lkml

On Mon, 21 Sep 2026 11:08:04 +0530
"Aneesh Kumar K.V (Arm)" [off-list ref] 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 <redacted>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org>
Mostly for completeness and so I don't read it in a possible v13.
Reviewed-by: Jonathan Cameron <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help