ahci: avoton port-disable reset-quirk
authorDan Williams <dan.j.williams@intel.com>
Fri, 8 May 2015 19:23:55 +0000 (15:23 -0400)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 10 Jun 2015 17:42:25 +0000 (13:42 -0400)
commitf91f6d2d91ba8d57affcc0ac1cbfc256a5f919fd
treef52a099129f2fcd476542a9285229d1190631b9a
parentd4842a5455e20003780bd81c429065756ed1ebcb
ahci: avoton port-disable reset-quirk

[ Upstream commit dbfe8ef5599a5370abc441fcdbb382b656563eb4 ]

Avoton AHCI occasionally sees drive probe timeouts at driver load time.
When this happens SCR_STATUS indicates device detected, but no D2H FIS
reception.  Reset the internal link state machines by bouncing
port-enable in the PCS register when this occurs.

Cc: <stable@vger.kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/ata/ahci.c