summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-09-18 17:20:16 -0700
committerJakub Kicinski <kuba@kernel.org>2026-09-18 17:20:17 -0700
commit6c01564da38207b8cd1f86365fabf45963f394b2 (patch)
treedfaf126532504f8b2433247e3ff587413d3e5270 /tools/perf/scripts/python/stackcollapse.py
parent95c4d54ed02283e9a09e8cd7360e384daa67a741 (diff)
parent1b97a269a5bdde20d4e69511f27649c9cb82b7c7 (diff)
downloadlinux-6c01564da38207b8cd1f86365fabf45963f394b2.tar.gz
linux-6c01564da38207b8cd1f86365fabf45963f394b2.zip
Merge branch 'eth-fbnic-a-collection-of-fixes'
Alexander Duyck says: ==================== eth: fbnic: a collection of fixes This series collects a handful of independent fbnic fixes for issues on released kernels, plus one core ethtool fix needed by the fbnic offline self test. The first patch keeps rtnl_lock held on the ethtool ioctl path for the self test. Since the ioctl path became rtnl-optional for ops-locked drivers, fbnic's offline self test (which brings the interface down and up via netif_close()/netif_open()) runs holding only the instance lock, tripping a lockdep splat / ASSERT_RTNL and reconfiguring the device without the lock it requires. A similar issue was found with Broadcom drivers so we expanded the scope for v2 to just have the rtnl lock held for all selftest calls. The second addresses a comparison issue in that we were limiting the maximum number of standalone Tx queues to one less than the maximum number of Tx queues. To resolve this it was just a matter of replacing a "<" with a "<=". The third addresses an indexing issue with netdev queues on fbnic in which the NAPI vector was assumed to be findable as the Rx index modulo the number of NAPI vectors. However this is actually not the case for if Tx only and Rx only queues are setup. To resolve this we make use of the cached NAPI pointer in the netdev Rx queues themselves. The fourth patch fixes a NULL pointer dereference on unbind after a failed PCIe error recovery: fbnic_pm_suspend() frees the napi vectors via a direct ndo_stop() while leaving netif_running() true, and when slot_reset -> resume fails the data path is never re-allocated. To prevent the panic we reset num_napi to 0 before we free the IRQs which prevents walking the unallocated napi vectors when we unbind the interface later. The last two patches address the FW mailbox. One sets AW_FLUSH_MODE alongside AW_FLUSH when tearing down the Rx ring, so the write pipeline actually drains the staged requests instead of hanging on the BME halt. The other handles completions flagged with FW_ERR on both mailboxes, which the driver previously ignored. This resulted in us parsing a stale Rx page, and spinning the capabilities poll to a timeout on a healthy ring. ==================== Link: https://patch.msgid.link/178941996343.7700.9376081102002673062.stgit@ahduyck-xeon-server.home.arpa Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions