Re: [PATCH] tpm: Define TPM2_SPACE_BUFFER_SIZE to replace the use of PAGE_SIZE

2020-07-06 Thread Jarkko Sakkinen
On Mon, Jul 06, 2020 at 02:06:09PM -0400, Stefan Berger wrote: > On 7/3/20 11:56 PM, Jarkko Sakkinen wrote: > > On Thu, Jul 02, 2020 at 04:55:44PM -0700, Jerry Snitselaar wrote: > > > On Fri Jul 03 20, Jarkko Sakkinen wrote: > > > > The size of the buffers for storing context's and sessions can

Re: [PATCH] tpm: Define TPM2_SPACE_BUFFER_SIZE to replace the use of PAGE_SIZE

2020-07-06 Thread Stefan Berger
On 7/3/20 11:56 PM, Jarkko Sakkinen wrote: On Thu, Jul 02, 2020 at 04:55:44PM -0700, Jerry Snitselaar wrote: On Fri Jul 03 20, Jarkko Sakkinen wrote: The size of the buffers for storing context's and sessions can vary from arch to arch as PAGE_SIZE can be anything between 4 kB and 256 kB (the

Re: [PATCH] tpm: Define TPM2_SPACE_BUFFER_SIZE to replace the use of PAGE_SIZE

2020-07-03 Thread Jarkko Sakkinen
On Thu, Jul 02, 2020 at 04:55:44PM -0700, Jerry Snitselaar wrote: > On Fri Jul 03 20, Jarkko Sakkinen wrote: > > The size of the buffers for storing context's and sessions can vary from > > arch to arch as PAGE_SIZE can be anything between 4 kB and 256 kB (the > > maximum for PPC64). Define a

Re: [PATCH] tpm: Define TPM2_SPACE_BUFFER_SIZE to replace the use of PAGE_SIZE

2020-07-02 Thread Jerry Snitselaar
On Fri Jul 03 20, Jarkko Sakkinen wrote: The size of the buffers for storing context's and sessions can vary from arch to arch as PAGE_SIZE can be anything between 4 kB and 256 kB (the maximum for PPC64). Define a fixed buffer size set to 16 kB. This should be enough for most use with three

Re: [PATCH] tpm: Define TPM2_SPACE_BUFFER_SIZE to replace the use of PAGE_SIZE

2020-07-02 Thread Jarkko Sakkinen
On Fri, Jun 26, 2020 at 12:47:02PM -0400, Stefan Berger wrote: > On 6/26/20 10:34 AM, Jarkko Sakkinen wrote: > > The size of the buffers for storing context's and sessions can vary from > > arch to arch as PAGE_SIZE can be anything between 4 kB and 256 kB (the > > maximum for PPC64). Define a

Re: [PATCH] tpm: Define TPM2_SPACE_BUFFER_SIZE to replace the use of PAGE_SIZE

2020-06-26 Thread Stefan Berger
On 6/26/20 10:34 AM, Jarkko Sakkinen wrote: The size of the buffers for storing context's and sessions can vary from arch to arch as PAGE_SIZE can be anything between 4 kB and 256 kB (the maximum for PPC64). Define a fixed buffer size set to 16 kB. This should be enough for most use with three