Re: [PATCH] tpm_crb: request and relinquish locality 0

2017-03-11 Thread Jarkko Sakkinen
On Fri, Mar 10, 2017 at 05:27:09PM -0700, Jason Gunthorpe wrote: > On Sat, Mar 11, 2017 at 01:58:00AM +0200, Jarkko Sakkinen wrote: > > Added two new callbacks to struct tpm_class_ops: > > > > - request_locality > > - relinquish_locality > > > > These are called before sending and receiving data

Re: [PATCH] tpm_crb: request and relinquish locality 0

2017-03-11 Thread Jarkko Sakkinen
On Fri, Mar 10, 2017 at 05:27:09PM -0700, Jason Gunthorpe wrote: > On Sat, Mar 11, 2017 at 01:58:00AM +0200, Jarkko Sakkinen wrote: > > Added two new callbacks to struct tpm_class_ops: > > > > - request_locality > > - relinquish_locality > > > > These are called before sending and receiving data

Re: [PATCH] tpm_crb: request and relinquish locality 0

2017-03-10 Thread Jason Gunthorpe
On Sat, Mar 11, 2017 at 01:58:00AM +0200, Jarkko Sakkinen wrote: > Added two new callbacks to struct tpm_class_ops: > > - request_locality > - relinquish_locality > > These are called before sending and receiving data from the TPM. If we are going to add new ops, I think we should also adjust

Re: [PATCH] tpm_crb: request and relinquish locality 0

2017-03-10 Thread Jason Gunthorpe
On Sat, Mar 11, 2017 at 01:58:00AM +0200, Jarkko Sakkinen wrote: > Added two new callbacks to struct tpm_class_ops: > > - request_locality > - relinquish_locality > > These are called before sending and receiving data from the TPM. If we are going to add new ops, I think we should also adjust

[PATCH] tpm_crb: request and relinquish locality 0

2017-03-10 Thread Jarkko Sakkinen
Added two new callbacks to struct tpm_class_ops: - request_locality - relinquish_locality These are called before sending and receiving data from the TPM. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-interface.c | 9 +

[PATCH] tpm_crb: request and relinquish locality 0

2017-03-10 Thread Jarkko Sakkinen
Added two new callbacks to struct tpm_class_ops: - request_locality - relinquish_locality These are called before sending and receiving data from the TPM. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-interface.c | 9 + drivers/char/tpm/tpm_crb.c | 41