Messages in this thread |  | | Subject | Re: [PATCH v2] tpm_tis: reserve chip for duration of tpm_tis_core_init | From | Jarkko Sakkinen <> | Date | Tue, 17 Dec 2019 03:19:44 +0200 |
| |
On Tue, 2019-12-17 at 02:58 +0200, Jarkko Sakkinen 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@fraction.io> > > Cc: Dan Williams <dan.j.williams@intel.com> > > Cc: Peter Huewe <peterhuewe@gmx.de> > > Cc: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> > > Cc: Jason Gunthorpe <jgg@ziepe.ca> > > Cc: Stefan Berger <stefanb@linux.vnet.ibm.com> > > Cc: stable@vger.kernel.org > > Cc: linux-integrity@vger.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@redhat.com> > > I pushed to my master with minor tweaks and added my tags. > > Please check before I put it to linux-next.
Oops. Forgot to push please check now
git://git.infradead.org/users/jjs/linux-tpmdd.git master
/Jarkko
|  |