mbox series

[0/2] Fix various issue on CPU freq for Armada 37xx

Message ID 20190308164710.10597-1-gregory.clement@bootlin.com (mailing list archive)
Headers show
Series Fix various issue on CPU freq for Armada 37xx | expand

Message

Gregory CLEMENT March 8, 2019, 4:47 p.m. UTC
Hello,

A few weeks ago an issue was reported on the cpufreq driver, in the
meantime Christian Neubert got the same issue on a ambian kernel and
proposed a patch to fix it.

His fix seemed to address the issue seen, and I only added more context
about what was done.

Christian also reported an other issue about the way the frequency was
calculated. This issue is visible only when the default frequency was
low (600MHz). Based on this I proposed to no more use the CPU
frequency as base for the calculation but on the parent clock
frequency

Gregory

Christian Neubert (1):
  cpufreq: armada-37xx: fix clock parenting

Gregory CLEMENT (1):
  cpufreq: armada-37xx: fix frequency calculation for opp

 drivers/cpufreq/armada-37xx-cpufreq.c | 42 +++++++++++++++++++++++----
 1 file changed, 36 insertions(+), 6 deletions(-)