hi ti expert
when I reduce dma-heap-carveout memory size to 256MB, I have got kernel panic, it looks like this issue https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1077000/tda4vm-j721e-runtime-kernel-panic?tisearch=e2e-sitesearch&keymatch=virt_cpsw_nuss_tx_poll%2B0xb4%2F0x280%20%5Bti_j721e_cpsw_virt_mac%5D#
but I am not find the patch , please give me the patch , thanks!
root@j7-evm:~# [ 22.605659] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010
[ 22.614471] Mem abort info:
[ 22.617263] ESR = 0x96000007
[ 22.620313] EC = 0x25: DABT (current EL), IL = 32 bits
[ 22.625614] SET = 0, FnV = 0
[ 22.628657] EA = 0, S1PTW = 0
[ 22.631787] Data abort info:
[ 22.634659] ISV = 0, ISS = 0x00000007
[ 22.638488] CM = 0, WnR = 0
[ 22.641447] user pgtable: 64k pages, 48-bit VAs, pgdp=0000000895e76c00
[ 22.647964] [0000000000000010] pgd=00000008c2240003, pud=00000008c2240003, pmd=00000008c1900003, pte=0000000000000000
[ 22.658562] Internal error: Oops: 96000007 [#1] PREEMPT SMP
[ 22.664116] Modules linked in: 8021q garp stp mrp llc cfg80211 bluetooth ecdh_generic ecc rfkill ipv6 rpmsg_kdrv_switch xhci_plat_hcd xhci_hcd usbcorc
[ 22.697870] CPU: 0 PID: 1147 Comm: recvMC Tainted: G O 5.4.106 #1
[ 22.705243] Hardware name: Texas Instruments K3 J721E SoC (DT)
[ 22.711058] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 22.715841] pc : virt_cpsw_nuss_tx_poll+0xb4/0x280 [ti_j721e_cpsw_virt_mac]
[ 22.722783] lr : virt_cpsw_nuss_tx_poll+0xa4/0x280 [ti_j721e_cpsw_virt_mac]
[ 22.729722] sp : ffff80001000fdc0
[ 22.733022] x29: ffff80001000fdc0 x28: 0000000000000040
[ 22.738317] x27: ffff000816bee8b0 x26: ffff0008107f0c10
[ 22.743610] x25: ffff000816bee8a8 x24: 0000000000000000
[ 22.748903] x23: 000000000000003f x22: ffff000857a30000
[ 22.754196] x21: 0000000000000001 x20: 0000000000000040
[ 22.759490] x19: ffff000816bee8d0 x18: 0000000000000000
[ 22.764783] x17: 0000000000000000 x16: 0000000000000000
[ 22.770076] x15: 0000000000000000 x14: 0000000000000000
[ 22.775369] x13: 0000000000000000 x12: ffff8000123a0000
[ 22.780663] x11: 0000000000000001 x10: 0000000000000000
[ 22.785956] x9 : 0000000000000040 x8 : 0000000000000000
[ 22.791249] x7 : ffff8000123a0038 x6 : 0000000000000000
[ 22.796543] x5 : fffffffffffffffe x4 : ffff80086ec00000
[ 22.801838] x3 : 0000000000000000 x2 : 0000000000000000
[ 22.807132] x1 : 000000000000003f x0 : 0000000000000000
[ 22.812425] Call trace:
[ 22.814862] virt_cpsw_nuss_tx_poll+0xb4/0x280 [ti_j721e_cpsw_virt_mac]
[ 22.821464] net_rx_action+0x114/0x340
[ 22.825199] __do_softirq+0x120/0x25c
[ 22.828847] irq_exit+0xb8/0xd8
[ 22.831977] __handle_domain_irq+0x64/0xb8
[ 22.836056] gic_handle_irq+0x5c/0x148
[ 22.839790] el0_irq_naked+0x4c/0x54
[ 22.843352] Code: f94037e3 d538d084 2a1703e1 aa0303e0 (f940087c)
[ 22.849430] ---[ end trace 922adc8d842e91b8 ]---
[ 22.854031] Kernel panic - not syncing: Fatal exception in interrupt
[ 22.860365] SMP: stopping secondary CPUs
[ 22.864275] Kernel Offset: disabled
[ 22.867749] CPU features: 0x0002,20006008
[ 22.871742] Memory Limit: none
[ 22.874785] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---