linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Soft-reset on a FIS-Based-Switching AHCI interface
@ 2011-09-12 14:02 Richard Crewe
  2011-09-14  5:04 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Crewe @ 2011-09-12 14:02 UTC (permalink / raw)
  To: linux-ide

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?

-- 
Richard Crewe, Software Engineer
PLX Technology Ltd. Registered in England, company number 2733820
Registered Address: 25 Milton Park, Abingdon, Oxfordshire. UK. OX14 4SH


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Soft-reset on a FIS-Based-Switching AHCI interface
  2011-09-12 14:02 Soft-reset on a FIS-Based-Switching AHCI interface Richard Crewe
@ 2011-09-14  5:04 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2011-09-14  5:04 UTC (permalink / raw)
  To: Richard Crewe; +Cc: linux-ide, Shane Huang

On 09/12/2011 10:02 AM, Richard Crewe wrote:
> 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?


> 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-14  5:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-12 14:02 Soft-reset on a FIS-Based-Switching AHCI interface Richard Crewe
2011-09-14  5:04 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).