Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-27 Thread Sahil Rihan
> And also > > Tested-by: Sahil Rihan Sure!

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-27 Thread Sahil Rihan
> And also > > Tested-by: Sahil Rihan Sure!

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-27 Thread Jarkko Sakkinen
On Tue, Mar 27, 2018 at 12:07:14AM +, Sahil Rihan wrote: > > On 3/22/18, 7:20 AM, "Jarkko Sakkinen" > > wrote: > > > > On Tue, 2018-03-20 at 22:29 +, Sahil Rihan wrote: > > > > On 3/19/18, 2:25 PM, "Jarkko Sakkinen" > >

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-27 Thread Jarkko Sakkinen
On Tue, Mar 27, 2018 at 12:07:14AM +, Sahil Rihan wrote: > > On 3/22/18, 7:20 AM, "Jarkko Sakkinen" > > wrote: > > > > On Tue, 2018-03-20 at 22:29 +, Sahil Rihan wrote: > > > > On 3/19/18, 2:25 PM, "Jarkko Sakkinen" > > > > > > wrote: > > > > > > > >Sahil, would you

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-26 Thread Sahil Rihan
> On 3/22/18, 7:20 AM, "Jarkko Sakkinen" > wrote: > > On Tue, 2018-03-20 at 22:29 +, Sahil Rihan wrote: > > > On 3/19/18, 2:25 PM, "Jarkko Sakkinen" > > > wrote: > > > > > >Sahil, would you care to try if

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-26 Thread Sahil Rihan
> On 3/22/18, 7:20 AM, "Jarkko Sakkinen" > wrote: > > On Tue, 2018-03-20 at 22:29 +, Sahil Rihan wrote: > > > On 3/19/18, 2:25 PM, "Jarkko Sakkinen" > > > wrote: > > > > > >Sahil, would you care to try if this fixes the issue that you are > > >having or not? > >

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-22 Thread Jarkko Sakkinen
On Tue, 2018-03-20 at 22:29 +, Sahil Rihan wrote: > > On 3/19/18, 2:25 PM, "Jarkko Sakkinen" > > wrote: > > > >Sahil, would you care to try if this fixes the issue that you are > >having or not? > > Yes, we can test this out. Might take a day or

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-22 Thread Jarkko Sakkinen
On Tue, 2018-03-20 at 22:29 +, Sahil Rihan wrote: > > On 3/19/18, 2:25 PM, "Jarkko Sakkinen" > > wrote: > > > >Sahil, would you care to try if this fixes the issue that you are > >having or not? > > Yes, we can test this out. Might take a day or two. Awesome, thank you. I'll

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-20 Thread Sahil Rihan
> On 3/19/18, 2:25 PM, "Jarkko Sakkinen" > wrote: > >Sahil, would you care to try if this fixes the issue that you are >having or not? Yes, we can test this out. Might take a day or two. Sahil

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-20 Thread Sahil Rihan
> On 3/19/18, 2:25 PM, "Jarkko Sakkinen" > wrote: > >Sahil, would you care to try if this fixes the issue that you are >having or not? Yes, we can test this out. Might take a day or two. Sahil

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-19 Thread Jarkko Sakkinen
On Sun, Mar 18, 2018 at 08:13:23PM -0600, Jason Gunthorpe wrote: > On Fri, Mar 16, 2018 at 02:55:25PM +0200, Jarkko Sakkinen wrote: > > On Mon, Mar 12, 2018 at 09:02:32AM -0600, Jason Gunthorpe wrote: > > > On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > > > > TCPA log are can

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-19 Thread Jarkko Sakkinen
On Sun, Mar 18, 2018 at 08:13:23PM -0600, Jason Gunthorpe wrote: > On Fri, Mar 16, 2018 at 02:55:25PM +0200, Jarkko Sakkinen wrote: > > On Mon, Mar 12, 2018 at 09:02:32AM -0600, Jason Gunthorpe wrote: > > > On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > > > > TCPA log are can

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-18 Thread Jason Gunthorpe
On Fri, Mar 16, 2018 at 02:55:25PM +0200, Jarkko Sakkinen wrote: > On Mon, Mar 12, 2018 at 09:02:32AM -0600, Jason Gunthorpe wrote: > > On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > > > TCPA log are can be empty when the TPM is disabled. This commit changes > > > the > > >

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-18 Thread Jason Gunthorpe
On Fri, Mar 16, 2018 at 02:55:25PM +0200, Jarkko Sakkinen wrote: > On Mon, Mar 12, 2018 at 09:02:32AM -0600, Jason Gunthorpe wrote: > > On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > > > TCPA log are can be empty when the TPM is disabled. This commit changes > > > the > > >

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-16 Thread Jarkko Sakkinen
On Mon, Mar 12, 2018 at 09:02:32AM -0600, Jason Gunthorpe wrote: > On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > > TCPA log are can be empty when the TPM is disabled. This commit changes the > > behavior of tpm_read_log_acpi() to return successfully in this case. > > The

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-16 Thread Jarkko Sakkinen
On Mon, Mar 12, 2018 at 09:02:32AM -0600, Jason Gunthorpe wrote: > On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > > TCPA log are can be empty when the TPM is disabled. This commit changes the > > behavior of tpm_read_log_acpi() to return successfully in this case. > > The

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-12 Thread Jason Gunthorpe
On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > TCPA log are can be empty when the TPM is disabled. This commit changes the > behavior of tpm_read_log_acpi() to return successfully in this case. The commit should explain why we'd want this.. eg Why does it matter to create the

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-12 Thread Jason Gunthorpe
On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > TCPA log are can be empty when the TPM is disabled. This commit changes the > behavior of tpm_read_log_acpi() to return successfully in this case. The commit should explain why we'd want this.. eg Why does it matter to create the

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-12 Thread Jarkko Sakkinen
On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > TCPA log are can be empty when the TPM is disabled. This commit changes the > behavior of tpm_read_log_acpi() to return successfully in this case. > > Cc: sta...@vger.kernel.org > Fixes: 55a82ab3181b ("[PATCH] tpm: add bios

Re: [PATCH] tpm: allow TCPA log area to be empty

2018-03-12 Thread Jarkko Sakkinen
On Sat, Mar 10, 2018 at 06:16:37PM +0200, Jarkko Sakkinen wrote: > TCPA log are can be empty when the TPM is disabled. This commit changes the > behavior of tpm_read_log_acpi() to return successfully in this case. > > Cc: sta...@vger.kernel.org > Fixes: 55a82ab3181b ("[PATCH] tpm: add bios

[PATCH] tpm: allow TCPA log area to be empty

2018-03-10 Thread Jarkko Sakkinen
TCPA log are can be empty when the TPM is disabled. This commit changes the behavior of tpm_read_log_acpi() to return successfully in this case. Cc: sta...@vger.kernel.org Fixes: 55a82ab3181b ("[PATCH] tpm: add bios measurement log") Signed-off-by: Jarkko Sakkinen

[PATCH] tpm: allow TCPA log area to be empty

2018-03-10 Thread Jarkko Sakkinen
TCPA log are can be empty when the TPM is disabled. This commit changes the behavior of tpm_read_log_acpi() to return successfully in this case. Cc: sta...@vger.kernel.org Fixes: 55a82ab3181b ("[PATCH] tpm: add bios measurement log") Signed-off-by: Jarkko Sakkinen ---