hikptool/0062-hikptool-The-ecam-register-is-added-to-the-PCIe-dump.patch
veega2022 e9b9e6ae98 hikptool: Add dfx reg of the ECAM for PCIE dump cmd
The DFX register of the ECAM is added when the PCIe dumps registers

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 24ef5e839f9a6cbd324c1c88060be5e0b04ea45b)
2024-11-21 19:33:57 +08:00

45 lines
1.4 KiB
Diff

From 87b58805e41ccb47c313266e76219d9b0bb5f05e Mon Sep 17 00:00:00 2001
From: moubingquan <moubingquan@huawei.com>
Date: Mon, 20 May 2024 14:13:24 +0800
Subject: [PATCH] hikptool: The ecam register is added to the PCIe dumpreg.
The ecam register is added to facilitate fault locating.
Updated the tool version to 1.1.2.
Signed-off-by: moubingquan <moubingquan@huawei.com>
---
pcie/func_lib/pcie_func/pcie_reg_dump.c | 2 ++
tool_lib/tool_lib.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/pcie/func_lib/pcie_func/pcie_reg_dump.c b/pcie/func_lib/pcie_func/pcie_reg_dump.c
index b8c2241..535807c 100644
--- a/pcie/func_lib/pcie_func/pcie_reg_dump.c
+++ b/pcie/func_lib/pcie_func/pcie_reg_dump.c
@@ -144,6 +144,8 @@ struct pcie_dumpreg_info g_reg_table_pcs[] = {
};
struct pcie_dumpreg_info g_reg_table_iob_tx[] = {
+ {0, "IOB_TX_ECAM_CONTROL0"},
+ {0, "IOB_TX_ECAM_CONTROL1"},
{0, "IOB_TX_ECAM_BASE_ADDR_L"},
{0, "IOB_TX_ECAM_BASE_ADDR_H"},
{0, "IOB_TX_CXL_BASE_BUS_0"},
diff --git a/tool_lib/tool_lib.h b/tool_lib/tool_lib.h
index 72a99c6..644a08e 100644
--- a/tool_lib/tool_lib.h
+++ b/tool_lib/tool_lib.h
@@ -18,7 +18,7 @@
#define TOOL_NAME "hikptool"
-#define TOOL_VER "1.1.1"
+#define TOOL_VER "1.1.2"
#define HI_GET_BITFIELD(value, start, mask) (((value) >> (start)) & (mask))
#define HI_SET_FIELD(origin, shift, val) ((origin) |= (val) << (shift))
--
2.45.0.windows.1