brcmfmac driver cause kernel Null pointer in Ti's SOC

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Dear CY engineers,

Hardware: Ti's AM5728  + CY43455

Software: Linux4.9.28

It seems the brcmfmac driver is not stable with TI's SOC especially when doing a heavy throughput testing such as iperf.

But this can not happen on NXP's SOC for example i.Max6.

See the following log:

**********************************************************

~# iperf -c 192.168.2.57 -t 60 -i 1

------------------------------------------------------------

Client connecting to 192.168.2.57, TCP port 5001

TCP window size: 43.8 KByte (default)

------------------------------------------------------------

[  3] local 192.168.2.84 port 39040 connected with 192.168.2.57 port 5001

[ ID] Interval Transfer     Bandwidth

[  3]  0.0- 1.0 sec  5.75 MBytes  48.2 Mbits/sec

[  3]  1.0- 2.0 sec  6.50 MBytes  54.5 Mbits/sec

[  3]  2.0- 3.0 sec  6.38 MBytes  53.5 Mbits/sec

[  3]  3.0- 4.0 sec  7.00 MBytes  58.7 Mbits/sec

[  3]  4.0- 5.0 sec  5.62 MBytes  47.2 Mbits/sec

[  3]  5.0- 6.0 sec  3.12 MBytes  26.2 Mbits/sec

[  3]  6.0- 7.0 sec  5.12 MBytes  43.0 Mbits/sec

[  3]  7.0- 8.0 sec  5.88 MBytes  49.3 Mbits/sec

[  3]  8.0- 9.0 sec  5.38 MBytes  45.1 Mbits/sec

[  3]  9.0-10.0 sec  7.00 MBytes  58.7 Mbits/sec

[  3] 10.0-11.0 sec  5.50 MBytes  46.1 Mbits/sec

[  3] 11.0-12.0 sec  6.75 MBytes  56.6 Mbits/sec

[  3] 12.0-13.0 sec  6.38 MBytes  53.5 Mbits/sec

[  3] 13.0-14.0 sec  5.25 MBytes  44.0 Mbits/sec

[  3] 14.0-15.0 sec  5.88 MBytes  49.3 Mbits/sec

[  3] 15.0-16.0 sec  5.12 MBytes  43.0 Mbits/sec

[  3] 16.0-17.0 sec  6.50 MBytes  54.5 Mbits/sec

[  3] 17.0-18.0 sec  6.75 MBytes  56.6 Mbits/sec

[  3] 18.0-19.0 sec  5.88 MBytes  49.3 Mbits/sec

[  3] 19.0-20.0 sec  6.38 MBytes  53.5 Mbits/sec

[  3] 20.0-21.0 sec  6.00 MBytes  50.3 Mbits/sec

[  3] 21.0-22.0 sec  5.88 MBytes  49.3 Mbits/sec

[  3] 22.0-23.0 sec  6.00 MBytes  50.3 Mbits/sec

[  3] 23.0-24.0 sec  5.38 MBytes  45.1 Mbits/sec

[  3] 24.0-25.0 sec  6.38 MBytes  53.5 Mbits/sec

[  3] 25.0-26.0 sec  6.38 MBytes  53.5 Mbits/sec

[  3] 26.0-27.0 sec  5.50 MBytes  46.1 Mbits/sec

[  3] 27.0-28.0 sec  6.62 MBytes  55.6 Mbits/sec

[  3] 28.0-29.0 sec  5.62 MBytes 47.2 Mbits/sec

[  3] 29.0-30.0 sec  5.88 MBytes  49.3 Mbits/sec

[  3] 30.0-31.0 sec  6.12 MBytes 51.4 Mbits/sec

[  3] 31.0-32.0 sec  5.88 MBytes  49.3 Mbits/sec

[  3] 32.0-33.0 sec  6.50 MBytes  54.5 Mbits/sec

[  3] 33.0-34.0 sec  6.62 MBytes  55.6 Mbits/sec

[  3] 34.0-35.0 sec  5.88 MBytes  49.3 Mbits/sec

