Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-20 Thread Javier González
> On 19 Apr 2015, at 21:47, Arnd Bergmann wrote: > > On Sunday 19 April 2015 13:17:20 Javier González wrote: >> >> Only providing user space support would defeat one of the main purposes >> of the driver. We could better organize the patches and divide them into user >> space support and

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-20 Thread Jens Wiklander
On Sat, Apr 18, 2015 at 10:57:47AM +0200, Greg Kroah-Hartman wrote: > On Fri, Apr 17, 2015 at 09:50:57AM +0200, Jens Wiklander wrote: > > Adds mostly stubbed OP-TEE driver which also can be compiled as a > > loadable module. > > Please provide a "real" driver, so that we can see how this is all

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-20 Thread Javier González
On 19 Apr 2015, at 21:47, Arnd Bergmann a...@arndb.de wrote: On Sunday 19 April 2015 13:17:20 Javier González wrote: Only providing user space support would defeat one of the main purposes of the driver. We could better organize the patches and divide them into user space support and

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-20 Thread Jens Wiklander
On Sat, Apr 18, 2015 at 10:57:47AM +0200, Greg Kroah-Hartman wrote: On Fri, Apr 17, 2015 at 09:50:57AM +0200, Jens Wiklander wrote: Adds mostly stubbed OP-TEE driver which also can be compiled as a loadable module. Please provide a real driver, so that we can see how this is all going to

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-19 Thread Arnd Bergmann
On Sunday 19 April 2015 13:17:20 Javier González wrote: > > Only providing user space support would defeat one of the main purposes > of the driver. We could better organize the patches and divide them into user > space support and in-kernel support if that is what you mean. In the end > the

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-19 Thread Javier González
> On 18 Apr 2015, at 21:01, Arnd Bergmann wrote: > > On Saturday 18 April 2015 20:49:03 Greg Kroah-Hartman wrote: >> On Sat, Apr 18, 2015 at 11:36:53AM +0200, Javier González wrote: >>> Hi, >> >> A: No. >> Q: Should I include quotations after my reply? >> >>

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-19 Thread Javier González
On 18 Apr 2015, at 21:01, Arnd Bergmann a...@arndb.de wrote: On Saturday 18 April 2015 20:49:03 Greg Kroah-Hartman wrote: On Sat, Apr 18, 2015 at 11:36:53AM +0200, Javier González wrote: Hi, A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-19 Thread Arnd Bergmann
On Sunday 19 April 2015 13:17:20 Javier González wrote: Only providing user space support would defeat one of the main purposes of the driver. We could better organize the patches and divide them into user space support and in-kernel support if that is what you mean. In the end the

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Arnd Bergmann
On Saturday 18 April 2015 20:49:03 Greg Kroah-Hartman wrote: > On Sat, Apr 18, 2015 at 11:36:53AM +0200, Javier González wrote: > > Hi, > > A: No. > Q: Should I include quotations after my reply? > > http://daringfireball.net/2007/07/on_top > > > We have discussed and implemented an in-kernel

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Greg Kroah-Hartman
On Sat, Apr 18, 2015 at 11:36:53AM +0200, Javier González wrote: > Hi, A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top > We have discussed and implemented an in-kernel interface for the driver. > However, we need to agree on that interface with the

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Javier González
Hi, We have discussed and implemented an in-kernel interface for the driver. However, we need to agree on that interface with the kernel submodules that can be interested in using it (e.g., IMA, keyring). We though it was easier to have a framework in place before taking this space. This makes

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Greg Kroah-Hartman
On Fri, Apr 17, 2015 at 09:50:57AM +0200, Jens Wiklander wrote: > Adds mostly stubbed OP-TEE driver which also can be compiled as a > loadable module. Please provide a "real" driver, so that we can see how this is all going to work. Otherwise it's not really that useful to create some framework

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Javier González
Hi, We have discussed and implemented an in-kernel interface for the driver. However, we need to agree on that interface with the kernel submodules that can be interested in using it (e.g., IMA, keyring). We though it was easier to have a framework in place before taking this space. This makes

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Greg Kroah-Hartman
On Sat, Apr 18, 2015 at 11:36:53AM +0200, Javier González wrote: Hi, A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top We have discussed and implemented an in-kernel interface for the driver. However, we need to agree on that interface with the

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Arnd Bergmann
On Saturday 18 April 2015 20:49:03 Greg Kroah-Hartman wrote: On Sat, Apr 18, 2015 at 11:36:53AM +0200, Javier González wrote: Hi, A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top We have discussed and implemented an in-kernel interface

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Greg Kroah-Hartman
On Fri, Apr 17, 2015 at 09:50:57AM +0200, Jens Wiklander wrote: Adds mostly stubbed OP-TEE driver which also can be compiled as a loadable module. Please provide a real driver, so that we can see how this is all going to work. Otherwise it's not really that useful to create some framework that

[RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-17 Thread Jens Wiklander
Adds mostly stubbed OP-TEE driver which also can be compiled as a loadable module. Signed-off-by: Jens Wiklander --- drivers/tee/Kconfig| 10 +++ drivers/tee/Makefile | 1 + drivers/tee/optee/Kconfig | 7 ++ drivers/tee/optee/Makefile | 2 + drivers/tee/optee/core.c |

[RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-17 Thread Jens Wiklander
Adds mostly stubbed OP-TEE driver which also can be compiled as a loadable module. Signed-off-by: Jens Wiklander jens.wiklan...@linaro.org --- drivers/tee/Kconfig| 10 +++ drivers/tee/Makefile | 1 + drivers/tee/optee/Kconfig | 7 ++ drivers/tee/optee/Makefile | 2 +