All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: jeff@garzik.org, linux-ide@vger.kernel.org, arjan@linux.intel.com
Subject: Re: [patch 2/2] libata: power off unused ports
Date: Fri, 28 Mar 2008 10:00:52 -0700	[thread overview]
Message-ID: <20080328100052.70c8c55c@appleyard> (raw)
In-Reply-To: <87fxubl2dv.fsf@basil.nowhere.org>

On 28 Mar 2008 08:43:40 +0100
Andi Kleen <andi@firstfloor.org> wrote:

> Kristen Carlson Accardi <kristen.c.accardi@intel.com> writes:
> 
> > If a port doesn't support hot plug, there's no reason to keep the phy powered
> > on unoccupied ports.  
> 
> Would it be possible to add some writable sysfs attribute for this too?
> 
> A lot of ports support hot plug, but the users knows they will never actually
> hot plug anything there. Exposing it to sysfs would make sense so 
> someone could make a conscious decision to save these watts by sacrifying
> hotplug-support.
> 
> -Andi
> 

I had thought about extending the sysfs interface for link power 
management to include a new value: off.  Right now we have
min_power, medium_power, and max_performance - we could add
a value for just "off" which means the port is inactive -
but then we'd have to change all the sysfs stuff to check
and see if the user is turning the port back on after it's
been off and then re-init everything, so it might be a large
effort, so if we did that I'd say it should be a separate
effort from this patch series.

  reply	other threads:[~2008-03-28 17:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080325221646.567639335@intel.com>
2008-03-25 22:28 ` [patch 1/2] ahci: Dont start port DMA engines unless a device is present Kristen Carlson Accardi
2008-04-12  4:21   ` Jeff Garzik
2008-03-25 22:28 ` [patch 2/2] libata: power off unused ports Kristen Carlson Accardi
2008-03-28  7:43   ` Andi Kleen
2008-03-28 17:00     ` Kristen Carlson Accardi [this message]
2008-04-12  4:28   ` Jeff Garzik
2008-04-14 23:11     ` Kristen Carlson Accardi
2008-04-15 19:02       ` Mark Lord
2008-04-24 17:45         ` 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=20080328100052.70c8c55c@appleyard \
    --to=kristen.c.accardi@intel.com \
    --cc=andi@firstfloor.org \
    --cc=arjan@linux.intel.com \
    --cc=jeff@garzik.org \
    --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.