Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal: core: Add new event for sending keep alive notifications

This event is sent by the platform firmware to confirm that
user space thermal solution is alive. The response to this event
from the user space thermal solution is platform specific.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200915223650.406046-3-srinivas.pandruvada@linux.intel.com

authored by

Srinivas Pandruvada and committed by
Daniel Lezcano
88052319 39558030

+1
+1
include/linux/thermal.h
··· 55 55 THERMAL_DEVICE_UP, /* Thermal device is up after a down event */ 56 56 THERMAL_DEVICE_POWER_CAPABILITY_CHANGED, /* power capability changed */ 57 57 THERMAL_TABLE_CHANGED, /* Thermal table(s) changed */ 58 + THERMAL_EVENT_KEEP_ALIVE, /* Request for user space handler to respond */ 58 59 }; 59 60 60 61 struct thermal_zone_device_ops {