Skip to content

Commit fa1ef24

Browse files
dlezcanorafaeljw
authored andcommitted
thermal/governor: Remove deprecated information
The userspace governor is still in use on production systems and the deprecating warning is scary. Even if we want to get rid of the userspace governor, it is too soon yet as the alternatives are not yet adopted. Change the deprecated warning by an information message suggesting to switch to the netlink thermal events. Fixes: 0275c9f ("thermal/core: Make the userspace governor deprecated") Signed-off-by: Daniel Lezcano <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 5a42ac4 commit fa1ef24

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

drivers/thermal/Kconfig

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,10 @@ config THERMAL_DEFAULT_GOV_USER_SPACE
113113
bool "user_space"
114114
select THERMAL_GOV_USER_SPACE
115115
help
116-
Select this if you want to let the user space manage the
117-
platform thermals.
116+
The Userspace governor allows to get trip point crossed
117+
notification from the kernel via uevents. It is recommended
118+
to use the netlink interface instead which gives richer
119+
information about the thermal framework events.
118120

119121
config THERMAL_DEFAULT_GOV_POWER_ALLOCATOR
120122
bool "power_allocator"

drivers/thermal/gov_user_space.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717

1818
static int user_space_bind(struct thermal_zone_device *tz)
1919
{
20-
pr_warn_once("Userspace governor deprecated: use thermal netlink " \
21-
"notification instead\n");
20+
pr_info_once("Consider using thermal netlink events interface\n");
2221

2322
return 0;
2423
}

0 commit comments

Comments
 (0)