Re: [PATCH v4] tpm: fix an invalid condition in tpm_common_poll

2019-05-02 Thread Jarkko Sakkinen
On Tue, Apr 23, 2019 at 10:54:47PM +0200, Jonas Witschel wrote: > On 2019-04-09 15:44, Jarkko Sakkinen wrote: > > On Mon, Apr 08, 2019 at 02:01:38PM +0200, Thibaut Sautereau wrote: > >> [...] > >> What's the status of this patch now? It's needed in linux-5.0.y as TPM > >> 2.0 support is currently b

Re: [PATCH v4] tpm: fix an invalid condition in tpm_common_poll

2019-04-24 Thread Jonas Witschel
On 2019-04-24 02:43, Sasha Levin wrote: > On Tue, Apr 23, 2019 at 10:54:47PM +0200, Jonas Witschel wrote: >> On 2019-04-09 15:44, Jarkko Sakkinen wrote: >>> On Mon, Apr 08, 2019 at 02:01:38PM +0200, Thibaut Sautereau wrote: [...] What's the status of this patch now? It's needed in linux-5

Re: [PATCH v4] tpm: fix an invalid condition in tpm_common_poll

2019-04-23 Thread Sasha Levin
On Tue, Apr 23, 2019 at 10:54:47PM +0200, Jonas Witschel wrote: On 2019-04-09 15:44, Jarkko Sakkinen wrote: On Mon, Apr 08, 2019 at 02:01:38PM +0200, Thibaut Sautereau wrote: [...] What's the status of this patch now? It's needed in linux-5.0.y as TPM 2.0 support is currently broken with those

Re: [PATCH v4] tpm: fix an invalid condition in tpm_common_poll

2019-04-23 Thread Jonas Witschel
On 2019-04-09 15:44, Jarkko Sakkinen wrote: > On Mon, Apr 08, 2019 at 02:01:38PM +0200, Thibaut Sautereau wrote: >> [...] >> What's the status of this patch now? It's needed in linux-5.0.y as TPM >> 2.0 support is currently broken with those stable kernels without this >> commit. > > part of a PR.

Re: [PATCH v4] tpm: fix an invalid condition in tpm_common_poll

2019-04-09 Thread Jarkko Sakkinen
On Mon, Apr 08, 2019 at 02:01:38PM +0200, Thibaut Sautereau wrote: > Hello Jarkko, > > On Thu, Mar 28, 2019 at 09:34:18AM -0700, Tadeusz Struk wrote: > > On 3/28/19 5:34 AM, Jarkko Sakkinen wrote: > > > Thank you, it is applied. > > > > Thank you Jarkko. > > What's the status of this patch now?

Re: [PATCH v4] tpm: fix an invalid condition in tpm_common_poll

2019-04-08 Thread Thibaut Sautereau
Hello Jarkko, On Thu, Mar 28, 2019 at 09:34:18AM -0700, Tadeusz Struk wrote: > On 3/28/19 5:34 AM, Jarkko Sakkinen wrote: > > Thank you, it is applied. > > Thank you Jarkko. What's the status of this patch now? It's needed in linux-5.0.y as TPM 2.0 support is currently broken with those stable k

Re: [PATCH v4] tpm: fix an invalid condition in tpm_common_poll

2019-03-28 Thread Tadeusz Struk
On 3/28/19 5:34 AM, Jarkko Sakkinen wrote: > Thank you, it is applied. Thank you Jarkko. -- Tadeusz

Re: [PATCH v4] tpm: fix an invalid condition in tpm_common_poll

2019-03-28 Thread Jarkko Sakkinen
On Wed, Mar 27, 2019 at 11:32:38AM -0700, Tadeusz Struk wrote: > The poll condition should only check response_length, > because reads should only be issued if there is data to read. > The response_read flag only prevents double writes. > The problem was that the write set the response_read to fals