linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* thermal: cpu_cooling: Power calculation when CPUs are hotplugged
@ 2015-03-16 12:00 Kapileshwar Singh
  2015-03-16 12:00 ` [PATCH v2 1/2] thermal: cpu_cooling: Remove cpu_dev update on policy CPU update Kapileshwar Singh
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kapileshwar Singh @ 2015-03-16 12:00 UTC (permalink / raw)
  To: linux-pm
  Cc: edubezval, rui.zhang, Javi.Merino, Punit.Agrawal,
	kapileshwar.singh

The following patch series aims at correcting the requested power
calculation when CPUs are hotplugged out. These patches are based on
the "linus" branch of Eduardo's tree.

There is no need to update the cpu_dev pointer (cached) on the reception of a
policy CPU update notifier from cpufreq. This is not required as OPPs
can be ascertained even if the CPU is offline.

cpufreq_get_requested power ensures that a CPU is online before calculating
the frequency for the CPUs and returns the power as 0 if all the CPUs
are offline in the cooling device.

Regards,
KP

Changes in v2:

* Added the Fixes entry in "thermal: cpu_cooling: Remove cpu_dev update on policy"
* Using the correct mailserver config


^ permalink raw reply	[flat|nested] 5+ messages in thread
* thermal: cpu_cooling: Power calculation when CPUs are hotplugged
@ 2015-03-11 17:53 Kapileshwar Singh
  0 siblings, 0 replies; 5+ messages in thread
From: Kapileshwar Singh @ 2015-03-11 17:53 UTC (permalink / raw)
  To: linux-pm
  Cc: edubezval, rui.zhang, Javi.Merino, Punit.Agrawal,
	kapileshwar.singh

The following patch series aims at correcting the requested power
calculation when CPUs are hotplugged out. These patches are based on
the "linus" branch of Eduardo's tree.

There is no need to update the cpu_dev pointer (cached) on the reception of a
policy CPU update notifier from cpufreq. This is not required as OPPs
can be ascertained even if the CPU is offline.

cpufreq_get_requested power ensures that a CPU is online before calculating
the frequency for the CPUs and returns the power as 0 if all the CPUs
are offline in the cooling device.

Regards,
KP



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-25 16:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-16 12:00 thermal: cpu_cooling: Power calculation when CPUs are hotplugged Kapileshwar Singh
2015-03-16 12:00 ` [PATCH v2 1/2] thermal: cpu_cooling: Remove cpu_dev update on policy CPU update Kapileshwar Singh
2015-03-16 12:00 ` [PATCH v2 2/2] thermal: cpu_cooling: Fix power calculation when CPUs are offline Kapileshwar Singh
2015-03-25 15:55 ` thermal: cpu_cooling: Power calculation when CPUs are hotplugged Kapileshwar Singh
  -- strict thread matches above, loose matches on Subject: below --
2015-03-11 17:53 Kapileshwar Singh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).