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:~$
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/ system/ cpu/cpu1/ acpi_cppc/ : nonlinear_ perf
/sys/devices/
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_
-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 build.1 SMP Tue Oct 9 15:52:06 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
Linux starbuck 4.15.0-37-generic #40~lp1796918+
ubuntu@starbuck:~$
ubuntu@starbuck:~$ ls -lR /sys/devices/ system/ cpu/cpu1/ acpi_cppc/ system/ cpu/cpu1/ acpi_cppc/ : nonlinear_ perf
/sys/devices/
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_
-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:~$