Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1416075
| From | Jens Wiklander <jens.wiklander@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v10 3/4] tee: add OP-TEE driver |
| Date | 2016-06-07 14:00 +0200 |
| Message-ID | <rHnPQ-2e7-11@gated-at.bofh.it> (permalink) |
| References | <rFdKW-8sS-5@gated-at.bofh.it> <rFdKW-8sS-29@gated-at.bofh.it> <rHaIV-25i-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jun 06, 2016 at 04:49:57PM -0500, Nishanth Menon wrote: > On 06/01/2016 07:41 AM, Jens Wiklander wrote: > [...] > > diff --git a/drivers/tee/Makefile b/drivers/tee/Makefile > > index 60d2dab..53f3c76 100644 > > --- a/drivers/tee/Makefile > > +++ b/drivers/tee/Makefile > > @@ -1,3 +1,4 @@ > > obj-y += tee.o > > obj-y += tee_shm.o > > obj-y += tee_shm_pool.o > > +obj-$(CONFIG_OPTEE) += optee/ > > diff --git a/drivers/tee/optee/Kconfig b/drivers/tee/optee/Kconfig > > new file mode 100644 > > index 0000000..a7a8b71 > > --- /dev/null > > +++ b/drivers/tee/optee/Kconfig > > @@ -0,0 +1,8 @@ > > +# OP-TEE Trusted Execution Environment Configuration > > +config OPTEE > > + tristate "OP-TEE" > > + default n > You should'nt need this. I'll fix. > > > + depends on HAVE_ARM_SMCCC > > HAVE_ARM_SMCCC might depend on OPTEE secure support in place, right? I > wonder if setsup any constraints for having a single zImage for OPTEE > and non-OPTEE systems, I think not.. just wondering. No, HAVE_ARM_SMCCC indicates just the presence of the arm_smccc_smc() and arm_smccc_hvc() assembly functions. They are used by PSCI independent of any TEE driver also. > > Further, at this patch, smatch[1] complains: > > +drivers/tee/optee/core.c:488 optee_probe() error: we previously assumed 'optee' could be null (see line 444) Sorry, I'll fix. > > Checkpatch --strict complains: > > > +CHECK: Alignment should match open parenthesis > > +#878: FILE: drivers/tee/optee/core.c:333: > > ++static struct tee_shm_pool *optee_config_shm_ioremap(struct device *dev, > > ++ optee_invoke_fn *invoke_fn, Fixing this warning would make it less readable in my opinion, I'd rather keep it as it is if you don't mind. -- Thanks, Jens
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v10 0/4] generic TEE subsystem Jens Wiklander <jens.wiklander@linaro.org> - 2016-06-01 14:50 +0200
Re: [PATCH v10 0/4] generic TEE subsystem Javier González <javier@javigon.com> - 2016-06-06 21:00 +0200
Re: [PATCH v10 2/4] tee: generic TEE subsystem Nishanth Menon <nm@ti.com> - 2016-06-06 23:50 +0200
Re: [PATCH v10 2/4] tee: generic TEE subsystem Jens Wiklander <jens.wiklander@linaro.org> - 2016-06-07 13:00 +0200
Re: [PATCH v10 2/4] tee: generic TEE subsystem Joe Perches <joe@perches.com> - 2016-06-07 16:40 +0200
Re: [PATCH v10 3/4] tee: add OP-TEE driver Nishanth Menon <nm@ti.com> - 2016-06-07 00:00 +0200
Re: [PATCH v10 3/4] tee: add OP-TEE driver Jens Wiklander <jens.wiklander@linaro.org> - 2016-06-07 14:00 +0200
csiph-web