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