Thread (11 messages) flat view 11 messages, 4 authors, 2d ago
WARM2d

[PATCH net 0/4] eth: bnxt: fix IRQ notifier bugs

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-08-03 19:31:43

I was trying to make bnxt preserve IRQ mappings across reconfiguration.
While hacking on that I noticed 2 bugs in the notifiers that should
probably be fixed before development work.

First one is simple - TPH recofig makes aARFs not work. There can only
be one notifier per IRQ and TPH "steals" the callback from the rmap
updates. Fix by patches 1 and 2.

Second one is a deadlock between the affinity notifier and reconfig.
This one is a bit more involved (patch 3 and 4).

Unfortunately, I can't really verify the problem or test the fix.
I managed to get my hands on a system with an AMD Venice CPU which
is supposed to support TPH, but the ACPI is missing some bits to
actually advertise it. pcie_tph_get_cpu_st() returns -EINVAL.

This series would conflict with the affinity preservation which will
need to go to net-next, so I don't want to wait until I can test.

Jakub Kicinski (4):
  eth: bnxt: cancel IRQ notifier before freeing affinity mask
  eth: bnxt: keep the aRFS rmap updated when TPH is enabled
  eth: bnxt: decrease indent in bnxt_request_irq()
  eth: bnxt: avoid deadlock when canceling IRQ affinity notifier

 drivers/net/ethernet/broadcom/bnxt/bnxt.h |   3 +
 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 129 +++++++++++++++-------
 2 files changed, 91 insertions(+), 41 deletions(-)

-- 
2.55.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help