Re: [PATCH v10, RESEND 4/6] tpm: move tpm_chip definition to include/linux/tpm.h

2019-02-08 Thread Roberto Sassu
On 2/8/2019 5:16 PM, Nathan Chancellor wrote: On Fri, Feb 08, 2019 at 09:41:14AM +0100, Roberto Sassu wrote: On 2/8/2019 5:24 AM, Nathan Chancellor wrote: diff --git a/include/linux/tpm.h b/include/linux/tpm.h index afd022fc9d3d..816e686a73ac 100644 --- a/include/linux/tpm.h +++ b/include/linux

Re: [PATCH v10, RESEND 4/6] tpm: move tpm_chip definition to include/linux/tpm.h

2019-02-08 Thread Nathan Chancellor
On Fri, Feb 08, 2019 at 09:41:14AM +0100, Roberto Sassu wrote: > On 2/8/2019 5:24 AM, Nathan Chancellor wrote: > > > diff --git a/include/linux/tpm.h b/include/linux/tpm.h > > > index afd022fc9d3d..816e686a73ac 100644 > > > --- a/include/linux/tpm.h > > > +++ b/include/linux/tpm.h > > > @@ -22,6 +2

Re: [PATCH v10, RESEND 4/6] tpm: move tpm_chip definition to include/linux/tpm.h

2019-02-08 Thread Roberto Sassu
On 2/8/2019 5:24 AM, Nathan Chancellor wrote: diff --git a/include/linux/tpm.h b/include/linux/tpm.h index afd022fc9d3d..816e686a73ac 100644 --- a/include/linux/tpm.h +++ b/include/linux/tpm.h @@ -22,6 +22,10 @@ #ifndef __LINUX_TPM_H__ #define __LINUX_TPM_H__ +#include +#include Hi Na

Re: [PATCH v10, RESEND 4/6] tpm: move tpm_chip definition to include/linux/tpm.h

2019-02-07 Thread Nathan Chancellor
On Wed, Feb 06, 2019 at 05:24:50PM +0100, Roberto Sassu wrote: > The tpm_chip structure contains the list of PCR banks currently allocated > in the TPM. When support for crypto agility will be added to the TPM > driver, users of the driver have to provide a digest for each allocated > bank to tpm_p