Revert all the fine-grained locking and later patches so we can
merge the latest version of the binder driver from upstream
This reverts these commits:
4cb89f9e0f ANDROID: binder: don't enqueue death notifications to thread todo.
ee1eb67d88 ANDROID: binder: Switch binder_deferred_lock to a spinlock.
668537b30e android: binder: Move buffer out of area shared with user space
6a89fb9f7a android: binder: Add allocator selftest
0e9d8599d7 android: binder: Refactor prev and next buffer into a helper function
2410d72197 binder: always allocate/map first BINDER_MIN_ALLOC pages
b37ba51aa9 Add BINDER_GET_NODE_DEBUG_INFO ioctl
a1f38bfe50 ANDROID: binder: call poll_wait() unconditionally.
9359a93d41 ANDROID: binder: don't queue async transactions to thread.
991e8349d2 ANDROID: binder: fix race in thread cleanup.
cc0bec85bc ANDROID: binder: correctly initialize ref to zombie node.
8de4509205 binder: fix rb_insert_color crash
533020a794 binder: add target pid:tid to transaction failed message
6604007441 Revert "binder: clear rb nodes before inserting"
911673a208 ANDROID: binder: don't check prio permissions on restore.
92d6d33a36 ANDROID: binder: fix death race conditions.
b5f8fb6ac0 binder: clear rb nodes before inserting
cd293dbeb8 binder: allow binder_alloc_get_user_buffer_offset when proc dying
3c28d4f40e binder: eliminate possible OOO mutex acq in binder_mmap
a9bd05a7d2 binder: use atomic for transaction_log index
742755f37c ANDROID: binder: improve priority inheritance for oneway.
539760bcea ANDROID: binder: add min sched_policy to node.
1e99fc9c25 ANDROID: binder: Add tracing for binder priority inheritance.
9351657436 ANDROID: binder: do proper priority inheritance checking.
155fa2bb21 ANDROID: binder: blacklist %p kptr_restrict
81013cdd62 binder: protect against stale pointers in print_binder_transaction
eda5c2c85d binder: protect against two threads freeing buffer
4ea3c9accb binder: guarantee txn complete / errors delivered in-order
cccd311546 ANDROID: binder: improve priority inheritance.
47747abe74 ANDROID: binder: push new transactions to waiting threads.
7f27d5bc65 ANDROID: binder: remove proc waitqueue.
777b711e0c binder: add missing locks for transaction_stack and return_error
1bfb0526f6 Merge branch 'android-msm-8998-4.4-common' into android-msm-wahoo-4.4
3c9f33d6b0 binder: allow new refs to zombie nodes if other refs exist
d668aac7f1 binder: make FIFO inheritance a per-context option
333086d0cb binder: add log information for binder transaction failures
00c7cfdff5 binder_alloc: prevent possible OOO mutex acquisition
1c8a9c8183 binder: fix false BUG_ON
3257ab4314 binder: avoid using strong references on nodes for internal refs
88c8126c20 binder: make inc/ref user commands atomic with node state
a790f8b2ad binder: prevent long delays in zombie reaping
bbef697a0b binder: protect enqueuing of death notifications
01228354e4 ANDROID: binder: add more debug info when allocation fails.
7b7c3cb589 binder: read thread sequence number on every iteration when reaping
e98c35d65d binder: make active thread sequence counter 64-bit
aa8bac23d5 binder: prevent new refs to zombie nodes
773fc2f1ee android: binder: use copy_from_user_preempt_disabled
53d223b94f binder: use group leader instead of open thread
e14ae0a106 android: binder: don't change schedpolicy for oneway calls.
7a154d0e3e android: binder: have threads inherit scheduling policy.
e04d752ca7 binder: remove global binder lock
f120798fab binder: ensure binder_node has reference when starting transaction
8b8d920edd binder: fix use-after-free discovered with KASAN
b31b594bd1 binder: return BR_DEAD_REPLY if target proc is dying
6956e166c1 binder: fix possible race with put_files_struct
fade544640 binder: Make sure BR_TRANSACTION_COMPLETE is handled before reply
cfc2155f1b binder: fix thread hangs waiting for proc work
c9c6590330 binder: don't modify thread->looper from other threads
e3ede3cdf6 binder: Fix overly strict assertion in binder_pop_transaction
9cce95e7c6 binder: make sure todo lists are handled in-order
097a1e2bfc binder: fix binder_ref delete-before-add race
7b7208746b binder: fix race condition between delete/add new ref on node
005172f700 binder: add zombie list to cleanup dead refs
902a22e61b binder: add active thread tracking and deferred free
b5fc610f20 binder: add locking for print functions
edbe2b61b9 binder: add spinlocks to protect proc, node, thread, and ref
1f6c11ca4b binder: add spinlocks to protect todo lists
c3eef445f4 binder: use atomics for weak/strong counters
c363358e81 binder: change binder_stats to atomics
fd24ab4afc binder: use mutexes for non-perf cases
ec80df4a97 binder: move binder allocator to separate file
8a990d2ecb binder: use mutex for binder allocator
707d528ce5 binder: separate binder allocator structure from binder proc