Re: [tpmdd-devel] [PATCH v2 0/3] TPM2.0: Added eventlog support for TPM2.0

2016-08-10 Thread Jarkko Sakkinen
On Tue, Aug 09, 2016 at 03:34:52PM -0400, Nayna Jain wrote: > Overview: > = > > This patch adds support for enabling securityfs for TPM2.0, currently > driver has eventlog support only for TPM1.2. > The patch currently adds support for only binary_bios_measurements. > > The structure for

Re: [tpmdd-devel] [PATCH v2 3/3] TPM2.0:Adds securityfs support for TPM2.0 eventlog

2016-08-10 Thread Jarkko Sakkinen
On Wed, Aug 10, 2016 at 02:25:30PM +0300, Jarkko Sakkinen wrote: > On Tue, Aug 09, 2016 at 03:34:55PM -0400, Nayna Jain wrote: > > Adds securityfs support for TPM2.0. > > This patch currently supports only binary_bios_measurements. > > > > Changelog v2: > > * Single tpm_of.c for reading

Re: [tpmdd-devel] [PATCH v2 1/3] TPM2.0: Refactored eventlog init functions.

2016-08-10 Thread Jarkko Sakkinen
On Tue, Aug 09, 2016 at 03:34:53PM -0400, Nayna Jain wrote: > Refactored eventlog.c file into tpm_eventlog.c and tpm_eventlog_init.c > > Breakdown is: > > * tpm_eventlog_init.c : Moved eventlog initialization methods like > to setup securityfs, to open and release seqfile from tpm_eventlog.c >

Re: [tpmdd-devel] [PATCH v2 1/3] TPM2.0: Refactored eventlog init functions.

2016-08-10 Thread Nayna
Thanks for reviewing. Sure, I will post next version with split as two patches and other fixes as suggested. Below is the breakdown of two patches, let me know if this doesn't sound ok. 1. First patch to clean up the code related to tpm_eventlog_init.c - generic open() and bios_dir as dentry

Re: [tpmdd-devel] [PATCH v2 1/3] TPM2.0: Refactored eventlog init functions.

2016-08-10 Thread Jarkko Sakkinen
On Tue, Aug 09, 2016 at 04:27:40PM -0600, Jason Gunthorpe wrote: > On Tue, Aug 09, 2016 at 03:34:53PM -0400, Nayna Jain wrote: > > Refactored eventlog.c file into tpm_eventlog.c and tpm_eventlog_init.c > > > > Breakdown is: > > > > * tpm_eventlog_init.c : Moved eventlog initialization methods

Re: [tpmdd-devel] [PATCH] tpm: fix cacheline alignment for DMA-able buffers

2016-08-10 Thread Jarkko Sakkinen
On Tue, Aug 09, 2016 at 08:18:00AM -0700, Dmitry Torokhov wrote: >On Tue, Aug 9, 2016 at 8:01 AM, Jarkko Sakkinen > wrote: > > On Tue, Aug 09, 2016 at 12:46:10PM +0300, Jarkko Sakkinen wrote: > > On Fri, Jul 29, 2016 at 10:30:22AM -0700, Dmitry