Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2021 17:47:51 GMT
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 0ab62c8abacb - stable/13 - cxgbe(4): Skip a few more T5/T6 registers during a regdump.
Message-ID:  <202110201747.19KHlp5i007699@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by np:

URL: https://cgit.FreeBSD.org/src/commit/?id=0ab62c8abacb2e0d5336a247b4ba966ea48597ee

commit 0ab62c8abacb2e0d5336a247b4ba966ea48597ee
Author:     Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2021-07-13 23:38:55 +0000
Commit:     Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2021-10-20 17:42:55 +0000

    cxgbe(4): Skip a few more T5/T6 registers during a regdump.
    
    These registers have read side effects and a read at just the right
    (wrong?) time can trash some internal hw state.
    
    Obtained from:  Chelsio Communications
    Sponsored by:   Chelsio Communications
    
    (cherry picked from commit f13920b39b8b500a17fc276629d70828f9f2d4b1)
---
 sys/dev/cxgbe/common/t4_hw.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys/dev/cxgbe/common/t4_hw.c b/sys/dev/cxgbe/common/t4_hw.c
index bb08c55c87b2..f06b21120061 100644
--- a/sys/dev/cxgbe/common/t4_hw.c
+++ b/sys/dev/cxgbe/common/t4_hw.c
@@ -1373,7 +1373,8 @@ void t4_get_regs(struct adapter *adap, u8 *buf, size_t buf_size)
 		0xdfc0, 0xdfe0,
 		0xe000, 0x1106c,
 		0x11074, 0x11088,
-		0x1109c, 0x1117c,
+		0x1109c, 0x11110,
+		0x11118, 0x1117c,
 		0x11190, 0x11204,
 		0x19040, 0x1906c,
 		0x19078, 0x19080,
@@ -2082,7 +2083,8 @@ void t4_get_regs(struct adapter *adap, u8 *buf, size_t buf_size)
 		0x1190, 0x1194,
 		0x11a0, 0x11a4,
 		0x11b0, 0x11c4,
-		0x11fc, 0x1274,
+		0x11fc, 0x123c,
+		0x1254, 0x1274,
 		0x1280, 0x133c,
 		0x1800, 0x18fc,
 		0x3000, 0x302c,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110201747.19KHlp5i007699>