PD#SWPL-181678
Problem:
The wrong pointer was manipulated when setting the voltage,
causing a crash when loading cpufreq.ko
Solution:
Modified to determine the validity of the incoming pointer and
cpufreq_Voltage_set_skip flag before the pointer assignment operation.
Verify:
A1-AD403
Change-Id: Ic4d65a03b9befc05b29b853295979f41e102f612
Signed-off-by: shu.wang <shu.wang@amlogic.com>
PD#SWPL-177709
Problem:
dsuopp table contains dsu voltage even cluster has no dsureg
Solution:
1.do not config and parse dsu voltage when cluster has no dsureg
2.configure one dsu opp table if cluster has no dsureg
Verify:
S6&S7D
Change-Id: I66c02f898e0df8c849f70b0362ab0fc5e1dff2e1
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-163050
Problem:
1 The parent of cecb and hcodec is incorrect
2 The vclk2_div register is incorrectly defined
3 no glitch mux does not work properly under certain circumstances
Solution:
1 Fixed
2 Fixed
3 Add CLK_OPS_PARENT_ENABLE to mux whose model is no glitch mux to
ensure that mux0 is enabled during mux switchover
Verify:
s7d_bm209
Change-Id: Ib78e899f7f1a93e1b9db6860c093dd28f1246491
Signed-off-by: Chuan Liu <chuan.liu@amlogic.com>
PD#SWPL-152425
Problem:
cpu suspend frequency error
Solution:
correct cpu suspend frequecy
Verify:
S7 BH201
Change-Id: I752e128ff24cf31094da84cdaed87b5b38e5371f
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-142621
Problem:
crash in dvfs cooling device for cpu1 is not online for rtos boot.
Solution:
1.in cpufreq cooling device register flow, we will assign energy model
to cooling device only when policy->related_cpus equal to em->cpus.
2.we need to use policy->related_cpus to register energy model.
Verify:
t7c
Change-Id: Ia0d1d1ee8422c801a477398504b199d266a9d97c
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-139891
Problem:
cpufreq regulator init and exit count not match
Solution:
let regulator init and exit match
Verify:
t7c
Change-Id: I78c3a82b8b487a6f4eef391bd582148cc061c815
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
PD#SWPL-139891
Problem:
cpufreq regulator init and exit count not match
Solution:
let regulator init and exit match
Verify:
AX201-S928X
Change-Id: Ia182a59c2b3cee7175607a03605e90d53f2c4b39
Signed-off-by: Shunzhou Jiang <shunzhou.jiang@amlogic.com>
PD#SWPL-137629
Problem:
memleak in dvfs driver
Solution:
add kfree code at the right place
Verify:
s1a
Change-Id: I5b1b66078d7c5c8b439b4746a835f2d1a9310ead
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-123773
Problem:
t3x/t5m isolated cpuX for APU, offline cpus flow may
cause sched_cpu_deactivate fail when cpuX offline.
Solution:
unregister cpufreq driver when reboot, then no sugov/deadline
tasks exsit.
Verify:
t3x
Change-Id: Ic3962c86582f6507dfffdce3f235910597b323c7
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
PD#SWPL-119769
Problem:
cpu frequency too large to keep performance
Solution:
1.if one cluster runs at max freq, the other cluster keep
freq above 1G
2.align opp-table to kernel4.9(remove 100M&250M)
Verify:
g12b
Change-Id: I8fc30d04526d1cefbe585c9917eaa7018da5db56
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-103829
Problem:
there are words spelling error
Solution:
correct spelling mistakes
Verify:
local scan
Change-Id: Ifc0bf977d64ceed2ae67a3235077fc9d4c734f0e
Signed-off-by: Liming Xue <liming.xue@amlogic.com>
PD#SWPL-96045
Problem:
there is no cluster proc file when replug in cpus of the cluster
Solution:
move proc file create interface from register_em to init callback
Verify:
T7C
Change-Id: Iefd070545df1843c6983ccbb73c1fde834b8afd3
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
PD#SWPL-98851
Problem:
Support the boot parameter to configure the maximum operating
frequency of the CPU
Solution:
add cpufreq limit configure in bootargs
Verify:
C3 AW419
Signed-off-by: Xingxing Wang <xingxing.wang@amlogic.com>
Change-Id: Ic5ad5931854d48ae42f39c9d07fab6c66e112497
PD#SWPL-83545
Problem:
there is warning when cpufreq scaling from 1200M to 512M
Solution:
sync sys pll enable count
Verify:
a1
Change-Id: Ie974e7d10abdb60fec15ab776fa522c143477b61
Signed-off-by: Jian Hu <jian.hu@amlogic.com>
PD#SWPL-70486
Problem:
use common tag in driver when printf
Solution:
set common pr_fmt in driver
Verify:
s4d
Signed-off-by: qinglin.li <qinglin.li@amlogic.com>
Change-Id: Ieee271d289e4d2f81258875d36288046b996a5d2