From 61f1973bd50338b36c52dc34006f76d464ca4f34 Mon Sep 17 00:00:00 2001 From: Oza Pawandeep Date: Wed, 18 Nov 2026 13:55:48 -0800 Subject: [PATCH] lib: sbi: mpxy: Register extension unconditionally Register the MPXY ecall extension unconditionally, as this is too early in the init order and any channel might not have been registered yet. Reviewed-by: Rahul Pathak Signed-off-by: Oza Pawandeep Reviewed-by: Anup Patel Link: https://lore.kernel.org/r/20261118215549.2499040-8-pawandeep.oza@oss.qualcomm.com Signed-off-by: Anup Patel --- lib/sbi/sbi_ecall_mpxy.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/sbi/sbi_ecall_mpxy.c b/lib/sbi/sbi_ecall_mpxy.c index 0a5e3525..bd55640b 100644 --- a/lib/sbi/sbi_ecall_mpxy.c +++ b/lib/sbi/sbi_ecall_mpxy.c @@ -57,9 +57,10 @@ struct sbi_ecall_extension ecall_mpxy; static int sbi_ecall_mpxy_register_extensions(void) { - if (!sbi_mpxy_channel_available()) - return 0; - + /* + * Register the MPXY ecall extension unconditionally, as this is too early + * in the init order and any channel might not have been registered yet. + */ return sbi_ecall_register_extension(&ecall_mpxy); }