Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] [bug report]iavf: deadlock on detach/attach vf to VM with net_failover
@ 2024-08-26  3:19 Faicker Mo
  2024-08-28 11:48 ` Glaza, Jan
  0 siblings, 1 reply; 5+ messages in thread
From: Faicker Mo @ 2024-08-26  3:19 UTC (permalink / raw)
  To: intel-wired-lan@osuosl.org
  Cc: anthony.l.nguyen@intel.com, konrad0.jankowski@intel.com

[-- Attachment #1: Type: text/plain, Size: 975 bytes --]

Hello, we met a problem with iavf driver, the ubuntu22.04 kernel 5.15.0-119 and 6.11rc4 both have the same problem.

When the X710 VF is detached and attached to the VM with net_failover, the kworker thread in VM hang. The backtrace is,
[<0>] iavf_open+0x48/0x230 [iavf]
[<0>] __dev_open+0xe5/0x1c0
[<0>] dev_open+0x52/0xa0
[<0>] net_failover_slave_register+0x131/0x190 [net_failover]
[<0>] failover_slave_register.part.0+0xda/0x180 [failover]
[<0>] failover_event+0x104/0x1f0 [failover]
[<0>] raw_notifier_call_chain+0x46/0x60
[<0>] call_netdevice_notifiers_info+0x52/0xa0
[<0>] register_netdevice+0x4d3/0x650
[<0>] iavf_finish_config+0xc5/0xf0 [iavf]
[<0>] process_one_work+0x228/0x3d0
[<0>] worker_thread+0x53/0x420
[<0>] kthread+0x127/0x150
[<0>] ret_from_fork+0x1f/0x30

It looks like a dead lock of adapter->crit_lock.
A similar problem, https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20220808175845.484968-1-ivecera@redhat.com/#2947762

[-- Attachment #2: Type: text/html, Size: 4075 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-18  3:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-26  3:19 [Intel-wired-lan] [bug report]iavf: deadlock on detach/attach vf to VM with net_failover Faicker Mo
2024-08-28 11:48 ` Glaza, Jan
2024-08-29  3:27   ` [Intel-wired-lan] [EXTERNAL] " Faicker Mo
2024-09-13 14:50     ` Glaza, Jan
2024-09-18  3:43       ` [Intel-wired-lan] [EXTERNAL] " Faicker Mo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox