[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZG2zx+ARLO1a7wh5@infradead.org>
Date: Tue, 23 May 2023 23:50:47 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>
Cc: Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Jens Wiklander <jens.wiklander@...aro.org>,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org,
linux-remoteproc@...r.kernel.org, linux-kernel@...r.kernel.org,
op-tee@...ts.trustedfirmware.org
Subject: Re: [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.
Powered by blists - more mailing lists