summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/flamegraph-record
diff options
context:
space:
mode:
authorThomas Mühlbacher <tmuehlbacher@posteo.net>2025-11-15 18:34:56 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2025-11-16 18:34:41 +0300
commit30db4451c7f6aabcada029b15859a76962ec0cf8 (patch)
tree999a9aafa5d10975dee30aa6995fefd96e533cc7 /tools/perf/scripts/python/bin/flamegraph-record
parent0c73772cd2b8cc108d5f5334de89ad648d89b9ec (diff)
downloadlinux-30db4451c7f6aabcada029b15859a76962ec0cf8.tar.xz
can: sja1000: fix max irq loop handling
Reading the interrupt register `SJA1000_IR` causes all of its bits to be reset. If we ever reach the condition of handling more than `SJA1000_MAX_IRQ` IRQs, we will have read the register and reset all its bits but without actually handling the interrupt inside of the loop body. This may, among other issues, cause us to never `netif_wake_queue()` again after a transmission interrupt. Fixes: 429da1cc841b ("can: Driver for the SJA1000 CAN controller") Cc: stable@vger.kernel.org Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Link: https://patch.msgid.link/20251115153437.11419-1-tmuehlbacher@posteo.net Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions