15 Commits

Author SHA1 Message Date
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
veega2022
5ff15d1ced hikptool: sync code: fixed some issues for ROH/PCIE/NIC modules
Fix some issues with ROH, PCIE and NIC modules
Update tool version number to 1.1.1 (release version 14)

Signed-off-by: veega2022 <zhuweijia@huawei.com>
(cherry picked from commit 8e254c0769bc0a221ff0dcce0d022e5e76550bb6)
2024-11-21 19:33:01 +08:00
Jeiwei Li
7ea81ef4da hikptool: add the DFX of the roce module and resolve some review comments
Synchronize the code and add the DFX of the roce module to resolve some review comments

Add roce_rst, roce_global_cfg, roce_bond cmd

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-11-16 16:28:59 +08:00
veega2022
074f39e544 hikptool: Added DFX for UB, NIC, MAC modules, fixed some bugs
Synchronize patches, add DFX for UB and NIC, and MAC, and solve some bugs

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-10-20 22:46:06 +08:00
veega2022
dc99219c2a hikptool: fix compiling specifications check problem
Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-06-03 10:19:20 +08:00
veega2022
9ce8b26b85 sync code for bugfix
sync code: fix PCIe and serdes, roh module problem

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-05-31 10:47:59 +08:00
veega2022
8196ce5dde fix sas device info print error bug
fix bug for sas device info print is 0, because the O2 compilation optimization
is enabled. we use the volatile modifier added for pointer.

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-04-06 11:45:38 +00:00
veega2022
9a9d48a8af fix hikptool security compilation PIE issue
add link option -pie and change the link ld file PROVIDE address to 0x0

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2023-03-15 09:39:28 +00:00
veega2022
01f96238f6 fix compiler security option problem
add compiler option -g -pie -FPIE -Wall
and link option -Wl,-z,relro,-z,now -Wl,-z,noexecstack

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-12-14 13:59:42 +08:00
veega2022
7667c87980 socip: Return -EINVAL when the parameter check fails
add patch for fix socip module problem

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-12-12 14:19:30 +08:00
veega2022
82f3c450ff add nic_ppp dump mac and vlan function and change tool permission to 0500
add dump mac and vlan table in nic_ppp cmd, change hikptool
execute permission to 0500

note: the hikptool can be executed only by a user with the root permission

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-11-24 14:28:25 +08:00
veega2022
999e26b3b7 optimized CMakeList and change permission for hikptool
modify the rule for file cmd and change tool permission to 4555

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-11-16 19:27:57 +08:00
veega2022
1295d6c317 add hikptool sas/sata features source code
add support hikptool sas/sata dfx cmd

Signed-off-by: nifujia <nifujia1@hisilicon.com>
Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-10-28 16:19:00 +08:00
veega2022
46da047b4f add hikptool roce/roh/cxl/serdes/socip/pcie features source code
add support hikptool roce/roh/cxl/serdes/socip/pcie dfx cmd

Signed-off-by: veega2022 <zhuweijia@huawei.com>
Signed-off-by: shushengming <shushengming1@huawei.com>
Signed-off-by: wangkang <wangkang124@hisilicon.com>
Signed-off-by: fangjian <f.fangjian@huawei.com>
Signed-off-by: hesiyuan <hesiyuan4@huawei.com>
2022-10-28 10:52:32 +08:00
veega2022
4d5465ee95 init repo with spec and source code
first add hikptool spec and source code, first version is 1.0.0

Signed-off-by: veega2022 <zhuweijia@huawei.com>
2022-10-13 19:18:48 +08:00