]> git.baikalelectronics.ru Git - kernel.git/commit
ahci_xgene: Implement the workaround to support PMP enumeration and discovery.
authorSuman Tripathi <stripathi@apm.com>
Tue, 6 Jan 2015 10:02:16 +0000 (15:32 +0530)
committerTejun Heo <tj@kernel.org>
Tue, 6 Jan 2015 13:38:25 +0000 (08:38 -0500)
commita0408f36f76e7534d7d4d3e3447669591198a1dd
tree716bfc911157bf8d68b32d74c883485f66afdfe9
parentf971d4542f1eab9ccc4034ce9f62ba7d3b18db0b
ahci_xgene: Implement the workaround to support PMP enumeration and discovery.

Due to H/W errata, the controller is unable to save the PMP
field fetched from command header before sending the H2D FIS.
When the device returns the PMP port field in the D2H FIS, there is
a mismatch and results in command completion failure. The workaround
is to write the pmp value to PxFBS.DEV field before issuing any command
to PMP.

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