diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2017-10-24 19:57:57 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-10-29 18:48:02 -0500 |
commit | 7c154282947575d7478a3cda069095e4fbd7a632 (patch) | |
tree | 56cda446294f0f6a1dbd19d427f674b4181ab96b /skiboot.spec | |
parent | 3e4577939bbff8f422d661c0bac5bb7dc3516ac6 (diff) | |
download | skiboot-7c154282947575d7478a3cda069095e4fbd7a632.zip skiboot-7c154282947575d7478a3cda069095e4fbd7a632.tar.gz skiboot-7c154282947575d7478a3cda069095e4fbd7a632.tar.bz2 |
p8-i2c: Further timeout reworks
This patch reworks the way timeouts are set so that rather than imposing
a hard deadline based on the transaction length it uses a
kick-the-can-down-the-road approach where the timeout will be reset each
time data is written to or received from the master. This fits better
with the actual failure modes that timeouts are designed to handle, such
as unusually slow or broken devices.
Additionally this patch moves all the special case detection out of the
timeout handler. This is help to improve the robustness of the driver and
prepare for a more substantial rework of the driver as a whole later on.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'skiboot.spec')
0 files changed, 0 insertions, 0 deletions