[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4h60z889bfbiwvVhsj6MxmOPiPY8ZuPB_skxkZx-N+OGw@mail.gmail.com>
Date: Mon, 16 Dec 2019 17:18:00 -0800
From: Dan Williams <dan.j.williams@...el.com>
To: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Cc: Jerry Snitselaar <jsnitsel@...hat.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Christian Bundy <christianbundy@...ction.io>,
Peter Huewe <peterhuewe@....de>,
Jason Gunthorpe <jgg@...pe.ca>,
Stefan Berger <stefanb@...ux.vnet.ibm.com>,
stable <stable@...r.kernel.org>, linux-integrity@...r.kernel.org
Subject: Re: [PATCH v2] tpm_tis: reserve chip for duration of tpm_tis_core_init
On Mon, Dec 16, 2019 at 4:59 PM Jarkko Sakkinen
<jarkko.sakkinen@...ux.intel.com> wrote:
>
> On Wed, 2019-12-11 at 16:54 -0700, Jerry Snitselaar wrote:
> > Instead of repeatedly calling tpm_chip_start/tpm_chip_stop when
> > issuing commands to the tpm during initialization, just reserve the
> > chip after wait_startup, and release it when we are ready to call
> > tpm_chip_register.
> >
> > Cc: Christian Bundy <christianbundy@...ction.io>
> > Cc: Dan Williams <dan.j.williams@...el.com>
> > Cc: Peter Huewe <peterhuewe@....de>
> > Cc: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
> > Cc: Jason Gunthorpe <jgg@...pe.ca>
> > Cc: Stefan Berger <stefanb@...ux.vnet.ibm.com>
> > Cc: stable@...r.kernel.org
> > Cc: linux-integrity@...r.kernel.org
> > Fixes: a3fbfae82b4c ("tpm: take TPM chip power gating out of tpm_transmit()")
> > Fixes: 5b359c7c4372 ("tpm_tis_core: Turn on the TPM before probing IRQ's")
> > Signed-off-by: Jerry Snitselaar <jsnitsel@...hat.com>
>
> I pushed to my master with minor tweaks and added my tags.
>
> Please check before I put it to linux-next.
I don't see it yet here:
http://git.infradead.org/users/jjs/linux-tpmdd.git/shortlog/refs/heads/master
However, I wanted to make sure you captured that this does *not* fix
the interrupt issue. I.e. make sure you remove the "Fixes:
5b359c7c4372 ("tpm_tis_core: Turn on the TPM before probing IRQ's")"
tag.
With that said, are you going to include the revert of:
1ea32c83c699 tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts
5b359c7c4372 tpm_tis_core: Turn on the TPM before probing IRQ's
...in your -rc3 pull?
Powered by blists - more mailing lists