lkml.org 
[lkml]   [2014]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC PATCH v6 6/9] thermal: cpu_cooling: implement the power cooling device API
    From
    On 9 December 2014 at 16:02, Javi Merino <javi.merino@arm.com> wrote:
    > Sorry but I don't follow. __cpufreq_cooling_register() is passed a
    > clip_cpus mask, not a single cpu. How do I get "the cpu for which
    > __cpufreq_cooling_register() is called" if not by looping through all
    > the cpus in the mask?

    Yeah, its np that is passed instead of cpu number. So, that wouldn't
    be usable. Also because of the limitations I explained earlier, it makes
    sense to iterate over all clip_cpus and finding which one owns OPPs.

    --
    viresh


    \
     
     \ /
      Last update: 2014-12-09 12:01    [W:9.455 / U:0.148 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site