* [PATCH 1/2] octeontx2-af: devlink: fix NIX RAS reporter recovery condition
@ 2026-03-10 18:48 Alok Tiwari
2026-03-10 18:48 ` [PATCH 2/2] octeontx2-af: devlink: fix NIX RAS reporter to use RAS interrupt status Alok Tiwari
2026-03-12 3:50 ` [PATCH 1/2] octeontx2-af: devlink: fix NIX RAS reporter recovery condition patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Alok Tiwari @ 2026-03-10 18:48 UTC (permalink / raw)
To: sbhatta, hkelam, gakula, lcherian, sgoutham, andrew+netdev, kuba,
davem, edumazet, pabeni, netdev
Cc: alok.a.tiwarilinux, alok.a.tiwari
The NIX RAS health reporter recovery routine checks nix_af_rvu_int to
decide whether to re-enable NIX_AF_RAS interrupts. This is the RVU
interrupt status field and is unrelated to RAS events, so the recovery
flow may incorrectly skip re-enabling NIX_AF_RAS interrupts.
Check nix_af_rvu_ras instead before writing NIX_AF_RAS_ENA_W1S.
Fixes: 5ed66306eab6 ("octeontx2-af: Add devlink health reporters for NIX")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.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 fb15c794efc9..7ef3da0f6a88 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
@@ -475,7 +475,7 @@ static int rvu_hw_nix_ras_recover(struct devlink_health_reporter *reporter,
if (blkaddr < 0)
return blkaddr;
- if (nix_event_ctx->nix_af_rvu_int)
+ if (nix_event_ctx->nix_af_rvu_ras)
rvu_write64(rvu, blkaddr, NIX_AF_RAS_ENA_W1S, ~0ULL);
return 0;
--
2.50.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] octeontx2-af: devlink: fix NIX RAS reporter to use RAS interrupt status
2026-03-10 18:48 [PATCH 1/2] octeontx2-af: devlink: fix NIX RAS reporter recovery condition Alok Tiwari
@ 2026-03-10 18:48 ` Alok Tiwari
2026-03-12 3:50 ` [PATCH 1/2] octeontx2-af: devlink: fix NIX RAS reporter recovery condition patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Alok Tiwari @ 2026-03-10 18:48 UTC (permalink / raw)
To: sbhatta, hkelam, gakula, lcherian, sgoutham, andrew+netdev, kuba,
davem, edumazet, pabeni, netdev
Cc: alok.a.tiwarilinux, alok.a.tiwari
The NIX RAS health report path uses nix_af_rvu_err when handling the
NIX_AF_RVU_RAS case, so the report prints the ERR interrupt status rather
than the RAS interrupt status.
Use nix_af_rvu_ras for the NIX_AF_RVU_RAS report.
Fixes: 5ed66306eab6 ("octeontx2-af: Add devlink health reporters for NIX")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
---
drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c b/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
index 7ef3da0f6a88..a29f1ea04c7d 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
+++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c
@@ -327,10 +327,10 @@ static int rvu_nix_report_show(struct devlink_fmsg *fmsg, void *ctx,
rvu_report_pair_end(fmsg);
break;
case NIX_AF_RVU_RAS:
- intr_val = nix_event_context->nix_af_rvu_err;
+ intr_val = nix_event_context->nix_af_rvu_ras;
rvu_report_pair_start(fmsg, "NIX_AF_RAS");
devlink_fmsg_u64_pair_put(fmsg, "\tNIX RAS Interrupt Reg ",
- nix_event_context->nix_af_rvu_err);
+ nix_event_context->nix_af_rvu_ras);
devlink_fmsg_string_put(fmsg, "\n\tPoison Data on:");
if (intr_val & BIT_ULL(34))
devlink_fmsg_string_put(fmsg, "\n\tNIX_AQ_INST_S");
--
2.50.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] octeontx2-af: devlink: fix NIX RAS reporter recovery condition
2026-03-10 18:48 [PATCH 1/2] octeontx2-af: devlink: fix NIX RAS reporter recovery condition Alok Tiwari
2026-03-10 18:48 ` [PATCH 2/2] octeontx2-af: devlink: fix NIX RAS reporter to use RAS interrupt status Alok Tiwari
@ 2026-03-12 3:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-03-12 3:50 UTC (permalink / raw)
To: ALOK TIWARI
Cc: sbhatta, hkelam, gakula, lcherian, sgoutham, andrew+netdev, kuba,
davem, edumazet, pabeni, netdev, alok.a.tiwarilinux
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 10 Mar 2026 11:48:16 -0700 you wrote:
> The NIX RAS health reporter recovery routine checks nix_af_rvu_int to
> decide whether to re-enable NIX_AF_RAS interrupts. This is the RVU
> interrupt status field and is unrelated to RAS events, so the recovery
> flow may incorrectly skip re-enabling NIX_AF_RAS interrupts.
>
> Check nix_af_rvu_ras instead before writing NIX_AF_RAS_ENA_W1S.
>
> [...]
Here is the summary with links:
- [1/2] octeontx2-af: devlink: fix NIX RAS reporter recovery condition
https://git.kernel.org/netdev/net/c/dc26ca99b835
- [2/2] octeontx2-af: devlink: fix NIX RAS reporter to use RAS interrupt status
https://git.kernel.org/netdev/net/c/87f7dff3ec75
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:[~2026-03-12 3:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10 18:48 [PATCH 1/2] octeontx2-af: devlink: fix NIX RAS reporter recovery condition Alok Tiwari
2026-03-10 18:48 ` [PATCH 2/2] octeontx2-af: devlink: fix NIX RAS reporter to use RAS interrupt status Alok Tiwari
2026-03-12 3:50 ` [PATCH 1/2] octeontx2-af: devlink: fix NIX RAS reporter recovery condition 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