]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
octeontx2-af: devlink: fix NIX RAS reporter recovery condition
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Tue, 10 Mar 2026 18:48:16 +0000 (11:48 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 12 Mar 2026 03:39:19 +0000 (20:39 -0700)
commitdc26ca99b835e21e76a58b1463b84adb0ca34f58
tree8c554d0fbe07634c3a1ee3ec432c624cd74e6cde
parent840c9d13cb1ca96683a5307ee8e221be163a2c1e
octeontx2-af: devlink: fix NIX RAS reporter recovery condition

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>
Link: https://patch.msgid.link/20260310184824.1183651-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c