intel / intel/QAT_Engine

machine reboot with softlock_panic when QAT enable(QAT1.7 on c3000 chip)

Open
#124 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
443
Forks
137
PR merge metrics
No merged PRs in 30d

Description

I am using Intel Atom C3000 based CPU in which I have enabled QAT. I am passing IPsec traffic which offload to QAT as expected. My purpose is to enable QAT for kernel crypto. When I run IPsec on high load, getting below syslog and system get rebooted.

[ 3120.052240] task: ffff8801f89f1700 task.stack: ffffc900000d8000
[ 3120.052249] RIP: 0010:adf_send_message+0xd/0xa0 [intel_qat]
[ 3120.052250] RSP: 0018:ffffc900000dbb98 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10
[ 3120.052252] RAX: 0000000000000100 RBX: 00000000fffffff5 RCX: 0000000000000588
[ 3120.052253] RDX: ffff8801f034e568 RSI: ffff880129d9ceb0 RDI: ffff8801f01d5890
[ 3120.052254] RBP: ffffc900000dbbd0 R08: 0000000000000000 R09: 0000000000000000
[ 3120.052254] R10: ffffffff8126f5a0 R11: ffffffff8126f5a0 R12: ffff8801436d3c08
[ 3120.052255] R13: ffff880129d9ceb0 R14: 000000000000000c R15: ffff8801436d3c48
[ 3120.052256] FS: 0000000000000000(0000) GS:ffff8801ffd00000(0000) knlGS:0000000000000000
[ 3120.052257] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3120.052258] CR2: 0000000009a2ff00 CR3: 000000014fa56000 CR4: 00000000001406e0
[ 3120.052259] Call Trace:
[ 3120.052268] qat_crypto_unregister+0x172c/0x2810 [intel_qat]
[ 3120.052272] esp_input_done2+0x9b4/0xb10 [esp4]
[ 3120.052277] xfrm_input+0x7ad/0x960
[ 3120.052280] xfrm4_esp_rcv+0x29/0x40
[ 3120.052283] ip_local_deliver_finish+0x52/0x1d0
[ 3120.052285] ip_local_deliver+0x35/0xc0
[ 3120.052287] ? tap_ip_rcv_finish+0x10/0x10
[ 3120.052288] ip_rcv+0x316/0x4c0
[ 3120.052290] ? ip_local_deliver_finish+0x1d0/0x1d0
[ 3120.052292] __netif_receive_skb_core+0x3ec/0xac0
[ 3120.052301] ? ixgbe_poll+0x101a/0x1250 [ixgbe_nm]
[ 3120.052303] ? process_backlog+0x86/0x120
[ 3120.052304] process_backlog+0x86/0x120
[ 3120.052307] net_rx_action+0xcc/0x270
[ 3120.052309] __do_softirq+0xc5/0x1ec
[ 3120.052313] ? sort_range+0x20/0x20
[ 3120.052316] run_ksoftirqd+0x13/0x30
[ 3120.052318] smpboot_thread_fn+0xda/0x150
[ 3120.052320] kthread+0x105/0x120
[ 3120.052322] ? kthread_create_on_node+0x40/0x40
[ 3120.052323] ret_from_fork+0x1f/0x30
[ 3120.052325] Code: 0c 48 8d 84 01 c0 00 00 00 48 03 46 30 89 10 44 89 e8 5b 5d 41 5c 41 5d c3 31 c0 eb f5 90 48 8b 57 08 b8 01 00 00 00 f0 0f c1 02 <83> c0 01 3b 47 44 77 7d 41 55 49 89 f
5 41 54 4c 8d 67 10 55 53
[ 3120.052350] Kernel panic - not syncing: softlockup: hung tasks
[ 3120.052351] CPU: 2 PID: 22 Comm: ksoftirqd/2 Tainted: G O L 4.14.38 #2
[ 3120.052353] Call Trace:
[ 3120.052354]
[ 3120.052357] dump_stack+0x46/0x68
[ 3120.052359] panic+0xca/0x218
[ 3120.052363] watchdog_timer_fn+0x1ff/0x210
[ 3120.052366] __hrtimer_run_queues+0xab/0x110
[ 3120.052367] hrtimer_interrupt+0xa1/0x1d0
[ 3120.052369] smp_apic_timer_interrupt+0x4c/0x80
[ 3120.052371] apic_timer_interrupt+0x77/0x80
[ 3120.052372]

Anyone have any idea how to solve it ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.