|| ||Brian Swetland <swetland-AT-google.com> |
|| ||Greg KH <gregkh-AT-suse.de> |
|| ||Re: [linux-pm] [PATCH 0/8] Suspend block api (version 6) |
|| ||Thu, 13 May 2010 16:28:23 -0700|
|| ||"Woodruff, Richard" <r-woodruff2-AT-ti.com>,
Daniel Walker <dwalker-AT-fifo99.com>,
"Rafael J. Wysocki" <rjw-AT-sisk.pl>,
Matthew Garrett <mjg-AT-redhat.com>,
Paul Walmsley <paul-AT-pwsan.com>,
Arve HjÃ¸nnevÃ¥g <arve-AT-android.com>,
Tejun Heo <tj-AT-kernel.org>, Oleg Nesterov <oleg-AT-redhat.com>,
Tony Lindgren <tony-AT-atomide.com>,
Kevin Hilman <khilman-AT-deeprootsystems.com>,
Alan Stern <stern-AT-rowland.harvard.edu>,
"Theodore Ts'o" <tytso-AT-mit.edu>,
mark gross <mgross-AT-linux.intel.com>,
Arjan van de Ven <arjan-AT-infradead.org>,
Geoff Smith <geoffx.smith-AT-intel.com>,
"Cousson, Benoit" <b-cousson-AT-ti.com>,
Vitaly Wool <vitalywool-AT-gma|
|| ||Article, Thread
On Thu, May 13, 2010 at 3:46 PM, Greg KH <firstname.lastname@example.org> wrote:
> On Thu, May 13, 2010 at 05:33:58PM -0500, Woodruff, Richard wrote:
>> > From: email@example.com [mailto:linux-omap-
>> > firstname.lastname@example.org] On Behalf Of Greg KH
>> > Sent: Thursday, May 13, 2010 4:47 PM
>> > Also note that such a driver, without wakelocks, would never get tested,
>> > and so, things start quickly diverging.
>> Do wakelock enabled drivers require a wakelock aware user space to
>> function properly?
> Not that I can tell, but others might know more.
Drivers with correct wakelock usage will play nice with opportunistic suspend.
If you're not using opportunistic suspend, you probably don't need
wakelocks at all, and the driver (unless it's broken) should work just
fine for you.
>> If the driver is added you want to make sure the benefit is there and
>> testable for all userspaces.
Definitely. The fact that say the dsp audio driver or serial driver
on MSM use wakelocks to play nice with opportunistic suspend should
have no impact on, say, Debian-on-G1 which is not using that feature.
Debian would still be able to play audio or write to the serial port.
With wakelock support in the kernel, I'm able to maintain drivers that
(provided they meet the normal style, correctness, etc requirements)
that both can be submitted to mainline (yay!) and can ship on
production hardware as-is (yay!). Porting other linux based
environments to hardware like G1, N1, etc becomes that much easier
too, which hopefully makes various folks happy.
This helps get us ever closer to being able to build a
production-ready kernel for various android devices "out of the box"
from the mainline tree and gets me ever closer to not being in the
business of maintaining a bunch of SoC-specific
android-something-2.6.# trees, which seriously is not a business I
particularly want to be in.
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
to post comments)