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

Eddie James posted 2 patches 4 years, 1 month ago
drivers/fsi/fsi-occ.c      |  7 +++++--
drivers/hwmon/occ/p9_sbe.c | 15 +++++++++++----
2 files changed, 16 insertions(+), 6 deletions(-)
[PATCH v2 0/2] fsi and hwmon (occ): Prevent occasional checksum failures
Posted by Eddie James 4 years, 1 month ago
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(-)

-- 
2.27.0