* [net PATCH] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq
@ 2025-03-27 9:40 Geetha sowjanya
2025-03-27 10:33 ` Simon Horman
2025-04-01 0:10 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Geetha sowjanya @ 2025-03-27 9:40 UTC (permalink / raw)
To: netdev, linux-kernel
Cc: kuba, davem, pabeni, edumazet, sgoutham, gakula, sbhatta, hkelam,
tduszynski
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(-)
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;
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [net PATCH] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq
2025-03-27 9:40 [net PATCH] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq Geetha sowjanya
@ 2025-03-27 10:33 ` Simon Horman
2025-04-01 0:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2025-03-27 10:33 UTC (permalink / raw)
To: Geetha sowjanya
Cc: netdev, linux-kernel, kuba, davem, pabeni, edumazet, sgoutham,
sbhatta, hkelam, tduszynski
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>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [net PATCH] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq
2025-03-27 9:40 [net PATCH] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq Geetha sowjanya
2025-03-27 10:33 ` Simon Horman
@ 2025-04-01 0:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-04-01 0:10 UTC (permalink / raw)
To: Geetha sowjanya
Cc: netdev, linux-kernel, kuba, davem, pabeni, edumazet, sgoutham,
sbhatta, hkelam, tduszynski
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-01 0:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27 9:40 [net PATCH] octeontx2-af: Free NIX_AF_INT_VEC_GEN irq Geetha sowjanya
2025-03-27 10:33 ` Simon Horman
2025-04-01 0:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox