Lines Matching +full:smc +full:- +full:id
1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
3 * Copyright (c) 2015-2021, Linaro Limited
8 #include <linux/arm-smccc.h>
19 * Function specified by SMC Calling convention.
28 * Normal cached memory (write-back), shareable for SMP systems and not
36 * 32-bit registers.
40 * Function specified by SMC Calling convention
44 * 384fb3e0-e7f8-11e3-af63-0002a5d5c51b.
54 * Function specified by SMC Calling convention
75 * Used by non-secure world to figure out which Trusted OS is installed.
78 * Returns UUID in a0-4 in the same way as OPTEE_SMC_CALLS_UID
88 * Used by non-secure world to figure out which version of the Trusted OS
92 * Returns revision in a0-1 in the same way as OPTEE_SMC_CALLS_REVISION
93 * described above. May optionally return a 32-bit build identifier in a2,
111 * a0 SMC Function ID, OPTEE_SMC*CALL_WITH_ARG
112 * a1 Upper 32 bits of a 64-bit physical pointer to a struct optee_msg_arg
113 * a2 Lower 32 bits of a 64-bit physical pointer to a struct optee_msg_arg
116 * a4-6 Not used
117 * a7 Hypervisor Client ID register
121 * a1-3 Not used
122 * a4-7 Preserved
126 * a1-3 Preserved
127 * a4-7 Preserved
131 * a1-2 RPC parameters
132 * a3-7 Resume information, must be preserved
155 * Returns the Secure/Non-secure shared memory config.
158 * a0 SMC Function ID, OPTEE_SMC_GET_SHM_CONFIG
159 * a1-6 Not used
160 * a7 Hypervisor Client ID register
168 * a4-7 Preserved
172 * a1-3 Not used
173 * a4-7 Preserved
190 * a0 SMC Function ID, OPTEE_SMC_EXCHANGE_CAPABILITIES
192 * a2-6 Not used
193 * a7 Hypervisor Client ID register
198 * a2-7 Preserved
203 * a2-7 Preserved
214 * secure world accepts command buffers located in any parts of non-secure RAM
243 * a0 SMC Function ID, OPTEE_SMC_DISABLE_SHM_CACHE
244 * a1-6 Not used
245 * a7 Hypervisor Client ID register
249 * a1 Upper 32 bits of a 64-bit Shared memory cookie
250 * a2 Lower 32 bits of a 64-bit Shared memory cookie
251 * a3-7 Preserved
255 * a1-7 Preserved
259 * a1-7 Preserved
281 * a0 SMC Function ID, OPTEE_SMC_ENABLE_SHM_CACHE
282 * a1-6 Not used
283 * a7 Hypervisor Client ID register
287 * a1-7 Preserved
291 * a1-7 Preserved
298 * Query OP-TEE about number of supported threads
301 * threads OP-TEE supports. That is how many standard calls can be issued
302 * in parallel before OP-TEE will return OPTEE_SMC_RETURN_ETHREAD_LIMIT.
305 * a0 SMC Function ID, OPTEE_SMC_GET_THREAD_COUNT
306 * a1-6 Not used
307 * a7 Hypervisor Client ID register
312 * a2-7 Preserved
316 * a1-7 Preserved
326 * a0 SMC Function ID, OPTEE_SMC_CALL_RETURN_FROM_RPC
327 * a1-3 Value of a1-3 when OPTEE_SMC_CALL_WITH_ARG returned
365 * a4-5 Not used
366 * a6-7 Resume information, must be preserved
369 * a0 SMC Function ID, OPTEE_SMC_CALL_RETURN_FROM_RPC.
370 * a1 Upper 32 bits of 64-bit physical pointer to allocated
373 * a2 Lower 32 bits of 64-bit physical pointer to allocated
377 * a4 Upper 32 bits of 64-bit Shared memory cookie used when freeing
379 * a5 Lower 32 bits of 64-bit Shared memory cookie used when freeing
381 * a6-7 Preserved
392 * a1 Upper 32 bits of 64-bit shared memory cookie belonging to this
394 * a2 Lower 32 bits of 64-bit shared memory cookie belonging to this
396 * a3-7 Resume information, must be preserved
399 * a0 SMC Function ID, OPTEE_SMC_CALL_RETURN_FROM_RPC.
400 * a1-2 Not used
401 * a3-7 Preserved
412 * a1-7 Resume information, must be preserved
415 * a0 SMC Function ID, OPTEE_SMC_CALL_RETURN_FROM_RPC.
416 * a1-7 Preserved
426 * - cmd the Request ID
427 * - ret return value of the request, filled in by normal world
428 * - num_params number of parameters for the request
429 * - params the parameters
430 * - param_attrs attributes of the parameters
434 * a1 Upper 32 bits of a 64-bit Shared memory cookie holding a
437 * a2 Lower 32 bits of a 64-bit Shared memory cookie holding a
440 * a3-7 Resume information, must be preserved
443 * a0 SMC Function ID, OPTEE_SMC_CALL_RETURN_FROM_RPC.
444 * a1-2 Not used
445 * a3-7 Preserved