diff options
| author | Navdeep Parhar <np@FreeBSD.org> | 2026-06-03 05:07:31 +0000 |
|---|---|---|
| committer | Navdeep Parhar <np@FreeBSD.org> | 2026-06-03 06:25:15 +0000 |
| commit | c029d04671e904ce7e194fb441704b6a814f40f5 (patch) | |
| tree | 57503a789d0096ba43d1ce212de2293672ea00a9 | |
| parent | 886164895f3f4805dc11171ac7980acaccf6ec77 (diff) | |
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
| -rw-r--r-- | sys/dev/cxgbe/t4_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
