From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41B1225393B; Mon, 23 Mar 2026 15:04:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774278275; cv=none; b=Xneo4w5CIFEkk4nIiiFz+QZgNIslybxHkMhaayB7VGEXyZpNiYvz6nEgbQkKMz9G6HlYy7xteGc2/vSK+ysb70L3U7pG6M3fCD4wbQnXWlmjt5ZCZHuSufphnwUwu9KORvCrtTY3EyW9U3Fv2vi5LwTLqUfm8r4JvH0XVUDTVyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774278275; c=relaxed/simple; bh=a2J2MLKjia16i1IGTJngHWosd1A9DiWhlUnMj/ai5vk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WMZM+QUXq0y5v7k4Fii61O1ELR9c/R/kvczRbHviA/SEXxUcxTVXM4Ypey2rWmnzhN8GkhnXOaJ461+sWfcSaJdB68wazXEurNEnMD+Ftn/5ADv1uuQtjzBwxgc5hS5JhPbY38gzz/WL6FNPaUkxJex94G62juKl+uPh5E7nTY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wLlJ1+G2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wLlJ1+G2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA445C4CEF7; Mon, 23 Mar 2026 15:04:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774278275; bh=a2J2MLKjia16i1IGTJngHWosd1A9DiWhlUnMj/ai5vk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wLlJ1+G2APUvNJndg5fwhu57PWUuX7L34sNz/GNMVlLv61xkPf9myH7N1jCeWKsqT 2VqL0gex8aAGb0HVEG4ijkNFK4Jr26Fv0R872wgPrrcTLjx9/LQjgHoT+7e6ufhQMN SjB/uboZ6R2KLA727YUdZcvp7i+iIM02AH5p0FkA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Alok Tiwari , Jakub Kicinski , Sasha Levin Subject: [PATCH 6.6 256/567] octeontx2-af: devlink: fix NIX RAS reporter recovery condition Date: Mon, 23 Mar 2026 14:42:56 +0100 Message-ID: <20260323134540.165636820@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260323134533.749096647@linuxfoundation.org> References: <20260323134533.749096647@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Alok Tiwari [ Upstream commit dc26ca99b835e21e76a58b1463b84adb0ca34f58 ] 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 Link: https://patch.msgid.link/20260310184824.1183651-1-alok.a.tiwari@oracle.com Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- 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 774d8b034725d..3f86e0c3fa7a8 100644 --- a/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c +++ b/drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c @@ -579,7 +579,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.51.0