Re: [PATCH] soc: qcom: smem: Update max processor count
From: Konrad Dybcio
Date: Wed Apr 01 2026 - 04:34:21 EST
On 3/31/26 7:57 PM, Dmitry Baryshkov wrote:
> 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@xxxxxxxxxxxxxxxx>
>> ---
>> 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?
I've seen a patch in pre-review to do just that. I'll poke the author.
Konrad