Re: [PATCH v2,RESEND] tpm: Detach page allocation from tpm_buf

From: Jarkko Sakkinen
Date: Wed Oct 02 2019 - 13:03:20 EST


On Wed, Oct 02, 2019 at 01:45:30PM +0300, Jarkko Sakkinen wrote:
> As has been seen recently, binding the buffer allocation and tpm_buf
> together is sometimes far from optimal. The buffer might come from the
> caller namely when tpm_send() is used by another subsystem. In addition we
> can stability in call sites w/o rollback (e.g. power events)>
>
> Take allocation out of the tpm_buf framework and make it purely a wrapper
> for the data buffer.

OK, so the reason that the fix for the CC was not included, was that
it was in my staging area. I had not amended it :-/

/Jarkko