Thread (44 messages) 44 messages, 6 authors, 29d ago

Re: [PATCH v9 3/7] firmware: arm_rmm: Move RSI support out of arch/arm64

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2026-08-05 11:22:06
Also in: linux-coco, lkml

On Wed, Aug 05, 2026 at 12:02:51PM +0530, Aneesh Kumar K.V (Arm) wrote:
The RSI SMCCC function IDs describe a firmware ABI and are not arm64
architecture specific definitions. Follow-up changes need to use them from
non-arch code, including drivers/firmware/smccc and the Arm CCA guest
driver.

Move the complete Realm Service Interface (RSI) implementation from
arch/arm64 to drivers/firmware/arm_rmm. The RSI SMCCC definitions and
command helpers are also moved to include/linux so they can be shared by
architecture code and firmware or driver code. This also keeps the
firmware interface outside architecture code, as requested [1].

[1] https://lore.kernel.org/all/agsNO9cc7H-b0H8L@willie-the-truck (local)

Signed-off-by: Aneesh Kumar K.V (Arm) <aneesh.kumar@kernel.org>
I haven't checked but Sashiko has some points that it may break the
build on other architectures with COMPILE_TEST.

https://sashiko.dev/#/patchset/20260805063255.1638614-1-aneesh.kumar@kernel.org

(for some reason I get error 502 above; hopefully it's temporary)

-- 
Catalin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help