[PATCH v9 7/7] lib: sbi: mpxy: Register extension unconditionally

Pawandeep Oza pawandeep.oza at oss.qualcomm.com
Tue Nov 17 10:45:46 PST 2026


From: Oza Pawandeep <pawandeep.oza at oss.qualcomm.com>

Register the MPXY ecall extension regardless if an MPXY
channel is available at the time of regitration.

Signed-off-by: Oza Pawandeep <pawandeep.oza at oss.qualcomm.com>
---
 lib/sbi/sbi_ecall_mpxy.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/sbi/sbi_ecall_mpxy.c b/lib/sbi/sbi_ecall_mpxy.c
index 0a5e3525..45cb4807 100644
--- a/lib/sbi/sbi_ecall_mpxy.c
+++ b/lib/sbi/sbi_ecall_mpxy.c
@@ -57,9 +57,6 @@ struct sbi_ecall_extension ecall_mpxy;
 
 static int sbi_ecall_mpxy_register_extensions(void)
 {
-	if (!sbi_mpxy_channel_available())
-		return 0;
-
 	return sbi_ecall_register_extension(&ecall_mpxy);
 }
 
-- 
2.43.0




More information about the opensbi mailing list