Hi
I set TX FQID on the PCD distribution queue to forward traffic bypass CPU. The fmc can execute the policy successfully. However, the kernel crashes after I send the packet for PCD to another TX FQID. Related info and configurations are attached. Any suggestions would be appreciated.
root@localhost:~# [ 791.043545] Unable to handle kernel paging request at virtual address deadbeefdeadbfbf
[ 791.051469] Mem abort info:
[ 791.054263] Exception class = DABT (current EL), IL = 32 bits
[ 791.060176] SET = 0, FnV = 0
[ 791.063223] EA = 0, S1PTW = 0
[ 791.066354] Data abort info:
[ 791.069228] ISV = 0, ISS = 0x00000004
[ 791.073060] CM = 0, WnR = 0
[ 791.076020] [deadbeefdeadbfbf] address between user and kernel address ranges
[ 791.083152] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 791.083153] Modules linked in: xt_addrtype xt_conntrack crc32_ce lm90 ina2xx
[ 791.083163] CPU: 1 PID: 728 Comm: irq/27-QMan por Not tainted 4.14.53-rt34 #3
[ 791.083165] Hardware name: LS1046A COBRARDB Board (DT)
[ 791.083166] task: ffff800972bec740 task.stack: ffff00000c758000
[ 791.083176] PC is at _dpa_cleanup_tx_fd+0x50/0x348
[ 791.083179] LR is at priv_tx_conf_default_dqrr+0x70/0x130
[ 791.083180] pc : [<ffff0000088cc600>] lr : [<ffff0000088cb730>] pstate: 80000145
[ 791.083181] sp : ffff00000c75bb20
[ 791.083182] x29: ffff00000c75bb20 x28: 0000000000000003
[ 791.083184] x27: 0000000000000000 x26: ffff8008cc88df40
[ 791.083186] x25: ffff80097f776cc0 x24: ffff800971523098
[ 791.083188] x23: ffff800971537980 x22: ffff000009255000
[ 791.083190] x21: ffff80097f7770d0 x20: deadbeefdeadbeef
[ 791.083191] x19: 000000094c88df40 x18: 0000000000003f30
[ 791.083193] x17: 00004000927f54c0 x16: 0000400092687b80
[ 791.083197] x15: 57de11ef307e56a4 x14: 0000000000000000
[ 791.083199] x13: ffff80097f778368 x12: 0000000000000001
[ 791.083200] x11: 0000000000000003 x10: 0000000000000a50
[ 791.083202] x9 : ffff00000c75bd70 x8 : ffff800972bed1f0
[ 791.083203] x7 : 0000000000000000 x6 : 0000000000000003
[ 791.083205] x5 : 0000800976370000 x4 : 0000000000000000
[ 791.083207] x3 : ffff0000088cb6c0 x2 : 00000008cc88df40
[ 791.083208] x1 : 0000000080000000 x0 : ffff80097279bc10
[ 791.083211] Process irq/27-QMan por (pid: 728, stack limit = 0xffff00000c758000)
[ 791.083212] Call trace:
[ 791.083214] Exception stack(0xffff00000c75b9e0 to 0xffff00000c75bb20)
[ 791.083216] b9e0: ffff80097279bc10 0000000080000000 00000008cc88df40 ffff0000088cb6c0
[ 791.083218] ba00: 0000000000000000 0000800976370000 0000000000000003 0000000000000000
[ 791.083220] ba20: ffff800972bed1f0 ffff00000c75bd70 0000000000000a50 0000000000000003
[ 791.083221] ba40: 0000000000000001 ffff80097f778368 0000000000000000 57de11ef307e56a4
[ 791.083223] ba60: 0000400092687b80 00004000927f54c0 0000000000003f30 000000094c88df40
[ 791.083224] ba80: deadbeefdeadbeef ffff80097f7770d0 ffff000009255000 ffff800971537980
[ 791.083226] baa0: ffff800971523098 ffff80097f776cc0 ffff8008cc88df40 0000000000000000
[ 791.083227] bac0: 0000000000000003 ffff00000c75bb20 ffff0000088cb730 ffff00000c75bb20
[ 791.083229] bae0: ffff0000088cc600 0000000080000145 ffff800971537980 ffff800971bb7318
[ 791.083230] bb00: ffffffffffffffff ffff80097f777090 ffff00000c75bb20 ffff0000088cc600
[ 791.083233] [<ffff0000088cc600>] _dpa_cleanup_tx_fd+0x50/0x348
[ 791.083235] [<ffff0000088cb730>] priv_tx_conf_default_dqrr+0x70/0x130
[ 791.083240] [<ffff000008b39970>] qman_p_poll_dqrr+0x230/0x260
[ 791.083242] [<ffff0000088cb320>] dpaa_eth_poll+0x20/0x58
[ 791.083245] [<ffff000008bbc08c>] net_rx_action+0x18c/0x320
[ 791.083248] [<ffff0000080ca3e4>] do_current_softirqs+0x1b4/0x268
[ 791.083250] [<ffff0000080ca4ec>] __local_bh_enable+0x54/0x68
[ 791.083253] [<ffff00000811bc3c>] irq_forced_thread_fn+0x64/0x90
[ 791.083254] [<ffff00000811bf24>] irq_thread+0xfc/0x198
[ 791.083257] [<ffff0000080e53cc>] kthread+0x12c/0x130
[ 791.083260] [<ffff000008084d80>] ret_from_fork+0x10/0x18
[ 791.083264] Code: 7102001f b251405a f9400b00 f9400354 (f9406a82)
[ 791.376642] ---[ end trace 0000000000000002 ]---
[ 791.376669] genirq: exiting task "irq/27-QMan por" (728) is an active IRQ thread (irq 27)