This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: TDA4VM: J721e runtime kernel panic

Part Number: TDA4VM

Hello TI Engineer:

We currently have a project on TDA4 using ti-processor-sdk-linux-j7-evm-07_02_00_07 version for A72 development, using CPSW driver, the application uses TCP to send video streams to the PC, after a period of time the kernel panics, in I saw the same problem on E2E. TI engineers replied that there is a patch that can be fixed, but they did not share this patch in the link. Where can I download this patch?

URL for this same issue:  https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1077000/tda4vm-j721e-runtime-kernel-panic

kernel panic log:

------------[ cut here ]------------
kernel BUG at lib/genalloc.c:506!
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
Modules linked in: xt_conntrack xt_MASQUERADE xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_tables x_tables br_netfilter bridge stp llc can_raw can xfrm_user xfrm_algo xhci_plat_hcd xhci_hcd usbcore rpmsg_char omap_rng rng_core cdns3 roles udc_core usb_common crct10dif_ce ti_j721e_cpsw_virt_mac ti_k3_r5_remoteproc sa2ul sha512_generic authenc ti_k3_dsp_remoteproc virtio_rpmsg_bus cdns3_ti rti_wdt m_can_platform m_can can_dev sch_fq_codel rpmsg_kdrv_switch ipv6
CPU: 0 PID: 1318 Comm: easydarwin Not tainted 5.4.74-gdc1260ed9b13 #1
Hardware name: Texas Instruments K3 J721E SoC (DT)
pstate: 00000005 (nzcv daif -PAN -UAO)
pc : gen_pool_free_owner+0xf0/0x100
lr : gen_pool_free_owner+0xa4/0x100
sp : ffff80001000fd40
x29: ffff80001000fd40 x28: ffff000852f89000
x27: ffff00084cd9e8b0 x26: ffff0008407af410
x25: ffff00084cd9e8a8 x24: 0000000000000007
x23: ffff00007c0800ff x22: 0000000000000000
x21: 0000000000000001 x20: ffff000854ee9300
x19: ffff00007c080080 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000000
x15: 0000000000000000 x14: 0000000000000000
x13: ffff800012400000 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000001
x9 : 0000000000000001 x8 : ffff800012400038
x7 : 0000000000000001 x6 : 0000000000000000
x5 : fffffffffffffffd x4 : 0000000000000002
x3 : ffff800012400038 x2 : 0000000000000003
x1 : 000000000000003c x0 : 0000000000000001
Call trace:
gen_pool_free_owner+0xf0/0x100
k3_cppi_desc_pool_free+0x18/0x20 [ti_j721e_cpsw_virt_mac]
virt_cpsw_nuss_xmit_free.isra.0+0x60/0xf8 [ti_j721e_cpsw_virt_mac]
virt_cpsw_nuss_tx_poll+0xa4/0x280 [ti_j721e_cpsw_virt_mac]
net_rx_action+0x114/0x340
__do_softirq+0x120/0x25c
irq_exit+0xb8/0xd8
__handle_domain_irq+0x64/0xb8
gic_handle_irq+0x5c/0x148
el0_irq_naked+0x4c/0x54
Code: d65f03c0 14000044 17fffff6 d4210000 (d4210000)
---[ end trace 5900653af9275675 ]---
Kernel panic - not syncing: Fatal exception in interrupt
SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x0002,20006008
Memory Limit: none
---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---