Re: [PATCH v2 2/2] soc: qcom: smsm: Don't log an error for hosts without a mailbox

From: Konrad Dybcio

Date: Thu Dec 03 2026 - 06:45:21 EST


On 12/3/26 11:57 AM, Alexandre Rapaille via B4 Relay wrote:
> From: Alexandre Rapaille <arapaille@xxxxxxxxxxxxxxxxxxxx>
>
> smsm_parse_mbox() calls mbox_request_channel() for every host, so the
> mailbox core logs an error for each host that has no mailbox before smsm
> falls back to qcom,ipc. On msm8974 SMEM reports 5 hosts while mboxes has
> 4 entries, the first a null placeholder for the local host, so every
> boot prints twice:
>
> qcom-smsm smsm: mbox_request_channel: can't parse "mboxes" property
>
> Use mbox_request_channel_optional() and fall back quietly when the entry
> is null or missing.
>
> Tested on a Fairphone 2 with next-20261127: both lines are gone, hosts
> 1-3 still get their mailbox channel, and the modem comes back after
> forced restarts.
>
> Signed-off-by: Alexandre Rapaille <arapaille@xxxxxxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad