Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-10 Thread Ilias Apalodimas
Hi Thirupathaiah Apologies for tha lte reply, i somehow misplaced this mail. [...] > > > > Please check the previous mail from Sumit. It explains exaclty what's going > > on. > > The tl;dr version is that the storage is up only when the supplicant is > > running. > > I definitely know that OP-

RE: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-04 Thread Thirupathaiah Annapureddy
.org; linux- > integr...@vger.kernel.org; Microsoft Linux Kernel List ker...@microsoft.com>; Bryan Kelly (CSI) ; tee- > d...@lists.linaro.org; sumit.g...@linaro.org; rdun...@infradead.org; Joakim > Bech > > Subject: Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE >

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-04 Thread Ilias Apalodimas
Hi Thirupathaiah, [...] > > > > > I managed to do some quick testing in QEMU. > > > > > Everything works fine when i build this as a module (using IBM's TPM > > > > > 2.0 > > > > > TSS) > > > > > > > > > > - As module > > > > > # insmod > > > > > /lib/modules/5.2.0-rc1/kernel/drivers/char/tpm/tpm

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-04 Thread Jarkko Sakkinen
On Sat, 2019-06-29 at 11:01 -0400, Sasha Levin wrote: > On Thu, Jun 27, 2019 at 02:31:35AM +0300, Jarkko Sakkinen wrote: > > On Tue, 2019-06-25 at 16:13 -0400, Sasha Levin wrote: > > > +static const uuid_t ftpm_ta_uuid = > > > + UUID_INIT(0xBC50D971, 0xD4C9, 0x42C4, > > > + 0x82, 0xCB, 0x

RE: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-03 Thread Thirupathaiah Annapureddy
ger.kernel.org; linux- > integr...@vger.kernel.org; Microsoft Linux Kernel List ker...@microsoft.com>; Bryan Kelly (CSI) ; tee- > d...@lists.linaro.org; sumit.g...@linaro.org; rdun...@infradead.org; Joakim > Bech > > Subject: Re: [PATCH v7 1/2] fTPM: firmware TPM running in T

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-03 Thread Joakim Bech
On Wed, Jul 03, 2019 at 03:33:14PM +0530, Sumit Garg wrote: > On Wed, 3 Jul 2019 at 13:42, Ilias Apalodimas > wrote: > > > > Hi Thirupathaiah, > > > > (+Joakim) > > > > On Wed, 3 Jul 2019 at 09:58, Ilias Apalodimas > > wrote: > > > > > > Hi Thirupathaiah, > > > > > > > > First of all, Thanks a lo

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-03 Thread Sumit Garg
On Wed, 3 Jul 2019 at 13:42, Ilias Apalodimas wrote: > > Hi Thirupathaiah, > > (+Joakim) > > On Wed, 3 Jul 2019 at 09:58, Ilias Apalodimas > wrote: > > > > Hi Thirupathaiah, > > > > > > First of all, Thanks a lot for trying to test the driver. > > > > > np > > > > [...] > > > > I managed to do so

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-03 Thread Ilias Apalodimas
Hi Thirupathaiah, (+Joakim) On Wed, 3 Jul 2019 at 09:58, Ilias Apalodimas wrote: > > Hi Thirupathaiah, > > > > First of all, Thanks a lot for trying to test the driver. > > > np > > [...] > > > I managed to do some quick testing in QEMU. > > > Everything works fine when i build this as a module

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-02 Thread Ilias Apalodimas
Hi Thirupathaiah, > > First of all, Thanks a lot for trying to test the driver. > np [...] > > I managed to do some quick testing in QEMU. > > Everything works fine when i build this as a module (using IBM's TPM 2.0 > > TSS) > > > > - As module > > # insmod /lib/modules/5.2.0-rc1/kernel/driver

RE: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-02 Thread Thirupathaiah Annapureddy
nel.org; linux-doc@vger.kernel.org; > linux-integr...@vger.kernel.org; Microsoft Linux Kernel List ker...@microsoft.com>; Thirupathaiah Annapureddy ; > Bryan Kelly (CSI) ; tee-...@lists.linaro.org; > sumit.g...@linaro.org; rdun...@infradead.org > Subject: Re: [PATCH v7 1/2] fTPM: fi

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-02 Thread Ilias Apalodimas
Hi, > On Thu, 2019-06-27 at 16:30 +0300, Ilias Apalodimas wrote: > > is really useful. I don't have hardware to test this at the moment, but > > once i > > get it, i'll give it a spin. > > Thank you for responding, really appreciate it. > No worries > Please note, however, that I already did my

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-29 Thread Sasha Levin
On Thu, Jun 27, 2019 at 02:31:35AM +0300, Jarkko Sakkinen wrote: On Tue, 2019-06-25 at 16:13 -0400, Sasha Levin wrote: +static const uuid_t ftpm_ta_uuid = + UUID_INIT(0xBC50D971, 0xD4C9, 0x42C4, + 0x82, 0xCB, 0x34, 0x3F, 0xB7, 0xF3, 0x78, 0x96); + +/** + * ftpm_tee_tpm_op_r

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Sumit Garg
Hi Jarkko and Sasha, On Thu, 27 Jun 2019 at 18:47, Jarkko Sakkinen wrote: > > On Wed, 2019-06-26 at 19:56 -0400, Sasha Levin wrote: > > > You've used so much on this so shouldn't this have that somewhat new > > > co-developed-by tag? I'm also wondering can this work at all > > > > Honestly, I've

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Jarkko Sakkinen
On Thu, 2019-06-27 at 16:30 +0300, Ilias Apalodimas wrote: > is really useful. I don't have hardware to test this at the moment, but once i > get it, i'll give it a spin. Thank you for responding, really appreciate it. Please note, however, that I already did my v5.3 PR so there is a lot of time

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Ilias Apalodimas
Hi Jarkko, > On Wed, 2019-06-26 at 19:56 -0400, Sasha Levin wrote: > > > You've used so much on this so shouldn't this have that somewhat new > > > co-developed-by tag? I'm also wondering can this work at all > > > > Honestly, I've just been massaging this patch more than "authoring" it. > > If yo

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Jarkko Sakkinen
On Thu, 2019-06-27 at 16:17 +0300, Jarkko Sakkinen wrote: > On Wed, 2019-06-26 at 19:56 -0400, Sasha Levin wrote: > > > You've used so much on this so shouldn't this have that somewhat new > > > co-developed-by tag? I'm also wondering can this work at all > > > > Honestly, I've just been massaging

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Jarkko Sakkinen
On Wed, 2019-06-26 at 19:56 -0400, Sasha Levin wrote: > > You've used so much on this so shouldn't this have that somewhat new > > co-developed-by tag? I'm also wondering can this work at all > > Honestly, I've just been massaging this patch more than "authoring" it. > If you feel strongly about i

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-26 Thread Sasha Levin
On Thu, Jun 27, 2019 at 02:31:35AM +0300, Jarkko Sakkinen wrote: On Tue, 2019-06-25 at 16:13 -0400, Sasha Levin wrote: This patch adds support for a software-only implementation of a TPM running in TEE. There is extensive documentation of the design here: https://www.microsoft.com/en-us/resea

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-26 Thread Jarkko Sakkinen
On Tue, 2019-06-25 at 16:13 -0400, Sasha Levin wrote: > This patch adds support for a software-only implementation of a TPM > running in TEE. > > There is extensive documentation of the design here: > https://www.microsoft.com/en-us/research/publication/ftpm-software-implementation-tpm-chip/ > .