]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/core: Make the userspace governor deprecated
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 19 Oct 2021 16:35:05 +0000 (18:35 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 21 Oct 2021 15:35:05 +0000 (17:35 +0200)
commitaf6490bccab1d66b933c16ffa223d73d1e5276f1
treea4b29092db580a96211ea8459cf31177c84783ac
parent11b4f51dc5dd0046ef99c7752050d8ffccf7d39b
thermal/core: Make the userspace governor deprecated

The userspace governor is sending temperature when polling is active
and trip point crossed events. Nothing else.

AFAICT, this governor is used with custom kernels making the userspace
governor co-existing with another governor on the same thermal zone
because there was no notification mechanism, implying a hack in the
framework to support this configuration.

The new netlink thermal notification is able to provide more
information than the userspace governor and give the opportunity to
the users of this governor to replace it by a dedicated notification
framework.

The userspace governor will be removed as its usage is no longer
needed.

Add a warning message to tell the userspace governor is deprecated.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://lore.kernel.org/r/20211019163506.2831454-1-daniel.lezcano@linaro.org
drivers/thermal/gov_user_space.c