Re: [tpmdd-devel] [PATCH 1/3] tpm_crb: map locality registers

2016-10-11 Thread Jarkko Sakkinen
On Tue, Oct 11, 2016 at 12:29:22PM -0600, Jason Gunthorpe wrote: > On Tue, Oct 11, 2016 at 09:21:00PM +0300, Jarkko Sakkinen wrote: > > On Tue, Oct 11, 2016 at 11:01:43AM -0600, Jason Gunthorpe wrote: > > > On Tue, Oct 11, 2016 at 12:23:04PM +0300, Jarkko Sakkinen wrote: > > > > In order to provide

Re: [tpmdd-devel] [PATCH 1/3] tpm_crb: map locality registers

2016-10-11 Thread Jason Gunthorpe
On Tue, Oct 11, 2016 at 09:21:00PM +0300, Jarkko Sakkinen wrote: > On Tue, Oct 11, 2016 at 11:01:43AM -0600, Jason Gunthorpe wrote: > > On Tue, Oct 11, 2016 at 12:23:04PM +0300, Jarkko Sakkinen wrote: > > > In order to provide access to locality registers, this commits adds > > > mapping of the hea

Re: [tpmdd-devel] [PATCH 1/3] tpm_crb: map locality registers

2016-10-11 Thread Jarkko Sakkinen
On Tue, Oct 11, 2016 at 11:01:43AM -0600, Jason Gunthorpe wrote: > On Tue, Oct 11, 2016 at 12:23:04PM +0300, Jarkko Sakkinen wrote: > > In order to provide access to locality registers, this commits adds > > mapping of the head of the CRB registers, which are located right > > before the control ar

Re: [tpmdd-devel] [PATCH 1/3] tpm_crb: map locality registers

2016-10-11 Thread Jason Gunthorpe
On Tue, Oct 11, 2016 at 12:23:04PM +0300, Jarkko Sakkinen wrote: > In order to provide access to locality registers, this commits adds > mapping of the head of the CRB registers, which are located right > before the control area. I think you should squash this into the prior patch, no sense in cha

Re: [tpmdd-devel] [PATCH 1/3] tpm_crb: map locality registers

2016-10-11 Thread Jarkko Sakkinen
On Tue, Oct 11, 2016 at 12:23:04PM +0300, Jarkko Sakkinen wrote: > In order to provide access to locality registers, this commits adds > mapping of the head of the CRB registers, which are located right > before the control area. > > Signed-off-by: Jarkko Sakkinen > --- > drivers/char/tpm/tpm_cr

[tpmdd-devel] [PATCH 1/3] tpm_crb: map locality registers

2016-10-11 Thread Jarkko Sakkinen
In order to provide access to locality registers, this commits adds mapping of the head of the CRB registers, which are located right before the control area. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_crb.c | 86 +- 1 file changed, 54 ins