diff options
author | Viswas G <Viswas.G@microchip.com> | 2021-01-09 18:08:46 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-13 00:02:01 -0500 |
commit | ec2e7e1afff5a8a0d91b85e74a0d1e40a0cedacd (patch) | |
tree | 9a658b426652b256662c494d7342b83c5068b274 /arch/csky | |
parent | 5d28026891c7041deec08cc5ddd8f3abd90195e1 (diff) | |
download | linux-ec2e7e1afff5a8a0d91b85e74a0d1e40a0cedacd.tar.bz2 |
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>
Diffstat (limited to 'arch/csky')
0 files changed, 0 insertions, 0 deletions