Re: Why is the deferred initcall patch not mainline?

2014-11-01 Thread Nicolas Pitre
On Thu, 30 Oct 2014, Geert Uytterhoeven wrote: On Thu, Oct 30, 2014 at 12:49 AM, Tim Bird tim.b...@sonymobile.com wrote: The way the feature is expressed in the current code is that a set of drivers are marked for deferred initialization (I'll refer to this as issue 0). Then, at boot: 1)

Re: Why is the deferred initcall patch not mainline?

2014-11-01 Thread Nicolas Pitre
On Wed, 29 Oct 2014, Tim Bird wrote: I have been thinking about the points you made previously, and have given the problem space some more thought. I agree that as it stands this is a very niche solution, and it would be good to think about the broader picture and how things might be

Re: Why is the deferred initcall patch not mainline?

2014-10-27 Thread Nicolas Pitre
On Fri, 24 Oct 2014, Geert Uytterhoeven wrote: Several patches are linked from http://elinux.org/Deferred_Initcalls Latest version is http://elinux.org/images/5/51/0001-Port-deferred-initcalls-to-3.10.patch In the hope of providing some constructive and concrete feedback to this thread,

Re: Why is the deferred initcall patch not mainline?

2014-10-24 Thread Nicolas Pitre
On Fri, 24 Oct 2014, Rob Landley wrote: On 10/23/14 19:36, Nicolas Pitre wrote: As you know already, you can do anything you want on your own. That's granted by the GPL. I'm pretty sure I could have done anything I wanted on my own with System 6 unix in the 1970's (modulo being 7

RE: Why is the deferred initcall patch not mainline?

2014-10-23 Thread Nicolas Pitre
On Thu, 23 Oct 2014, Bird, Tim wrote: I'm not sure why this attention to reading the status. The salient feature here is that the initializations are deferred until user space tells the kernel to proceed. It's the initiation of the trigger from user-space that matters. The whole purpose

Re: Why is the deferred initcall patch not mainline?

2014-10-23 Thread Nicolas Pitre
On Thu, 23 Oct 2014, Alexandre Belloni wrote: On 23/10/2014 at 13:56:44 -0400, Nicolas Pitre wrote : On Thu, 23 Oct 2014, Bird, Tim wrote: I'm not sure why this attention to reading the status. The salient feature here is that the initializations are deferred until user space

RE: Why is the deferred initcall patch not mainline?

2014-10-23 Thread Nicolas Pitre
On Thu, 23 Oct 2014, Bird, Tim wrote: On Thursday, October 23, 2014 12:05 PM, Nicolas Pitre wrote: On Thu, 23 Oct 2014, Alexandre Belloni wrote: On 23/10/2014 at 13:56:44 -0400, Nicolas Pitre wrote : On Thu, 23 Oct 2014, Bird, Tim wrote: I'm not sure why this attention

Re: Why is the deferred initcall patch not mainline?

2014-10-23 Thread Nicolas Pitre
On Thu, 23 Oct 2014, Rob Landley wrote: On 10/23/14 14:05, Nicolas Pitre wrote: On Thu, 23 Oct 2014, Alexandre Belloni wrote: On 23/10/2014 at 13:56:44 -0400, Nicolas Pitre wrote : On Thu, 23 Oct 2014, Bird, Tim wrote: Why a trigger? I'm suggesting no trigger at all is needed

Re: Why is the deferred initcall patch not mainline?

2014-10-23 Thread Nicolas Pitre
On Thu, 23 Oct 2014, Rob Landley wrote: Doing hardware probing at low priorities can cause really _fun_ latency spikes in the system as something grabs a lock and then sleeps. (And doing this at the realtime scheduling where it won't do that translates those latency spikes into the

Re: Why is the deferred initcall patch not mainline?

2014-10-22 Thread Nicolas Pitre
On Wed, 22 Oct 2014, Rob Landley wrote: On 10/21/14 14:58, Nicolas Pitre wrote: On Tue, 21 Oct 2014, Bird, Tim wrote: I'm going to respond to several comments in this one message (sorry for the likely confusion) On Tuesday, October 21, 2014 9:31 AM, Nicolas Pitre [n

Re: Why is the deferred initcall patch not mainline?

2014-10-21 Thread Nicolas Pitre
On Tue, 21 Oct 2014, Grant Likely wrote: On Sat, Oct 18, 2014 at 9:11 AM, Bird, Tim tim.b...@sonymobile.com wrote: The answer is pretty easy, I think. I tried to mainline it once but failed, and didn't really try again. If it is being found useful, we should try to mainline it again,

RE: Why is the deferred initcall patch not mainline?

2014-10-21 Thread Nicolas Pitre
On Tue, 21 Oct 2014, Bird, Tim wrote: I'm going to respond to several comments in this one message (sorry for the likely confusion) On Tuesday, October 21, 2014 9:31 AM, Nicolas Pitre [n...@fluxnic.net] wrote: On Tue, 21 Oct 2014, Grant Likely wrote: On Sat, Oct 18, 2014 at 9:11 AM

Re: Expose system Serial Number to userspace.

2012-08-29 Thread Nicolas Pitre
On Wed, 29 Aug 2012, Brad Arnold wrote: Hi, I'm working on an embedded board which uses u-boot + linux. At manufacturing time, the device serial number will be programmed into OTP memory on NAND (probably from within u-boot). We'd like the linux kernel to make this serial number available

Re: Embedded Linux Flag Version

2010-11-09 Thread Nicolas Pitre
On Tue, 9 Nov 2010, Nicholas Mc Guire wrote: On Tue, 09 Nov 2010, Tim Bird wrote: On 11/09/2010 03:19 AM, Mike Frysinger wrote: On Thu, Nov 4, 2010 at 18:07, Tim Bird wrote: It was noted at the summit that several CE companies and embedded projects will be using (or are already

Re: Avoiding platform-specific callbacks in drivers?

2010-11-09 Thread Nicolas Pitre
On Tue, 9 Nov 2010, Bill Gatliff wrote: Let's say that on a given platform, I need to twiddle with a GPIO pin when a chip enters and exits suspend. What driver? What platform? This may depend on those. One way to do that is to hack the driver itself; a slightly less-inelegant way is to

Re: Recommendation for activating a deferred module init in the kernel

2008-06-18 Thread Nicolas Pitre
On Wed, 18 Jun 2008, Geert Uytterhoeven wrote: On Wed, 18 Jun 2008, Adrian Bunk wrote: On Wed, Jun 18, 2008 at 10:59:50AM +0100, David Woodhouse wrote: On Wed, 2008-06-18 at 10:57 +0200, Geert Uytterhoeven wrote: On Wed, 18 Jun 2008, Adrian Bunk wrote: You miss the size increase