Re: [PATCH] tpm: tis: Increase the default for timeout B
From: Jarkko Sakkinen
Date: Fri Apr 04 2025 - 04:14:34 EST
On Fri, Apr 04, 2025 at 10:12:18AM +0200, Michal Suchánek wrote:
> On Thu, Apr 03, 2025 at 09:49:02PM +0300, Jarkko Sakkinen wrote:
> > On Thu, Apr 03, 2025 at 08:25:05PM +0200, Michal Suchanek wrote:
> > > With some Infineon chips the timeouts in tpm_tis_send_data (both B and
> > > C) can reach up to about 2250 ms.
> > >
> > > Timeout C is retried since
> > > commit de9e33df7762 ("tpm, tpm_tis: Workaround failed command reception on Infineon devices")
> > >
> > > Timeout B still needs to be extended.
> > >
> > > Link: https://lore.kernel.org/linux-integrity/Z5pI07m0Muapyu9w@xxxxxxxxxxxxxxx/
> > > Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>
> > > ---
> > > V2: Only extend timeout B
> >
> > git format-patch --v2 ;-)
> >
> > NP, but use --v3 next time...
>
> Where do you get git with such practical options?
Oops! My bad, sorry.
$ git format-patch --v2
fatal: unrecognized argument: --v2
~/work/kernel.org/stable/linux 2254ea2ccee8
$ git format-patch -v2
# success
BR, Jarkko