diff options
author | Richard Zhu <Richard.Zhu@freescale.com> | 2015-07-07 15:29:01 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:23:04 +0800 |
commit | 634a28baf81a54a6552e6f13d7dfc16128905ae4 (patch) | |
tree | 69e82d2134382645390e4ac67087050059c55651 /arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2-mqs.dts | |
parent | fbcbb58910d247c92fd5d840b0b4688bafae4f94 (diff) |
MLK-11444 ata: imx: cmd buf corruption errata bug fix
errata:
When a read command returns less data than specified in the PRDs (for
example, there are two PRDs for this command, but the device returns a
number of bytes which is less than in the first PRD), the second PRD of
this command is not read out of the PRD FIFO, causing the next command
to use this PRD erroneously.
workaround
- forces sg_tablesize = 1
- modified the sg_io function in block/scsi_ioctl.c to use a 64k buffer
allocated with dma_alloc_coherent during the probe in ahci_imx
- In order to fix the scsi/sata hang, when CD_ROM and HDD are
accessed simultaneously after the workaround is applied.
Do not go to sleep in scsi_eh_handler, when there is host failed.
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2-mqs.dts')
0 files changed, 0 insertions, 0 deletions