From 911ca2e636af649e36b8fb8b5329ae870a21bed5 Mon Sep 17 00:00:00 2001 From: UtsavBalar1231 Date: Fri, 28 Aug 2020 21:24:15 +0530 Subject: [PATCH] Revert "msm: ipa3: fix the unmap logic" [ 2953.093876] c1 16433 Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 00000000e0de8e44 [ 2953.093876] c1 16433 [ 2953.093920] c1 16433 CPU: 1 PID: 16433 Comm: kworker/u16:2 Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.093932] c1 16433 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.093967] c1 16433 Workqueue: ipa_power_mgmt ipa3_interrupt_defer [ 2953.093981] c1 16433 Call trace: [ 2953.094002] c1 16433 dump_backtrace+0x0/0x3d0 [ 2953.094021] c1 16433 dump_stack+0xb8/0x110 [ 2953.094036] c1 16433 panic+0x120/0x44c [ 2953.094049] c1 16433 refcount_error_report+0x0/0xb8 [ 2953.094064] c1 16433 ipa3_restore_suspend_handler+0x0/0x74 [ 2953.094076] c1 16433 ipa3_process_interrupts+0x344/0x8e0 [ 2953.094087] c1 16433 ipa3_interrupt_defer+0x50/0x94 [ 2953.094102] c1 16433 process_one_work+0x1f8/0x564 [ 2953.094113] c1 16433 worker_thread+0x2b4/0x570 [ 2953.094125] c1 16433 kthread+0xf8/0x11c [ 2953.094138] c1 16433 ret_from_fork+0x10/0x18 [ 2953.094154] c1 16433 SMP: stopping secondary CPUs [ 2953.094172] c0 802 CPU0: stopping [ 2953.094196] c0 802 CPU: 0 PID: 802 Comm: surfaceflinger Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.094207] c0 802 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.094219] c0 802 task: 00000000582f6894 task.stack: 00000000bad29af4 [ 2953.094237] c0 802 pc : binder_thread_read+0xe20/0x2614 [ 2953.094249] c0 802 lr : 0x0 [ 2953.094259] c0 802 sp : ffffff8011f4bbe0 pstate : 80400145 [ 2953.094269] c0 802 x29: ffffff8011f4bcf0 x28: ffffffeb306eb180 [ 2953.094283] c0 802 x27: ffffff9d9338e000 x26: 0000007ec4f21100 [ 2953.094295] c0 802 x25: 0000000000000001 x24: ffffffeac6c81548 [ 2953.094308] c0 802 x23: ffffffeb306eb3a8 x22: ffffffeb1a45b858 [ 2953.094320] c0 802 x21: ffffff9d9338e290 x20: ffffffeb228d1548 [ 2953.094333] c0 802 x19: ffffffeb228d1500 x18: ffffff8011863020 [ 2953.094345] c0 802 x17: 0000000005f5e100 x16: 000000000006d88b [ 2953.094358] c0 802 x15: ffffffffffd1992a x14: 0000000001312d00 [ 2953.094370] c0 802 x13: ffffffeb38808400 x12: ffffffeb1a45b800 [ 2953.094382] c0 802 x11: ffffff9d927c81a0 x10: 000000000000014a [ 2953.094395] c0 802 x9 : ffffff9d91d18690 x8 : 0000000100000001 [ 2953.094407] c0 802 x7 : ffffff9d92b0de10 x6 : 0000000000000000 [ 2953.094420] c0 802 x5 : ffffff9d92c1d180 x4 : ffffffbfa9e07c50 [ 2953.094432] c0 802 x3 : 0000000180800061 x2 : 0000000000000001 [ 2953.094444] c0 802 x1 : 0000000000000000 x0 : 0000000000000000 [ 2953.094458] c0 802 [ 2953.094458] c0 802 PC: 0xffffff9d91d18694: [ 2953.094470] c0 802 8694 363001a8 90007920 9137c000 b0004281 913e8421 9415ae4a 340000e0 f0004980 [ 2953.094497] c0 802 86b4 910f8000 b0004281 913e8421 52821862 97c0c85f 2a1f03e8 089ffee8 f94002c8 [ 2953.094521] c0 802 86d4 f1000508 b90002c8 54003200 f94002c8 b40031c8 f1002318 54ffcbe0 1400024b [ 2953.094544] c0 802 86f4 39456768 363001a8 90007920 9137c000 b0004281 913e8421 9415ae31 340000e0 [ 2953.094570] c0 802 [ 2953.094570] c0 802 SP: 0xffffff8011f4bba0: [ 2953.094581] c0 802 bba0 91d186d4 ffffff9d 80400145 00000000 781f1ea0 ffffffea 306eb3a8 ffffffeb [ 2953.094605] c0 802 bbc0 ffffffff 0000007f 9338e290 ffffff9d 11f4bcf0 ffffff80 91d186d4 ffffff9d [ 2953.094628] c0 802 bbe0 306eb180 ffffffeb 228d1500 ffffffeb c4f21158 0000007e c4f2110c 0000007e [ 2953.094652] c0 802 bc00 11f4bd30 ffffff80 11f4bd78 ffffff80 c4f21000 0000007e 11f4bca8 ffffff80 [ 2953.094676] c0 802 [ 2953.094687] c0 802 CPU: 0 PID: 802 Comm: surfaceflinger Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.094696] c0 802 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.094705] c0 802 Call trace: [ 2953.094719] c0 802 dump_backtrace+0x0/0x3d0 [ 2953.094731] c0 802 dump_stack+0xb8/0x110 [ 2953.094745] c0 802 ipi_cpu_stop.llvm.15124523151522876228+0x9c/0x11c [ 2953.094756] c0 802 handle_IPI+0x128/0x134 [ 2953.094768] c0 802 gic_handle_irq+0xa0/0x174 [ 2953.094779] c0 802 el1_irq+0xfc/0x1a4 [ 2953.094789] c0 802 binder_thread_read+0xe20/0x2614 [ 2953.094800] c0 802 binder_ioctl+0x768/0xe34 [ 2953.094817] c0 802 do_vfs_ioctl+0x554/0x7c8 [ 2953.094831] c0 802 SyS_ioctl+0x88/0xc0 [ 2953.094841] c0 802 el0_svc_naked+0x34/0x38 [ 2953.094853] c4 11872 CPU4: stopping [ 2953.094867] c4 11872 CPU: 4 PID: 11872 Comm: NetworkService Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.094873] c4 11872 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.094880] c4 11872 task: 0000000030f3a18c task.stack: 000000007c2e4671 [ 2953.094892] c4 11872 pc : queued_spin_lock_slowpath+0x88/0x2d8 [ 2953.094905] c4 11872 lr : lock_sock_nested+0xa8/0xc0 [ 2953.094910] c4 11872 sp : ffffff801fc3bbb0 pstate : 00400145 [ 2953.094916] c4 11872 x29: ffffff801fc3bbc0 x28: ffffff801fc3bd00 [ 2953.094923] c4 11872 x27: ffffff9d926cb000 x26: 0000000000000003 [ 2953.094929] c4 11872 x25: ffffff9d92916d98 x24: ffffff9d92916d98 [ 2953.094936] c4 11872 x23: 0000000000000000 x22: 0000000000004400 [ 2953.094942] c4 11872 x21: 0000000000000040 x20: ffffffeae8deb800 [ 2953.094948] c4 11872 x19: ffffffea25085800 x18: ffffff8017514040 [ 2953.094954] c4 11872 x17: 0000000000000000 x16: ffffff9d90e765a0 [ 2953.094960] c4 11872 x15: 0000000000000000 x14: 00000000ba0b5a9b [ 2953.094966] c4 11872 x13: ffffff9d00000000 x12: 0000000000000001 [ 2953.094972] c4 11872 x11: ffffff801fc3be08 x10: 0000000000000000 [ 2953.094979] c4 11872 x9 : 0000000000000101 x8 : ffffffea25085888 [ 2953.094985] c4 11872 x7 : 0000000000000003 x6 : 00000000bf3aea00 [ 2953.094991] c4 11872 x5 : ffffff801fc3bcd4 x4 : 0000000000000000 [ 2953.094998] c4 11872 x3 : 0000000000000040 x2 : 0000000000000001 [ 2953.095004] c4 11872 x1 : ffffffea25085888 x0 : 0000000000000001 [ 2953.095011] c4 11872 [ 2953.095011] c4 11872 PC: 0xffffff9d90d416c4: [ 2953.095018] c4 11872 16c4 aa0803e1 52802000 b8a03100 7104001f 54000282 340001c0 88dffd09 72001d3f [ 2953.095030] c4 11872 16e4 54000160 93407d29 d50320bf d503205f 885f7d0a 4a09014a 3500004a d503205f [ 2953.095042] c4 11872 1704 88dffd09 72001d3f 54fffee1 52800029 79000109 f84107fe f85f8e5e d65f03c0 [ 2953.095053] c4 11872 1724 72181c1f 54000041 3900051f d000ee6b 912c016b aa0b03e9 d538d08a 8b090149 [ 2953.095065] c4 11872 [ 2953.095065] c4 11872 LR: 0xffffff9d91f195f8: [ 2953.095070] c4 11872 95f8 089ffd48 f9402e88 f1000508 b9005a88 54000100 f9402e88 b40000c8 97b5d9c0 [ 2953.095082] c4 11872 9618 a9414ff4 a8c27bfd f85f8e5e d65f03c0 940dd982 17fffffa aa0803e0 97b8a012 [ 2953.095093] c4 11872 9638 b9408e68 35fffd28 17ffffea 2a0103fe 88fe7d02 2a1e03e0 d101c3ff f800865e [ 2953.095104] c4 11872 9658 a9037bfd f90023f7 a90557f6 a9064ff4 9100c3fd aa1e03f3 aa0003f4 b00067a8 [ 2953.095116] c4 11872 [ 2953.095116] c4 11872 SP: 0xffffff801fc3bb70: [ 2953.095121] c4 11872 bb70 90d41704 ffffff9d 00400145 00000000 1fc3bb90 ffffff80 90d7a238 ffffff9d [ 2953.095133] c4 11872 bb90 ffffffff 0000007f 918add08 ffffff9d 1fc3bbc0 ffffff80 90d41704 ffffff9d [ 2953.095145] c4 11872 bbb0 91f19638 ffffff9d 3fb8de10 ffffffeb 1fc3bc60 ffffff80 92005744 ffffff9d [ 2953.095157] c4 11872 bbd0 e240cb00 ffffffe9 25085800 ffffffea 00000000 00000000 90d0270c ffffff9d [ 2953.095169] c4 11872 [ 2953.095175] c4 11872 CPU: 4 PID: 11872 Comm: NetworkService Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.095181] c4 11872 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.095186] c4 11872 Call trace: [ 2953.095194] c4 11872 dump_backtrace+0x0/0x3d0 [ 2953.095202] c4 11872 dump_stack+0xb8/0x110 [ 2953.095209] c4 11872 ipi_cpu_stop.llvm.15124523151522876228+0x9c/0x11c [ 2953.095215] c4 11872 handle_IPI+0x128/0x134 [ 2953.095221] c4 11872 gic_handle_irq+0xa0/0x174 [ 2953.095227] c4 11872 el1_irq+0xfc/0x1a4 [ 2953.095232] c4 11872 queued_spin_lock_slowpath+0x88/0x2d8 [ 2953.095242] c4 11872 tcp_recvmsg+0xa8/0x914 [ 2953.095251] c4 11872 inet_recvmsg+0x50/0x104 [ 2953.095259] c4 11872 sock_read_iter.llvm.8927178113551065276+0xf0/0x164 [ 2953.095270] c4 11872 vfs_read+0xe8/0x134 [ 2953.095276] c4 11872 vfs_read+0xdc/0x1c8 [ 2953.095283] c4 11872 SyS_read+0x9c/0x100 [ 2953.095290] c4 11872 el0_svc_naked+0x34/0x38 [ 2953.095305] c2 831 CPU2: stopping [ 2953.095332] c2 831 CPU: 2 PID: 831 Comm: HwBinder:701_2 Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.095343] c2 831 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.095358] c2 831 task: 00000000295b836e task.stack: 00000000eb0d2278 [ 2953.095379] c2 831 pc : sched_setscheduler.llvm.8460208154634663364+0x8f8/0xe4c [ 2953.095393] c2 831 lr : __sched_setscheduler.llvm.8460208154634663364+0x878/0xe4c [ 2953.095403] c2 831 sp : ffffff8011fdb8c0 pstate : 20400145 [ 2953.095414] c2 831 x29: ffffff8011fdb8e0 x28: ffffffeb36e46200 [ 2953.095427] c2 831 x27: ffffff9d926ce788 x26: 0000000000000001 [ 2953.095440] c2 831 x25: ffffffeb36e46258 x24: ffffffeb36e46200 [ 2953.095453] c2 831 x23: ffffffeb36e46a44 x22: 0000000000000062 [ 2953.095466] c2 831 x21: ffffffeb3fbb2d80 x20: ffffff8011fdb948 [ 2953.095478] c2 831 x19: ffffffeb36e46200 x18: ffffff80119c5038 [ 2953.095492] c2 831 x17: 000002a6f0d36864 x16: 00000000000003e9 [ 2953.095504] c2 831 x15: 0000000000000001 x14: 0000000000001802 [ 2953.095517] c2 831 x13: 0000000000054d30 x12: ffffffeb36e466f0 [ 2953.095531] c2 831 x11: ffffffeb36e466f0 x10: ffffffeb36e466f0 [ 2953.095544] c2 831 x9 : 0000000000000140 x8 : 0000000000000000 [ 2953.095558] c2 831 x7 : ffffffeb3fc0cd80 x6 : 0000000000000400 [ 2953.095570] c2 831 x5 : ffffffea2cfc4600 x4 : fffffffffffffffe [ 2953.095583] c2 831 x3 : 00000000000002c5 x2 : 0000000000000062 [ 2953.095596] c2 831 x1 : ffffffeb36e46200 x0 : ffffffeb3fbb2d80 [ 2953.095612] c2 831 [ 2953.095612] c2 831 PC: 0xffffff9d90d07920: [ 2953.095625] c2 831 7920 d63f0100 b9400328 11000508 2a1f03e9 b9000328 089ffea9 f9400328 f1000508 [ 2953.095653] c2 831 7940 b9000328 54000a60 f9400328 b4000a28 2a1f03e8 f9400be9 089ffee8 d51b4229 [ 2953.095678] c2 831 7960 f9400328 f1000508 b9000328 54000b20 f9400328 b4000ae8 aa1303e0 9400e7f6 [ 2953.095702] c2 831 7980 f944a2a8 b5001268 f9400328 f1000508 b9000328 54000be0 f9400328 b4000ba8 [ 2953.095729] c2 831 [ 2953.095729] c2 831 LR: 0xffffff9d90d078a0: [ 2953.095742] c2 831 78a0 f9403908 aa1503e0 d63f0100 f9406268 eb1b011f f94007f7 54000221 b940b268 [ 2953.095768] c2 831 78c0 6b16011f 54000041 36f802e8 f9405368 aa1503e0 aa1303e1 2a1603e2 d63f0100 [ 2953.095792] c2 831 78e0 14000011 eb13031f 54fffda0 f9406268 eb1b011f f94007f7 54fffe20 f9404b69 [ 2953.095817] c2 831 7900 b40000a9 aa1503e0 aa1303e1 d63f0120 f9406268 f9404d08 aa1503e0 aa1303e1 [ 2953.095843] c2 831 [ 2953.095843] c2 831 SP: 0xffffff8011fdb880: [ 2953.095855] c2 831 b880 90d07960 ffffff9d 20400145 00000000 11fdb8e0 ffffff80 90d07890 ffffff9d [ 2953.095880] c2 831 b8a0 ffffffff 0000007f 3fbb2d80 ffffffeb 11fdb8e0 ffffff80 90d07960 ffffff9d [ 2953.095903] c2 831 b8c0 00000061 00000001 36e46a44 ffffffeb 00000140 00000000 86a16a00 126679bd [ 2953.095928] c2 831 b8e0 11fdb980 ffffff80 91d22174 ffffff9d 3886e140 ffffffeb 92916518 ffffff9d [ 2953.095954] c2 831 [ 2953.095966] c2 831 CPU: 2 PID: 831 Comm: HwBinder:701_2 Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.095978] c2 831 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.095989] c2 831 Call trace: [ 2953.096003] c2 831 dump_backtrace+0x0/0x3d0 [ 2953.096019] c2 831 dump_stack+0xb8/0x110 [ 2953.096035] c2 831 ipi_cpu_stop.llvm.15124523151522876228+0x9c/0x11c [ 2953.096046] c2 831 handle_IPI+0x128/0x134 [ 2953.096058] c2 831 gic_handle_irq+0xa0/0x174 [ 2953.096069] c2 831 el1_irq+0xfc/0x1a4 [ 2953.096081] c2 831 __sched_setscheduler.llvm.8460208154634663364+0x8f8/0xe4c [ 2953.096095] c2 831 binder_do_set_priority+0x28c/0x2e0 [ 2953.096107] c2 831 binder_transaction+0x3bf4/0x3f58 [ 2953.096118] c2 831 binder_thread_write+0x790/0x2e5c [ 2953.096129] c2 831 binder_ioctl+0x32c/0xe34 [ 2953.096145] c2 831 do_vfs_ioctl+0x554/0x7c8 [ 2953.096158] c2 831 SyS_ioctl+0x88/0xc0 [ 2953.096169] c2 831 el0_svc_naked+0x34/0x38 [ 2953.096181] c5 0 CPU5: stopping [ 2953.096200] c5 0 CPU: 5 PID: 0 Comm: swapper/5 Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.096207] c5 0 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.096214] c5 0 task: 000000004056c8a3 task.stack: 0000000090e5131d [ 2953.096234] c5 0 pc : lpm_cpuidle_enter+0x330/0x35c [ 2953.096241] c5 0 lr : lpm_cpuidle_enter+0x324/0x35c [ 2953.096248] c5 0 sp : ffffff801020beb0 pstate : 20c00145 [ 2953.096254] c5 0 x29: ffffff801020beb0 x28: ffffffeb332500b8 [ 2953.096261] c5 0 x27: ffffff9d92b0de08 x26: ffffff9d92c0f158 [ 2953.096269] c5 0 x25: 000001ffe956fd76 x24: 0000000000000001 [ 2953.096276] c5 0 x23: ffffff9d926cd888 x22: ffffffeb3322a880 [ 2953.096284] c5 0 x21: ffffffeb3fbe7eb0 x20: ffffffeb33250080 [ 2953.096291] c5 0 x19: 0000000000000000 x18: ffffff80100e5028 [ 2953.096297] c5 0 x17: 0000000000000200 x16: 0000000000000000 [ 2953.096304] c5 0 x15: 0000000000000022 x14: 0000000000000000 [ 2953.096311] c5 0 x13: 0000000000054d30 x12: 00343887626ec893 [ 2953.096317] c5 0 x11: 00ffffffffffffff x10: 0000000000000020 [ 2953.096324] c5 0 x9 : 0000000000000000 x8 : 0000000100000001 [ 2953.096331] c5 0 x7 : 0000000000000000 x6 : 0000000000000000 [ 2953.096337] c5 0 x5 : 0000000000000001 x4 : 000001ffe956fd76 [ 2953.096344] c5 0 x3 : 0000000000000001 x2 : 0000000000000001 [ 2953.096351] c5 0 x1 : ffffffeb3fbeb500 x0 : 0000000000000000 [ 2953.096358] c5 0 [ 2953.096358] c5 0 PC: 0xffffff9d918b0eec: [ 2953.096366] c5 0 0eec 91006129 b8696908 f8687b48 b00092e9 913ac129 8b090115 aa1503e0 2a1f03e1 [ 2953.096381] c5 0 0f0c 97d319cb f10fa01f 5400006b aa1503e0 97d318d0 f900be9f 2a1303e0 d50342ff [ 2953.096392] c5 0 0f2c a9454ff4 a94457f6 a9435ff8 a94267fa a9416ffc a8c67bfd f85f8e5e d65f03c0 [ 2953.096404] c5 0 0f4c d53cd048 d53cd048 d53cd048 f800865e a9bd7bfd a90157f6 a9024ff4 910003fd [ 2953.096417] c5 0 [ 2953.096417] c5 0 LR: 0xffffff9d918b0ee0: [ 2953.096422] c5 0 0ee0 b4000228 d538d088 d00092a9 91006129 b8696908 f8687b48 b00092e9 913ac129 [ 2953.096434] c5 0 0f00 8b090115 aa1503e0 2a1f03e1 97d319cb f10fa01f 5400006b aa1503e0 97d318d0 [ 2953.096446] c5 0 0f20 f900be9f 2a1303e0 d50342ff a9454ff4 a94457f6 a9435ff8 a94267fa a9416ffc [ 2953.096457] c5 0 0f40 a8c67bfd f85f8e5e d65f03c0 d53cd048 d53cd048 d53cd048 f800865e a9bd7bfd [ 2953.096469] c5 0 [ 2953.096469] c5 0 SP: 0xffffff801020be70: [ 2953.096475] c5 0 be70 918b0f2c ffffff9d 20c00145 00000000 1020beb0 ffffff80 918b0f20 ffffff9d [ 2953.096489] c5 0 be90 ffffffff ffffffff 3fbe7eb0 ffffffeb 1020beb0 ffffff80 918b0f2c ffffff9d [ 2953.096502] c5 0 beb0 1020bf10 ffffff80 918ab380 ffffff9d 92c0e000 ffffff9d 00000020 00000000 [ 2953.096514] c5 0 bed0 92c0eec8 ffffff9d 00000000 00000000 92f1cf60 ffffff9d 00000000 00000000 [ 2953.096528] c5 0 [ 2953.096535] c5 0 CPU: 5 PID: 0 Comm: swapper/5 Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.096541] c5 0 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.096548] c5 0 Call trace: [ 2953.096557] c5 0 dump_backtrace+0x0/0x3d0 [ 2953.096566] c5 0 dump_stack+0xb8/0x110 [ 2953.096573] c5 0 ipi_cpu_stop.llvm.15124523151522876228+0x9c/0x11c [ 2953.096581] c5 0 handle_IPI+0x128/0x134 [ 2953.096588] c5 0 gic_handle_irq+0xa0/0x174 [ 2953.096594] c5 0 el1_irq+0xfc/0x1a4 [ 2953.096601] c5 0 lpm_cpuidle_enter+0x330/0x35c [ 2953.096610] c5 0 cpuidle_enter_state+0x130/0x208 [ 2953.096620] c5 0 do_idle.llvm.8236538960825616457+0x1d0/0x344 [ 2953.096628] c5 0 cpu_startup_entry+0x24/0x28 [ 2953.096636] c5 0 secondary_start_kernel+0x114/0x120 [ 2953.096650] c3 21614 CPU3: stopping [ 2953.096676] c3 21614 CPU: 3 PID: 21614 Comm: Chrome_ChildIOT Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.096687] c3 21614 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.096700] c3 21614 task: 00000000781df948 task.stack: 00000000824b9532 [ 2953.096719] c3 21614 pc : ipa3_wwan_xmit+0x3d4/0x50c [ 2953.096731] c3 21614 lr : ipa3_wwan_xmit+0x2d4/0x50c [ 2953.096741] c3 21614 sp : ffffff801001b4c0 pstate : 60400145 [ 2953.096750] c3 21614 x29: ffffff801001b4c0 x28: ffffff9d92c10f68 [ 2953.096764] c3 21614 x27: 0000000000000000 x26: ffffffeb2f640090 [ 2953.096776] c3 21614 x25: ffffff9d93388000 x24: ffffff9d9338b000 [ 2953.096789] c3 21614 x23: 0000000000000140 x22: ffffffea2cfc4600 [ 2953.096801] c3 21614 x21: ffffffeb2f6409c0 x20: ffffffea6fc02f00 [ 2953.096814] c3 21614 x19: ffffffeb2f640000 x18: ffffff801001d0e8 [ 2953.096826] c3 21614 x17: 0000000000000152 x16: 0000000000000152 [ 2953.096840] c3 21614 x15: 00000000001c5891 x14: 0000000000054bff [ 2953.096853] c3 21614 x13: 0000000000054d30 x12: 00343887626ec893 [ 2953.096865] c3 21614 x11: ffffffeb371a2a00 x10: ffffffeb37240305 [ 2953.096881] c3 21614 x9 : ffffffeb2f6409c8 x8 : 0000000000000000 [ 2953.096894] c3 21614 x7 : 0000000000000002 x6 : ffffff9d92c0f158 [ 2953.096906] c3 21614 x5 : ffffffeb1a45b800 x4 : 0000000000000000 [ 2953.096919] c3 21614 x3 : 000001ffe956a8d4 x2 : ffffffeb371a2bd0 [ 2953.096932] c3 21614 x1 : ffffffeb2f6409c0 x0 : 0000000000000001 [ 2953.096949] c3 21614 [ 2953.096949] c3 21614 PC: 0xffffff9d91cb5408: [ 2953.096961] c3 21614 5408 f9402ec8 f1000508 b9005ac8 540009a0 f9402ec8 b4000968 2a1f03f4 17ffff5c [ 2953.096991] c3 21614 5428 2a1f03e8 91270275 91272269 52800020 aa1503e1 b82002bf 089ffd28 d51b4237 [ 2953.097016] c3 21614 5448 f9402ec8 f1000508 b9005ac8 54000800 f9402ec8 b40007c8 52800440 aa1403e1 [ 2953.097040] c3 21614 5468 aa1f03e2 97fee3f2 340002c0 2a0003e8 52800020 aa1503e1 4b0003e0 b82002bf [ 2953.097066] c3 21614 [ 2953.097066] c3 21614 LR: 0xffffff9d91cb5308: [ 2953.097078] c3 21614 5308 d0004ae0 91289000 f0004601 911aac21 52807ac2 97c25549 f9401ea8 b4000428 [ 2953.097101] c3 21614 5328 f9403309 b943e129 71007d3f 540002e8 f8697900 b40002a0 2a1f03e1 97ffca4f [ 2953.097126] c3 21614 5348 2a0003e4 340006e0 3101cc9f 54000381 2a1f03e8 f9420269 91024121 91272269 [ 2953.097152] c3 21614 5368 52800020 f820303f 089ffd28 d51b4237 f9402ec8 f1000508 b9005ac8 54fff021 [ 2953.097178] c3 21614 [ 2953.097178] c3 21614 SP: 0xffffff801001b480: [ 2953.097190] c3 21614 b480 91cb5448 ffffff9d 60400145 00000000 00000140 00000000 6fc02f00 ffffffea [ 2953.097216] c3 21614 b4a0 ffffffff 0000007f 9338b000 ffffff9d 1001b4c0 ffffff80 91cb5448 ffffff9d [ 2953.097241] c3 21614 b4c0 1001b510 ffffff80 91f7b3a8 ffffff9d 2cfc4600 ffffffea 91f7b2a8 ffffff9d [ 2953.097266] c3 21614 b4e0 00000003 00000000 6fc02f00 ffffffea 2b079600 ffffffeb ee65189c ffffffea [ 2953.097291] c3 21614 [ 2953.097303] c3 21614 CPU: 3 PID: 21614 Comm: Chrome_ChildIOT Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.097313] c3 21614 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.097324] c3 21614 Call trace: [ 2953.097339] c3 21614 dump_backtrace+0x0/0x3d0 [ 2953.097353] c3 21614 dump_stack+0xb8/0x110 [ 2953.097369] c3 21614 ipi_cpu_stop.llvm.15124523151522876228+0x9c/0x11c [ 2953.097380] c3 21614 handle_IPI+0x128/0x134 [ 2953.097391] c3 21614 gic_handle_irq+0xa0/0x174 [ 2953.097402] c3 21614 el1_irq+0xfc/0x1a4 [ 2953.097413] c3 21614 ipa3_wwan_xmit+0x3d4/0x50c [ 2953.097431] c3 21614 sch_direct_xmit+0x190/0x390 [ 2953.097450] c3 21614 __dev_queue_xmit.llvm.8584644285506096795+0x548/0x9d0 [ 2953.097467] c3 21614 rmnet_map_tx_aggregate+0x230/0x864 [ 2953.097486] c3 21614 rmnet_egress_handler+0x290/0x2e4 [ 2953.097499] c3 21614 rmnet_vnd_start_xmit.llvm.4309351680288613501+0x58/0x130 [ 2953.097510] c3 21614 sch_direct_xmit+0x190/0x390 [ 2953.097522] c3 21614 dev_queue_xmit.llvm.8584644285506096795+0x548/0x9d0 [ 2953.097537] c3 21614 neigh_direct_output+0x18/0x24 [ 2953.097554] c3 21614 ip_finish_output2+0x34c/0x4e4 [ 2953.097565] c3 21614 ip_finish_output+0x1a8/0x234 [ 2953.097575] c3 21614 ip_output+0xfc/0x25c [ 2953.097586] c3 21614 ip_queue_xmit+0x248/0x4b8 [ 2953.097602] c3 21614 tcp_transmit_skb+0x72c/0xb20 [ 2953.097613] c3 21614 tcp_send_ack+0xdc/0x12c [ 2953.097624] c3 21614 tcp_rcv_established+0x5e0/0x804 [ 2953.097635] c3 21614 tcp_v4_do_rcv+0xc8/0x300 [ 2953.097646] c3 21614 tcp_v4_rcv+0xdec/0x10b0 [ 2953.097658] c3 21614 ip_protocol_deliver_rcu+0xd8/0x1e8 [ 2953.097668] c3 21614 ip_local_deliver+0xbc/0x1f4 [ 2953.097678] c3 21614 ip_rcv_finish+0x270/0x390 [ 2953.097689] c3 21614 ip_rcv+0x2a0/0x4c8 [ 2953.097701] c3 21614 netif_receive_skb_core+0x8cc/0xc58 [ 2953.097713] c3 21614 process_backlog+0x188/0x358 [ 2953.097725] c3 21614 net_rx_action+0x11c/0x440 [ 2953.097735] c3 21614 do_softirq+0x140/0x2e4 [ 2953.097747] c3 21614 irq_exit+0xe0/0xf4 [ 2953.097757] c3 21614 handle_IPI+0xe0/0x134 [ 2953.097768] c3 21614 gic_handle_irq+0xa0/0x174 [ 2953.097778] c3 21614 el1_irq+0xfc/0x1a4 [ 2953.097792] c3 21614 finish_task_switch+0x7c/0x224 [ 2953.097808] c3 21614 schedule+0x644/0xa40 [ 2953.097820] c3 21614 schedule+0x74/0x98 [ 2953.097833] c3 21614 schedule_hrtimeout_range_clock+0x98/0x230 [ 2953.097849] c3 21614 SyS_epoll_wait+0x3a0/0x584 [ 2953.097860] c3 21614 compat_SyS_epoll_pwait+0x104/0x1a0 [ 2953.097871] c3 21614 el0_svc_naked+0x34/0x38 [ 2953.097882] c6 0 CPU6: stopping [ 2953.097899] c6 0 CPU: 6 PID: 0 Comm: swapper/6 Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.097906] c6 0 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.097914] c6 0 task: 00000000327595df task.stack: 000000007230c10e [ 2953.097933] c6 0 pc : lpm_cpuidle_enter+0x330/0x35c [ 2953.097940] c6 0 lr : lpm_cpuidle_enter+0x2a8/0x35c [ 2953.097946] c6 0 sp : ffffff8010213eb0 pstate : a0c00145 [ 2953.097953] c6 0 x29: ffffff8010213eb0 x28: ffffffeb332500e0 [ 2953.097961] c6 0 x27: ffffff9d92b0de08 x26: ffffff9d92c0f158 [ 2953.097968] c6 0 x25: 000001ffe95eba76 x24: 0000000000000006 [ 2953.097975] c6 0 x23: 0000000000000000 x22: ffffffeb3322a880 [ 2953.097981] c6 0 x21: ffffffeb3322af80 x20: ffffffeb33250080 [ 2953.097988] c6 0 x19: 0000000000000001 x18: ffffff80100ed028 [ 2953.097995] c6 0 x17: 0000000000000000 x16: 0000000000000000 [ 2953.098001] c6 0 x15: 0000000000000022 x14: 000000000000000e [ 2953.098007] c6 0 x13: 0000000000054d30 x12: 00343887626ec893 [ 2953.098014] c6 0 x11: 00ffffffffffffff x10: 000000000003a4a4 [ 2953.098021] c6 0 x9 : 0000000000000000 x8 : 0000000000000000 [ 2953.098028] c6 0 x7 : 000000b2b5593519 x6 : 0000000000300000 [ 2953.098035] c6 0 x5 : 0000000000000001 x4 : 000001ffe95eba76 [ 2953.098043] c6 0 x3 : 0000000000000001 x2 : 0000000000000001 [ 2953.098050] c6 0 x1 : 0000000000000000 x0 : 0000000000000001 [ 2953.098057] c6 0 [ 2953.098057] c6 0 PC: 0xffffff9d918b0eec: [ 2953.098064] c6 0 0eec 91006129 b8696908 f8687b48 b00092e9 913ac129 8b090115 aa1503e0 2a1f03e1 [ 2953.098078] c6 0 0f0c 97d319cb f10fa01f 5400006b aa1503e0 97d318d0 f900be9f 2a1303e0 d50342ff [ 2953.098091] c6 0 0f2c a9454ff4 a94457f6 a9435ff8 a94267fa a9416ffc a8c67bfd f85f8e5e d65f03c0 [ 2953.098102] c6 0 0f4c d53cd048 d53cd048 d53cd048 f800865e a9bd7bfd a90157f6 a9024ff4 910003fd [ 2953.098115] c6 0 [ 2953.098115] c6 0 LR: 0xffffff9d918b0e64: [ 2953.098120] c6 0 0e64 aa1503e0 2a1f03e1 97d319f3 f10fa01f 5400006b aa1503e0 97d318f8 d538d088 [ 2953.098133] c6 0 0e84 b8b66908 f8687b48 f87b6908 f940c516 911c02d5 aa1503e0 2a1f03e1 97d319e6 [ 2953.098145] c6 0 0ea4 f10fa01f 5400006b aa1503e0 97d318eb f9433ac8 b4000128 911c0100 2a1f03e1 [ 2953.098156] c6 0 0ec4 97d319dd f10fa01f 5400008b f9433ac8 911c0100 97d318e1 f940be88 b4000228 [ 2953.098168] c6 0 [ 2953.098168] c6 0 SP: 0xffffff8010213e70: [ 2953.098174] c6 0 3e70 918b0f2c ffffff9d a0c00145 00000000 00000006 00000000 00000000 00000000 [ 2953.098187] c6 0 3e90 ffffffff ffffffff 3322af80 ffffffeb 10213eb0 ffffff80 918b0f2c ffffff9d [ 2953.098199] c6 0 3eb0 10213f10 ffffff80 918ab380 ffffff9d 92c0e000 ffffff9d 00000040 00000000 [ 2953.098212] c6 0 3ed0 92c0eec8 ffffff9d 00000000 00000000 92f1cf60 ffffff9d 00000000 00000000 [ 2953.098224] c6 0 [ 2953.098232] c6 0 CPU: 6 PID: 0 Comm: swapper/6 Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.098238] c6 0 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.098244] c6 0 Call trace: [ 2953.098253] c6 0 dump_backtrace+0x0/0x3d0 [ 2953.098260] c6 0 dump_stack+0xb8/0x110 [ 2953.098269] c6 0 ipi_cpu_stop.llvm.15124523151522876228+0x9c/0x11c [ 2953.098276] c6 0 handle_IPI+0x128/0x134 [ 2953.098283] c6 0 gic_handle_irq+0xa0/0x174 [ 2953.098290] c6 0 el1_irq+0xfc/0x1a4 [ 2953.098297] c6 0 lpm_cpuidle_enter+0x330/0x35c [ 2953.098306] c6 0 cpuidle_enter_state+0x130/0x208 [ 2953.098316] c6 0 do_idle.llvm.8236538960825616457+0x1d0/0x344 [ 2953.098323] c6 0 cpu_startup_entry+0x24/0x28 [ 2953.098330] c6 0 secondary_start_kernel+0x114/0x120 [ 2953.098339] c7 0 CPU7: stopping [ 2953.098356] c7 0 CPU: 7 PID: 0 Comm: swapper/7 Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.098364] c7 0 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.098373] c7 0 task: 000000004c2c6926 task.stack: 00000000f9945757 [ 2953.098396] c7 0 pc : lpm_cpuidle_enter+0x330/0x35c [ 2953.098404] c7 0 lr : lpm_cpuidle_enter+0x2a8/0x35c [ 2953.098411] c7 0 sp : ffffff801021beb0 pstate : a0c00145 [ 2953.098418] c7 0 x29: ffffff801021beb0 x28: ffffffeb332500e0 [ 2953.098427] c7 0 x27: ffffff9d92b0de08 x26: ffffff9d92c0f158 [ 2953.098435] c7 0 x25: 000001ffe95f4773 x24: 0000000000000006 [ 2953.098442] c7 0 x23: 0000000000000000 x22: ffffffeb3322a880 [ 2953.098449] c7 0 x21: ffffffeb3322af80 x20: ffffffeb33250080 [ 2953.098455] c7 0 x19: 0000000000000001 x18: ffffff80100f5028 [ 2953.098463] c7 0 x17: 0000000000000000 x16: 0000000000000000 [ 2953.098469] c7 0 x15: 0000000000000022 x14: 000000000000000f [ 2953.098476] c7 0 x13: 0000000000054d30 x12: 00343887626ec893 [ 2953.098482] c7 0 x11: 00ffffffffffffff x10: 000000000003a702 [ 2953.098488] c7 0 x9 : 0000000000000000 x8 : 0000000000000000 [ 2953.098496] c7 0 x7 : 000000b2b5593519 x6 : 0000000000300000 [ 2953.098502] c7 0 x5 : 0000000000000001 x4 : 000001ffe95f4773 [ 2953.098509] c7 0 x3 : 0000000000000001 x2 : 0000000000000001 [ 2953.098515] c7 0 x1 : 0000000000000000 x0 : 0000000000000001 [ 2953.098522] c7 0 [ 2953.098522] c7 0 PC: 0xffffff9d918b0eec: [ 2953.098529] c7 0 0eec 91006129 b8696908 f8687b48 b00092e9 913ac129 8b090115 aa1503e0 2a1f03e1 [ 2953.098541] c7 0 0f0c 97d319cb f10fa01f 5400006b aa1503e0 97d318d0 f900be9f 2a1303e0 d50342ff [ 2953.098553] c7 0 0f2c a9454ff4 a94457f6 a9435ff8 a94267fa a9416ffc a8c67bfd f85f8e5e d65f03c0 [ 2953.098564] c7 0 0f4c d53cd048 d53cd048 d53cd048 f800865e a9bd7bfd a90157f6 a9024ff4 910003fd [ 2953.098576] c7 0 [ 2953.098576] c7 0 LR: 0xffffff9d918b0e64: [ 2953.098582] c7 0 0e64 aa1503e0 2a1f03e1 97d319f3 f10fa01f 5400006b aa1503e0 97d318f8 d538d088 [ 2953.098594] c7 0 0e84 b8b66908 f8687b48 f87b6908 f940c516 911c02d5 aa1503e0 2a1f03e1 97d319e6 [ 2953.098606] c7 0 0ea4 f10fa01f 5400006b aa1503e0 97d318eb f9433ac8 b4000128 911c0100 2a1f03e1 [ 2953.098617] c7 0 0ec4 97d319dd f10fa01f 5400008b f9433ac8 911c0100 97d318e1 f940be88 b4000228 [ 2953.098629] c7 0 [ 2953.098629] c7 0 SP: 0xffffff801021be70: [ 2953.098635] c7 0 be70 918b0f2c ffffff9d a0c00145 00000000 00000006 00000000 00000000 00000000 [ 2953.098646] c7 0 be90 ffffffff ffffffff 3322af80 ffffffeb 1021beb0 ffffff80 918b0f2c ffffff9d [ 2953.098657] c7 0 beb0 1021bf10 ffffff80 918ab380 ffffff9d 92c0e000 ffffff9d 00000080 00000000 [ 2953.098669] c7 0 bed0 92c0eec8 ffffff9d 00000000 00000000 92f1cf60 ffffff9d 00000000 00000000 [ 2953.098680] c7 0 [ 2953.098687] c7 0 CPU: 7 PID: 0 Comm: swapper/7 Tainted: G S 4.14.195-IMMENSiTY//c12b7eefc9 #1 [ 2953.098693] c7 0 Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 RAPHAEL (DT) [ 2953.098699] c7 0 Call trace: [ 2953.098707] c7 0 dump_backtrace+0x0/0x3d0 [ 2953.098715] c7 0 dump_stack+0xb8/0x110 [ 2953.098724] c7 0 ipi_cpu_stop.llvm.15124523151522876228+0x9c/0x11c [ 2953.098730] c7 0 handle_IPI+0x128/0x134 [ 2953.098738] c7 0 gic_handle_irq+0xa0/0x174 [ 2953.098744] c7 0 el1_irq+0xfc/0x1a4 [ 2953.098750] c7 0 lpm_cpuidle_enter+0x330/0x35c [ 2953.098759] c7 0 cpuidle_enter_state+0x130/0x208 [ 2953.098771] c7 0 do_idle.llvm.8236538960825616457+0x1d0/0x344 [ 2953.098779] c7 0 cpu_startup_entry+0x24/0x28 [ 2953.098786] c7 0 secondary_start_kernel+0x114/0x120 [ 2954.158065] c1 16433 SMP: failed to stop secondary CPUs 0-7 [ 2955.011498] c1 16433 ipa ipa3_active_clients_panic_notifier:293 [ 2955.011498] c1 16433 ---- Active Clients Table ---- [ 2955.011498] c1 16433 [ 2955.011498] c1 16433 Total active clients count: 4 [ 2955.011498] c1 16433 [ 2955.011529] c1 16433 Kernel Offset: 0x1d80c00000 from 0xffffff8010000000 [ 2955.011543] c1 16433 CPU features: 0x12002238 [ 2955.011554] c1 16433 Memory Limit: none [ 2955.011577] c1 16433 SMP: stopping secondary CPUs [ 2956.075539] c1 16433 SMP: failed to stop secondary CPUs 0-7 [ 2956.075550] c1 16433 Going down for restart now Signed-off-by: UtsavBalar1231 --- drivers/platform/msm/ipa/ipa_v3/ipa_uc_ntn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_uc_ntn.c b/drivers/platform/msm/ipa/ipa_v3/ipa_uc_ntn.c index 601ee86cea12..e3be643c3d0c 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa_uc_ntn.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa_uc_ntn.c @@ -606,7 +606,7 @@ int ipa3_tear_down_uc_offload_pipes(int ipa_ep_idx_ul, } /* unmap the DL pipe */ - result = ipa3_smmu_map_uc_ntn_pipes(¶ms->dl, false, false); + result = ipa3_smmu_map_uc_ntn_pipes(¶ms->dl, false, true); if (result) { IPAERR("failed to unmap SMMU for DL %d\n", result); goto fail; @@ -627,7 +627,7 @@ int ipa3_tear_down_uc_offload_pipes(int ipa_ep_idx_ul, } /* unmap the UL pipe */ - result = ipa3_smmu_map_uc_ntn_pipes(¶ms->ul, false, true); + result = ipa3_smmu_map_uc_ntn_pipes(¶ms->ul, false, false); if (result) { IPAERR("failed to unmap SMMU for UL %d\n", result); goto fail;