lkml.org 
[lkml]   [2013]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/2] cpufreq: Set policy->related_cpus to atleast policy->cpus
From
On 29 January 2013 10:09, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> With the addition of following patch, related_cpus is required to be set by
> cpufreq platform drivers:
>
> commit c1070fd743533efb54e98142252283583f379190
> Author: Viresh Kumar <viresh.kumar@linaro.org>
> Date: Mon Jan 14 13:23:04 2013 +0000
>
> cpufreq: Simplify cpufreq_add_dev()
>
> Because this change is required by all platform drivers, why not do this in the
> core itself. Hence, this patch is an attempt towards fixing all broken drivers.
>
> From now on, platforms don't really need to set related_cpus from their init()
> routines, as the same work is done by core too.
>
> If platform driver needs to set the related_cpus mask with some additional cpus,
> other than cpus present in policy->cpus, they are free to do it as we aren't
> overriding anything.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> Inderpal,
>
> Can you please add your tested-by for this patch? And this will require you to
> drop your patch for exynos-cpufreq.c :)

ARM mail servers are broken. Patches attached.
[unhandled content-type:application/octet-stream][unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2013-01-29 06:42    [W:0.060 / U:1.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site