From: Greg KH <gregkh@linuxfoundation.org>
To: Richard Weinberger <richard@nod.at>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>
Subject: Re: [GIT PULL] Staging driver patches for 3.19-rc1
Date: Mon, 15 Dec 2014 11:32:22 -0800 [thread overview]
Message-ID: <20141215193222.GA9842@kroah.com> (raw)
In-Reply-To: <548F30D5.9020109@nod.at>
On Mon, Dec 15, 2014 at 08:04:53PM +0100, Richard Weinberger wrote:
> > Fact is, this is useful code, in this area. In the domain it is used
> > in, it works properly, and the abi is sufficient. Yes, it's ugly in
> > spaces, and insecure if used outside of Android, but that's ok for the
> > users of the code.
>
> Let's discuss this while having a few beers.
> It is going to be philosophic.
I'm all for beers and philosopic talk, sounds good :)
> >> Is there a change that Android will pick it up?
> >
> > Yes.
>
> So then wait until this happens and ignore binder.
I have been, for years now.
But the issue is, drivers/staging/ should not just be a "dumping ground"
for code. Code in there needs to either move forward in being cleaned
up and accepted, or it needs to be deleted.
This is the reason why I deleted the binder code from the tree a few
years ago. Turns out, that's the first commit vendors revert when they
make an android product. Then they add on a mis-match of patches on top
of it, bringing the code kind-of-up-to-date with the newer kernel, and
ship it. That has caused problems by people not knowing what to apply
and fix in order to handle abi changes.
So the code went back into staging, and got fixed up, and now that's as
far as I can take it without either deleting it, or moving it out of
staging. So I'm trying to move it out of staging.
Now I know this is a "special case" for stuff that might be "ugly".
Fact is, we are stuck with this user api due to ignoring this code for
many years on the community side, as well as Google not taking the time
and effort originally to push it upstream. There is fault on both sides
here, I agree.
And because of that, I'm willing to maintain this on our side. I have
confirmation that Google employees will also co-maintain it as well.
But the userspace api is something that we just have to live with, as
ugly as it is, until someone, who has the ability to commit to the
Android userspace side, does the work.
> > Since a few hundred million devices use it and we have userspace code
> > that relies on it and can't be changed?
>
> It is news to me that these devices use a mainline kernel.
They always start with a mainline kernel, and then usually add bsp
support on top of it. The non-bsp code in the Android tree these days
is very low.
thanks,
greg k-h
next prev parent reply other threads:[~2014-12-15 19:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 17:55 [GIT PULL] Staging driver patches for 3.19-rc1 Greg KH
2014-12-15 18:23 ` Richard Weinberger
2014-12-15 18:30 ` Greg KH
2014-12-15 18:36 ` Richard Weinberger
2014-12-15 18:44 ` Greg KH
2014-12-15 19:04 ` Richard Weinberger
2014-12-15 19:32 ` Greg KH [this message]
2014-12-28 17:52 ` Pavel Machek
2014-12-15 18:39 ` Christoph Hellwig
2014-12-15 18:41 ` Greg KH
2014-12-15 18:56 ` Greg KH
2014-12-16 9:35 ` Richard Weinberger
2014-12-17 9:28 ` Christoph Hellwig
2014-12-28 17:53 ` Andoid Binder sneaking in [was Re: [GIT PULL] Staging driver patches for 3.19-rc1] 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=20141215193222.GA9842@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=akpm@linux-foundation.org \
--cc=devel@linuxdriverproject.org \
--cc=linux-kernel@vger.kernel.org \
--cc=richard@nod.at \
--cc=torvalds@linux-foundation.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