Comment 5 for bug 1796949

Revision history for this message
Manoj Iyer (manjo) wrote :

-- -proposed testing --

CAVM_CN99xx# env set cppccontrol 1
cppccontrol is enabled
Env Var cppccontrol set with Value 1
Execute 'env save' Command to make the changes persistent
CAVM_CN99xx# env save
drivername snor
snor_erase: off=0x3ff0000, len=0x10000

-----------------------------------
       ENV Variable Settings
-----------------------------------
Name : Value
-----------------------------------
turbo : 0
smt : 4
corefreq : 2199
numcores : 28
icispeed : 1
socnclk : 666
socsclk : 1199
memclk : 2199
ddrspeed_auto : 0
ddrspeed : 2400
progcpufreq : 1
progdevfreq : 1
dmc_node_channel_mask : 0000ffff
thermcontrol : 1
thermlimit : 105
enter_debug_shell : 0
dbg_speed_up_ddr_lvl : 0
enable_dram_scrub : 0
ipmbcontrol : 1
ddr_dmt_advanced : 0
cppccontrol : 1
loglevel : 0
uart_params : 115200/8-N-1 none
core_feature_mask : 32
sys_feature_mask : 0x00000000
ddr_refresh_rate : 1
fw_feature_mask : 0x00000000
dram_ce_threshold : 500
dram_ce_window : 60 sec
dram_ce_leak_rate : 1 msec/error
pcie_ce_threshold : 1
pcie_ce_window : 30 sec
pcie_ce_leak_rate : 15000 msec/error
-----------------------------------
CAVM_CN99xx#

ubuntu@helo:~$ ls -lR /sys/devices/system/cpu/cpu1/acpi_cppc/
/sys/devices/system/cpu/cpu1/acpi_cppc/:
total 0
-r--r--r-- 1 root root 4096 Oct 29 17:20 feedback_ctrs
-r--r--r-- 1 root root 4096 Oct 29 17:20 highest_perf
-r--r--r-- 1 root root 4096 Oct 29 17:20 lowest_nonlinear_perf
-r--r--r-- 1 root root 4096 Oct 29 17:20 lowest_perf
-r--r--r-- 1 root root 4096 Oct 29 17:20 nominal_perf
-r--r--r-- 1 root root 4096 Oct 29 17:20 reference_perf
-r--r--r-- 1 root root 4096 Oct 29 17:20 wraparound_time
ubuntu@helo:~$ cat /sys/devices/system/cpu/cpu1/acpi_cppc/highest_perf
2500000
ubuntu@helo:~$ cat /sys/devices/system/cpu/cpu1/acpi_cppc/lowest_perf
1000000
ubuntu@helo:~$ cat /sys/devices/system/cpu/cpu1/acpi_cppc/feedback_ctrs
ref:875323264 del:2186846934
ubuntu@helo:~$