linux/drivers/scsi/pm8001
Viswas G ec2e7e1aff scsi: pm80xx: Fix driver fatal dump failure
The function pm80xx_get_fatal_dump() has two issues that result in the
fatal dump not being able to complete successfully.

 1. Trying to collect fatal_logs from the application fails because we are
    not shifting the MEMBASE-II register properly. Once we read 64K region
    of data we have to shift the MEMBASE-II register and read the next
    chunk. Only then would we be able to get complete data.

 2. If a timeout occurs, our application will get stuck.

Link: https://lore.kernel.org/r/20210109123849.17098-6-Viswas.G@microchip.com
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Viswas G <Viswas.G@microchip.com>
Signed-off-by: Ruksar Devadi <Ruksar.devadi@microchip.com>
Signed-off-by: Ashokkumar N <Ashokkumar.N@microchip.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-01-13 00:02:01 -05:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pm80xx_hwi.c scsi: pm80xx: Fix driver fatal dump failure 2021-01-13 00:02:01 -05:00
pm80xx_hwi.h scsi: pm80xx: Check for fatal error 2021-01-13 00:02:01 -05:00
pm8001_chips.h
pm8001_ctl.c scsi: pm8001: Neaten debug logging macros and uses 2020-11-23 22:22:11 -05:00
pm8001_ctl.h [SCSI] pm80xx: Firmware logging support. 2013-10-25 09:58:16 +01:00
pm8001_defs.h scsi: pm80xx: Increase the number of outstanding I/O supported to 1024 2020-10-07 23:50:04 -04:00
pm8001_hwi.c scsi: pm80xx: Fix missing tag_free in NVMD DATA req 2021-01-13 00:02:01 -05:00
pm8001_hwi.h scsi: pm80xx: Fix for phy enable/disable functionality 2018-09-11 21:13:08 -04:00
pm8001_init.c scsi: pm80xx: Check main config table address 2021-01-13 00:02:01 -05:00
pm8001_sas.c scsi: pm80xx: Check for fatal error 2021-01-13 00:02:01 -05:00
pm8001_sas.h scsi: pm80xx: Check for fatal error 2021-01-13 00:02:01 -05:00