Commit ac5e080
committed
hw-mgmt: scripts: Restore asic chipup status on restart
On the SPC1/SPC2 platforms with single asic that uses minimal
driver, when the hw-mgmt service is restarted, asic chipup
status is not restored. This is because 'systemctl restart'
calls stop and start of hw-mgmt. The asic chipup is performed
only when the 'hw-management.sh chipup' is called explicitly.
When the asic was instantiated before doing a hw-mgmt restart,
as part of do_stop, asic chip down is performed and it will
not be instantiated back after do_start.
This patch adds the support for restoring the asic chipup
status on hw-mgmt restarts.
Bugs #4662187
Signed-off-by: Ciju Rajan K <crajank@nvidia.com>1 parent 166f823 commit ac5e080
2 files changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
1037 | 1038 | | |
1038 | 1039 | | |
1039 | 1040 | | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3951 | 3951 | | |
3952 | 3952 | | |
3953 | 3953 | | |
| 3954 | + | |
| 3955 | + | |
| 3956 | + | |
3954 | 3957 | | |
3955 | 3958 | | |
3956 | 3959 | | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
| 3963 | + | |
| 3964 | + | |
3957 | 3965 | | |
3958 | 3966 | | |
3959 | 3967 | | |
| |||
4035 | 4043 | | |
4036 | 4044 | | |
4037 | 4045 | | |
| 4046 | + | |
| 4047 | + | |
| 4048 | + | |
4038 | 4049 | | |
4039 | 4050 | | |
4040 | 4051 | | |
| |||
0 commit comments