]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ahci: Don't start command DMA engine before buffers are set
authorRoger Quadros <rogerq@ti.com>
Tue, 23 Sep 2014 15:07:01 +0000 (18:07 +0300)
committerTom Rini <trini@ti.com>
Fri, 10 Oct 2014 13:44:41 +0000 (09:44 -0400)
commit02590aa31cc282cffafac559032981094f716fa9
tree5c7bf6bad027640e56c3f071a1f27041427780fb
parent115e71f7da1f6fd96c20793842f5751897d9fdee
ahci: Don't start command DMA engine before buffers are set

The DMA/FIS buffers are set in ahci_port_start() which is called
after ahci_host_init(). So don't start the DMA engine here
(i.e. don't set FIS_RX)

This fixes the following error at kernel boot on OMAP platforms (e.g. DRA7x)
WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x260/0x358()
44000000.ocp:L3 Custom Error: MASTER SATA TARGET GPMC (Idle): Data Access in User mode during Functional access

Signed-off-by: Roger Quadros <rogerq@ti.com>
drivers/block/ahci.c