SPRZ429N July 2014 – July 2024 AM5726 , AM5728 , AM5729
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
TDA2x: 2.0, 1.1, 1.0
DRA75x, DRA74x: 2.0, 1.1, 1.0
AM572x: 2.0, 1.1