mbox series

[v2,0/2] fsi and hwmon (occ): Prevent occasional checksum failures

Message ID 20220426154956.27205-1-eajames@linux.ibm.com (mailing list archive)
Headers show
Series fsi and hwmon (occ): Prevent occasional checksum failures | expand

Message

Eddie James April 26, 2022, 3:49 p.m. UTC
Due to the OCC communication design with a shared SRAM area,
checkum errors are expected due to corrupted buffer from OCC
communications with other system components. Therefore, use a
unique errno for checksum failures and retry the command twice
in that case.

Changes since v1:
 - Refactor the retry loop

Eddie James (2):
  fsi: occ: Fix checksum failure mode
  hwmon (occ): Retry for checksum failure

 drivers/fsi/fsi-occ.c      |  7 +++++--
 drivers/hwmon/occ/p9_sbe.c | 15 +++++++++++----
 2 files changed, 16 insertions(+), 6 deletions(-)