[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131205184940.GA10660@kroah.com>
Date: Thu, 5 Dec 2013 10:49:40 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Serban Constantinescu <Serban.Constantinescu@....com>
Cc: Arve Hjønnevåg <arve@...roid.com>,
Colin Cross <ccross@...roid.com>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
Ian Rogers <irogers@...gle.com>,
lkml <linux-kernel@...r.kernel.org>,
John Stultz <john.stultz@...aro.org>,
Dave Butcher <Dave.Butcher@....com>,
"romlem@...roid.com" <romlem@...roid.com>
Subject: Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer
On Thu, Dec 05, 2013 at 06:31:25PM +0000, Serban Constantinescu wrote:
> Hi all,
>
> Thanks for your feedback! Sadly enough, being in a different
> time-zone, is not useful.
>
> Sorry for the confusion related to why is this patch needed or not. I
> should highlight a bit more what is the patch enabling and what
> would be the different alternatives, at least from my perspective.
>
> *64bit kernel/ 32bit userspace*
>
> This patch series adds support for 32bit userspace running on 64bit
> kernels. Thus by applying this patch to your kernel you will be able
> to use any existing 32bit Android userspace on your 64bit platform,
> running a 64bit kernel. That is pure 32bit userspace with no 64bit
> support!
>
> This means *no modifications to the 32bit userspace*. Therefore any
> applications or userspace side drivers, that uses the binder
> interface at a native level will not have to be modified. These kind
> of applications are not "good citizens" - the native binder API is
> not exposed in the Android NDK. However I do not know how many
> applications do this and if breaking the compatibility is a concernt
> for 32bit userspace running on 64bit kernels.
Um, I thought we were assured that the _only_ user of the kernel binder
interface was libbinder. If other programs are touching this interface
"directly", you have bigger problems then just a 32/64 bit issue, and
that needs to be fixed.
In other words, you should be totally safe in modifying libbinder as
well as the kernel interface at the same time.
Now if you really want to do that or not is another issue, but it should
be possible (and in my opinion, the better option...)
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists