eth: bnxt: fix IRQ notifier bugs
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | eth: bnxt: cancel IRQ notifier before freeing affinity maskdrivers/ | +2 | 2 replies | Applied |
| 2/4 | eth: bnxt: keep the aRFS rmap updated when TPH is enableddrivers/ | +15 | 1 reply | Applied |
| 3/4 | eth: bnxt: decrease indent in bnxt_request_irq()drivers/ | +25 | 1 reply | Applied |
| 4/4 | eth: bnxt: avoid deadlock when canceling IRQ affinity notifierdrivers/ drivers/ | +64 | 2 replies | Applied |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Michael Chan | Vishvambar Panth S | Breno Leitao |
|---|---|---|---|
| 1/4 | R-b | ||
| 2/4 | R-b | ||
| 3/4 | R-b | ||
| 4/4 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net 0/4] eth: bnxt: fix IRQ notifier bugs
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(-)
Signature · 1 line
2.55.0