Thread (39 messages) 39 messages, 9 authors, 2026-03-26

Re: [PATCH 11/14] media: qcom: Switch to generic PAS TZ APIs

From: Sumit Garg <sumit.garg@kernel.org>
Date: 2026-03-11 05:47:50
Also in: ath12k, dri-devel, linux-arm-msm, linux-devicetree, linux-media, linux-remoteproc, linux-wireless, op-tee

On Tue, Mar 10, 2026 at 12:18:29PM +0100, Konrad Dybcio wrote:
On 3/9/26 10:12 AM, Jorge Ramirez wrote:
quoted
On 06/03/26 16:20:24, Sumit Garg wrote:
quoted
From: Sumit Garg <redacted>

Switch qcom media client drivers over to generic PAS TZ APIs. Generic PAS
TZ service allows to support multiple TZ implementation backends like QTEE
based SCM PAS service, OP-TEE based PAS service and any further future TZ
backend service.

Signed-off-by: Sumit Garg <redacted>
---
[...]
quoted
are the calls to set_remote_state required?
0 is not the IRIS/VENUS remote processor.

If it is legacy, maybe they can be phased out?
FWIW, in msm-3.10 (yes) QCOM_SCM_SVC_BOOT/0x0a used to be called
'TZBSP_VIDEO_SET_STATE', taking the arguments:

args[0] = suspend->0, resume->1
args[1] = spare=0

seems like sdm845/msm-4.9 still had that and so did 8250/msm-4.19
I would assume passing actual PAS ID in that spare argument shouldn't
cause any issues for QTEE as it could just ignore that. Let me try to
see in my testing on RB3Gen2 if it causes any ABI issues. Since with
OP-TEE we would like to not deal with ABI inconsistencies.

-Sumit
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help