From: Alexandre Rapaille via B4 Relay <devnull+arapaille.atlr-engineering.com@kernel.org>
To: Jassi Brar <jassisinghbrar@gmail.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Luca Weiss <luca@lucaweiss.eu>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Alexandre Rapaille <arapaille@atlr-engineering.com>
Subject: [PATCH v2 0/2] soc: qcom: smsm: Don't log an error for hosts without a mailbox
Date: Thu, 03 Dec 2026 11:56:59 +0100 [thread overview]
Message-ID: <20261203-smsm-null-mbox-v2-0-b4b6e224b127@atlr-engineering.com> (raw)
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@atlr-engineering.com
---
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@atlr-engineering.com>
next reply other threads:[~2026-12-03 10:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 10:56 Alexandre Rapaille via B4 Relay [this message]
2026-12-03 10:57 ` [PATCH v2 1/2] mailbox: Add mbox_request_channel_optional() Alexandre Rapaille via B4 Relay
2026-12-03 11:37 ` Konrad Dybcio
2026-12-03 10:57 ` [PATCH v2 2/2] soc: qcom: smsm: Don't log an error for hosts without a mailbox Alexandre Rapaille via B4 Relay
2026-12-03 11:45 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203-smsm-null-mbox-v2-0-b4b6e224b127@atlr-engineering.com \
--to=devnull+arapaille.atlr-engineering.com@kernel.org \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=arapaille@atlr-engineering.com \
--cc=jassisinghbrar@gmail.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca@lucaweiss.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®