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.

AM6412: 通过以太网传输大数据时,kerner dump,指向am65_cpsw_nuss_rx_poll

Part Number: AM6412

CPU:AM6412.

以太网 PHY:AR8033。

现象:当通过传输大数据时,kerner dump,指向的是am65_cpsw_nuss_rx_poll。以下是log信息:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010
[ 252.283917] Mem abort info:
[ 252.286717] ESR = 0x96000046
[ 252.289776] EC = 0x25: DABT (current EL), IL = 32 bits
[ 252.295137] SET = 0, FnV = 0
[ 252.298192] EA = 0, S1PTW = 0
[ 252.301332] Data abort info:
[ 252.304215] ISV = 0, ISS = 0x00000046
[ 252.308047] CM = 0, WnR = 1
[ 252.311017] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000086728000
[ 252.317451] [0000000000000010] pgd=0000000084131003, p4d=0000000084131003, pud=0000000085040003, pmd=0000000000000000
[ 252.328093] Internal error: Oops: 96000046 [#1] PREEMPT SMP
[ 252.333655] Modules linked in:
[ 252.336712] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.168-g2c23e6c538 #18
[ 252.343917] Hardware name: Texas Instruments AM642 EVM (DT)
[ 252.349478] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[ 252.355485] pc : am65_cpsw_nuss_rx_poll+0x194/0x390
[ 252.360352] lr : am65_cpsw_nuss_rx_poll+0x174/0x390
[ 252.365215] sp : ffff8000115ebda0
[ 252.368519] x29: ffff8000115ebda0 x28: ffff00005d0deb80
[ 252.373822] x27: 0000000000000000 x26: ffff00005d0debb0
[ 252.379125] x25: ffff0000016a8000 x24: ffff00000146d570
[ 252.384429] x23: 0000000000000000 x22: 0000000000000040
[ 252.389731] x21: ffff00000146c080 x20: ffff00000146d548
[ 252.395034] x19: 0000000000000000 x18: 0000000000000010
[ 252.400336] x17: 0000000000000000 x16: 0000000000000000
[ 252.405638] x15: 0000000000000000 x14: 0000000000000167
[ 252.410940] x13: 0000000000000001 x12: 0000000000000001
[ 252.416243] x11: 0000000000000040 x10: ffff800011460c10
[ 252.421546] x9 : ffff800011460c08 x8 : ffff00007fbd9d58
[ 252.426848] x7 : ffff00005d0debc0 x6 : ffff8000115ebe30
[ 252.432150] x5 : 0000000000000000 x4 : ffff00005d0debc0
[ 252.437451] x3 : 0000000000000000 x2 : 00000000000003a0
[ 252.442753] x1 : ffff000001527080 x0 : ffff000001527080
[ 252.448056] Call trace:
[ 252.450500] am65_cpsw_nuss_rx_poll+0x194/0x390
[ 252.455023] net_rx_action+0x114/0x380
[ 252.458765] efi_header_end+0x120/0x268
[ 252.462593] irq_exit+0xc0/0xe0
[ 252.465728] __handle_domain_irq+0x68/0xc0
[ 252.469817] gic_handle_irq+0x58/0x128
[ 252.473554] el1_irq+0xcc/0x180
[ 252.476691] arch_cpu_idle+0x18/0x28
[ 252.480260] default_idle_call+0x20/0x68
[ 252.484173] do_idle+0x218/0x268
[ 252.487392] cpu_startup_entry+0x24/0x50
[ 252.491304] rest_init+0xd4/0xe4
[ 252.494528] arch_call_rest_init+0x10/0x1c
[ 252.498614] start_kernel+0x478/0x4b0
[ 252.502271] Code: b9006fe2 52807402 9ba20400 f9400419 (f9000b79)
[ 252.508361] ---[ end trace dde71f7250f15230 ]---
[ 252.512969] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[ 252.519829] SMP: stopping secondary CPUs
[ 252.523748] Kernel Offset: disabled
[ 252.527226] CPU features: 0x00040002,2000200c
[ 252.531569] Memory Limit: none
[ 252.534619] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]--

dts:

&cpsw_port1 {
phy-mode = "rgmii-rxid";
phy-handle = <&cpsw3g_phy0>;
};

&cpsw3g_mdio {
cpsw3g_phy0: ethernet-phy@0 {
reg = <0>;
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
};
};

哪里设置的不对吗?谢谢