lkml.org 
[lkml]   [2023]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 2/4] remoteproc: Add TEE support
On Tue, May 23, 2023 at 11:13:48AM +0200, Arnaud Pouliquen wrote:
> + struct tee_param param[MAX_TEE_PARAM_ARRY_MEMB];
> + struct tee_shm *fw_shm;
> + int ret;
> +
> + fw_shm = tee_shm_register_kernel_buf(tee_rproc_ctx->tee_ctx, (void *)fw->data, fw->size);
> + if (IS_ERR(fw_shm)) {
> + /* Fallback: Try to allocate memory in OP-TEE space */
> + fw_shm = tee_shm_alloc_kernel_buf(tee_rproc_ctx->tee_ctx, fw->size);

> +EXPORT_SYMBOL(tee_rproc_load_fw);

Please stick to the EXPORT_SYMBOL_GPL of the underlying tee
infrastructure.

\
 
 \ /
  Last update: 2023-05-24 08:52    [W:0.122 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site