linux/include/linux/firmware
Mukesh Ojha 8b9d2050cf firmware: qcom_scm: Add qcom_scm_pas_get_rsc_table() to get resource table
Qualcomm remote processor may rely on Static and Dynamic resources for
it to be functional. Static resources are fixed like for example,
memory-mapped addresses required by the subsystem and dynamic
resources, such as shared memory in DDR etc., are determined at
runtime during the boot process.

For most of the Qualcomm SoCs, when run with Gunyah or older QHEE
hypervisor, all the resources whether it is static or dynamic, is
managed by the hypervisor. Dynamic resources if it is present for a
remote processor will always be coming from secure world via SMC call
while static resources may be present in remote processor firmware
binary or it may be coming qcom_scm_pas_get_rsc_table() SMC call along
with dynamic resources.

Some of the remote processor drivers, such as video, GPU, IPA, etc., do
not check whether resources are present in their remote processor
firmware binary. In such cases, the caller of this function should set
input_rt and input_rt_size as NULL and zero respectively. Remoteproc
framework has method to check whether firmware binary contain resources
or not and they should be pass resource table pointer to input_rt and
resource table size to input_rt_size and this will be forwarded to
TrustZone for authentication. TrustZone will then append the dynamic
resources and return the complete resource table in the passed output
buffer.

More about documentation on resource table format can be found in
include/linux/remoteproc.h

Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260105-kvmrprocv10-v10-11-022e96815380@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
History 2026-01-13 12:14:34 -06:00
..
broadcom firmware: broadcom: add OP-TEE based BNXT f/w manager 2019-10-31 11:00:45 -07:00
cirrus firmware: cs_dsp: Store control length as 32-bit 2025-11-24 19:15:19 +00:00
imx firmware: imx: Add stub functions for SCMI CPU API 2025-09-11 09:59:08 +08:00
intel firmware: stratix10-svc: fix make htmldocs warning 2025-11-24 17:49:12 +01:00
mediatek ASoC: SOF: mediatek: Constify struct mtk_adsp_ipc_ops 2024-06-17 13:08:31 +01:00
meson drivers: meson: sm: correct meson_sm_* API retval handling 2023-09-11 11:45:26 +02:00
qcom firmware: qcom_scm: Add qcom_scm_pas_get_rsc_table() to get resource table 2026-01-13 12:14:34 -06:00
samsung firmware: exynos-acpm: add empty method to allow compile test 2025-10-22 07:49:38 +02:00
thead firmware: thead: Add AON firmware protocol driver 2025-03-13 14:41:32 +01: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-ufs.h scsi: firmware: xilinx: Add APIs for UFS PHY initialization 2025-10-29 23:00:48 -04:00
xlnx-zynqmp.h SCSI misc on 20251204 2025-12-05 19:56:50 -08:00