[PATCH] soc: qcom: smem: Update max processor count

Mukesh Ojha posted 1 patch 14 hours ago
drivers/soc/qcom/smem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] soc: qcom: smem: Update max processor count
Posted by Mukesh Ojha 14 hours ago
Update max processor count to reflect the number of co-processors on
upcoming SoC.

Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
---
 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 d5c94b47f431..8daa25d16fdc 100644
--- a/drivers/soc/qcom/smem.c
+++ b/drivers/soc/qcom/smem.c
@@ -86,7 +86,7 @@
 #define SMEM_GLOBAL_HOST	0xfffe
 
 /* Max number of processors/hosts in a system */
-#define SMEM_HOST_COUNT		25
+#define SMEM_HOST_COUNT		30
 
 /**
   * struct smem_proc_comm - proc_comm communication struct (legacy)
-- 
2.53.0
Re: [PATCH] soc: qcom: smem: Update max processor count
Posted by Dmitry Baryshkov 12 hours ago
On Tue, Mar 31, 2026 at 09:54:39PM +0530, Mukesh Ojha wrote:
> Update max processor count to reflect the number of co-processors on
> upcoming SoC.
> 
> Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
> ---
>  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 d5c94b47f431..8daa25d16fdc 100644
> --- a/drivers/soc/qcom/smem.c
> +++ b/drivers/soc/qcom/smem.c
> @@ -86,7 +86,7 @@
>  #define SMEM_GLOBAL_HOST	0xfffe
>  
>  /* Max number of processors/hosts in a system */
> -#define SMEM_HOST_COUNT		25
> +#define SMEM_HOST_COUNT		30

Would it be possible to get rid of this constant at all?

>  
>  /**
>    * struct smem_proc_comm - proc_comm communication struct (legacy)
> -- 
> 2.53.0
> 

-- 
With best wishes
Dmitry