[PATCH v3 12/13] qcom: smem: increase SMEM_HOST_COUNT for newer SMEM versions

Aswin Murugan via U-Boot <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot.general,gmane.comp.boot-loaders.u-boot
Message-ID <[email protected]>
Increase SMEM_HOST_COUNT to accommodate newer SMEM versions
that support a larger number of remote processors.

This prevents failures during processor ID validation when
handling platforms with extended SMEM host entries. Shikra
platforms require a higher host count for proper SMEM handling.

Signed-off-by: Aswin Murugan <[email protected]>
---
 drivers/soc/qcom/smem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c
index e20523e2cec..aeef5442646 100644
--- a/drivers/soc/qcom/smem.c
+++ b/drivers/soc/qcom/smem.c
@@ -88,7 +88,7 @@
 #define SMEM_GLOBAL_HOST	0xfffe
 
 /* Max number of processors/hosts in a system */
-#define SMEM_HOST_COUNT		20
+#define SMEM_HOST_COUNT		30
 
 /**
   * struct smem_proc_comm - proc_comm communication struct (legacy)
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.