From: Jeff Garzik <jeff@garzik.org>
To: kristen.c.accardi@intel.com
Cc: linux-ide@vger.kernel.org, linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: [patch 1/2] allow user to power off unused ports via sysfs
Date: Fri, 04 Jul 2008 08:58:12 -0400 [thread overview]
Message-ID: <486E1E64.6090506@garzik.org> (raw)
In-Reply-To: <20080702161401.0fac6613@appleyard>
kristen.c.accardi@intel.com wrote:
> This patch expands the definition of link power management to
> include the notion of simply powering the entire port off.
> We add a new valid value for link_power_management_policy:
>
> power_off: phy is not on at all.
> min_power: driver uses minimum possible power. hotplug
> may or may not be available.
> medium_power: best power/performance tradeoff. hotplug
> may or may not be available
> max_performance: max performance without regard to power
> hot plug is available.
>
> Additionally - this patch modifies the libata-core to
> power off the port automatically at init time if the
> driver marks the port as not hotpluggable.
>
> The user may not power off a port if it is occupied.
> If the port is powered off, and a new drive is plugged
> in, the drive will not be detected until the port is
> powered back up by setting the link_power_management_policy
> to "max_performance".
>
> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
> ---
> drivers/ata/libata-core.c | 58 +++++++++++++++++++++++++++++++++++++++++++++-
> drivers/ata/libata-scsi.c | 1
> include/linux/libata.h | 2 +
> 3 files changed, 60 insertions(+), 1 deletion(-)
Looks good to me, ACK.
I'm apply soonish, unless there are other complaints.
next prev parent reply other threads:[~2008-07-04 12:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080702225743.518230210@intel.com>
2008-07-02 23:14 ` [patch 1/2] allow user to power off unused ports via sysfs kristen.c.accardi
2008-07-04 12:58 ` Jeff Garzik [this message]
2008-07-11 13:50 ` Jeff Garzik
2008-07-02 23:14 ` [patch 2/2] set default of ahci driver to power off unused ports kristen.c.accardi
2008-07-04 13:02 ` Jeff Garzik
2008-09-28 21:58 [patch 1/2] allow user to power off unused ports via sysfs Jeffrey W. Baker
2008-09-29 23:49 ` Kristen Carlson Accardi
2008-10-15 16:43 ` Kristen Carlson Accardi
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=486E1E64.6090506@garzik.org \
--to=jeff@garzik.org \
--cc=kristen.c.accardi@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 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.