Commits
zhang sanshan committed 61713bcbd74
MA-16695-2 fix binder transaction error when we run monkey or cts The thread2 should not send trasaction to thread1 when thread2 have todo list. Otherwise it will caused below warning, even cause system die and boatd reboot. this issue should been bring by refactor binder_proc_transaction in aefd2d632. binder error log: [ 4282.542583] WARNING: CPU: 1 PID: 8975 at /opt/ssd/build/autobuild/workspace/android_imx_android-10.0_2.0.0_userdebug/vendor/nxp-opensource/ kernel_imx/drivers/android/binder.c:862 binder_proc_transaction+0x5bc/0x5ec [ 4282.561632] Modules linked in: brcmfmac brcmutil [ 4282.566266] CPU: 1 PID: 8975 Comm: Thread-9 Not tainted 5.4.3-04657-gf05e2e3 #2 [ 4282.573584] Hardware name: Freescale i.MX8QXP MEK (DT) [ 4282.578729] pstate: 80400005 (Nzcv daif +PAN -UAO) [ 4282.583524] pc : binder_proc_transaction+0x5bc/0x5ec [ 4282.588492] lr : binder_proc_transaction+0x2ac/0x5ec [ 4282.593459] sp : ffff80002be4b930 [ 4282.596775] x29: ffff80002be4b990 x28: 0000000000000000 [ 4282.602094] x27: ffff800011eb2000 x26: 0000000000000010 [ 4282.607411] x25: ffff00082a9cc380 x24: ffff0000784d8000 [ 4282.612727] x23: ffff0000788cec30 x22: ffff0000788cec00 [ 4282.618044] x21: 0000000000000000 x20: ffff0000788cee00 [ 4282.623361] x19: ffff00082a9cc384 x18: 0000000000000000 [ 4282.628677] x17: 0000000000000000 x16: 0000000000000000 [ 4282.633994] x15: 0000000000000000 x14: 0061006900640065 [ 4282.639311] x13: 0000000000000006 x12: 00000003e171f241 [ 4282.644628] x11: 0000000000000089 x10: 0000000000000000 [ 4282.649945] x9 : ffff00082c83e820 x8 : ffff00001be67a08 [ 4282.655261] x7 : ffffffffffffffff x6 : ffff0000789a00e4 [ 4282.660578] x5 : ffff0000789a00e4 x4 : 0000000000000000 [ 4282.665895] x3 : 0000000000022400 x2 : 0000000000022400 This reverts commit aefd2d632eb0914f22fc6149f52eb0c6c148ce35. Change-Id: I29973a14d92010620a47f6ee91df8d997ab7e119