summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_jmicron.c
diff options
context:
space:
mode:
authorSuman Tripathi <stripathi@apm.com>2014-08-28 14:51:22 +0530
committerTejun Heo <tj@kernel.org>2014-09-06 11:27:15 +0900
commit0babe614b6b4c7d1d8e12d7a6dbdac6e2f0df8e2 (patch)
tree9b8a3801e8c01a369ea4d81e1486cf7ce7b3b40d /drivers/ata/pata_jmicron.c
parent0bed13bebd6c99d097796d2ca6c4f10fb5b2eabc (diff)
downloadtalos-op-linux-0babe614b6b4c7d1d8e12d7a6dbdac6e2f0df8e2.tar.gz
talos-op-linux-0babe614b6b4c7d1d8e12d7a6dbdac6e2f0df8e2.zip
ahci_xgene: Fix the link down in first attempt for the APM X-Gene SoC AHCI SATA host controller driver.
Due to HW errata the APM X-Gene AHCI SATA host controller reports link down even if the device presence is detected. This issue is due to speed negotiation failure. This patch implements the algorithm to retry the COMRESET if PxSTAT register reports device presence detected but PHY communication not established. The maximum retry attempts are 3. This patch also fixes the code to match the algorithm for the printing a warning message if the disparity error still exists after link up. Signed-off-by: Loc Ho <lho@apm.com> Signed-off-by: Suman Tripathi <stripathi@apm.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/pata_jmicron.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud