SPRZ397K November 2012 – September 2024 TDA2EG-17 , TDA2HF , TDA2HG , TDA2HV , TDA2LF , TDA2SA , TDA2SG , TDA2SX
SATA AHCI Command Issue Order
Low
Advanced host controller Interface (AHCI) specification defines up to 32 command slots per port.
AHCI defines the highest priority slot as (pSlotLoc+1) mod MaxSlots, where pSlotLoc is the last slot from which a command was issued and MaxSlots is the number of slots per port (32 in this case).
The device implementation treats command slot 0 as the highest-priority slot and slot 31 as the lowest-priority slot.
Example:
Assuming that the last command was issued from slot 17 (and SATA_PxCI[31:0] CI contained 0 at an earlier time), when SATA_PxCI[31:0] CI is set to 0xFFFF FFFF, the command issue order should be 18, 19, 20 ... 31, 0, 1, 2 ... 17.
Instead, we observe 0, 1, 2, 3 ... 31.
This is a bug in the SATA controller.
No workaround is available. Implementation does not conform to AHCI specifications, but it does not affect a major functionality of SATA.
SR 2.0, 1.1, 1.0
TDA2x: 2.0, 1.1, 1.0
DRA75x, DRA74x: 2.0, 1.1, 1.0
AM572x: 2.0, 1.1