Commit 5f62009
net: hns3: don't auto enable misc vector
Currently, there is a time window between misc irq enabled
and service task inited. If an interrupte is reported at
this time, it will cause warning like below:
[ 16.324639] Call trace:
[ 16.324641] __queue_delayed_work+0xb8/0xe0
[ 16.324643] mod_delayed_work_on+0x78/0xd0
[ 16.324655] hclge_errhand_task_schedule+0x58/0x90 [hclge]
[ 16.324662] hclge_misc_irq_handle+0x168/0x240 [hclge]
[ 16.324666] __handle_irq_event_percpu+0x64/0x1e0
[ 16.324667] handle_irq_event+0x80/0x170
[ 16.324670] handle_fasteoi_edge_irq+0x110/0x2bc
[ 16.324671] __handle_domain_irq+0x84/0xfc
[ 16.324673] gic_handle_irq+0x88/0x2c0
[ 16.324674] el1_irq+0xb8/0x140
[ 16.324677] arch_cpu_idle+0x18/0x40
[ 16.324679] default_idle_call+0x5c/0x1bc
[ 16.324682] cpuidle_idle_call+0x18c/0x1c4
[ 16.324684] do_idle+0x174/0x17c
[ 16.324685] cpu_startup_entry+0x30/0x6c
[ 16.324687] secondary_start_kernel+0x1a4/0x280
[ 16.324688] ---[ end trace 6aa0bff672a964aa ]---
So don't auto enable misc vector when request irq..
Fixes: 7be1b9f ("net: hns3: make hclge_service use delayed workqueue")
Signed-off-by: Jian Shen <[email protected]>
Signed-off-by: Jijie Shao <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>1 parent 2758f18 commit 5f62009
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
3780 | 3781 | | |
3781 | 3782 | | |
3782 | 3783 | | |
3783 | | - | |
| 3784 | + | |
3784 | 3785 | | |
3785 | 3786 | | |
3786 | 3787 | | |
| |||
11916 | 11917 | | |
11917 | 11918 | | |
11918 | 11919 | | |
11919 | | - | |
11920 | | - | |
11921 | | - | |
11922 | 11920 | | |
11923 | 11921 | | |
11924 | 11922 | | |
| |||
11931 | 11929 | | |
11932 | 11930 | | |
11933 | 11931 | | |
| 11932 | + | |
| 11933 | + | |
| 11934 | + | |
| 11935 | + | |
11934 | 11936 | | |
11935 | 11937 | | |
11936 | 11938 | | |
| |||
12336 | 12338 | | |
12337 | 12339 | | |
12338 | 12340 | | |
12339 | | - | |
| 12341 | + | |
12340 | 12342 | | |
12341 | 12343 | | |
12342 | 12344 | | |
| |||
0 commit comments