<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/android/uapi, branch v4.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-09-29T02:22:31Z</updated>
<entry>
<title>staging: android: Fix checkpatch block comments warnings</title>
<updated>2015-09-29T02:22:31Z</updated>
<author>
<name>Sriram Raghunathan</name>
<email>sriram@marirs.net.in</email>
</author>
<published>2015-09-22T17:05:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7e4161747bc6e1e40d0a45dc9ad742d66f2a9fb1'/>
<id>urn:sha1:7e4161747bc6e1e40d0a45dc9ad742d66f2a9fb1</id>
<content type='text'>
This patch is intended to fix the checkpatch warning for ``block``
comments for staging/android driver.

Signed-off-by: Sriram Raghunathan &lt;sriram@marirs.net.in&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: fixed multiple spelling errors.</title>
<updated>2015-05-08T07:23:58Z</updated>
<author>
<name>Carlos E. Garcia</name>
<email>carlos@cgarcia.org</email>
</author>
<published>2015-04-24T13:40:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=69e98df78271a71b688706dccf2ad4544d63a274'/>
<id>urn:sha1:69e98df78271a71b688706dccf2ad4544d63a274</id>
<content type='text'>
Fixed multiple spelling errors.

Signed-off-by: Carlos E. Garcia &lt;carlos@cgarcia.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: Remove the Android alarm-dev driver</title>
<updated>2015-01-25T12:10:10Z</updated>
<author>
<name>John Stultz</name>
<email>john.stultz@linaro.org</email>
</author>
<published>2015-01-20T21:42:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5da41e925656649fd970f0c205eee5fda887dc24'/>
<id>urn:sha1:5da41e925656649fd970f0c205eee5fda887dc24</id>
<content type='text'>
The functionality provided by the Android alarm-dev driver
should now be present in the timerfd interface (thanks to
Greg Hackmann and Todd Poynor).

As of Lollipop, AOSP can make use of the timerfd if
alarm-dev is not present (though a fixup for setting the
rtc time if rtc0 isn't the backing for _ALARM clockids has
been applied post-Lollipop).

Thus, we should be able to remove alarm-dev from staging.

Cc: Greg Hackmann &lt;ghackmann@google.com&gt;
Cc: Elliott Hughes &lt;enh@google.com&gt;
Cc: Todd Poynor &lt;toddpoynor@google.com&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Acked-by: Mark Salyzyn &lt;salyzyn@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: binder: move to the "real" part of the kernel</title>
<updated>2014-10-20T02:30:15Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2014-10-16T12:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=777783e0abae3cab7555bb182776f9ffaa35631a'/>
<id>urn:sha1:777783e0abae3cab7555bb182776f9ffaa35631a</id>
<content type='text'>
The Android binder code has been "stable" for many years now.  No matter
what comes in the future, we are going to have to support this API, so
might as well move it to the "real" part of the kernel as there's no
real work that needs to be done to the existing code.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: fix attribute as suggested by checkpatch</title>
<updated>2014-08-17T16:50:44Z</updated>
<author>
<name>Purnendu Kapadia</name>
<email>pro8linux@gmail.com</email>
</author>
<published>2014-08-15T17:20:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2fd2914a2e456048e2a176185cb8e7576def452c'/>
<id>urn:sha1:2fd2914a2e456048e2a176185cb8e7576def452c</id>
<content type='text'>
we should use __packed attribute

Signed-off-by: Purnendu Kapadia &lt;pro8linux@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: uapi: fix coding style</title>
<updated>2014-04-17T03:17:31Z</updated>
<author>
<name>Seunghun Lee</name>
<email>waydi1@gmail.com</email>
</author>
<published>2014-04-16T15:39:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=53d719f6a907ad7e2ca449fdaf9c9e175a623350'/>
<id>urn:sha1:53d719f6a907ad7e2ca449fdaf9c9e175a623350</id>
<content type='text'>
This patch fix checkpatch.pl warning and errors.

