Skip to content

Sync upstream binder code with android-4.9 tree

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8binder: Split flat_binder_objectdrivers/android/binder.c include/uapi/linux/android/binder.h+137 -520 replies
2/8binder: Support multiple context managersdrivers/android/binder.c+38 -210 replies
3/8binder: Deal with contexts in debugfsdrivers/android/binder.c+23 -130 replies
4/8binder: Support multiple /dev instancesdrivers/android/Kconfig drivers/android/binder.c+84 -110 replies
5/8binder: Refactor binder_transact()drivers/android/binder.c+172 -1370 replies
6/8binder: Add extra size to allocatordrivers/android/binder.c+28 -130 replies
7/8binder: Add support for scatter-gatherdrivers/android/binder.c include/uapi/linux/android/binder.h+276 -130 replies
8/8binder: Add support for file-descriptor arraysdrivers/android/binder.c include/uapi/linux/android/binder.h+165 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] Sync upstream binder code with android-4.9 tree

Hey All,
With the android-4.9 tree being shared recently, I noticed
there were some new binder changes that hadn't yet made it upstream (though an earlier version of the patchset was submitted a bit back).

Anyway, I wanted to spur some review on the current patchset and try to get upstream back in sync with the android tree, as AOSP userspace is already making use of the multiple contexts feature (hwbinder) here which can cause problems if its missing.

I've made only a few small tweaks to the patches, to address checkpatch errors and to fold in a patch fix from Amit that was also in the android-4.9 tree.

Please let me know if there is any objections or feedback here.

thanks
-john

Cc Greg Kroah-Hartman <[email protected]>
Cc Martijn Coenen <[email protected]>
Cc Arve Hjønnevåg <[email protected]>
Cc Amit Pundir <[email protected]>
Cc Serban Constantinescu <[email protected]>
Cc Dmitry Shmidt <[email protected]>
Cc Rom Lemarchand <[email protected]>
Cc Android Kernel Team <[email protected]>

Martijn Coenen (8):
binder: Split flat_binder_object
binder: Support multiple context managers
binder: Deal with contexts in debugfs
binder: Support multiple /dev instances
binder: Refactor binder_transact()
binder: Add extra size to allocator
binder: Add support for scatter-gather
binder: Add support for file-descriptor arrays

 drivers/android/Kconfig             |   12 +
 drivers/android/binder.c            | 1001 +++++++++++++++++++++++++++--------
 include/uapi/linux/android/binder.h |  104 +++-
 3 files changed, 890 insertions(+), 227 deletions(-)
Signature · 1 line
2.7.4