[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2A0398AC-64F2-493C-9717-01E5366C2159@gmx.de>
Date: Wed, 22 Feb 2017 13:39:33 +0100
From: Peter Huewe <peterhuewe@....de>
To: Andrew Lunn <andrew@...n.ch>,
Enric Balletbo i Serra <enric.balletbo@...labora.com>
CC: Marcel Selhorst <tpmdd@...horst.net>, apronin@...gle.com,
tpmdd-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
Bryan Freed <bfreed@...omium.org>
Subject: Re: [tpmdd-devel] [PATCH 1/2] tpm: Apply an adapterlimit for retransmission.
Am 21. Februar 2017 17:29:48 MEZ schrieb Andrew Lunn <andrew@...n.ch>:
>On Tue, Feb 21, 2017 at 03:44:59PM +0100, Enric Balletbo i Serra wrote:
>> From: Bryan Freed <bfreed@...omium.org>
>>
>> When the I2C Infineon part is attached to an I2C adapter that imposes
>> a size limitation, large requests will fail -EINVAL.
>> Retry them with size backoff without re-issuing the 0x05 command
>> as this appears to occasionally put the TPM in a bad state.
>
>Hi Enric
>
>Rather than trying small and smaller transfers, would it not be better
>to get the i2c core to expose the quirk info about transfer limits?
>
+1
I think that would be the better idea.
Peter
> Andrew
--
Sent from my mobile
Powered by blists - more mailing lists