diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-05-24 08:14:22 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-05-25 08:41:33 +0300 |
commit | be8a7f6ea0bc6da959ade37920c8a08a5d8e6874 (patch) | |
tree | cba71f1beb0e4ab476c6e26c90443bbde0fae4e6 /include/linux/fpga/fpga-mgr.h | |
parent | 75c6166ca8fe678bf785221449ad257eaa12cdc1 (diff) | |
download | linux-be8a7f6ea0bc6da959ade37920c8a08a5d8e6874.tar.xz |
fsi/fsi-master-gpio: Implement CRC error recovery
The FSI protocol defines two modes of recovery from CRC errors,
this implements both:
- If the device returns an ECRC (it detected a CRC error in the
command), then we simply issue the command again.
- If the master detects a CRC error in the response, we send
an E_POLL command which requests a resend of the response
without actually re-executing the command (which could otherwise
have unwanted side effects such as dequeuing a FIFO twice).
OpenBMC-Staging-Count: 1
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Christopher Bostic <cbostic@linux.vnet.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions