Re: [PATCH 0/3] v4.16 tpmdd backports

From: James Bottomley
Date: Wed Apr 25 2018 - 13:53:42 EST


On Wed, 2018-04-25 at 13:06 +0200, Greg KH wrote:
> On Wed, Apr 25, 2018 at 01:44:20PM +0300, Jarkko Sakkinen wrote:
> > "tpm: add retry logic" caused merge conflicts so I picked couple of
> > other fixes in order to get it apply cleanly.
>
> Are these only needed in 4.16.y?ÂÂNothing earlier?

The retry one (tpm: add retry logic) could go back as far as you can,
but the bug it causes is rarely seen: mostly it's a failure of the
kernel trusted keys due to a tpm retry being interpreted as a fatal
error. The number of users we have for kernel trusted keys seems to be
pretty small ...

I'd say if the backport works as is, go for it, but if we get a patch
apply failure, it's probably not worth trying to work out how to modify
the patch again until someone actually complains about the problem.

James