RE: [EXTERNAL] Re: [PATCH v5 2/6] firmware: smccc: Detect hypervisor via RSI host call in CCA Realms

From
Dexuan Cui <DECUI@microsoft.com>
Date
2026-11-02 19:28:10
Also in
linux-arch, linux-arm-kernel, lkml
Reply to
Catalin Marinas, 2026-11-02
From: Catalin Marinas <catalin.marinas@arm.com>
Sent: Monday, November 2, 2026 3:58 AM
To: Dexuan Cui <DECUI@microsoft.com>
 ...
My point is not the RSI host call itself to query the UUID but what the
Realm does afterwards. kvm_init_hyp_services() gets a positive answer
for the KVM UUID and continues with an SMCCC 1.1 invocation to query the
supported KVM features. The latter is not an RSI host call but an
ordinary SMC call, to which the RMM responds with -1 in res.a0 (all
lower 32 bits set). So we end up treating KVM hyp services as available
in a Realm but their calls still use the SMC conduit and are rejected by
the RMM.
...
Catalin
Thanks for the clarification! Now I understood this patch is incorrect
for a realm on KVM, and v6 is correct.

Thanks,
Dexuan
Thread (17 messages) 17 messages, 6 authors, last reply 16d ago
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