LKML Archive on lore.kernel.org
 help / color / Atom feed
* [GIT PULL] Power management updates for v5.11-rc2
@ 2021-01-01 16:51 Rafael J. Wysocki
  2021-01-01 21:11 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2021-01-01 16:51 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux PM, Linux Kernel Mailing List

Hi Linus,

Please pull from the tag

 git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
 pm-5.11-rc2

with top-most commit 0856ef671f314e27d42998470d07c6b428d23e64

 Merge branches 'pm-cpufreq', 'pm-cpuidle' and 'powercap'

on top of commit 5c8fe583cce542aa0b84adc939ce85293de36e5e

 Linux 5.11-rc1

to receive power management updates for 5.11-rc2.

These fix a crash in intel_pstate during resume from suspend-to-RAM
that may occur after recent changes and two resource leaks in error
paths in the operating performance points (OPP) framework, add a new
C-states table to intel_idle, update the cpuidle MAINTAINERS entry
to cover the governors too and add a new power capping facility
allowing aggregate power constraints to be applied to sets of devices
in a distributed manner.

Specifics:

 - Fix recently introduced crash in the intel_pstate driver that
   occurs if scale-invariance is disabled during resume from
   suspend-to-RAM due to inconsistent changes of APERF or MPERF
   MSR values made by the platform firmware (Rafael Wysocki).

 - Fix a memory leak and add a missing clk_put() in error paths in
   the OPP framework (Quanyang Wang, Viresh Kumar).

 - Add new C-states table for SnowRidge processors to the intel_idle
   driver (Artem Bityutskiy).

 - Update the MAINTAINERS entry for cpuidle to make it clear that
   the governors are covered by it too (Lukas Bulwahn).

 - Add new power capping facility called DTPM (Dynamic Thermal Power
   Management), based on the existing power capping framework, to
   allow aggregate power constraints to be applied to sets of devices
   in a distributed manner, along with a CPU backend driver based on
   the Energy Model (Daniel Lezcano).

Happy New Year!


---------------

Artem Bityutskiy (1):
      intel_idle: add SnowRidge C-state table

Daniel Lezcano (5):
      units: Add Watt units
      Documentation/powercap/dtpm: Add documentation for dtpm
      powercap/drivers/dtpm: Add API for dynamic thermal power management
      powercap/drivers/dtpm: Add CPU energy model based support
      powercap/drivers/dtpm: Fix __udivdi3 and __aeabi_uldivmod
unresolved symbols

Lukas Bulwahn (1):
      MAINTAINERS: include governors into CPU IDLE TIME MANAGEMENT FRAMEWORK

Quanyang Wang (1):
      opp: fix memory leak in _allocate_opp_table

Rafael J. Wysocki (1):
      cpufreq: intel_pstate: Fix fast-switch fallback path

Viresh Kumar (1):
      opp: Call the missing clk_put() on error

---------------

 Documentation/power/index.rst         |   1 +
 Documentation/power/powercap/dtpm.rst | 212 +++++++++++++++
 MAINTAINERS                           |   2 +-
 drivers/cpufreq/intel_pstate.c        |   1 -
 drivers/idle/intel_idle.c             |  41 ++-
 drivers/opp/core.c                    |   9 +-
 drivers/powercap/Kconfig              |  13 +
 drivers/powercap/Makefile             |   2 +
 drivers/powercap/dtpm.c               | 473 ++++++++++++++++++++++++++++++++++
 drivers/powercap/dtpm_cpu.c           | 257 ++++++++++++++++++
 include/asm-generic/vmlinux.lds.h     |  11 +
 include/linux/cpuhotplug.h            |   1 +
 include/linux/dtpm.h                  |  77 ++++++
 include/linux/units.h                 |   4 +
 14 files changed, 1099 insertions(+), 5 deletions(-)

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

* Re: [GIT PULL] Power management updates for v5.11-rc2
  2021-01-01 16:51 [GIT PULL] Power management updates for v5.11-rc2 Rafael J. Wysocki
@ 2021-01-01 21:11 ` Linus Torvalds
  2021-01-01 22:32   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2021-01-01 21:11 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Linux PM, Linux Kernel Mailing List

On Fri, Jan 1, 2021 at 8:51 AM Rafael J. Wysocki <rafael@kernel.org> wrote:
>
>  - Add new power capping facility called DTPM (Dynamic Thermal Power
>    Management), based on the existing power capping framework, to
>    allow aggregate power constraints to be applied to sets of devices
>    in a distributed manner, along with a CPU backend driver based on
>    the Energy Model (Daniel Lezcano).

This seems very much a non-fix thing.

Please explain why I should accept this outside the merge window.

                 Linus

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

* Re: [GIT PULL] Power management updates for v5.11-rc2
  2021-01-01 21:11 ` Linus Torvalds
@ 2021-01-01 22:32   ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2021-01-01 22:32 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Rafael J. Wysocki, Linux PM, Linux Kernel Mailing List

On Fri, Jan 1, 2021 at 10:12 PM Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> On Fri, Jan 1, 2021 at 8:51 AM Rafael J. Wysocki <rafael@kernel.org> wrote:
> >
> >  - Add new power capping facility called DTPM (Dynamic Thermal Power
> >    Management), based on the existing power capping framework, to
> >    allow aggregate power constraints to be applied to sets of devices
> >    in a distributed manner, along with a CPU backend driver based on
> >    the Energy Model (Daniel Lezcano).
>
> This seems very much a non-fix thing.

Well, that's right.

> Please explain why I should accept this outside the merge window.

This material has been in the works for quite a while and it missed
the merge window mostly due to unfavorable timing, so it is not a
last-minute thing.

It is self-contained and it doesn't interfere with the existing
features, so it is not likely to introduce regressions in my view.

I didn't think that there was much to gain by postponing it, because
it wouldn't change substantially between now and the next merge window
and the testing coverage of it in linux-next would be limited.  On the
other hand, having it in the tree would encourage people to build on
top of it, exercise it and provide feedback, so I decided to include
it here.

However, if you'd rather skip it this time, I'll be happy to resend
the pull request without it.

Rafael

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-01 16:51 [GIT PULL] Power management updates for v5.11-rc2 Rafael J. Wysocki
2021-01-01 21:11 ` Linus Torvalds
2021-01-01 22:32   ` Rafael J. Wysocki

LKML Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
	git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git
	git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git
	git clone --mirror https://lore.kernel.org/lkml/9 lkml/git/9.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
		linux-kernel@vger.kernel.org
	public-inbox-index lkml

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git