linux/include/linux/firmware
Sumit Garg 08314e7c2c firmware: qcom: Add a generic PAS service
Qcom platforms has the legacy of using non-standard SCM calls
splintered over the various kernel drivers. These SCM calls aren't
compliant with the standard SMC calling conventions which is a
prerequisite to enable migration to the FF-A specifications from Arm.

OP-TEE as an alternative trusted OS to Qualcomm TEE (QTEE) can't
support these non-standard SCM calls. And even for newer architectures
using S-EL2 with Hafnium support, QTEE won't be able to support SCM
calls either with FF-A requirements coming in. And with both OP-TEE
and QTEE drivers well integrated in the TEE subsystem, it makes further
sense to reuse the TEE bus client drivers infrastructure.

The added benefit of TEE bus infrastructure is that there is support
for discoverable/enumerable services. With that client drivers don't
have to manually invoke a special SCM call to know the service status.

So enable the generic Peripheral Authentication Service (PAS) provided
by the firmware. It acts as the common layer with different TZ
backends plugged in whether it's an SCM implementation or a proper
TEE bus based PAS service implementation.

Reviewed-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Tested-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> # Lemans
Reviewed-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
Tested-by: Vignesh Viswanathan <vignesh.viswanathan@oss.qualcomm.com> # IPQ9650
Signed-off-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260702115835.167602-2-sumit.garg@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
History 2026-07-09 14:12:58 -05:00
..
broadcom firmware: broadcom: add OP-TEE based BNXT f/w manager 2019-10-31 11:00:45 -07:00
cirrus firmware: cs_dsp: Add API to hibernate the DSP 2026-03-01 23:48:37 +00:00
imx ASoC: fsl_sai: Add AUDMIX mode support on i.MX952 2026-01-26 12:09:19 +00:00
intel firmware: stratix10-svc: Add support to query Arm Trusted Firmware (ATF) version 2026-06-08 22:37:35 +09:00
mediatek ASoC: SOF: mediatek: Constify struct mtk_adsp_ipc_ops 2024-06-17 13:08:31 +01:00
meson firmware: meson: sm: Thermal calibration read via secure monitor 2026-05-26 13:24:32 +02:00
qcom firmware: qcom: Add a generic PAS service 2026-07-09 14:12:58 -05:00
samsung firmware: samsung: acpm: remove compile-testing stubs 2026-05-29 16:05:31 +02:00
thead firmware: thead: Fix buffer overflow and use standard endian macros 2026-04-01 13:03:07 +02:00
trusted_foundations.h firmware: Hold a reference for of_find_compatible_node() 2022-07-01 10:36:04 +02:00
xlnx-event-manager.h soc: xilinx: Add cb event for subsystem restart 2024-06-03 13:07:56 +02:00
xlnx-zynqmp-crypto.h firmware: xilinx: Add firmware API's to support aes-gcm in Versal device 2026-01-23 13:48:43 +08:00
xlnx-zynqmp-ufs.h scsi: firmware: xilinx: Add APIs for UFS PHY initialization 2025-10-29 23:00:48 -04:00
xlnx-zynqmp.h Revert "firmware: zynqmp: Add dynamic CSU register discovery and sysfs interface" 2026-06-15 13:45:30 +02:00