Comment 2 for bug 1796949

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

No regression were found booting the Bionic kernel with the patches applied.

== Enable CPPC control in firmware ==
CAVM_CN99xx# env set cppccontrol 1

== With stock bionic ==
ubuntu@starbuck:~$ uname -a
Linux starbuck 4.15.0-36-generic #39-Ubuntu SMP Wed Sep 26 06:05:44 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

ubuntu@starbuck:~$ 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 10 20:02 feedback_ctrs
-r--r--r-- 1 root root 4096 Oct 10 20:02 highest_perf
-r--r--r-- 1 root root 4096 Oct 10 20:02 lowest_nonlinear_perf
-r--r--r-- 1 root root 4096 Oct 10 20:02 lowest_perf
-r--r--r-- 1 root root 4096 Oct 10 20:02 nominal_perf
-r--r--r-- 1 root root 4096 Oct 10 20:02 reference_perf
-r--r--r-- 1 root root 4096 Oct 10 20:02 wraparound_time
ubuntu@starbuck:~$

== Bionic kernel with patches. ==

ubuntu@starbuck:~$ uname -a
Linux starbuck 4.15.0-37-generic #40~lp1796918+build.1 SMP Tue Oct 9 15:52:06 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@starbuck:~$

ubuntu@starbuck:~$ 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 10 20:14 feedback_ctrs
-r--r--r-- 1 root root 4096 Oct 10 20:14 highest_perf
-r--r--r-- 1 root root 4096 Oct 10 20:14 lowest_freq
-r--r--r-- 1 root root 4096 Oct 10 20:14 lowest_nonlinear_perf
-r--r--r-- 1 root root 4096 Oct 10 20:14 lowest_perf
-r--r--r-- 1 root root 4096 Oct 10 20:14 nominal_freq
-r--r--r-- 1 root root 4096 Oct 10 20:14 nominal_perf
-r--r--r-- 1 root root 4096 Oct 10 20:14 reference_perf
-r--r--r-- 1 root root 4096 Oct 10 20:14 wraparound_time
ubuntu@starbuck:~$

ubuntu@starbuck:~$ cat /sys/devices/system/cpu/cpu1/acpi_cppc/highest_perf
2500000
ubuntu@starbuck:~$

ubuntu@starbuck:~$ cat /sys/devices/system/cpu/cpu1/acpi_cppc/lowest_perf
1000000
ubuntu@starbuck:~$

ubuntu@starbuck:~$ cat /sys/devices/system/cpu/cpu1/acpi_cppc/feedback_ctrs
ref:1306246528 del:4074430338
ubuntu@starbuck:~$