Re: [tpmdd-devel] [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-02-01 Thread Jarkko Sakkinen
On Tue, Jan 31, 2017 at 03:24:44PM -0800, James Bottomley wrote: > On Mon, 2017-01-30 at 00:02 +0200, Jarkko Sakkinen wrote: > > On Fri, Jan 27, 2017 at 04:33:54PM -0800, James Bottomley wrote: > > > In a TPM2, sessions can be globally exhausted once there are > > > TPM_PT_ACTIVE_SESSION_MAX of

Re: [tpmdd-devel] [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-02-01 Thread Jarkko Sakkinen
On Tue, Jan 31, 2017 at 03:24:44PM -0800, James Bottomley wrote: > On Mon, 2017-01-30 at 00:02 +0200, Jarkko Sakkinen wrote: > > On Fri, Jan 27, 2017 at 04:33:54PM -0800, James Bottomley wrote: > > > In a TPM2, sessions can be globally exhausted once there are > > > TPM_PT_ACTIVE_SESSION_MAX of

Re: [tpmdd-devel] [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-31 Thread James Bottomley
On Mon, 2017-01-30 at 00:02 +0200, Jarkko Sakkinen wrote: > On Fri, Jan 27, 2017 at 04:33:54PM -0800, James Bottomley wrote: > > In a TPM2, sessions can be globally exhausted once there are > > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context > > saved). > > The Strategy for handling

Re: [tpmdd-devel] [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-31 Thread James Bottomley
On Mon, 2017-01-30 at 00:02 +0200, Jarkko Sakkinen wrote: > On Fri, Jan 27, 2017 at 04:33:54PM -0800, James Bottomley wrote: > > In a TPM2, sessions can be globally exhausted once there are > > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context > > saved). > > The Strategy for handling

Re: [tpmdd-devel] [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-29 Thread Jarkko Sakkinen
On Mon, Jan 30, 2017 at 12:02:19AM +0200, Jarkko Sakkinen wrote: > On Fri, Jan 27, 2017 at 04:33:54PM -0800, James Bottomley wrote: > > In a TPM2, sessions can be globally exhausted once there are > > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). > > The Strategy for

Re: [tpmdd-devel] [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-29 Thread Jarkko Sakkinen
On Mon, Jan 30, 2017 at 12:02:19AM +0200, Jarkko Sakkinen wrote: > On Fri, Jan 27, 2017 at 04:33:54PM -0800, James Bottomley wrote: > > In a TPM2, sessions can be globally exhausted once there are > > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). > > The Strategy for

Re: [tpmdd-devel] [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-29 Thread Jarkko Sakkinen
On Fri, Jan 27, 2017 at 04:33:54PM -0800, James Bottomley wrote: > In a TPM2, sessions can be globally exhausted once there are > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). > The Strategy for handling this is to keep a global count of all the > sessions along with their

Re: [tpmdd-devel] [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-29 Thread Jarkko Sakkinen
On Fri, Jan 27, 2017 at 04:33:54PM -0800, James Bottomley wrote: > In a TPM2, sessions can be globally exhausted once there are > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). > The Strategy for handling this is to keep a global count of all the > sessions along with their

[PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-27 Thread James Bottomley
In a TPM2, sessions can be globally exhausted once there are TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). The Strategy for handling this is to keep a global count of all the sessions along with their creation time. Then if we see the TPM run out of sessions (via the

[PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-27 Thread James Bottomley
In a TPM2, sessions can be globally exhausted once there are TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). The Strategy for handling this is to keep a global count of all the sessions along with their creation time. Then if we see the TPM run out of sessions (via the

Re: [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-26 Thread Jarkko Sakkinen
On Thu, Jan 26, 2017 at 04:45:52PM -0800, James Bottomley wrote: > On Thu, 2017-01-26 at 14:56 +0200, Jarkko Sakkinen wrote: > > On Mon, Jan 23, 2017 at 09:38:33PM -0800, James Bottomley wrote: > > > In a TPM2, sessions can be globally exhausted once there are > > > TPM_PT_ACTIVE_SESSION_MAX of

Re: [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-26 Thread Jarkko Sakkinen
On Thu, Jan 26, 2017 at 04:45:52PM -0800, James Bottomley wrote: > On Thu, 2017-01-26 at 14:56 +0200, Jarkko Sakkinen wrote: > > On Mon, Jan 23, 2017 at 09:38:33PM -0800, James Bottomley wrote: > > > In a TPM2, sessions can be globally exhausted once there are > > > TPM_PT_ACTIVE_SESSION_MAX of

Re: [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-26 Thread James Bottomley
On Thu, 2017-01-26 at 14:56 +0200, Jarkko Sakkinen wrote: > On Mon, Jan 23, 2017 at 09:38:33PM -0800, James Bottomley wrote: > > In a TPM2, sessions can be globally exhausted once there are > > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context > > saved). The Strategy for handling

Re: [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-26 Thread James Bottomley
On Thu, 2017-01-26 at 14:56 +0200, Jarkko Sakkinen wrote: > On Mon, Jan 23, 2017 at 09:38:33PM -0800, James Bottomley wrote: > > In a TPM2, sessions can be globally exhausted once there are > > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context > > saved). The Strategy for handling

Re: [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-26 Thread Jarkko Sakkinen
On Mon, Jan 23, 2017 at 09:38:33PM -0800, James Bottomley wrote: > In a TPM2, sessions can be globally exhausted once there are > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). > The Strategy for handling this is to keep a global count of all the > sessions along with their

Re: [PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-26 Thread Jarkko Sakkinen
On Mon, Jan 23, 2017 at 09:38:33PM -0800, James Bottomley wrote: > In a TPM2, sessions can be globally exhausted once there are > TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). > The Strategy for handling this is to keep a global count of all the > sessions along with their

[PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-23 Thread James Bottomley
In a TPM2, sessions can be globally exhausted once there are TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). The Strategy for handling this is to keep a global count of all the sessions along with their creation time. Then if we see the TPM run out of sessions (via the

[PATCH 2/2] tpm2-space: add handling for global session exhaustion

2017-01-23 Thread James Bottomley
In a TPM2, sessions can be globally exhausted once there are TPM_PT_ACTIVE_SESSION_MAX of them (even if they're all context saved). The Strategy for handling this is to keep a global count of all the sessions along with their creation time. Then if we see the TPM run out of sessions (via the