OSDN Git Service

arm/topology: Populate arch_scale_thermal_pressure() for ARM platforms
authorThara Gopinath <thara.gopinath@linaro.org>
Sat, 22 Feb 2020 00:52:09 +0000 (19:52 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 6 Mar 2020 11:57:19 +0000 (12:57 +0100)
commit8eab879c5463d1a16a314790764c4c9d6c74c64c
tree88cd7f80491940ed2da20dcd77526691cf58f415
parentae1677c0bbe23fe30d634ac0d9f5c147ee4adbc1
arm/topology: Populate arch_scale_thermal_pressure() for ARM platforms

Hook up topology_get_thermal_pressure to arch_scale_thermal_pressure thus
enabling scheduler to retrieve instantaneous thermal pressure of a CPU.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20200222005213.3873-6-thara.gopinath@linaro.org
arch/arm/include/asm/topology.h