Skip to content
Snippets Groups Projects
Commit 5fcfc987 authored by David Arcari's avatar David Arcari
Browse files

thermal: intel: Remove explicit user_space governor selection

JIRA: https://issues.redhat.com/browse/RHEL-79821



commit 4596cbea0ed2ef4f563a92775c9f612700ece145
Author: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Date:   Mon Dec 16 11:08:21 2024 -0800

    thermal: intel: Remove explicit user_space governor selection

    Currently some user space programs like Linux thermald needs to register
    to get notifications from both thermal user space governor and also
    Thermal netlink. This is required as some messages like HFI (Hardware
    Feedback Notifications) requires Thermal netlink.

    This results in additional processing in kernel and user space to process
    both notifications. The cost of using user space governor using
    kobject_uevent is much higher as this is also used by other user space
    daemons like udev daemon.

    Do not select user_space thermal governor by default. If it is present
    user space programs can always use this governor by writing to
    "policy" attribute.

    Instead from the kernel select THERMAL_NETLINK. Trip temperature
    violation can be received by user space programs via thermal netlink
    events:
    THERMAL_GENL_EVENT_TZ_TRIP_UP
    THERMAL_GENL_EVENT_TZ_TRIP_DOWN

Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
    Link: https://patch.msgid.link/20241216190821.1137162-1-srinivas.pandruvada@linux.intel.com


Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>

Signed-off-by: default avatarDavid Arcari <darcari@redhat.com>
parent 33080416
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment