]> git.baikalelectronics.ru Git - kernel.git/commit
ahci: qoriq: report error when ecc register address is missing in dts
authorTang Yuantian <Yuantian.Tang@nxp.com>
Fri, 20 Jan 2017 06:59:35 +0000 (14:59 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 20 Jan 2017 13:31:14 +0000 (08:31 -0500)
commitef445489de12ff103c7556dd9d67267cb88bff53
tree51139123279dbae5939421293d94bcff80f496dd
parent88c3f32257d6d9d2038a050f1d6459d1d95d46d5
ahci: qoriq: report error when ecc register address is missing in dts

For ls1021a, and armv8 chasis 2 socs, sata ecc must be disabled.
If ecc register is not found in sata node in dts, report error.

This is a chip erratum described as bellow:
The Read DMA operations get early termination indication from the
controller. This issue is observed as CRC error in the status registers.
The issue is due to address collision at address 0 in the dual port
memory. The read is a dummy read to flush out the header, but due to
collision the controller logs the mbit error reported by the ECC check
logic. This results in the early termination of the Read DMA operation
by the controller. The issue happens to all the interface
speeds(GEN1/2/3) for all the products.

Workaround:
Disable ECC feature on those platforms.

Signed-off-by: Tang Yuantian <yuantian.tang@nxp.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_qoriq.c