[PATCH v13 47/48] arm64: RMI: Enable realms to be created

Steven Price
2026-03-18T15:57:15Z

All the pieces are now in place, so enable kvm_rmi_is_available when the
RMM is detected.

Signed-off-by: Steven Price <steven.price@arm.com>
---
arch/arm64/kvm/rmi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/kvm/rmi.c b/arch/arm64/kvm/rmi.c
index f69151d4235a..e76e58762f55 100644
--- a/arch/arm64/kvm/rmi.c
+++ b/arch/arm64/kvm/rmi.c
@@ -1723,5 +1723,5 @@ void kvm_init_rmi(void)
if (rmi_init_metadata())
return;

- /* Future patch will enable static branch kvm_rmi_is_available */
+ static_branch_enable(&kvm_rmi_is_available);
}
--
2.43.0