git: 17f564a784e9 - main - cxgbe(4): Dump some more debug registers in cim_dump_regs.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Mar 2022 21:43:50 UTC
The branch main has been updated by np:
URL: https://cgit.FreeBSD.org/src/commit/?id=17f564a784e9d6b11eabce9dfd11302ae7632b23
commit 17f564a784e9d6b11eabce9dfd11302ae7632b23
Author: Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2022-03-02 18:55:55 +0000
Commit: Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2022-03-02 19:11:08 +0000
cxgbe(4): Dump some more debug registers in cim_dump_regs.
MFC after: 3 days
Sponsored by: Chelsio Communications
---
sys/dev/cxgbe/t4_main.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index 1e55c361f91d..dafbdfede158 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -8984,13 +8984,20 @@ sysctl_cim_la(SYSCTL_HANDLER_ARGS)
static void
dump_cim_regs(struct adapter *sc)
{
- log(LOG_DEBUG, "%s: CIM debug regs %08x %08x %08x %08x %08x\n",
+ log(LOG_DEBUG, "%s: CIM debug regs1 %08x %08x %08x %08x %08x\n",
device_get_nameunit(sc->dev),
t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA0),
t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA1),
t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA2),
t4_read_reg(sc, A_EDC_H_BIST_DATA_PATTERN),
t4_read_reg(sc, A_EDC_H_BIST_STATUS_RDATA));
+ log(LOG_DEBUG, "%s: CIM debug regs2 %08x %08x %08x %08x %08x\n",
+ device_get_nameunit(sc->dev),
+ t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA0),
+ t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA1),
+ t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA0 + 0x800),
+ t4_read_reg(sc, A_EDC_H_BIST_USER_WDATA1 + 0x800),
+ t4_read_reg(sc, A_EDC_H_BIST_CMD_LEN));
}
static void