[  3] 35.0-36.0 sec  6.75 MBytes  56.6 Mbits/sec

[  3] 36.0-37.0 sec  6.88 MBytes  57.7 Mbits/sec

[  3] 37.0-38.0 sec  6.88 MBytes  57.7 Mbits/sec

[  3] 38.0-39.0 sec  6.75 MBytes  56.6 Mbits/sec

[  3] 39.0-40.0 sec  6.62 MBytes  55.6 Mbits/sec

[  3] 40.0-41.0 sec  6.38 MBytes  53.5 Mbits/sec

[  3] 41.0-42.0 sec  6.75 MBytes  56.6 Mbits/sec

[  3] 42.0-43.0 sec  6.25 MBytes  52.4 Mbits/sec

[  3] 43.0-44.0 sec  7.50 MBytes  62.9 Mbits/sec

[  3] 44.0-45.0 sec  6.25 MBytes  52.4 Mbits/sec

[  3] 45.0-46.0 sec  6.75 MBytes  56.6 Mbits/sec

[  3] 46.0-47.0 sec  7.50 MBytes  62.9 Mbits/sec

[  778.235319] Unable to handle kernel NULL pointer dereference at virtual address 00000000

[  778.243827] pgd = c0003000

[  778.246659] [00000000] *pgd=80000080004003, *pmd=00000000

[  778.252472] Internal error: Oops: 207 [#1] PREEMPT SMP ARM

[  778.258213] Modules linked in: sha512_generic sha512_arm md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key usbhid xfrm_algo pru_rproc xhci_plat_hcd xhci_hcd pruss_intc usbcore rpmsg_proto dwc3 pruss udc_core usb_common rpmsg_rpc bc_example(O) snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_hdmi_audio pvrsrvkm(O) ahci_platform libahci_platform libahci ti_vip omap_aes_driver omap_sham pruss_soc_bus libata omap_wdt scsi_mod brcmfmac ti_vpe cfg80211 ti_sc ti_csc brcmutil ti_vpdma dwc3_omap rtc_omap omap_des des_generic ov5640 crypto_engine ov5640_common c_can_platform c_can can_dev rtc_palmas extcon_palmas extcon_core snd_soc_tlv320aic3x omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)

[  778.331603] CPU: 1 PID: 1144 Comm: kworker/u4:2 Tainted: G O    4.9.28 #45

[  778.339708] Hardware name: Generic DRA74X (Flattened Device Tree)

[  778.346151] Workqueue: brcmf_wq/mmc2:0001:1 brcmf_sdio_dataworker [brcmfmac]

[  778.353529] task: ed773200 task.stack: d37f6000

[  778.358317] PC is at brcmf_sdiod_sglist_rw.constprop.2+0x2fc/0x5c4 [brcmfmac]

[  778.365800] LR is at 0x200

[  778.368634] pc : [<bf21ba70>]    lr : [<00000200>] psr: 200a0013

[  778.368634] sp : d37f7ca0  ip : 00000000  fp : d37f7dac

[  778.380669] r10: 00000023  r9 : 0003fe00  r8 : ecf00800

[  778.386135] r7 : 00008e00  r6 : ed5af3c0  r5 : 00000200  r4 : 00000000

[  778.392968] r3 : ef050034  r2 : eeda2000  r1 : c305c904  r0 : 00000c80

[  778.399812] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user

[  778.407282] Control: 30c5387d Table: ad6a9800  DAC: 55555555

[  778.413307] Process kworker/u4:2 (pid: 1144, stack limit = 0xd37f6210)

[  778.420154] Stack: (0xd37f7ca0 to 0xd37f8000)

[  778.424723] 7ca0: c02dcda8 01000000 d37f7e68 00000001 00000200 00000024 00000024 d37f7e68

[  778.433288] 7cc0: 00000000 c305c904 d37f7cfc d37f7ccc d37f7ccc 00000000 d37f7d0c 00000035

[  778.441867] 7ce0: a8000000 00000000 00000000 00000000 00000000 000001b5 00000000 00000000

[  778.450448] 7d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000200 00000000

[  778.459027] 7d20: 00000000 00000100 00000000 00000000 00000000 00000000 00000000 ecf01400

[  778.467606] 7d40: 00000000 00000000 d37f7cdc d37f7d10 00000000 00000000 00000000 00000000

[  778.476185] 7d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  778.484757] 7d80: 00000000 d37f7dbc ecf00800 d37f7e68 00000000 d37f7e68 00000012 ecf00e68

[  778.493325] 7da0: d37f7ddc d37f7db0 bf21c744 bf21b780 00000024 d37f7e68 00000012 00008000

[  778.501896] 7dc0: d37f7e68 000000e2 ed5af3c0 00000002 d37f7ed4 d37f7de0 bf218094 bf21c684

[  778.510472] 7de0: 00000002 c1003234 d37f7e64 d37f7df8 c026182c c025acc0 bf228710 bf2286d8

[  778.519050] 7e00: 02080020 bf2286c4 00000000 00000004 000001fc 00000014 ecf00c0c bf227784

[  778.527625] 7e20: ecf00c1c 00000001 00000000 bf22a184 ecf00e18 ecf00c00 00000012 00000004

[  778.536200] 7e40: 00000200 000000e2 d37f7e94 00000000 00000000 00000000 00000002 060402e1

[  778.544770] 7e60: 00000000 01fc0116 ecf67138 ed5af3c0 00000024 ee8844c0 00000000 ece861c0

[  778.553342] 7e80: 00000003 00000000 d37f7ef4 d37f7e98 c0934318 c024fbbc d37f7eb4 ece67e00

[  778.561915] 7ea0: ece67e00 ee80bc00 31d9cda2 ecf00e68 d3768700 ee80bc00 00000000 ece67e00

[  778.570485] 7ec0: 00000000 d3768700 d37f7f0c d37f7ed8 c02445fc bf217968 c1002d00 ee80bc18

[  778.579056] 7ee0: d37f6000 ee80bc00 d3768718 00000088 c1002d00 ee80bc18 d37f6000 d3768700

[  778.587622] 7f00: d37f7f54 d37f7f10 c0245254 c024442c c09349e8 c0baa82c ecd941c0 ffffe000

[  778.596189] 7f20: d3768700 c101a436 00000000 00000000 ecd941c0 d37f6000 d3768700 c02451fc

[  778.604759] 7f40: 00000000 00000000 d37f7fac d37f7f58 c024a58c c0245208 d37f7f58 00000000

[  778.613329] 7f60: ed65c740 d3768700 00000000 00000000 d37f7f70 d37f7f70 00000000 00000000

[  778.621894] 7f80: d37f7f80 d37f7f80 d37f7fac ecd941c0 c024a48c 00000000 00000000 00000000

[  778.630468] 7fa0: 00000000 d37f7fb0 c0207c88 c024a498 00000000 00000000 00000000 00000000

[  778.639044] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  778.647601] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ff000000 ff000000

[  778.656170] Backtrace:

[  778.658845] [<bf21b774>] (brcmf_sdiod_sglist_rw.constprop.2 [brcmfmac]) from [<bf21c744>] (brcmf_sdiod_send_pkt+0xcc/0xe0 [brcmfmac])

[  778.671428]  r10:ecf00e68 r9:00000012 r8:d37f7e68 r7:00000000 r6:d37f7e68 r5:ecf00800

[  778.679636]  r4:d37f7dbc

[  778.682393] [<bf21c678>] (brcmf_sdiod_send_pkt [brcmfmac]) from [<bf218094>] (brcmf_sdio_dataworker+0x738/0x23b8 [brcmfmac])

[  778.694154]  r7:00000002 r6:ed5af3c0 r5:000000e2 r4:d37f7e68

[  778.700135] [<bf21795c>] (brcmf_sdio_dataworker [brcmfmac]) from [<c02445fc>] (process_one_work+0x1dc/0x3f8)

[  778.710440]  r10:d3768700 r9:00000000 r8:ece67e00 r7:00000000 r6:ee80bc00 r5:d3768700

[  778.718653]  r4:ecf00e68

