Skip to content

Commit

Permalink
Update tpmi_ufs.sh to remove $ for line 436,437,440,441
Browse files Browse the repository at this point in the history
  • Loading branch information
qwang59 authored and ysun committed Nov 13, 2024
1 parent 7ed70e8 commit adbb084
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BM/ufs/tpmi_ufs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,12 @@ elc_low_threshold() {
die "elc_low_threshold_percent is not set to $test_low_threshold"

# Change elc_floor_freq_khz to the int_elc_floor_freq_khz +100MHz freq
do_cmd "echo $(($default_floor_freq + 100000)) > $UFS_SYSFS_PATH/$per_die/elc_floor_freq_khz"
test_print_trc "Test elc_floor_freq_khz is: $(($default_floor_freq + 100000))"
do_cmd "echo $((default_floor_freq + 100000)) > $UFS_SYSFS_PATH/$per_die/elc_floor_freq_khz"
test_print_trc "Test elc_floor_freq_khz is: $((default_floor_freq + 100000))"
test_print_trc "Configured elc_floor_freq_khz is: $(cat $UFS_SYSFS_PATH/$per_die/elc_floor_freq_khz)"
# Read the elc_floor_freq_khz, verify the value is changed
[[ "$(cat $UFS_SYSFS_PATH/$per_die/elc_floor_freq_khz)" -eq "$(($default_floor_freq + 100000))" ]] ||
die "elc_floor_freq_khz is not set to $(($default_floor_freq + 100000))"
[[ "$(cat $UFS_SYSFS_PATH/$per_die/elc_floor_freq_khz)" -eq "$((default_floor_freq + 100000))" ]] ||
die "elc_floor_freq_khz is not set to $((default_floor_freq + 100000))"

# Keep SUT idle for 30 seconds, and read the turbostat Busy% column, make sure the Busy% is lower than 5
for ((k = 1; k <= 5; k++)); do
Expand Down

0 comments on commit adbb084

Please sign in to comment.