linux/drivers/fsi
Eddie James 3dcf3c84f5 fsi: occ: Improve response status checking
If the driver sequence number coincidentally equals the previous
command response sequence number, the driver may proceed with
fetching the entire buffer before the OCC has processed the current
command. To be sure the correct response is obtained, check the
command type and also retry if any of the response parameters have
changed when the rest of the buffer is fetched. Also initialize the
driver with a random sequence number in order to reduce the chances
of this happening.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20220208152235.19686-1-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-02-21 19:37:03 +10:30
..
cf-fsi-fw.h fsi: cf-fsi-fw: Use the correct style for SPDX License Identifier 2019-06-19 19:35:51 +02:00
fsi-core.c fsi: core: Fix return of error values on failures 2021-06-04 14:11:48 +09:30
fsi-master-aspeed.c fsi: Aspeed: Reduce poll timeout 2021-06-04 15:00:01 +09:30
fsi-master-ast-cf.c fsi: master-ast-cf: Remove redundant error printing in fsi_master_acf_probe() 2021-06-04 15:02:55 +09:30
fsi-master-gpio.c fsi: Add missing MODULE_DEVICE_TABLE 2021-06-04 14:10:45 +09:30
fsi-master-hub.c fsi: master: Constify hub_master_ids 2020-09-10 12:22:50 +09:30
fsi-master.h fsi: master: Add boolean parameter to link_enable function 2020-09-10 12:22:47 +09:30
fsi-occ.c fsi: occ: Improve response status checking 2022-02-21 19:37:03 +10:30
fsi-sbefifo.c fsi: sbefifo: Use interruptible mutex locking 2021-10-22 09:54:33 +10:30
fsi-scom.c fsi: scom: Remove retries in indirect scoms 2022-01-31 15:56:55 +10:30
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile fsi: Add ast2600 master driver 2019-11-08 11:28:20 +01:00