linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aaron Lu <aaron.lu@intel.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-ide@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-acpi@vger.kernel.org, Aaron Lu <aaron.lwe@gmail.com>,
	Jeff Wu <jeff.wu@amd.com>
Subject: Re: [PATCH] libata: pm: differentiate system and runtime pm for ata port
Date: Tue, 22 Jan 2013 16:48:54 +0800	[thread overview]
Message-ID: <20130122084854.GA26256@aaronlu.sh.intel.com> (raw)
In-Reply-To: <50FDA8B3.6090100@pobox.com>

On Mon, Jan 21, 2013 at 03:44:35PM -0500, Jeff Garzik wrote:
> On 08/28/2012 04:49 AM, Aaron Lu wrote:
> >For sata port, only runtime pm needs to be taken care of;
> >For IDE port, only system pm needs to be taken care of.
> >Currently, we use PMSG_SUSPEND for both system suspend and runtime
> >suspend and PMSG_ON for both system resume and runtime resume.
> >
> >Change this by using PMSG_AUTO_SUSPEND for runtime suspend and
> >PMSG_AUTO_RESUME for runtime resume.
> >
> >The ata_acpi_set_state is modified accordingly. And the sata case and
> >pata case is seperated for easy understanding.
> >
> >Signed-off-by: Aaron Lu <aaron.lu@intel.com>
> >---
> >  drivers/ata/libata-acpi.c | 83 ++++++++++++++++++++++++++++++++---------------
> >  drivers/ata/libata-core.c | 22 +++++++++----
> >  drivers/ata/libata-eh.c   |  9 ++---
> >  3 files changed, 78 insertions(+), 36 deletions(-)
> 
> 
> Can you rediff this on top of libata-dev.git #upstream?

Sure. Will send out when it's ready, thanks.

-Aaron


  reply	other threads:[~2013-01-22  8:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1346143791-2995-1-git-send-email-aaron.lu@intel.com>
2013-01-21 20:44 ` [PATCH] libata: pm: differentiate system and runtime pm for ata port Jeff Garzik
2013-01-22  8:48   ` Aaron Lu [this message]
2013-01-25  6:29   ` [PATCH v2 1/2] " Aaron Lu
2013-01-25  6:32     ` [PATCH v2 2/2] libata: PM code cleanup " Aaron Lu
2013-01-25 11:33       ` Sergei Shtylyov
2013-01-25 12:29         ` Rafael J. Wysocki
2013-01-25 20:34       ` Jeff Garzik

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=20130122084854.GA26256@aaronlu.sh.intel.com \
    --to=aaron.lu@intel.com \
    --cc=aaron.lwe@gmail.com \
    --cc=jeff.wu@amd.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-pm@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;
as well as URLs for NNTP newsgroup(s).