From: Eddie James <eajames@linux.ibm.com>
To: linux-fsi@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org,
jdelvare@suse.com, linux@roeck-us.net, joel@jms.id.au,
jk@ozlabs.org, alistair@popple.id.au,
Eddie James <eajames@linux.ibm.com>
Subject: [PATCH 0/2] fsi and hwmon (occ): Prevent occasional checksum failures
Date: Mon, 21 Mar 2022 10:31:10 -0500 [thread overview]
Message-ID: <20220321153112.12199-1-eajames@linux.ibm.com> (raw)
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.
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 | 28 ++++++++++++++++++----------
2 files changed, 23 insertions(+), 12 deletions(-)
--
2.27.0
next reply other threads:[~2022-03-21 15:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 15:31 Eddie James [this message]
2022-03-21 15:31 ` [PATCH 1/2] fsi: occ: Fix checksum failure mode Eddie James
2022-03-21 15:31 ` [PATCH 2/2] hwmon (occ): Retry for checksum failure Eddie James
2022-04-24 17:18 ` Guenter Roeck
2022-04-25 9:10 ` David Laight
2022-04-26 15:46 ` Eddie James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220321153112.12199-1-eajames@linux.ibm.com \
--to=eajames@linux.ibm.com \
--cc=alistair@popple.id.au \
--cc=jdelvare@suse.com \
--cc=jk@ozlabs.org \
--cc=joel@jms.id.au \
--cc=linux-fsi@lists.ozlabs.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.