diff options
author | Ajish Koshy <[email protected]> | 2022-01-24 13:52:55 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-01-31 12:14:49 -0500 |
commit | c26b85ea16365079be8d206b20556a60a0c69ad4 (patch) | |
tree | 82eaac4ada83a7d7081c22bb12249a4785a3a1d9 /scripts/gdb/linux/clk.py | |
parent | 4db09593af0b0b4d7d4805ebb3273df51d7cc30d (diff) |
scsi: pm80xx: Fix double completion for SATA devices
Current code handles completions for SATA devices in mpi_sata_completion()
and mpi_sata_event().
However, at the time when any SATA event happens, for almost all the event
types, the command is still in the target. It is therefore incorrect to
complete the task in sata_event().
There are some events for which we get sata_completions, some need recovery
procedure and others abort. All the tasks must be completed via
sata_completion() path.
Removed the task done related code from sata_events(). For tasks where we
don't get completions, let top layer call abort() to abort the command post
timeout.
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Jack Wang <[email protected]>
Co-developed-by: Viswas G <[email protected]>
Signed-off-by: Viswas G <[email protected]>
Signed-off-by: Ajish Koshy <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions