public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] fsi and hwmon (occ): Prevent occasional checksum failures
@ 2022-04-26 15:49 Eddie James
  2022-04-26 15:49 ` [PATCH v2 1/2] fsi: occ: Fix checksum failure mode Eddie James
  2022-04-26 15:49 ` [PATCH v2 2/2] hwmon (occ): Retry for checksum failure Eddie James
  0 siblings, 2 replies; 4+ messages in thread
From: Eddie James @ 2022-04-26 15:49 UTC (permalink / raw)
  To: linux-fsi
  Cc: linux-hwmon, linux-kernel, jdelvare, linux, joel, jk,
	David.Laight

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-27  8:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-26 15:49 [PATCH v2 0/2] fsi and hwmon (occ): Prevent occasional checksum failures Eddie James
2022-04-26 15:49 ` [PATCH v2 1/2] fsi: occ: Fix checksum failure mode Eddie James
2022-04-26 15:49 ` [PATCH v2 2/2] hwmon (occ): Retry for checksum failure Eddie James
2022-04-27  8:34   ` Joel Stanley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox