Commit 98b1e3b
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]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 5191a8d commit 98b1e3b
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 | | |
| |||
3770 | 3771 | | |
3771 | 3772 | | |
3772 | 3773 | | |
3773 | | - | |
| 3774 | + | |
3774 | 3775 | | |
3775 | 3776 | | |
3776 | 3777 | | |
| |||
11906 | 11907 | | |
11907 | 11908 | | |
11908 | 11909 | | |
11909 | | - | |
11910 | | - | |
11911 | | - | |
11912 | 11910 | | |
11913 | 11911 | | |
11914 | 11912 | | |
| |||
11921 | 11919 | | |
11922 | 11920 | | |
11923 | 11921 | | |
| 11922 | + | |
| 11923 | + | |
| 11924 | + | |
| 11925 | + | |
11924 | 11926 | | |
11925 | 11927 | | |
11926 | 11928 | | |
| |||
12326 | 12328 | | |
12327 | 12329 | | |
12328 | 12330 | | |
12329 | | - | |
| 12331 | + | |
12330 | 12332 | | |
12331 | 12333 | | |
12332 | 12334 | | |
| |||
0 commit comments