[GIT PULL] dtpm for v5.18-rc1

From: Daniel Lezcano
Date: Thu Feb 24 2022 - 10:54:46 EST



The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c:

Linux 5.17-rc2 (2022-01-30 15:37:07 +0200)

are available in the Git repository at:

https://git.linaro.org/people/daniel.lezcano/linux.git tags/dtpm-v5.18

for you to fetch changes up to f1ebef9e55f3c49063b575e97d2019832b8f8ef9:

dtpm/soc/rk3399: Add the ability to unload the module (2022-02-23 19:46:29 +0100)

----------------------------------------------------------------
- Added dtpm hierarchy description (Daniel Lezcano)

- Changed the locking scheme (Daniel Lezcano)

- Fixed dtpm_cpu cleanup at exit time and missing virtual dtpm pointer
release (Daniel Lezcano)

----------------------------------------------------------------
Daniel Lezcano (12):
powercap/drivers/dtpm: Convert the init table section to a simple array
powercap/drivers/dtpm: Add hierarchy creation
powercap/drivers/dtpm: Add CPU DT initialization support
powercap/drivers/dtpm: Add dtpm devfreq with energy model support
rockchip/soc/drivers: Add DTPM description for rk3399
powercap/dtpm: Change locking scheme
powercap/dtpm_cpu: Reset per_cpu variable in the release function
powercap/dtpm: Fixup kfree for virtual node
powercap/dtpm: Destroy hierarchy function
powercap/dtpm: Move the 'root' reset place
powercap/dtpm_cpu: Add exit function
dtpm/soc/rk3399: Add the ability to unload the module

drivers/powercap/Kconfig | 8 ++++++
drivers/powercap/Makefile | 1 +
drivers/powercap/dtpm.c | 333 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------
drivers/powercap/dtpm_cpu.c | 55 +++++++++++++++++++++++++++++++++-----
drivers/powercap/dtpm_devfreq.c | 203 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/powercap/dtpm_subsys.h | 22 ++++++++++++++++
drivers/soc/rockchip/Kconfig | 8 ++++++
drivers/soc/rockchip/Makefile | 1 +
drivers/soc/rockchip/dtpm.c | 65 +++++++++++++++++++++++++++++++++++++++++++++
include/asm-generic/vmlinux.lds.h | 11 --------
include/linux/dtpm.h | 36 ++++++++++++-------------
11 files changed, 634 insertions(+), 109 deletions(-)
create mode 100644 drivers/powercap/dtpm_devfreq.c
create mode 100644 drivers/powercap/dtpm_subsys.h
create mode 100644 drivers/soc/rockchip/dtpm.c



--
<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