]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/lib/thermal: Add the threshold netlink ABI
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 22 Oct 2024 15:51:44 +0000 (17:51 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Oct 2024 12:54:01 +0000 (14:54 +0200)
commita26267248628760d02e7d03534afc59dae0c9b40
treea4828db65a81f154f2aafb18515e54677a2ed104
parent24b216b2d13568c703a76137ef54a2a9531a71d8
tools/lib/thermal: Add the threshold netlink ABI

The thermal framework supports the thresholds and allows the userspace
to create, delete, flush, get the list of the thresholds as well as
getting the list of the thresholds set for a specific thermal zone.

Add the netlink abstraction in the thermal library to take full
advantage of thresholds for the userspace program.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/20241022155147.463475-5-daniel.lezcano@linaro.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/lib/thermal/commands.c
tools/lib/thermal/events.c
tools/lib/thermal/include/thermal.h
tools/lib/thermal/libthermal.map
tools/lib/thermal/thermal.c
tools/thermal/lib/Makefile