]> git.karo-electronics.de Git - linux-beck.git/commit
ahci: qoriq: Update the default Rx watermark value
authorTang Yuantian <Yuantian.Tang@freescale.com>
Wed, 16 Dec 2015 05:43:50 +0000 (13:43 +0800)
committerTejun Heo <tj@kernel.org>
Wed, 16 Dec 2015 15:24:35 +0000 (10:24 -0500)
commite3a6dadc6dca64f464238f8a36876c610400eef9
treef9eebe97b8aeda0692aba16c45302aeb31e8ce3f
parentef0cc7fef4721aa19663da7475c8b862f0a35e0b
ahci: qoriq: Update the default Rx watermark value

The PTC[RXWM] sets the watermark value for Rx FIFO. The default
value 0x20 might be insufficient for some hard drives. If the
watermark value is too small, a single-cycle overflow may occur
and is reported as a CRC or internal error in the PxSERR register.
Updated the value to 0x29 according to the validation test.
All LS platforms are affected.

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