linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Paul Gortmaker" <paul.gortmaker@gmail.com>
To: vb <vb@vsbe.com>
Cc: Linux Embedded Maillist <linux-embedded@vger.kernel.org>, corbet@lwn.net
Subject: Re: Adding a new platform
Date: Wed, 20 Aug 2008 00:29:45 -0400	[thread overview]
Message-ID: <7d1d9c250808192129j3fb7ef28p8f404c6affd82078@mail.gmail.com> (raw)
In-Reply-To: <f608b67d0808192057w29988500o2793dfb7f0c99314@mail.gmail.com>

On Tue, Aug 19, 2008 at 11:57 PM, vb <vb@vsbe.com> wrote:
> On Tue, Aug 19, 2008 at 8:19 PM, Paul Gortmaker
> <paul.gortmaker@gmail.com> wrote:
>> On Tue, Aug 19, 2008 at 2:01 PM, David VomLehn <dvomlehn@cisco.com> wrote:
>>> I'm working to educate our management on the need to get our platform in the
>>> kernel mainline. I expect I will be asked to tell them how much work this
>>> is. What do we need to do to add a new MIPS platform?
>>
>> Based on the phrase "educate our management"  -- I would strongly suggest you
>> have a look at Jonathan Corbet's document that describes the process and the
>> eventual value-add of having things in-kernel -- with an audience of non-kernel
>> hackers in mind.  I think this will really assist you in your efforts,
>> and I'm glad that
>> Jonathan put the time into this that he did.
>>
>> His original post can be viewed here:
>>
>> http://lkml.org/lkml/2008/7/29/363
>>
>> or here:
>>
>> http://lwn.net/Articles/291967/
>>
>
> This indeed is a very interesting document. I can hardly agree with
> the below point, however:
>
> +- While kernel developers strive to maintain a stable interface to user
> +  space, the internal kernel API is in constant flux.  The lack of a stable
> +  internal interface is a deliberate design decision; it allows fundamental
> +  improvements to be made at any time and results in higher-quality code.
> +  But one result of that policy is that any out-of-tree code requires
> +  constant upkeep if it is to work with new kernels.  Maintaining
> +  out-of-tree code requires significant amounts of work just to keep that
> +  code working.
>
> so, say a developer submits a proprietary driver and it gets accepted.

Doesn't happen.  By design.  If the driver is proprietary then it is presumably
not meant for open distribution, and hence not compatible with GPL and
widespread distribution into 100,000 public git repositories.  So it won't
get submitted and it won't get accepted.

> Then some internal kernel interface gets changed. Who now has to
> modify and retest the driver? Is it the person who introduces the
> change (how can he even do this, as he does not have the proprietary
> hardware available)? Or is this the original submitter - then where is
> the benefit of saving on upkeep?

I'd suggest you feed google "stable API nonsense" and continue reading
from there if you are interested in the topic.

Paul.

>
> This constant change of the kernel innards is hardly a good selling
> point, would you agree?
>
> cheers,
> /vb
>

  reply	other threads:[~2008-08-20  4:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-19 18:01 Adding a new platform David VomLehn
2008-08-19 18:22 ` Ralf Baechle
2008-08-20  3:19 ` Paul Gortmaker
2008-08-20  3:57   ` vb
2008-08-20  4:29     ` Paul Gortmaker [this message]
2008-08-20  5:15       ` vb
2008-08-20  8:10         ` Haavard Skinnemoen
2008-08-20 15:39           ` vb
2008-08-21  3:02         ` Charles Manning
2008-08-21  8:40           ` David Woodhouse
2008-08-21  8:46           ` Geert Uytterhoeven
2008-08-21  8:48             ` David Woodhouse
2008-08-22  4:53             ` Phillip Lougher
2008-08-22  7:25               ` Peter Korsgaard
2008-08-20  4:44     ` Paul Mundt

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=7d1d9c250808192129j3fb7ef28p8f404c6affd82078@mail.gmail.com \
    --to=paul.gortmaker@gmail.com \
    --cc=corbet@lwn.net \
    --cc=linux-embedded@vger.kernel.org \
    --cc=vb@vsbe.com \
    /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;
as well as URLs for NNTP newsgroup(s).