From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: arapaille@atlr-engineering.com,
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
Subject: Re: [PATCH v2 1/2] mailbox: Add mbox_request_channel_optional()
Date: Thu, 3 Dec 2026 12:37:33 +0100 [thread overview]
Message-ID: <4872de51-e4dd-4024-8abb-1aef7694d88d@oss.qualcomm.com> (raw)
In-Reply-To: <20261203-smsm-null-mbox-v2-1-b4b6e224b127@atlr-engineering.com>
On 12/3/26 11:57 AM, Alexandre Rapaille via B4 Relay wrote:
> From: Alexandre Rapaille <arapaille@atlr-engineering.com>
>
> Some clients have mailboxes for only some of their 'mboxes' indexes and
> fall back to another doorbell for the rest. mbox_request_channel() logs
> an error for each missing or empty entry before the client can fall back.
>
> Add an _optional variant that returns NULL for such an entry, like the
> other *_get_optional() helpers.
>
> Suggested-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> Signed-off-by: Alexandre Rapaille <arapaille@atlr-engineering.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
next prev parent reply other threads:[~2026-12-03 11:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 10:56 [PATCH v2 0/2] soc: qcom: smsm: Don't log an error for hosts without a mailbox Alexandre Rapaille via B4 Relay
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 [this message]
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=4872de51-e4dd-4024-8abb-1aef7694d88d@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=arapaille@atlr-engineering.com \
--cc=jassisinghbrar@gmail.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®