git: bbfcd780c0af - stable/15 - cxgbe(4): Fix assertion in timer calibration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Oct 2026 17:37:17 UTC
The branch stable/15 has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=bbfcd780c0afb9e3392c579607fa13a25222bfa9
commit bbfcd780c0afb9e3392c579607fa13a25222bfa9
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2026-02-10 19:07:43 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-10-30 17:36:41 +0000
cxgbe(4): Fix assertion in timer calibration
The calibration callout is stopped when the adapter is marked off limits
but not when the adapter is merely stopped.
Sponsored by: Chelsio Communications
(cherry picked from commit afe55ae68e742ea5e5eb9e78cf68d570d458cd0d)
---
sys/dev/cxgbe/t4_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index 138a930f9023..396bd5a8b6a6 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -1248,7 +1248,7 @@ t4_calibration(void *arg)
sc = (struct adapter *)arg;
- KASSERT(hw_all_ok(sc), ("!hw_all_ok at t4_calibration"));
+ KASSERT(!hw_off_limits(sc), ("hw_off_limits at t4_calibration"));
hw = t4_read_reg64(sc, A_SGE_TIMESTAMP_LO);
sbt = sbinuptime();