Re: [PATCH v4 2/6] remoteproc: qcom: pas: Guard dtb metadata release with dtb_pas_id check

Dmitry Baryshkov <[email protected]>
Newsgroups org.kernel.vger.linux-remoteproc,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel
Message-ID <ztp6pqmnge2yskxxinxpxi63eslwfv73wb3nd52yj6cdm6bknt@oibgffasssj5>
On Fri, May 01, 2026 at 12:42:49AM +0530, Mukesh Ojha wrote:
> All other call sites of qcom_scm_pas_metadata_release() for the DTB
> context are guarded by a check on pas->dtb_pas_id, but the call inside
> qcom_pas_load() was not. Fix this by moving the call to the guarded
> block.

Fixes: 29814986b82e ("remoteproc: qcom_q6v5_pas: add support for dtb co-firmware loading")


Reviewed-by: Dmitry Baryshkov <[email protected]>


> 
> Reviewed-by: Konrad Dybcio <[email protected]>
> Signed-off-by: Mukesh Ojha <[email protected]>
> ---
>  drivers/remoteproc/qcom_q6v5_pas.c | 13 +++++--------
>  1 file changed, 5 insertions(+), 8 deletions(-)
> 

-- 
With best wishes
Dmitry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.