[Skiboot] [PATCH] hw/p8-i2c: Rework timeout handling

Stewart Smith stewart at linux.vnet.ibm.com
Thu Sep 21 14:53:25 AEST 2017

Oliver O'Halloran <oohall at gmail.com> writes:
> Currently we treat a timeout as a hard failure and will automatically
> fail any transations that hit their timeout. This results in
> unnecessarily failing I2C requests if interrupts are dropped, etc.
> Although these are bad things that we should log we can handle them
> better by checking the actual hardware status and completing the
> transation if there are no real errors. This patch reworks the timeout
> handling to check the status and continue the transaction if it can.
> if it can while logging an error if it detects a timeout due to a
> dropped interrupt.

Merged as of 0e075173caebd2c6a5daf7c8cd59c4a6007f1913.

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list