Skip to content

Commit

Permalink
hw-mgmt: scripts: add new reset ready attribute.
Browse files Browse the repository at this point in the history
New reset_attr_ready file is created and set to 1 when all reset cause links
for this system are created. It can be used as a trigger in other services
that they can check reset reason.

Reviewed-by: Vadim Pasternak <[email protected]>
Signed-off-by: Michael Shych <[email protected]>
  • Loading branch information
mshych committed Aug 21, 2023
1 parent 8b456c8 commit 4a61900
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/usr/bin/hw-management.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ nv4_rev_a1_pci_id=22a4
leakage_count=0
asic_chipup_retry=2
chipup_log_size=4096
reset_dflt_attr_num=19
reset_dflt_attr_num=18

# Topology description and driver specification for ambient sensors and for
# ASIC I2C driver per system class. Specific system class is obtained from DMI
Expand Down Expand Up @@ -1690,6 +1690,7 @@ msn_spc3_common()
msn47xx_specific
;;
esac
echo "$reset_dflt_attr_num" > $config_path/reset_attr_num
}

bf3_common()
Expand Down

0 comments on commit 4a61900

Please sign in to comment.