git: afe55ae68e74 - main - cxgbe(4): Fix assertion in timer calibration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Feb 2026 01:18:26 UTC
The branch main has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=afe55ae68e742ea5e5eb9e78cf68d570d458cd0d
commit afe55ae68e742ea5e5eb9e78cf68d570d458cd0d
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2026-02-10 19:07:43 +0000
Commit: Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2026-02-13 00:54:08 +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.
MFC after: 1 week
Sponsored by: Chelsio Communications
---
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 e35bb9f64951..e14efc912de6 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -1249,7 +1249,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();