git: f13920b39b8b - main - cxgbe(4): Skip a few more T5/T6 registers during a regdump.
Navdeep Parhar
np at FreeBSD.org
Wed Jul 14 00:40:30 UTC 2021
The branch main has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=f13920b39b8b500a17fc276629d70828f9f2d4b1
commit f13920b39b8b500a17fc276629d70828f9f2d4b1
Author: Navdeep Parhar <np at FreeBSD.org>
AuthorDate: 2021-07-13 23:38:55 +0000
Commit: Navdeep Parhar <np at FreeBSD.org>
CommitDate: 2021-07-14 00:36:40 +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
MFC after: 1 week
Sponsored by: Chelsio Communications
---
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,
More information about the dev-commits-src-all
mailing list