[PATCH v2 0/2] soc: qcom: smsm: Don't log an error for hosts without a mailbox
From: Alexandre Rapaille via B4 Relay
Date: Thu Dec 03 2026 - 05:57:24 EST
On msm8974, smsm logs a mailbox error twice at every boot, once for each
host that has no mailbox. Patch 1 adds mbox_request_channel_optional()
to the mailbox core, patch 2 uses it in smsm. Patch 2 depends on
patch 1.
Tested on a Fairphone 2 with next-20261127: without the series the line
is printed twice at boot, with it not at all. The modem recovered from
3 forced crashes on both kernels. A boot-time kprobe on
mbox_request_channel_optional() shows hosts 1-3 get a channel and hosts 0
and 4 get NULL.
---
Changes in v2:
- Add mbox_request_channel_optional() to the mailbox core and use it,
instead of parsing "mboxes" in smsm (Konrad)
- Drop Fixes: from the smsm patch, it now depends on patch 1
- Link to v1: https://patch.msgid.link/20261126-smsm-null-mbox-v1-1-f6c6dcc2a3bf@xxxxxxxxxxxxxxxxxxxx
---
Alexandre Rapaille (2):
mailbox: Add mbox_request_channel_optional()
soc: qcom: smsm: Don't log an error for hosts without a mailbox
drivers/mailbox/mailbox.c | 62 ++++++++++++++++++++++++++++++------------
drivers/soc/qcom/smsm.c | 4 ++-
include/linux/mailbox_client.h | 1 +
3 files changed, 48 insertions(+), 19 deletions(-)
---
base-commit: 20eef29b7c8465ac98d7dd6d6f2ac07a8d8056ca
change-id: 20261126-smsm-null-mbox-353ad3b8495e
Best regards,
--
Alexandre Rapaille <arapaille@xxxxxxxxxxxxxxxxxxxx>