Skip to content
Commit fca39885 authored by Danny Lin's avatar Danny Lin Committed by improbir
Browse files

qcacld-3.0: Disable REMOVE_PKT_LOG



This fixes a warning and kernel panic when connecting to a hotspot
hosted by the device:

[  568.838882] arm-smmu 15000000.apps-smmu: FAR    = 0x00000000a0b51228
[  568.838908] arm-smmu 15000000.apps-smmu: PAR    = 0x0000000000000000
[  568.838917] arm-smmu 15000000.apps-smmu: FSR    = 0x40000402 [TF R SS ]
[  568.838924] arm-smmu 15000000.apps-smmu: TTBR0  = 0x0000000000000000
[  568.838930] arm-smmu 15000000.apps-smmu: TTBR1  = 0x0000000000000000
[  568.838938] arm-smmu 15000000.apps-smmu: SCTLR  = 0x00c000e7 ACTLR  = 0x00000003
[  568.838973] arm-smmu 15000000.apps-smmu: CBAR  = 0x0001f300
[  568.838980] arm-smmu 15000000.apps-smmu: MAIR0   = 0xf404ff44 MAIR1   = 0x00000000
[  568.838999] arm-smmu 15000000.apps-smmu: Unhandled context fault: iova=0xa0b51228, cb=46, fsr=0x40000402, fsynr0=0x4f0003, fsynr1=0x0
[  568.839009] arm-smmu 15000000.apps-smmu: soft iova-to-phys=0x0000000000000000
[  568.839018] arm-smmu 15000000.apps-smmu: SOFTWARE TABLE WALK FAILED! Looks like 15000000.apps-smmu accessed an unmapped address!
[  568.839025] arm-smmu 15000000.apps-smmu: hard iova-to-phys (ATOS) failed
[  568.839032] arm-smmu 15000000.apps-smmu: SID=0x521
[  568.839038] arm-smmu 15000000.apps-smmu: Unhandled arm-smmu context fault!
[  568.839068] ------------[ cut here ]------------
[  568.839074] kernel BUG at ../drivers/iommu/arm-smmu.c:1583!
[  568.839084] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[  568.839095] Process irq/405-arm-smm (pid: 557, stack limit = 0x0000000071ffe420)
[  568.839107] CPU: 2 PID: 557 Comm: irq/405-arm-smm Tainted: G S              4.14.138-Proton-g26234daa #38
[  568.839114] Hardware name: Qualcomm Technologies, Inc. SM8150 V2 PM8150 KIRIN MP (DT)
[  568.839120] task: 00000000d8caf9cc task.stack: 0000000071ffe420
[  568.839140] pc : arm_smmu_context_fault+0x580/0x600
[  568.839146] lr : arm_smmu_context_fault+0x580/0x600
[  568.839151] sp : ffffff8014efbce0 pstate : 60c00145
[  568.839157] x29: ffffffcff335ac80 x28: 0000000000028000
[  568.839165] x27: ffffff800c4ae058 x26: 0000000000000000
[  568.839172] x25: ffffff800c4ae000 x24: ffffffcfe6578818
[  568.839178] x23: 0000000000000521 x22: ffffffcff335ac80
[  568.839185] x21: 00000000ffffffda x20: ffffffcfe6578920
[  568.839192] x19: 0000000040000402 x18: ffffff9f0521e000
[  568.839198] x17: 0000000000000039 x16: ffffff9f045af620
[  568.839205] x15: ffffff9f04ae26f9 x14: 0000000000003338
[  568.839211] x13: 000a7d8b33fb1800 x12: 0000000000000000
[  568.839218] x11: 0000000000000001 x10: 0000000000000007
[  568.839224] x9 : 77d23af7cb54d900 x8 : 77d23af7cb54d900
[  568.839231] x7 : 0000000000000000 x6 : ffffff9f0522142a
[  568.839237] x5 : 0000000000000036 x4 : 0000000000000008
[  568.839244] x3 : 0000000000000000 x2 : 0000000000000000
[  568.839251] x1 : 00000000000001c0 x0 : 000000000000003e
[  568.839259]
[  568.839259] PC: 0xffffff9f03a8af60:
[  568.839266] af60  910203e2 94045ed1 14000004 900065c1 911b2821 94045ecd f94003a0 b0006201
[  568.839284] af80  910e4821 2a1703e2 94045ec8 376800fc f94003a0 f0006a21 91264021 94045ec3
[  568.839297] afa0  d4210000 14000000 2a1f03fa 310042bf 54000100 b9000373 d5033e9f b9405fe8
[  568.839310] afc0  34000088 91002328 52800029 b9000109 f940a3b3 aa1303e0 97fff232 aa1303e0
[  568.839326]
[  568.839326] LR: 0xffffff9f03a8af60:
[  568.839331] af60  910203e2 94045ed1 14000004 900065c1 911b2821 94045ecd f94003a0 b0006201
[  568.839344] af80  910e4821 2a1703e2 94045ec8 376800fc f94003a0 f0006a21 91264021 94045ec3
[  568.839357] afa0  d4210000 14000000 2a1f03fa 310042bf 54000100 b9000373 d5033e9f b9405fe8
[  568.839370] afc0  34000088 91002328 52800029 b9000109 f940a3b3 aa1303e0 97fff232 aa1303e0
[  568.839385]
[  568.839385] SP: 0xffffff8014efbca0:
[  568.839391] bca0  03a8afa0 ffffff9f 60c00145 00000000 ffffffd0 00000000 047d1990 ffffff9f
[  568.839405] bcc0  ffffffff ffffffff cb54d900 77d23af7 f335ac80 ffffffcf 03a8afa0 ffffff9f
[  568.839418] bce0  047da794 ffffff9f 047da794 ffffff9f 047da794 ffffff9f 046be95a ffffff9f
[  568.839432] bd00  047da794 ffffff9f 14efbd10 ffffff80 00010000 00028000 0c400000 ffffff80
[  568.839447]
[  568.839452] Call trace:
[  568.839461]  arm_smmu_context_fault+0x580/0x600
[  568.839473] Code: f94003a0 f0006a21 91264021 94045ec3 (d4210000)
[  568.839482] ---[ end trace b8f0de5036a861a3 ]---
[  568.847582] icnss: Received force error fatal request from FW
[  568.847773] icnss: Received early crash indication from FW
[  568.848772] PD_ERR: wlan_process : EF:wlan_process:0x1:WLAN RT:0x1079:cmnos_thread.c:3968:Asserted in whal_interrupt_wifi_ip02.c:whalGetPendingInterrupts:512

Signed-off-by: default avatarDanny Lin <danny@kdrag0n.dev>
Change-Id: Idd5183cce197016cb64df1faf990d6f606616ef1
Signed-off-by: default avatarForenche <prahul2003@gmail.com>
Signed-off-by: default avatarimprobir <ghosh_probir@yahoo.com>
parent a2c34aa0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment