Re: [PATCH 2/2] soc: qcom: apr: Publish GPR callback before client probe
From: Srinivas Kandagatla
Date: Wed Dec 02 2026 - 06:58:30 EST
On 12/2/26 11:54 AM, Mohit Sharma wrote:
> 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.
Please be mindful when you are using AI, this seems to be done by an AI
bot without any context.
--srini
>
> 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