Commit 8837295a authored by Eduardo Valentin's avatar Eduardo Valentin Committed by Zhang Rui

thermal: add a warning for temperature emulation feature

Because this feature is for debuging purposes, it is highly
recommended to do not enable this on production systems.
This patch adds warnings for system integrators, so that
people are aware of this potential security issue.
Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent bffd1f8a
...@@ -265,6 +265,10 @@ emul_temp ...@@ -265,6 +265,10 @@ emul_temp
Unit: millidegree Celsius Unit: millidegree Celsius
WO, Optional WO, Optional
WARNING: Be careful while enabling this option on production systems,
because userland can easily disable the thermal policy by simply
flooding this sysfs node with low temperature values.
***************************** *****************************
* Cooling device attributes * * Cooling device attributes *
***************************** *****************************
......
...@@ -86,6 +86,10 @@ config THERMAL_EMULATION ...@@ -86,6 +86,10 @@ config THERMAL_EMULATION
user can manually input temperature and test the different trip user can manually input temperature and test the different trip
threshold behaviour for simulation purpose. threshold behaviour for simulation purpose.
WARNING: Be careful while enabling this option on production systems,
because userland can easily disable the thermal policy by simply
flooding this sysfs node with low temperature values.
config SPEAR_THERMAL config SPEAR_THERMAL
bool "SPEAr thermal sensor driver" bool "SPEAr thermal sensor driver"
depends on PLAT_SPEAR depends on PLAT_SPEAR
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment