Pali Rohár
eaf03935b8
cpufreq: armada-37xx: Fix determining base CPU frequency
...
[ Upstream commit 8bad3bf23cbc40abe1d24cec08a114df6facf858 ]
When current CPU load is not L0 then loading armada-37xx-cpufreq.ko driver
fails with following error:
# modprobe armada-37xx-cpufreq
[ 502.702097] Unsupported CPU frequency 250 MHz
This issue was partially fixed by commit 8db82563451f ("cpufreq:
armada-37xx: fix frequency calculation for opp"), but only for calculating
CPU frequency for opp.
Fix this also for determination of base CPU frequency.
Signed-off-by: Pali Rohár <pali@kernel.org>
Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Tested-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Tested-by: Anders Trier Olesen <anders.trier.olesen@gmail.com>
Tested-by: Philip Soares <philips@netisense.com>
Fixes: 92ce45fb875d ("cpufreq: Add DVFS support for Armada 37xx")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:44:21 +02:00
..
2020-11-05 11:43:25 +01:00
2019-06-19 17:09:55 +02:00
2019-02-07 09:55:11 +05:30
2017-11-08 23:22:19 +01:00
2020-12-30 11:51:19 +01:00
2021-05-14 09:44:21 +02:00
2019-07-16 10:20:11 +02:00
2021-03-04 10:26:14 +01:00
2020-02-11 04:35:25 -08:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-03-30 14:35:21 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-02-11 04:35:25 -08:00
2020-08-19 08:16:25 +02:00
2019-07-18 09:49:30 +02:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:32 -07:00
2020-02-11 04:35:25 -08:00
2020-02-11 04:35:25 -08:00
2020-12-30 11:51:19 +01:00
2019-05-21 10:50:45 +02:00
2020-04-17 10:50:03 +02:00
2019-12-13 08:43:28 +01:00
2021-03-04 10:26:50 +01:00
2019-05-21 10:50:46 +02:00
2020-08-19 08:16:18 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-07-16 10:20:11 +02:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2020-02-11 04:35:25 -08:00
2020-12-30 11:51:20 +01:00
2019-07-16 10:20:11 +02:00
2019-09-03 07:55:22 +05:30
2019-07-18 09:49:30 +02:00
2020-12-30 11:51:19 +01:00
2018-09-19 14:56:44 -07:00
2019-07-18 09:49:30 +02:00
2019-05-30 11:26:32 -07:00
2019-07-23 09:49:10 +02:00
2020-02-11 04:35:25 -08:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2021-01-17 14:05:35 +01:00
2019-06-05 17:37:08 +02:00
2020-10-29 09:57:51 +01:00
2019-05-30 11:26:32 -07:00
2019-10-21 02:05:21 +02:00
2019-08-26 10:02:01 +02:00
2019-08-26 10:02:01 +02:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:32 -07:00
2019-08-22 11:31:04 +05:30
2020-12-30 11:51:19 +01:00
2019-06-19 17:09:55 +02:00
2019-06-13 08:58:22 +05:30
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-18 09:49:30 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-07-18 09:49:30 +02:00
2019-06-19 17:09:55 +02:00
2019-07-18 09:49:30 +02:00
2019-07-16 10:20:11 +02:00
2019-07-18 09:49:30 +02:00
2019-05-30 11:26:32 -07:00
2019-03-04 11:19:14 +01:00
2020-12-30 11:51:20 +01:00
2019-06-19 17:09:07 +02:00
2020-02-11 04:35:25 -08:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-07-16 10:20:11 +02:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2019-05-30 11:26:39 -07:00
2020-12-30 11:51:19 +01:00
2020-12-30 11:51:20 +01:00
2017-07-22 02:20:59 +02:00
2019-07-16 10:20:11 +02:00
2019-06-05 17:36:37 +02:00
2019-06-05 17:36:37 +02:00
2019-07-30 08:10:45 +05:30
2020-02-11 04:35:25 -08:00
2017-11-08 23:22:20 +01:00