Skip to content

Binder ABI updates for 64bit systems for staging-next

John Stultz lkml 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* Further tweak commit message to make it more clear the binder protocol version is increased only when the CONFIG_ANDROID_BINDER_IPC_32BIT option is disabled.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: binder: Fix ABI for 64bit Androiddrivers/staging/android/uapi/binder.h+11 -40 replies
2/3staging: binder: Support concurrent 32 bit and 64 bit processes.drivers/staging/android/Kconfig drivers/staging/android/binder.c drivers/staging/android/binder.h +2 more+213 -1490 replies
3/3staging: binder: Improve Kconfig entry for ANDROID_BINDER_IPC_32BITdrivers/staging/android/Kconfig+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/3] Binder ABI updates for 64bit systems for staging-next

Again, wanted to re-submit to staging-next two changes from the AOSP common.git android-3.10 branch, which provide ABI fixes and introduce a new ABI and protocol version for binder, along with compatibility support for existing systems.

This new ABI allows for both 32bit and 64bit applications to co-exist, which wasn't previously possible due to word size assumptions in the binder protocol.

Also included is a minor tweak from me to make the Kconfig compatibility entry a bit more clear.

The changes have been updated to improve their commit message since the last time they were submitted. Thanks to Arve for the extra context and Serban for help with the wording.

v2:
* Further tweak commit message to make it more clear the binder protocol version is increased only when the CONFIG_ANDROID_BINDER_IPC_32BIT option is disabled.

thanks
-john

Cc Greg KH <[email protected]>
Cc Colin Cross <[email protected]>
Cc Arve Hjønnevåg <[email protected]>
Cc Serban Constantinescu <[email protected]>
Cc Android Kernel Team <[email protected]>

Arve Hjønnevåg (1):
staging: binder: Support concurrent 32 bit and 64 bit processes.

John Stultz (1):
staging: binder: Improve Kconfig entry for ANDROID_BINDER_IPC_32BIT

Serban Constantinescu (1):
staging: binder: Fix ABI for 64bit Android

 drivers/staging/android/Kconfig        |  13 ++
 drivers/staging/android/binder.c       | 268 ++++++++++++++++++---------------
 drivers/staging/android/binder.h       |   4 +
 drivers/staging/android/binder_trace.h |  14 +-
 drivers/staging/android/uapi/binder.h  |  77 ++++++----
 5 files changed, 224 insertions(+), 152 deletions(-)
Signature · 1 line
1.8.3.2