[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190314.102717.1146763900493083907.davem@davemloft.net>
Date: Thu, 14 Mar 2019 10:27:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: viresh.kumar@...aro.org
Cc: rjw@...ysocki.net, linux-pm@...r.kernel.org,
vincent.guittot@...aro.org, sparclinux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/7] sparc64: Update cpufreq transition notifier to
handle multiple CPUs
From: Viresh Kumar <viresh.kumar@...aro.org>
Date: Thu, 14 Mar 2019 12:12:50 +0530
> The cpufreq core currently calls the cpufreq transition notifier
> callback once for each affected CPU. This is going to change soon and
> the cpufreq core will call the callback only once for each cpufreq
> policy. The callback must look at the newly added field in struct
> cpufreq_freqs, "cpus", which contains policy->related_cpus (both
> online/offline CPUs) and perform per-cpu actions for them if any.
>
> This patch updates sparc64_cpufreq_notifier() to use the new "cpus" field
> and update per-cpu data for all the related CPUs.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists