Skip to content

RFC Staging updates from the Android tree

John Stultz lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest16 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16staging: android: Split uapi out of android_alarm.hdrivers/staging/android/android_alarm.h drivers/staging/android/uapi/android_alarm.h+64 -420 replies
2/16staging: android: Split uapi out of ashmem.hdrivers/staging/android/ashmem.h drivers/staging/android/uapi/ashmem.h+48 -290 replies
3/16staging: android: split uapi out of sync.h and sw_sync.hdrivers/staging/android/sw_sync.h drivers/staging/android/sync.h drivers/staging/android/uapi/sw_sync.h +1 more+133 -1020 replies
4/16staging: android: Split uapi out of binder.hdrivers/staging/android/binder.h drivers/staging/android/uapi/binder.h+331 -3050 replies
5/16staging: sw_sync: Add stubs for kernels without CONFIG_SW_SYNCdrivers/staging/android/sw_sync.h+17 -00 replies
6/16staging: sync: Signal pt before sync_timeline object gets destroyeddrivers/staging/android/sync.c+4 -40 replies
7/16staging: sync: Fix a race condition between release_obj and print_objdrivers/staging/android/sync.c+3 -30 replies
8/16staging: ashmem: Avoid deadlock between read and mmap callsdrivers/staging/android/ashmem.c+26 -190 replies
9/16staging: ion: Create separate heap and client debugfs directoriesdrivers/staging/android/ion/ion.c+49 -80 replies
10/16staging: ion: Fix debugfs handling of multiple kernel clientsdrivers/staging/android/ion/ion.c+5 -50 replies
11/16staging: ion: Store a copy of the client name on client creationdrivers/staging/android/ion/ion.c+13 -60 replies
12/16staging: ion: Make sure all clients are exposed in debugfsdrivers/staging/android/ion/ion.c+36 -20 replies
13/16staging: ion: Fix overflow and list bugs in system heapdrivers/staging/android/ion/ion_system_heap.c+5 -10 replies
14/16staging: ion: Fix ION_IOC_FREE compat ioctldrivers/staging/android/ion/compat_ion.c+22 -40 replies
15/16staging: ion: Move shrinker out of heapsdrivers/staging/android/ion/ion.c drivers/staging/android/ion/ion_heap.c drivers/staging/android/ion/ion_page_pool.c +2 more+85 -770 replies
16/16staging: ion: Add private buffer flag to skip page pooling on freedrivers/staging/android/ion/ion_heap.c drivers/staging/android/ion/ion_priv.h drivers/staging/android/ion/ion_system_heap.c+59 -60 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/16] [RFC] Staging updates from the Android tree

I recently went through the AOSP common.git android/3.10 tree to try to pull fixes that haven't been submitted upstream. I've cherry picked those patches and wanted to submit them here for review, and for hopeful inclusion into staging for 3.15.

In most cases the patches cherry-picked right over. In a few cases, there were collisions due to trivial changes and cleanups like spelling fixes. However, the "ion: Move shrinker out of heaps" patch required more complicated merge, due to the shrinker api change upstream in 3.12. Things build and appear to work, but I'd appreciate extra review there.

Anyway, please let me know if there's any feedback or suggestions.

thanks
-john

Cc Greg KH <[email protected]>
Cc Colin Cross <[email protected]>
Cc Greg Hackmann <[email protected]>
Cc Prakash Kamliya <[email protected]>
Cc Alistair Strachan <[email protected]>
Cc Todd Poynor <[email protected]>
Cc Mitchel Humpherys <[email protected]>
Cc Laura Abbott <[email protected]>
Cc Android Kernel Team <[email protected]>

Alistair Strachan (1):
staging: sync: Fix a race condition between release_obj and print_obj

Colin Cross (6):
staging: android: Split uapi out of android_alarm.h
staging: android: Split uapi out of ashmem.h
staging: android: split uapi out of sync.h and sw_sync.h
staging: android: Split uapi out of binder.h
staging: ion: Fix overflow and list bugs in system heap
staging: ion: Move shrinker out of heaps

Greg Hackmann (1):
staging: sw_sync: Add stubs for kernels without CONFIG_SW_SYNC

Laura Abbott (2):
staging: ion: Fix debugfs handling of multiple kernel clients
staging: ion: Fix ION_IOC_FREE compat ioctl

Mitchel Humpherys (4):
staging: ion: Create separate heap and client debugfs directories
staging: ion: Store a copy of the client name on client creation
staging: ion: Make sure all clients are exposed in debugfs
staging: ion: Add private buffer flag to skip page pooling on free

Prakash Kamliya (1):
staging: sync: Signal pt before sync_timeline object gets destroyed

Todd Poynor (1):
staging: ashmem: Avoid deadlock between read and mmap calls

 drivers/staging/android/android_alarm.h       |  44 +---
 drivers/staging/android/ashmem.c              |  45 ++--
 drivers/staging/android/ashmem.h              |  30 +--
 drivers/staging/android/binder.h              | 306 +-----------------------
 drivers/staging/android/ion/compat_ion.c      |  26 +-
 drivers/staging/android/ion/ion.c             | 121 ++++++++--
 drivers/staging/android/ion/ion_heap.c        |  65 ++++-
 drivers/staging/android/ion/ion_page_pool.c   |   8 +-
 drivers/staging/android/ion/ion_priv.h        |  63 ++++-
 drivers/staging/android/ion/ion_system_heap.c |  90 ++-----
 drivers/staging/android/sw_sync.h             |  37 +--
 drivers/staging/android/sync.c                |  14 +-
 drivers/staging/android/sync.h                |  86 +------
 drivers/staging/android/uapi/android_alarm.h  |  62 +++++
 drivers/staging/android/uapi/ashmem.h         |  47 ++++
 drivers/staging/android/uapi/binder.h         | 330 ++++++++++++++++++++++++++
 drivers/staging/android/uapi/sw_sync.h        |  32 +++
 drivers/staging/android/uapi/sync.h           |  97 ++++++++
 18 files changed, 895 insertions(+), 608 deletions(-)
 create mode 100644 drivers/staging/android/uapi/android_alarm.h
 create mode 100644 drivers/staging/android/uapi/ashmem.h
 create mode 100644 drivers/staging/android/uapi/binder.h
 create mode 100644 drivers/staging/android/uapi/sw_sync.h
 create mode 100644 drivers/staging/android/uapi/sync.h
Signature · 1 line
1.8.3.2