summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-10-04 21:39:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-07 18:25:35 +0100
commit19cd2dc4d4c66fea1af5d95ef5b466fb792f4563 (patch)
treebbd33efd454f47a49e2ca833005e863f12ea90ce /kernel
parente11df3bffde16fd3b6843aadfb921b5be0f8b55a (diff)
downloadlinux-19cd2dc4d4c66fea1af5d95ef5b466fb792f4563.tar.gz
linux-19cd2dc4d4c66fea1af5d95ef5b466fb792f4563.tar.bz2
linux-19cd2dc4d4c66fea1af5d95ef5b466fb792f4563.zip
thermal: core: Move lists of thermal instances to trip descriptors
[ Upstream commit 0dc23567c20639049ad57fd8cc2165ee9f493ab6 ] In almost all places where a thermal zone's list of thermal instances is walked, there is a check to match a specific trip point and it is walked in vain whenever there are no cooling devices associated with the given trip. To address this, store the lists of thermal instances in trip point descriptors instead of storing them in thermal zones and adjust all code using those lists accordingly. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/5522726.Sb9uPGUboI@rjwysocki.net Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Stable-dep-of: 0cde378a10c1 ("thermal: gov_power_allocator: Update total_weight on bind and cdev updates") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions