lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue,  3 Mar 2015 21:03:37 +0800
From:	Leo Yan <leo.yan@...aro.org>
To:	Viresh Kumar <viresh.kumar@...aro.org>,
	Shawn Guo <shawn.guo@...aro.org>,
	Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
	linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org
Cc:	Leo Yan <leo.yan@...aro.org>
Subject: [PATCH 2/2] ARM: mvebu: update cpufreq-dt's platform data

Change to use cpufreq-dt's platform data of clk_domain_boundary; in
the old code the initial value is true, that means every CPU has the
dedicated clock. So assign as CPUFREQ_DT_CLK_PER_CPU.

Signed-off-by: Leo Yan <leo.yan@...aro.org>
---
 arch/arm/mach-mvebu/pmsu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c
index 8b9f5e2..1fd3f89 100644
--- a/arch/arm/mach-mvebu/pmsu.c
+++ b/arch/arm/mach-mvebu/pmsu.c
@@ -573,7 +573,7 @@ int mvebu_pmsu_dfs_request(int cpu)
 }
 
 struct cpufreq_dt_platform_data cpufreq_dt_pd = {
-	.independent_clocks = true,
+	.clk_domain_boundary = CPUFREQ_DT_CLK_PER_CPU,
 };
 
 static int __init armada_xp_pmsu_cpufreq_init(void)
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