Skip to contentSkip to conversation

Soft-reset on a FIS-Based-Switching AHCI interface

DISCUSSION Richard Crewe 2 participants 2 messages Sep 12, 2011 – Sep 14, 2011 libata

lore
Share & tools
lore
#0 lore raw

The AHCI spec. seems to indicate that a soft-reset can only be performed if FBS is disabled.

Looking at the LibATA and LibAHCI code at the moment, I can't see where this is done. The soft-reset happens during error recovery when the port re-enumerates devices.

Am I missing something or is this a _relatively_ less-well tested area of the LibATA/AHCI operation?

Signature · 3 lines
Richard Crewe, Software Engineer
PLX Technology Ltd. Registered in England, company number 2733820
Registered Address: 25 Milton Park, Abingdon, Oxfordshire. UK. OX14 4SH
#1 lore raw
Quoted 2 lines · Richard Crewe

The AHCI spec. seems to indicate that a soft-reset can only be performed if FBS is disabled.

Can you cite section numbers / specific references for this?

Quoted 6 lines

Looking at the LibATA and LibAHCI code at the moment, I can't see where this is done. The soft-reset happens during error recovery when the port re-enumerates devices.

Am I missing something or is this a _relatively_ less-well tested area of the LibATA/AHCI operation?

I cannot see where FBS is disabled for soft-reset, either.

FBS is pretty new, hasn't changed much at all since its initial implementation on an AMD reference board, and is (obviously) only used with PMPs. FBS is a pretty small subset of the total AHCI population, so I doubt the code is exercised heavily except for a very few, large storage installations.

Jeff