Hi Ti Team,
I am using AM57XX LINUX SDK v09.03, the prueth driver in linux Oops after creating a linux bridge device.
~# ip link add name br0 type bridge
[ 43.775451] 8<--- cut here ---
[ 43.789978] Unable to handle kernel NULL pointer dereference at virtual address 00000158
[ 43.798278] [00000158] *pgd=8493d003, *pmd=bb49e003
[ 43.803649] Internal error: Oops: 207 [#1] PREEMPT SMP ARM
[ 43.809143] Modules linked in: xr_usb_serial_common esp32_spi
[ 43.814941] CPU: 0 PID: 768 Comm: ip Not tainted 6.1.119-rt45 #10
[ 43.821075] Hardware name: Generic DRA72X (Flattened Device Tree)
[ 43.827178] PC is at prueth_sw_switchdev_blocking_event+0x14/0xc4
[ 43.833312] LR is at blocking_notifier_call_chain+0x74/0x98
[ 43.838928] pc : [<c0a24b84>] lr : [<c025e788>] psr: 20040013
[ 43.845214] sp : c32939f0 ip : c0a1c818 fp : 00000001
[ 43.850463] r10: c1806360 r9 : fffffffd r8 : c1965110
[ 43.855712] r7 : c3293a18 r6 : 00000007 r5 : 00000000 r4 : 00000001
[ 43.862274] r3 : 00000007 r2 : c3293a18 r1 : 00000007 r0 : 00000000
[ 43.868835] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 43.876007] Control: 30c5387d Table: 84281340 DAC: fffffffd
[ 43.881774] Register r0 information: NULL pointer
[ 43.886505] Register r1 information: non-paged memory
[ 43.891571] Register r2 information: non-slab/vmalloc memory
[ 43.897247] Register r3 information: non-paged memory
[ 43.902343] Register r4 information: non-paged memory
[ 43.907409] Register r5 information: NULL pointer
[ 43.912139] Register r6 information: non-paged memory
[ 43.917205] Register r7 information: non-slab/vmalloc memory
[ 43.922912] Register r8 information: non-slab/vmalloc memory
[ 43.928588] Register r9 information: non-paged memory
[ 43.933654] Register r10 information: non-slab/vmalloc memory
[ 43.939422] Register r11 information: non-paged memory
[ 43.944610] Register r12 information: non-slab/vmalloc memory
[ 43.950378] Process ip (pid: 768, stack limit = 0xf480276d)
[ 43.955963] Stack: (0xc32939f0 to 0xc3294000)
[ 43.960357] 39e0: 00000001 c025e788 c31a5000 00000000
[ 43.968566] 3a00: 00000001 00000026 00000000 00000000 c1806360 c0e92f60 c31a5000 00000000
[ 43.976776] 3a20: 00000000 c3293a38 00000000 3279d8ab c31a5000 c0dbfdcc 00000000 00000000
[ 43.984985] 3a40: c31a5000 00000001 00000000 00000000 00000000 00010026 00000000 3279d8ab
[ 43.993194] 3a60: c493ec00 d128d7e0 c4636b40 c31a5580 00000026 c0dba594 00000000 c0384860
[ 44.001434] 3a80: c42c3694 00000000 0000000d c3059800 c31a5000 00000026 d128d7e0 000057e0
[ 44.009643] 3aa0: c18064a8 c135f4e0 ff7f0000 00000001 00000040 c0386074 00001000 00010000
[ 44.017852] 3ac0: 00000000 00000000 ffffffff c03d0674 00000dc0 00013600 000057e0 00000cc0
[ 44.026062] 3ae0: 00000040 00000020 00000cc0 00000000 c125f7c8 00000000 c31c8000 c0dbaf70
[ 44.034271] 3b00: c135f4e0 3279d8ab 00000000 c18064a8 d128d7e0 c18068ac c493ec00 00000026
[ 44.042510] 3b20: c31a5580 c1806360 00000001 c0dbb004 c31a5000 c19e517c c3293b77 d128d7e0
[ 44.050720] 3b40: c135f530 c31a5000 c31a5580 00000005 c3293be4 c31a5000 00000000 c3293d4c
[ 44.058929] 3b60: c19e7900 c0dbbef4 00000000 c0da488c c3293d4c 00d51d3c c135f7f4 c0c72af8
[ 44.067138] 3b80: 00000000 3279d8ab c1958de8 fffffff1 00000005 c0d99084 00d94f88 3279d8ab
[ 44.075347] 3ba0: c1958de8 fffffff1 00000005 c3293be4 00000000 c0da488c c3293d4c c025e578
[ 44.083587] 3bc0: c31a5000 00000000 00000000 00002007 00000000 c0c3e53c c4324240 c3293c80
[ 44.091796] 3be0: c4350800 c31a5000 00000000 00307262 c180a8b4 00000003 c19e7900 3279d8ab
[ 44.100006] 3c00: 00000001 c180a8b4 c31a5000 c4350800 00000000 c0da48ac c180a8b4 c19e7900
[ 44.108215] 3c20: c31a5000 c4350800 00000000 c0c527fc c3293d4c c3293d4c 00000000 c3293cac
[ 44.116424] 3c40: 00000000 c3293c80 00000000 c19e7900 00000000 c49e5010 00000001 c4324240
[ 44.124664] 3c60: a00f0013 c3293d60 00000000 c49e502c 00000000 00000000 00000000 00000000
[ 44.132873] 3c80: 00307262 00000000 00000000 00000000 64697262 00006567 00000000 00000000
[ 44.141082] 3ca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 44.149291] 3cc0: 00000000 00000000 00000000 3279d8ab 00000000 c49e5000 00000000 c19e8120
[ 44.157501] 3ce0: c19e8120 c4324240 c3293d4c 00000000 00000000 c0c4b020 03000f00 c23b8040
[ 44.165740] 3d00: c19684c0 c03d0564 c19cf794 c3cef2a8 00000200 00082cc0 ffffffff 3279d8ab
[ 44.173950] 3d20: c2001480 c4324240 c0c4aee8 c49e5000 00000038 c19e7900 c4350174 c4324240
[ 44.182159] 3d40: 00000000 c0c8c790 00000000 00000000 00000000 00000000 00000000 00000000
[ 44.190368] 3d60: 00000000 00000000 00000000 00000000 00000000 3279d8ab 00000000 c21e8c00
[ 44.198577] 3d80: 00000038 c23acf40 c4324240 c0c8bcc0 7fffffff 3279d8ab c3293f48 00000038
[ 44.206787] 3da0: c3293f48 00000038 c4350000 c3293f58 00000000 c0c8bf7c c3293f58 00000000
[ 44.215026] 3dc0: 00000001 00000008 c468cb00 00000000 00000300 00000000 00000000 3279d8ab
[ 44.223236] 3de0: c3293f58 c3293f48 00000000 c2918f00 00000000 00000000 c3293e0c 00000000
[ 44.231445] 3e00: 00087000 c0c0e178 00000000 00000000 c3293e58 c0c0faa8 c3293e58 c3293f58
[ 44.239654] 3e20: bec06660 0000000c bec066b8 3279d8ab 00000000 c3293f48 c2918f00 00000000
[ 44.247863] 3e40: 00000000 c31c8000 00000128 c0c0fb2c 00000000 c3293ed8 00000000 bec066d8
[ 44.256103] 3e60: 00000038 c0397754 b998e75f 00e00000 95a63181 00000002 c4504a80 00000a55
[ 44.264312] 3e80: ffefe000 3279d8ab c31c8000 c3293ed8 0008b000 c31c8000 0008b000 00000010
[ 44.272521] 3ea0: 00000000 00000000 00000c73 00000002 0008b000 c039b960 c196f1e0 c196f1a0
[ 44.280731] 3ec0: c3293fb0 c4504ab8 0008b000 c0ea56b4 c48a3180 c4504a80 c42fdaa0 00000cc0
[ 44.288940] 3ee0: 0000008b 0008b000 0008b000 00000a55 c493d000 c4281340 afca6fdf 05600000
[ 44.297180] 3f00: 00000000 c0c0cf20 c3293f44 c3293f40 00000000 00000128 c0200398 3279d8ab
[ 44.305389] 3f20: c2918f00 bec0666c 00000000 00000128 c0200398 c0c0ff80 00000000 00000000
[ 44.313598] 3f40: 00000000 fffffff7 c3293e9c 0000000c 000d4190 bec05d1c 01010000 00000000
[ 44.321807] 3f60: 00000000 c3293e64 00000000 00000000 00000000 c16b4045 00000000 00000000
[ 44.330017] 3f80: 00000000 00000000 00000000 00000001 b6ff7a40 3279d8ab 00000000 00000001
[ 44.338256] 3fa0: b6fef5a0 c0200140 00000000 00000001 00000003 bec0666c 00000000 00000000
[ 44.346466] 3fc0: 00000000 00000001 b6fef5a0 00000128 489f1325 00000000 bec06e0e 00087000
[ 44.354675] 3fe0: 00000128 bec06608 b6eef5b3 b6e61ae6 60060030 00000003 00000000 00000000
[ 44.362884] prueth_sw_switchdev_blocking_event from blocking_notifier_call_chain+0x74/0x98
[ 44.371307] blocking_notifier_call_chain from switchdev_port_obj_notify+0x4c/0xc0
[ 44.378906] switchdev_port_obj_notify from br_switchdev_port_vlan_add+0x6c/0x94
[ 44.386352] br_switchdev_port_vlan_add from __vlan_add+0x6c/0x9c0
[ 44.392578] __vlan_add from br_vlan_add+0x11c/0x38c
[ 44.397552] br_vlan_add from br_vlan_bridge_event+0x128/0x1f0
[ 44.403442] br_vlan_bridge_event from br_device_event+0x144/0x2e0
[ 44.409667] br_device_event from raw_notifier_call_chain+0x3c/0x70
[ 44.415954] raw_notifier_call_chain from register_netdevice+0x4a8/0x580
[ 44.422698] register_netdevice from br_dev_newlink+0x20/0x90
[ 44.428497] br_dev_newlink from rtnl_newlink+0x6a4/0x918
[ 44.433929] rtnl_newlink from rtnetlink_rcv_msg+0x138/0x30c
[ 44.439605] rtnetlink_rcv_msg from netlink_rcv_skb+0xc0/0x124
[ 44.445495] netlink_rcv_skb from netlink_unicast+0x1ac/0x29c
[ 44.451263] netlink_unicast from netlink_sendmsg+0x1cc/0x440
[ 44.457031] netlink_sendmsg from ____sys_sendmsg+0x184/0x20c
[ 44.462829] ____sys_sendmsg from ___sys_sendmsg+0x74/0xac
[ 44.468322] ___sys_sendmsg from sys_sendmsg+0x58/0xa0
[ 44.473510] sys_sendmsg from ret_fast_syscall+0x0/0x4c
[ 44.478759] Exception stack(0xc3293fa8 to 0xc3293ff0)
[ 44.483825] 3fa0: 00000000 00000001 00000003 bec0666c 00000000 00000000
[ 44.492034] 3fc0: 00000000 00000001 b6fef5a0 00000128 489f1325 00000000 bec06e0e 00087000
[ 44.500244] 3fe0: 00000128 bec06608 b6eef5b3 b6e61ae6
[ 44.505340] Code: e52de004 e28dd004 e3a00000 e1a03001 (e5901158)
[ 44.525451] ---[ end trace 0000000000000000 ]---
Segmentation fault