[  778.721306] [<c0244420>] (process_one_work) from [<c0245254>] (worker_thread+0x58/0x574)

[  778.729787]  r10:d3768700 r9:d37f6000 r8:ee80bc18 r7:c1002d00 r6:00000088 r5:d3768718

[  778.737993]  r4:ee80bc00

[  778.740647] [<c02451fc>] (worker_thread) from [<c024a58c>] (kthread+0x100/0x118)

[  778.748398]  r10:00000000 r9:00000000 r8:c02451fc r7:d3768700 r6:d37f6000 r5:ecd941c0

[  778.756602]  r4:00000000

[  778.759260] [<c024a48c>] (kthread) from [<c0207c88>] (ret_from_fork+0x14/0x2c)

[  778.766837]  r8:00000000 r7:00000000 r6:00000000 r5:c024a48c r4:ecd941c0

[  778.773861] Code: e155000e 21a0500e e7eb0050 e0823103 (e59c2000)

[  778.781506] ---[ end trace 2133f328884f53bb ]---

[  778.786397] Unable to handle kernel paging request at virtual address ffffffec

[  778.793962] pgd = c0003000

[  778.796800] [ffffffec] *pgd=80000080007003, *pmd=affae003, *pte=00000000

Broadcast message from systemd-journald@embest-am57xx (Wed 2018-09-05 14:09:19 UTC):

kernel[406]: [  778.252472] Internal error: Oops: 207 [#1] PREEMPT SMP ARM

[  778.819015] Internal error: Oops: 207 [#2] PREEMPT SMP ARM

[  778.824769] Modules linked in: sha512_generic sha512_arm md5 cbc xfrm_user xfrm4_tunnel ipcomp xfrm_ipcomp esp4 ah4 af_key usbhid xfrm_algo pru_rproc xhci_plat_hcd xhci_hcd pruss_intc usbcore rpmsg_proto dwc3 pruss udc_core usb_common rpmsg_rpc bc_example(O) snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_hdmi_audio pvrsrvkm(O) ahci_platform libahci_platform libahci ti_vip omap_aes_driver omap_sham pruss_soc_bus libata omap_wdt scsi_mod brcmfmac ti_vpe cfg80211 ti_sc ti_csc brcmutil ti_vpdma dwc3_omap rtc_omap omap_des des_generic ov5640 crypto_engine ov5640_common c_can_platform c_can can_dev rtc_palmas extcon_palmas extcon_core snd_soc_tlv320aic3x omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fq_codel uio_module_drv(O) uio gdbserverproxy(O) cryptodev(O) cmemk(O)

[  778.898390] CPU: 1 PID: 1144 Comm: kworker/u4:2 Tainted: G      D O    4.9.28 #45

[  778.906500] Hardware name: Generic DRA74X (Flattened Device Tree)

[  778.912893] task: ed773200 task.stack: d37f6000

[  778.917646] PC is at kthread_data+0x10/0x18

[  778.922033] LR is at wq_worker_sleeping+0x10/0xd8

[  778.926965] pc : [<c024afcc>]    lr : [<c0245808>] psr: 200a0193

[  778.926965] sp : d37f79f0  ip : d37f7a00  fp : d37f79fc

[  778.938992] r10: 00000000  r9 : eed40a40  r8 : ed773608

[  778.944462] r7 : c1003234  r6 : c0e5da40  r5 : ed773200  r4 : eed40a40

[  778.951308] r3 : 00000000  r2 : 00000020  r1 : 00000000  r0 : ed773200

[  778.958155] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user

[  778.965724] Control: 30c5387d Table: ad6a9800  DAC: 55555555

[  778.971750] Process kworker/u4:2 (pid: 1144, stack limit = 0xd37f6210)

[  778.978588] Stack: (0xd37f79f0 to 0xd37f8000)

[  778.983143] 79e0: d37f7a14 d37f7a00 c0245808 c024afc8

[  778.991710] 7a00: eed40a40 ed773200 d37f7a74 d37f7a18 c09344dc c0245804 ece08a44 ecead680

[  779.000278] 7a20: d37f7a3c d37f7a30 c028bf34 c028bcb8 d37f7a84 c0254b80 c0230350 c028bf24

[  779.008842] 7a40: c022fcf4 00000000 c0e59280 ed773200 d37f76f4 ee880000 d37f7a90 ed773580

[  779.017417] 7a60: c1007928 bf21ba74 d37f7a84 d37f7a78 c0254b80 c0934078 d37f7aac d37f7a88

[  779.025990] 7a80: c0231ba0 c0254afc c0ba1138 00000000 d37f7a90 d37f7a90 c022dc00 bf21ba72

[  779.034561] 7aa0: d37f7b34 d37f7ab0 c020b7a8 c0231498 d37f6210 0000000b d37f7adc c0ba1140

[  779.043128] 7ac0: 00000008 bf000000 00000000 600a0113 657f7afc 30353531 20653030 30613132

[  779.051701] 7ae0: 65303035 65376520 35303062 30652030 31333238 28203330 63393565 30303032

[  779.060269] 7b00: c0002029 600a0113 00000000 00000000 d37f7c50 00000207 00000000 00000000

[  779.068836] 7b20: d37f6000 00000023 d37f7b4c d37f7b38 c021a338 c020b568 d37f7c50 00000207

[  779.077399] 7b40: d37f7b9c d37f7b50 c0215210 c021a2d8 00005525 00000000 d37f7b84 d37f7b68

[  779.085963] 7b60: c0274e50 c0288524 ed773280 00000001 00000000 c10081b4 00000207 c0214ec8

[  779.094544] 7b80: 00000000 d37f7c50 d37f6000 00000023 d37f7c4c d37f7ba0 c02012ac c0214ed4

[  779.103126] 7ba0: d37f7c34 d37f7bb0 c026274c c025aacc c0a66638 edc19400 d37f7bd4 d37f7bc8

[  779.111701] 7bc0: c09352f0 c09351a4 d37f7bfc d37f7bd8 00000001 00000000 ed773280 00000000

[  779.120273] 7be0: 00000400 d37f7d18 00000001 00000008 400a0013 c104a340 00000000 ef04ff80

[  779.128839] 7c00: d37f7ca4 d37f7c10 c02dc3fc c02f1bb0 00000001 00015e2a d37f7c4c d37f7c28

[  779.137407] 7c20: c025ab40 c04d2488 ee885dc0 bf21ba70 200a0013 ffffffff d37f7c84 ecf00800

[  779.145982] 7c40: d37f7dac d37f7c50 c020bff0 c0201280 00000c80 c305c904 eeda2000 ef050034

[  779.154553] 7c60: 00000000 00000200 ed5af3c0 00008e00 ecf00800 0003fe00 00000023 d37f7dac

[  779.163129] 7c80: 00000000 d37f7ca0 00000200 bf21ba70 200a0013 ffffffff bf21b9f4 00000000

[  779.171697] 7ca0: c02dcda8 01000000 d37f7e68 00000001 00000200 00000024 00000024 d37f7e68

[  779.180265] 7cc0: 00000000 c305c904 d37f7cfc d37f7ccc d37f7ccc 00000000 d37f7d0c 00000035

[  779.188845] 7ce0: a8000000 00000000 00000000 00000000 00000000 000001b5 00000000 00000000

[  779.197424] 7d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000200 00000000

[  779.205995] 7d20: 00000000 00000100 00000000 00000000 00000000 00000000 00000000 ecf01400

[  779.214564] 7d40: 00000000 00000000 d37f7cdc d37f7d10 00000000 00000000 00000000 00000000

[  779.223139] 7d60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  779.231715] 7d80: 00000000 d37f7dbc ecf00800 d37f7e68 00000000 d37f7e68 00000012 ecf00e68

[  779.240290] 7da0: d37f7ddc d37f7db0 bf21c744 bf21b780 00000024 d37f7e68 00000012 00008000

[  779.248862] 7dc0: d37f7e68 000000e2 ed5af3c0 00000002 d37f7ed4 d37f7de0 bf218094 bf21c684

[  779.257436] 7de0: 00000002 c1003234 d37f7e64 d37f7df8 c026182c c025acc0 bf228710 bf2286d8

[  779.266004] 7e00: 02080020 bf2286c4 00000000 00000004 000001fc 00000014 ecf00c0c bf227784

[  779.274579] 7e20: ecf00c1c 00000001 00000000 bf22a184 ecf00e18 ecf00c00 00000012 00000004

[  779.283158] 7e40: 00000200 000000e2 d37f7e94 00000000 00000000 00000000 00000002 060402e1

[  779.291730] 7e60: 00000000 01fc0116 ecf67138 ed5af3c0 00000024 ee8844c0 00000000 ece861c0

[  779.300302] 7e80: 00000003 00000000 d37f7ef4 d37f7e98 c0934318 c024fbbc d37f7eb4 ece67e00

[  779.308867] 7ea0: ece67e00 ee80bc00 31d9cda2 ecf00e68 d3768700 ee80bc00 00000000 ece67e00

[  779.317435] 7ec0: 00000000 d3768700 d37f7f0c d37f7ed8 c02445fc bf217968 c1002d00 ee80bc18

[  779.326004] 7ee0: d37f6000 ee80bc00 d3768718 00000088 c1002d00 ee80bc18 d37f6000 d3768700

[  779.334579] 7f00: d37f7f54 d37f7f10 c0245254 c024442c c09349e8 c0baa82c ecd941c0 ffffe000

[  779.343158] 7f20: d3768700 c101a436 00000000 00000000 ecd941c0 d37f6000 d3768700 c02451fc

[  779.351730] 7f40: 00000000 00000000 d37f7fac d37f7f58 c024a58c c0245208 d37f7f58 00000000

[  779.360306] 7f60: ed65c740 d3768700 00000000 00000000 d37f7f70 d37f7f70 00000001 00010001

[  779.368891] 7f80: d37f7f80 d37f7f80 d37f7fac ecd941c0 c024a48c 00000000 00000000 00000000

[  779.377459] 7fa0: 00000000 d37f7fb0 c0207c88 c024a498 00000000 00000000 00000000 00000000

[  779.386027] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

[  779.394604] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ff000000 ff000000

[  779.403173] Backtrace:

[  779.405741] [<c024afbc>] (kthread_data) from [<c0245808>] (wq_worker_sleeping+0x10/0xd8)

[  779.414228] [<c02457f8>] (wq_worker_sleeping) from [<c09344dc>] (__schedule+0x470/0x63c)

[  779.422715]  r5:ed773200 r4:eed40a40

[  779.426468] [<c093406c>] (__schedule) from [<c0254b80>] (do_task_dead+0x90/0x94)

[  779.434222]  r10:bf21ba74 r9:c1007928 r8:ed773580 r7:d37f7a90 r6:ee880000 r5:d37f76f4

[  779.442430]  r4:ed773200

[  779.445087] [<c0254af0>] (do_task_dead) from [<c0231ba0>] (do_exit+0x714/0x9f0)

[  779.452747] [<c023148c>] (do_exit) from [<c020b7a8>] (die+0x24c/0x420)

[  779.459590]  r7:bf21ba72

[  779.462249] [<c020b55c>] (die) from [<c021a338>] (__do_kernel_fault.part.0+0x6c/0x1ec)

[  779.470545]  r10:00000023 r9:d37f6000 r8:00000000 r7:00000000 r6:00000207 r5:d37f7c50

[  779.478754]  r4:00000000

[  779.481415] [<c021a2cc>] (__do_kernel_fault.part.0) from [<c0215210>] (do_page_fault+0x348/0x354)

[  779.490708]  r7:00000207 r4:d37f7c50

[  779.494452] [<c0214ec8>] (do_page_fault) from [<c02012ac>] (do_DataAbort+0x38/0xb8)

[  779.502477]  r10:00000023 r9:d37f6000 r8:d37f7c50 r7:00000000 r6:c0214ec8 r5:00000207

[  779.510678]  r4:c10081b4

[  779.513335] [<c0201274>] (do_DataAbort) from [<c020bff0>] (__dabt_svc+0x50/0x80)

[  779.521086] Exception stack(0xd37f7c50 to 0xd37f7c98)

[  779.526381] 7c40: 00000c80 c305c904 eeda2000 ef050034

[  779.534957] 7c60: 00000000 00000200 ed5af3c0 00008e00 ecf00800 0003fe00 00000023 d37f7dac

[  779.543526] 7c80: 00000000 d37f7ca0 00000200 bf21ba70 200a0013 ffffffff

[  779.550449]  r8:ecf00800 r7:d37f7c84 r6:ffffffff r5:200a0013 r4:bf21ba70

[  779.557604] [<bf21b774>] (brcmf_sdiod_sglist_rw.constprop.2 [brcmfmac]) from [<bf21c744>] (brcmf_sdiod_send_pkt+0xcc/0xe0 [brcmfmac])

[  779.570190]  r10:ecf00e68 r9:00000012 r8:d37f7e68 r7:00000000 r6:d37f7e68 r5:ecf00800

[  779.578395]  r4:d37f7dbc

[  779.581155] [<bf21c678>] (brcmf_sdiod_send_pkt [brcmfmac]) from [<bf218094>] (brcmf_sdio_dataworker+0x738/0x23b8 [brcmfmac])

[  779.592919]  r7:00000002 r6:ed5af3c0 r5:000000e2 r4:d37f7e68

[  779.598907] [<bf21795c>] (brcmf_sdio_dataworker [brcmfmac]) from [<c02445fc>] (process_one_work+0x1dc/0x3f8)

[  779.609216]  r10:d3768700 r9:00000000 r8:ece67e00 r7:00000000 r6:ee80bc00 r5:d3768700

[  779.617424]  r4:ecf00e68

[  779.620083] [<c0244420>] (process_one_work) from [<c0245254>] (worker_thread+0x58/0x574)

[  779.628557]  r10:d3768700 r9:d37f6000 r8:ee80bc18 r7:c1002d00 r6:00000088 r5:d3768718

[  779.636764]  r4:ee80bc00

[  779.639425] [<c02451fc>] (worker_thread) from [<c024a58c>] (kthread+0x100/0x118)

[  779.647170]  r10:00000000 r9:00000000 r8:c02451fc r7:d3768700 r6:d37f6000 r5:ecd941c0

[  779.655379]  r4:00000000

[  779.658034] [<c024a48c>] (kthread) from [<c0207c88>] (ret_from_fork+0x14/0x2c)

[  779.665612]  r8:00000000 r7:00000000 r6:00000000 r5:c024a48c r4:ecd941c0

[  779.672637] Code: e1a0c00d e92dd800 e24cb004 e59033d8 (e5130014)

[  779.679024] ---[ end trace 2133f328884f53bc ]---

[  779.683861] Fixing recursive fault but reboot is needed!

0 Likes
1 Solution

You may want to reach out to the module partner that provided the module as they may already have a port of the FMAC driver for the TI Sitara platform.  Unfortunately, we do not have one internally.

In addition, Design partners like Packet Path​ have experience porting our driver to other platforms.  You may want to discuss the work with vsubbiah_1779701​ to see if his team can help.

View solution in original post

0 Likes
3 Replies
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hi :

       seems the crash is occurring on the data transfer on SDIO side.  Are you using a module solution or COB solution on TI platform?    Did you try to low down the SDIO clock for a  long-run test ?

Anonymous
Not applicable

We use a module. The current SDIO clock is at 50Mhz. And we have try to slow down the SDIO clock to 2Mhz or 4Mhz then the risk of kernel crash is significantly lower. I think slowdown the clock is not a reasonable way. The driver code should not access a null pointer even there are errors on SDIO transform.

0 Likes

You may want to reach out to the module partner that provided the module as they may already have a port of the FMAC driver for the TI Sitara platform.  Unfortunately, we do not have one internally.

In addition, Design partners like Packet Path​ have experience porting our driver to other platforms.  You may want to discuss the work with vsubbiah_1779701​ to see if his team can help.

0 Likes