projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55aac9f
)
cpufreq: apple-soc: Increase cluster switch timeout to 400us
author
Nick Chan
<towinchenmi@gmail.com>
Wed, 18 Dec 2024 18:25:07 +0000
(
02:25
+0800)
committer
Viresh Kumar
<viresh.kumar@linaro.org>
Mon, 23 Dec 2024 10:56:47 +0000
(16:26 +0530)
Apple A11 SoC takes a long time to switch. Maximum switch time
observed is 345us, so increase the cluster switch timeout to 400us
to be safe.
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/apple-soc-cpufreq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/cpufreq/apple-soc-cpufreq.c
b/drivers/cpufreq/apple-soc-cpufreq.c
index b27d261fe5a68343705d549711ab8e244c791b30..94e57f055a5ffa0cd6bcfde6e4d427706762d680 100644
(file)
--- a/
drivers/cpufreq/apple-soc-cpufreq.c
+++ b/
drivers/cpufreq/apple-soc-cpufreq.c
@@
-53,7
+53,7
@@
#define APPLE_DVFS_PLL_FACTOR_MULT GENMASK(31, 16)
#define APPLE_DVFS_PLL_FACTOR_DIV GENMASK(15, 0)
-#define APPLE_DVFS_TRANSITION_TIMEOUT
1
00
+#define APPLE_DVFS_TRANSITION_TIMEOUT
4
00
struct apple_soc_cpufreq_info {
bool has_ps2;