All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben-i2c-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>
To: Linus Walleij <linus.ml.walleij-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Ben Dooks <ben-i2c-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>,
	Mike Rapoport <mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] i2c-mv64xxx: use subsys_initcall for early initialization
Date: Wed, 29 Sep 2010 00:11:43 +0100	[thread overview]
Message-ID: <20100928231143.GP21564@trinity.fluff.org> (raw)
In-Reply-To: <AANLkTi=gtXJ8zQt2kTSCCy7=Zc4R-8BDp=Z8w7u8_ua+-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Thu, Sep 23, 2010 at 09:11:00AM +0200, Linus Walleij wrote:
> 2010/9/15 Ben Dooks <ben-i2c-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>:
> > On Sun, Sep 12, 2010 at 11:35:29AM +0200, Mike Rapoport wrote:
> >> Signed-off-by: Mike Rapoport <mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
> >> ---
> >>  drivers/i2c/busses/i2c-mv64xxx.c |    2 +-
> >>  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > We really should have an i2c_initcall, but it may be difficult to move
> > everyone over to it. What would be lovely is some form of dependency
> > based initialisation, but that's probably a way off...
> 
> SPI, SDIO and other external busses (Dallas 1-wire? w1) may all have
> the same "needs to be up early because we need that before that"
> type of problem.
> 
> Makes me think of crazy things like putting a lightweight version of
> Lennars Pötterings "systemd" scheme into the kernel for resolving
> these initcalls.

Either that, or build stuff as modules and use an initrd...

Not sure what the best solution is...

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

      parent reply	other threads:[~2010-09-28 23:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-12  9:35 [PATCH] i2c-mv64xxx: use subsys_initcall for early initialization Mike Rapoport
     [not found] ` <1284284129-28105-1-git-send-email-mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2010-09-14 23:25   ` Ben Dooks
     [not found]     ` <20100914232547.GD7494-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org>
2010-09-15 13:43       ` Mike Rapoport
     [not found]         ` <4C90CD6C.60100-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2010-09-15 13:49           ` Mark Brown
2010-09-23  7:11       ` Linus Walleij
     [not found]         ` <AANLkTi=gtXJ8zQt2kTSCCy7=Zc4R-8BDp=Z8w7u8_ua+-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-23 12:29           ` Mark Brown
2010-09-28 23:11           ` Ben Dooks [this message]

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=20100928231143.GP21564@trinity.fluff.org \
    --to=ben-i2c-elnmno+kys3ytjvyw6ydsg@public.gmane.org \
    --cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
    --cc=linus.ml.walleij-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mike-UTxiZqZC01RS1MOuV/RT9w@public.gmane.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.