Signed-off-by: Seunghun Lee &lt;waydi1@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: binder: Support concurrent 32 bit and 64 bit processes.</title>
<updated>2014-02-25T00:29:40Z</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2014-02-21T22:40:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=da49889deb34d351cdd113f9d1607dbb830cb5bb'/>
<id>urn:sha1:da49889deb34d351cdd113f9d1607dbb830cb5bb</id>
<content type='text'>
For 64bit systems we want to use the same binder interface for 32bit and
64bit processes. Thus the size and the layout of the structures passed
between the kernel and the userspace has to be the same for both 32 and
64bit processes.

This change replaces all the uses of void* and size_t with
binder_uintptr_t and binder_size_t. These are then typedefed to specific
sizes depending on the use of the interface, as follows:
       * __u32 - on legacy 32bit only userspace
       * __u64 - on mixed 32/64bit userspace where all processes use the same
interface.

This change also increments the BINDER_CURRENT_PROTOCOL_VERSION to 8 and
hooks the compat_ioctl entry for the mixed 32/64bit Android userspace.

This patch also provides a CONFIG_ANDROID_BINDER_IPC_32BIT option for
compatability, which if set which enables the old protocol, setting
BINDER_CURRENT_PROTOCOL_VERSION to 7, on 32 bit systems.

Please note that all 64bit kernels will use the 64bit Binder ABI.

Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Serban Constantinescu &lt;serban.constantinescu@arm.com&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
[jstultz: Merged with upstream type changes. Various whitespace fixes
and longer Kconfig description for checkpatch. Included improved commit
message from Serban (with a few tweaks).]
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: binder: Fix ABI for 64bit Android</title>
<updated>2014-02-25T00:29:40Z</updated>
<author>
<name>Serban Constantinescu</name>
<email>serban.constantinescu@arm.com</email>
</author>
<published>2014-02-21T22:40:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=df24a2eaa1e2de82d3033e1f37f17ad9c9a1c58e'/>
<id>urn:sha1:df24a2eaa1e2de82d3033e1f37f17ad9c9a1c58e</id>
<content type='text'>
BC_REQUEST_DEATH_NOTIFICATION and BC_CLEAR_DEATH_NOTIFICATION were
defined with the wrong structure that did not match the code. Since a
binder pointer and handle are the same size on 32 bit systems, this
change does not affect them. The two commands claimed they were using
struct binder_ptr_cookie but they are using a 32bit handle and a pointer.

The main purpose of this patch is to add the binder_handle_cookie
struct so the service manager does not have to define its own version
(libbinder writes one field at a time so it does not use the struct).

On 32bit systems the payload size is the same as the size of struct
binder_ptr_cookie. On 64bit systems, the size does differ, and the
ioctl number does change. However, there are no known 64bit users of
this interface, and any 64bit systems will need the following patch to
run 32 bit processes anyway, so it is not expected that anyone will
ship a 64bit system without this change, so this change should not
affect any existing systems.

Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Serban Constantinescu &lt;serban.constantinescu@arm.com&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Serban Constantinescu &lt;serban.constantinescu@arm.com&gt;
[jstultz: Few 80+ col fixes for checkpatch, improved commit message
with help from Serban, and included rational from Arve's email]
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: Split uapi out of binder.h</title>
<updated>2014-02-18T19:03:28Z</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2014-02-17T21:58:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a3e9ddb77e79198bd5114552675be02136e07059'/>
<id>urn:sha1:a3e9ddb77e79198bd5114552675be02136e07059</id>
<content type='text'>
Move the userspace interface of binder.h to
drivers/staging/android/uapi/binder.h.

Cc: Greg KH &lt;gregkh@linuxfoundation.org&gt;
Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Colin Cross &lt;ccross@android.com&gt;
[jstultz: Worked out the collisions from some of the type changes
made upstream. Also minor commit subject tweak]
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>staging: android: split uapi out of sync.h and sw_sync.h</title>
<updated>2014-02-18T19:03:28Z</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2014-02-17T21:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=64907b94dab947f3f3fc96fe1ab810cbc12ca902'/>
<id>urn:sha1:64907b94dab947f3f3fc96fe1ab810cbc12ca902</id>
<content type='text'>
Move the userspace interfaces of sync.h and sw_sync.h to
drivers/staging/android/uapi/

Cc: Greg KH &lt;gregkh@linuxfoundation.org&gt;
Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Colin Cross &lt;ccross@android.com&gt;
[jstultz: Fixed up some conflicts from upstream spelling fixes]
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
