From: Jeff Garzik <jeff@garzik.org>
To: Dan Williams <dan.j.williams@intel.com>
Cc: linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org,
Jacek Danecki <jacek.danecki@intel.com>
Subject: Re: [isci PATCH v3 1/4] libata: export ata_port suspend/resume infrastructure for sas
Date: Sat, 21 Apr 2012 02:26:04 -0400 [thread overview]
Message-ID: <4F9252FC.9020706@garzik.org> (raw)
In-Reply-To: <20120314071353.7223.5361.stgit@dwillia2-linux.jf.intel.com>
On 03/14/2012 03:13 AM, Dan Williams wrote:
> Reuse ata_port_{suspend|resume}_common for sas. This path is chosen
> over adding coordination between ata-tranport and sas-transport because
> libsas wants to revalidate the domain at resume-time at the host level.
> It can not validate links have resumed properly until libata has had a
> chance to perform its revalidation, and any sane placing of an ata_port
> in the sas-transport model would delay it's resumption until after the
> host.
>
> Export the common portion of port suspend/resume (bypass pm_runtime),
> and allow sas to perform these operations asynchronously (similar to the
> libsas async-ata probe implmentation). Async operation is determined by
> having an external, rather than stack based, location for storing the
> result of the operation.
>
> Reviewed-by: Jacek Danecki<jacek.danecki@intel.com>
> Signed-off-by: Dan Williams<dan.j.williams@intel.com>
> ---
> drivers/ata/libata-core.c | 58 ++++++++++++++++++++++++++++++++++++---------
> include/linux/libata.h | 11 +++++++++
> 2 files changed, 57 insertions(+), 12 deletions(-)
Now that libata's runtime PM problems seem to be fixed for the moment,
we can revisit port PM here. Just checking... Is this patch still needed?
next prev parent reply other threads:[~2012-04-21 6:26 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-14 7:13 [isci PATCH v3 0/4] isci: suspend/resume support+ Dan Williams
2012-03-14 7:13 ` [isci PATCH v3 1/4] libata: export ata_port suspend/resume infrastructure for sas Dan Williams
2012-04-21 6:26 ` Jeff Garzik [this message]
2012-04-22 1:06 ` Dan Williams
2012-03-14 7:13 ` [isci PATCH v3 2/4] libsas: drop sata port multiplier infrastructure Dan Williams
2012-03-14 7:14 ` [isci PATCH v3 3/4] libsas: suspend / resume support Dan Williams
2012-03-14 14:21 ` Alan Stern
2012-03-14 20:44 ` Dan Williams
2012-03-14 21:11 ` Alan Stern
2012-03-14 21:33 ` Dan Williams
2012-03-15 19:28 ` Williams, Dan J
2012-03-15 19:54 ` Alan Stern
2012-03-15 22:16 ` Williams, Dan J
2012-03-16 9:18 ` Jack Wang
2012-03-22 6:27 ` Williams, Dan J
2012-03-22 7:44 ` Jack Wang
2012-03-14 7:14 ` [isci PATCH v3 4/4] isci: enable BCN in sci_port_add_phy() Dan Williams
2012-03-22 6:48 ` [isci PATCH v3 0/4] isci: suspend/resume support+ Dan Williams
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=4F9252FC.9020706@garzik.org \
--to=jeff@garzik.org \
--cc=dan.j.williams@intel.com \
--cc=jacek.danecki@intel.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox