[GIT PULL] dtpm for v5.16
From: Daniel Lezcano <hidden>
Date: 2021-10-21 14:47:09
Hi Rafael, please consider the changes for v5.16 for the dtpm framework. Thanks -- Daniel The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f: Linux 5.15-rc1 (2021-09-12 16:28:37 -0700) are available in the Git repository at: https://git.linaro.org/people/daniel.lezcano/linux.git tags/dtpm-v5.16 for you to fetch changes up to 5d8cb8db9f791252ef5b7951b6d8cc6281de60a6: powercap/drivers/dtpm: Fix power limit initialization (2021-10-21 16:03:31 +0200) ---------------------------------------------------------------- - Simplify and make the code more self-encapsulate by dealing with the dtpm structure only (Daniel Lezcano) - Fix the power intialization (Daniel Lezcano) - Add the CPU load ponderation when estimating the instaneous power consumption (Daniel Lezcano) ---------------------------------------------------------------- Daniel Lezcano (5): powercap/drivers/dtpm: Encapsulate even more the code powercap/drivers/dtpm: Simplify the dtpm table powercap/drivers/dtpm: Use container_of instead of a private data field powercap/drivers/dtpm: Scale the power with the load powercap/drivers/dtpm: Fix power limit initialization drivers/powercap/dtpm.c | 78 +++++++++++++++++++++++++++++++++++++----------------------------------------- drivers/powercap/dtpm_cpu.c | 228 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------- include/linux/cpuhotplug.h | 2 +- include/linux/dtpm.h | 26 ++++++++++++-------------- 4 files changed, 173 insertions(+), 161 deletions(-) -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog