Re: [PATCH v8] firmware: qcom: pas: Make MDT buffer retention explicit
From: Bjorn Andersson
Date: Sun Nov 08 2026 - 15:38:08 EST
On Fri, 25 Sep 2026 22:22:31 +0530, Mukesh Ojha wrote:
> The PAS image initialization path retains metadata whenever a valid
> qcom_pas_context is supplied, although callers may not need the metadata
> after initialization. This leaves ownership implicit and causes unused
> metadata buffers to remain allocated.
>
> Add keep_mdt_buf to struct qcom_pas_context and have the generic PAS
> wrapper release metadata unless the caller requests retention. This applies
> uniformly to SCM and OP-TEE backends, while qcom_q6v5_pas keeps metadata
> for subsequent PAS operations.
>
> [...]
Applied, thanks!
[1/1] firmware: qcom: pas: Make MDT buffer retention explicit
commit: 2aa8fafc08e777e9da356307c1a0117e7f4277cf
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>