All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@ubuntu.com>
To: linux-ide@vger.kernel.org
Subject: Understanding staggered spinup
Date: Tue, 24 Sep 2013 10:56:48 -0400	[thread overview]
Message-ID: <5241A830.7030903@ubuntu.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I was looking at the libata code that handles the ahci staggered
spinup feature ( SSS ) and am confused as to how this feature can
possibly work.  Cross referencing the AHCI spec with the code, it
seems that the feature simply delays sending COMRESET and initializing
the sata link until we set the SUD bit rather than at power on.
According to the ATA specs though, a drive that powers up in standby
will remain there until given an explicit command ( either SET
FEATURES or a command that requires media access ).  In other words,
COMRESET will not cause the drive to spin up.

Does this feature not really work or am I missing something?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSQagwAAoJEJrBOlT6nu75M+wH/2s8N7HxNcnjNSmIAdotpVdS
qeKzK2nVu6sTtizcBTcnfYx9FXDDx3E0rNeU3Tgyk+DI0qDSs/faDAHBzly/hs0x
f88Nsr4c6DJkPqj+omDQ7dHLt0vAkLn9sfdCCUjm0WqINgklxcOZdmA1PKntPdNT
DSpMAo0QoT4PZDxOA6D866JjoQUi/OgKeMwTGrrnptzUoQVpXkWDXK5aFUkO3HmM
6LAoSmXipy7Jwaln2KYmQdhMyd4Zh+8BSB5SzVjCxYoNf33cVqA4lQ2H7bRQZJll
DEkEeSuexyJHce0TLiFDryG6aWenlqp5SnP/w0n95HQh5aD0cEZv3E6CAngBde8=
=hjty
-----END PGP SIGNATURE-----

                 reply	other threads:[~2013-09-24 17:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5241A830.7030903@ubuntu.com \
    --to=psusi@ubuntu.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.