From: Mohit Sharma <mohit.sharma@oss.qualcomm.com>
To: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Cc: Mohit Sharma <mohit.sharma@oss.qualcomm.com>,
Srinivas Kandagatla <srini@kernel.org>,
Shawn Guo <shengchao.guo@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Mark Brown <broonie@kernel.org>,
Ajay Kumar Nandam <ajay.nandam@oss.qualcomm.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Konrad Dybcio <konradybcio@kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH 2/2] soc: qcom: apr: Publish GPR callback before client probe
Date: Wed, 2 Dec 2026 17:24:58 +0530 [thread overview]
Message-ID: <20261202115458.3298480-1-mohit.sharma@oss.qualcomm.com> (raw)
In-Reply-To: <bfd794ab-7c62-4627-9c96-44a8a3bf5d3e@oss.qualcomm.com>
Thanks for reviewing.
I added the PR_TYPE_GPR checks as a mechanism to keep the legacy APR paths
unchanged and avoid causing regressions. The GPR RX path dispatches through
svc->callback, whereas the APR RX path resolves the bound apr_driver and
invokes adrv->callback() directly. Therefore, only GPR requires early
publication of svc->callback. The matching check on the failure path only
undoes the early callback publication performed for GPR.
If removing these checks and using the same callback assignment ordering for
APR is preferable, I will update this in a new series. Please let me know.
Thanks,
Mohit
next prev parent reply other threads:[~2026-12-02 11:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 14:41 [PATCH 0/2] Fix GPR callback registration race during probe Mohit Sharma
2026-10-22 14:41 ` [PATCH 1/2] ASoC: qcom: q6apm: Guard callbacks until probe data is ready Mohit Sharma
2026-11-15 10:06 ` Srinivas Kandagatla
2026-12-02 11:53 ` Mohit Sharma
2026-10-22 14:41 ` [PATCH 2/2] soc: qcom: apr: Publish GPR callback before client probe Mohit Sharma
2026-11-14 15:25 ` Shawn Guo
2026-11-15 10:00 ` Srinivas Kandagatla
2026-11-30 8:08 ` Shawn Guo
2026-12-02 11:54 ` Mohit Sharma [this message]
2026-12-02 11:58 ` Srinivas Kandagatla
2026-11-02 22:38 ` (subset) [PATCH 0/2] Fix GPR callback registration race during probe Mark Brown
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=20261202115458.3298480-1-mohit.sharma@oss.qualcomm.com \
--to=mohit.sharma@oss.qualcomm.com \
--cc=ajay.nandam@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=shengchao.guo@oss.qualcomm.com \
--cc=srini@kernel.org \
--cc=srinivas.kandagatla@oss.qualcomm.com \
--cc=stable@vger.kernel.org \
--cc=tiwai@suse.com \
/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®