Home
last modified time | relevance | path

Searched hist:"0 babe614b6b4c7d1d8e12d7a6dbdac6e2f0df8e2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ata/
H A Dahci_xgene.cdiff 0babe614b6b4c7d1d8e12d7a6dbdac6e2f0df8e2 Thu Aug 28 04:21:22 CDT 2014 Suman Tripathi <stripathi@apm.com> 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>