[Skiboot] [PATCH] p8-i2c: fix wrong request status when a reset is needed
stewart at linux.ibm.com
Tue Jun 19 15:38:59 AEST 2018
Frederic Barrat <fbarrat at linux.ibm.com> writes:
> If the bus is found in error state when starting a new request, the
> engine is reset and we enter recovery. However, once complete, the
> reset operation shows a status of complete in the status register. So
> any badly-timed called to check_status() will think the current top
> request is complete, even though it hasn't run yet.
> So don't update any request status while we are in recovery, as
> nothing useful for the request is supposed to happen in that state.
> Signed-off-by: Frederic Barrat <fbarrat at linux.ibm.com>
THanks, merged to master as of c2ce576152b4d88a7f9cf2cff57e173d1b975592.
OPAL Architect, IBM.
More information about the Skiboot