ahci_xgene: Fix the DMA state machine lockup for the ATA_CMD_PACKET PIO mode command.
authorSuman Tripathi <stripathi@apm.com>
Mon, 29 Dec 2014 03:22:47 +0000 (08:52 +0530)
committerTejun Heo <tj@kernel.org>
Mon, 5 Jan 2015 14:02:56 +0000 (09:02 -0500)
commit1102407bb714dcebb43f385335bcb72f6b8843bc
tree660b1ace45df70996de19cfdb7d8abca31fd7c69
parent5c0b8e0de76a86edb99e46612fd9d341b4c4fa0a
ahci_xgene: Fix the DMA state machine lockup for the ATA_CMD_PACKET PIO mode command.

This patch addresses the issue with ATA_CMD_PACKET pio mode
command for enumeration and device detection with ATAPI devices.
The X-Gene AHCI controller has an errata in which it cannot clear
the BSY bit after the PIO setup FIS. The dma state machine enters
CMFatalErrorUpdate state and locks up.

Signed-off-by: Suman Tripathi <stripathi@apm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_xgene.c