Re: [PATCH v2] tpm: Factor out common startup code

2016-05-26 Thread Jarkko Sakkinen
On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > Provide some flags in tpm_class_ops to allow drivers to opt-in to the > common startup sequence. This is the sequence used by tpm_tis and > tpm_crb. > > All drivers should set this flag. > > Signed-off-by: Jason Gunthorpe

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-26 Thread Jarkko Sakkinen
On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > Provide some flags in tpm_class_ops to allow drivers to opt-in to the > common startup sequence. This is the sequence used by tpm_tis and > tpm_crb. > > All drivers should set this flag. > > Signed-off-by: Jason Gunthorpe >

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-19 Thread Jarkko Sakkinen
On Wed, May 18, 2016 at 11:13:20AM -0600, Jason Gunthorpe wrote: > On Wed, May 18, 2016 at 12:59:24PM +0300, Jarkko Sakkinen wrote: > > On Tue, May 17, 2016 at 10:53:04AM -0600, Jason Gunthorpe wrote: > > > On Tue, May 17, 2016 at 07:15:57AM +0300, Jarkko Sakkinen wrote: > > > > On Mon, May 16,

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-19 Thread Jarkko Sakkinen
On Wed, May 18, 2016 at 11:13:20AM -0600, Jason Gunthorpe wrote: > On Wed, May 18, 2016 at 12:59:24PM +0300, Jarkko Sakkinen wrote: > > On Tue, May 17, 2016 at 10:53:04AM -0600, Jason Gunthorpe wrote: > > > On Tue, May 17, 2016 at 07:15:57AM +0300, Jarkko Sakkinen wrote: > > > > On Mon, May 16,

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-18 Thread Jason Gunthorpe
On Wed, May 18, 2016 at 12:59:24PM +0300, Jarkko Sakkinen wrote: > On Tue, May 17, 2016 at 10:53:04AM -0600, Jason Gunthorpe wrote: > > On Tue, May 17, 2016 at 07:15:57AM +0300, Jarkko Sakkinen wrote: > > > On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > > > > Provide some flags

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-18 Thread Jason Gunthorpe
On Wed, May 18, 2016 at 12:59:24PM +0300, Jarkko Sakkinen wrote: > On Tue, May 17, 2016 at 10:53:04AM -0600, Jason Gunthorpe wrote: > > On Tue, May 17, 2016 at 07:15:57AM +0300, Jarkko Sakkinen wrote: > > > On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > > > > Provide some flags

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-18 Thread Jarkko Sakkinen
On Tue, May 17, 2016 at 10:53:04AM -0600, Jason Gunthorpe wrote: > On Tue, May 17, 2016 at 07:15:57AM +0300, Jarkko Sakkinen wrote: > > On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > > > Provide some flags in tpm_class_ops to allow drivers to opt-in to the > > > common startup

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-18 Thread Jarkko Sakkinen
On Tue, May 17, 2016 at 10:53:04AM -0600, Jason Gunthorpe wrote: > On Tue, May 17, 2016 at 07:15:57AM +0300, Jarkko Sakkinen wrote: > > On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > > > Provide some flags in tpm_class_ops to allow drivers to opt-in to the > > > common startup

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-17 Thread Jason Gunthorpe
On Tue, May 17, 2016 at 07:15:57AM +0300, Jarkko Sakkinen wrote: > On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > > Provide some flags in tpm_class_ops to allow drivers to opt-in to the > > common startup sequence. This is the sequence used by tpm_tis and > > tpm_crb. > > > >

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-17 Thread Jason Gunthorpe
On Tue, May 17, 2016 at 07:15:57AM +0300, Jarkko Sakkinen wrote: > On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > > Provide some flags in tpm_class_ops to allow drivers to opt-in to the > > common startup sequence. This is the sequence used by tpm_tis and > > tpm_crb. > > > >

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-16 Thread Jarkko Sakkinen
On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > Provide some flags in tpm_class_ops to allow drivers to opt-in to the > common startup sequence. This is the sequence used by tpm_tis and > tpm_crb. > > All drivers should set this flag. The commit message should be a much much

Re: [PATCH v2] tpm: Factor out common startup code

2016-05-16 Thread Jarkko Sakkinen
On Mon, May 16, 2016 at 12:25:47PM -0600, Jason Gunthorpe wrote: > Provide some flags in tpm_class_ops to allow drivers to opt-in to the > common startup sequence. This is the sequence used by tpm_tis and > tpm_crb. > > All drivers should set this flag. The commit message should be a much much

[PATCH v2] tpm: Factor out common startup code

2016-05-16 Thread Jason Gunthorpe
Provide some flags in tpm_class_ops to allow drivers to opt-in to the common startup sequence. This is the sequence used by tpm_tis and tpm_crb. All drivers should set this flag. Signed-off-by: Jason Gunthorpe Tested-by: Andrew Zamansky

[PATCH v2] tpm: Factor out common startup code

2016-05-16 Thread Jason Gunthorpe
Provide some flags in tpm_class_ops to allow drivers to opt-in to the common startup sequence. This is the sequence used by tpm_tis and tpm_crb. All drivers should set this flag. Signed-off-by: Jason Gunthorpe Tested-by: Andrew Zamansky --- drivers/char/tpm/st33zp24/st33zp24.c | 4 +---