Netdev List
 help / color / mirror / Atom feed
* [net PATCH 0/5] fbnic: Fix FW crash restore, stop path and mailbox teardown bugs
@ 2026-11-04 17:58 Alexander Duyck
  2026-11-04 17:59 ` [net PATCH 1/5] fbnic: Take the instance lock to restore filters after a FW crash Alexander Duyck
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Alexander Duyck @ 2026-11-04 17:58 UTC (permalink / raw)
  To: netdev; +Cc: andrew+netdev, davem, edumazet, horms, kernel-team, kuba, pabeni

Fixes for races and ordering problems in the paths that take the datapath
down or rebuild it: the FW crash restore, ndo_stop and PM suspend/resume,
the Tx force-flush, and the DMA flush on mailbox teardown.

Patches 1-3 were found by code review or inspection; patch 3 has not been
seen to trigger. Patches 4 and 5 together appear to resolve a hang with a
PTP Tx timestamp left in flight. The series was tested on fbnic hardware
with firmware 26.09.14-017_h7ab84d2ef68f, cycling the interface through
DPC/AER recoveries for a full day, and under QEMU with the fbnic device
model and live firmware.

These patches were previously posted as part of a larger set:
https://lore.kernel.org/netdev/179322311834.40667.5383039334126572422.stgit@ahduyck-xeon-server.home.arpa/

---

Alexander Duyck (5):
      fbnic: Take the instance lock to restore filters after a FW crash
      fbnic: Fix service task races with ndo_stop and PM suspend
      fbnic: Disable PTP completions during the Tx force-flush
      fbnic: Suspend phylink after taking the datapath down in ndo_stop
      fbnic: Wait for the outbound flush to complete on mailbox teardown


 drivers/net/ethernet/meta/fbnic/fbnic_csr.h   |  5 +++
 drivers/net/ethernet/meta/fbnic/fbnic_fw.c    | 16 +++++++
 .../net/ethernet/meta/fbnic/fbnic_netdev.c    |  4 +-
 drivers/net/ethernet/meta/fbnic/fbnic_pci.c   | 43 +++++++++++++++----
 drivers/net/ethernet/meta/fbnic/fbnic_txrx.c  | 10 +++--
 5 files changed, 64 insertions(+), 14 deletions(-)

--


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

end of thread, other threads:[~2026-11-10 20:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04 17:58 [net PATCH 0/5] fbnic: Fix FW crash restore, stop path and mailbox teardown bugs Alexander Duyck
2026-11-04 17:59 ` [net PATCH 1/5] fbnic: Take the instance lock to restore filters after a FW crash Alexander Duyck
2026-11-04 17:59 ` [net PATCH 2/5] fbnic: Fix service task races with ndo_stop and PM suspend Alexander Duyck
2026-11-08 18:32   ` netdev-bot+sashiko
2026-11-09 16:29     ` Alexander Duyck
2026-11-04 17:59 ` [net PATCH 3/5] fbnic: Disable PTP completions during the Tx force-flush Alexander Duyck
2026-11-08 18:32   ` netdev-bot+sashiko
2026-11-04 17:59 ` [net PATCH 4/5] fbnic: Suspend phylink after taking the datapath down in ndo_stop Alexander Duyck
2026-11-08 18:32   ` netdev-bot+sashiko
2026-11-04 17:59 ` [net PATCH 5/5] fbnic: Wait for the outbound flush to complete on mailbox teardown Alexander Duyck
2026-11-08 18:32   ` netdev-bot+sashiko
2026-11-09 16:42     ` Alexander Duyck
2026-11-10 20:40 ` [net PATCH 0/5] fbnic: Fix FW crash restore, stop path and mailbox teardown bugs patchwork-bot+netdevbpf

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