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

From
Catalin Marinas <catalin.marinas@arm.com>
Date
2026-09-21 08:52:45
Also in
linux-coco, lkml
Reply to
Aneesh Kumar K.V (Arm), 2026-09-21
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 <redacted>
Nit: Suzuki's still at arm ;)

-- 
Catalin
Thread (19 messages) 19 messages, 4 authors, last reply 2026-09-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help