diff mbox series

[net] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq

Message ID 20250327094054.2312-1-gakula@marvell.com (mailing list archive)
State Accepted
Commit 323d6db6dc7decb06f2545efb9496259ddacd4f4
Delegated to: Netdev Maintainers
Headers show
Series [net] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag present in non-next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers warning 3 maintainers not CCed: lcherian@marvell.com andrew+netdev@lunn.ch jerinj@marvell.com
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success Fixes tag looks correct
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2025-04-01--00-00 (tests: 902)

Commit Message

Geetha sowjanya March 27, 2025, 9:40 a.m. UTC
Due to the incorrect initial vector number in 
rvu_nix_unregister_interrupts(), NIX_AF_INT_VEC_GEN is not
geeting free. Fix the vector number to include NIX_AF_INT_VEC_GEN
irq.

Fixes: 5ed66306eab6 ("octeontx2-af: Add devlink health reporters for NIX")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
---
 drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Horman March 27, 2025, 10:33 a.m. UTC | #1
On Thu, Mar 27, 2025 at 03:10:54PM +0530, Geetha sowjanya wrote:
> Due to the incorrect initial vector number in 
> rvu_nix_unregister_interrupts(), NIX_AF_INT_VEC_GEN is not
> geeting free. Fix the vector number to include NIX_AF_INT_VEC_GEN
> irq.
> 
> Fixes: 5ed66306eab6 ("octeontx2-af: Add devlink health reporters for NIX")
> Signed-off-by: Geetha sowjanya <gakula@marvell.com>

Reviewed-by: Simon Horman <horms@kernel.org>
patchwork-bot+netdevbpf@kernel.org April 1, 2025, 12:10 a.m. UTC | #2
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 27 Mar 2025 15:10:54 +0530 you wrote:
> Due to the incorrect initial vector number in
> rvu_nix_unregister_interrupts(), NIX_AF_INT_VEC_GEN is not
> geeting free. Fix the vector number to include NIX_AF_INT_VEC_GEN
> irq.
> 
> Fixes: 5ed66306eab6 ("octeontx2-af: Add devlink health reporters for NIX")
> Signed-off-by: Geetha sowjanya <gakula@marvell.com>
> 
> [...]

Here is the summary with links:
  - [net] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq
    https://git.kernel.org/netdev/net/c/323d6db6dc7d

You are awesome, thank you!
diff mbox series

Patch

diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
index dab4deca893f..27c3a2daaaa9 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
@@ -207,7 +207,7 @@  static void rvu_nix_unregister_interrupts(struct rvu *rvu)
 		rvu->irq_allocated[offs + NIX_AF_INT_VEC_RVU] = false;
 	}
 
-	for (i = NIX_AF_INT_VEC_AF_ERR; i < NIX_AF_INT_VEC_CNT; i++)
+	for (i = NIX_AF_INT_VEC_GEN; i < NIX_AF_INT_VEC_CNT; i++)
 		if (rvu->irq_allocated[offs + i]) {
 			free_irq(pci_irq_vector(rvu->pdev, offs + i), rvu_dl);
 			rvu->irq_allocated[offs + i] = false;