From: "Jeffrey W. Baker" <jwbaker@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Put unused PCI devices in D3
Date: Mon, 29 Sep 2008 13:11:03 -0700 [thread overview]
Message-ID: <1222719064.19236.129.camel@squeak.gghcwest.com> (raw)
My laptop computer has half a dozen unused PCI devices that could be put
in the D3 power state, but they loiter in D0. The audio codec, the
ethernet adapter, the unused PCI Express port, all the USB controllers,
the IEEE1394 controller, the SD/MMC card controller, and the cardbus
bridge all support D3(hot) power state.
Currently it looks to me from browsing the code that D3 is only used in
Linux when the whole machine is headed for S3, and the drivers are asked
to suspend. I think the drivers should be able to enter D3 in other
circumstances:
* During pci_unregister_driver ... i.e. on module unload
* When a network interface is downed
* If the device is a bridge or hub with no downstream device
* Whenever userspace requests D3 via sysfs
So, what fundamental problem prevents me from, for example, calling
pci_set_power_state() from ohci1394's __exit?
-jwb
next reply other threads:[~2008-09-29 20:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-29 20:11 Jeffrey W. Baker [this message]
2008-09-30 0:09 ` Matthew Garrett
2008-09-30 0:55 ` Jeffrey W. Baker
2008-09-30 1:06 ` Matthew Garrett
2008-10-03 19:40 ` Pavel Machek
2008-10-03 19:37 ` Pavel Machek
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=1222719064.19236.129.camel@squeak.gghcwest.com \
--to=jwbaker@gmail.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®