Date: Wed, 03 Jun 2026 07:10:44 +0000 From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c029d04671e9 - main - cxgbe(4): Use backdoor access to read SGE context on T7 Message-ID: <6a1fd374.32a53.304f7899@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=c029d04671e904ce7e194fb441704b6a814f40f5 commit c029d04671e904ce7e194fb441704b6a814f40f5 Author: Navdeep Parhar <np@FreeBSD.org> AuthorDate: 2026-06-03 05:07:31 +0000 Commit: Navdeep Parhar <np@FreeBSD.org> CommitDate: 2026-06-03 06:25:15 +0000 cxgbe(4): Use backdoor access to read SGE context on T7 This avoids a firmware bug where it crashes when accessing SGE context on a secondary core. 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 07906dac00a8..573c8f71b084 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -12576,7 +12576,7 @@ get_sge_context(struct adapter *sc, int mem_id, uint32_t cid, int len, goto done; } - if (sc->flags & FW_OK) { + if (sc->flags & FW_OK && !is_t7(sc)) { rc = -t4_sge_ctxt_rd(sc, sc->mbox, cid, mem_id, data); if (rc == 0) goto done;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1fd374.32a53.304f7899>
