Re: [PATCH] thermal/core: Introduce user trip points

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/07/2024 13:03, Rafael J. Wysocki wrote:

[ ... ]

Trips cannot be created on the fly ATM.

What can be done is to create trips that are invalid to start with and
then set their temperature via sysfs.  This has been done already for
quite a while AFAICS.

Yes, I remember that.

I would like to avoid introducing more weirdness in the thermal
framework which deserve a clear ABI.

What is missing to create new trip points on the fly ?

A different data structure to store them (essentially, a list instead
of an array).

I doubt it's worth the hassle.

What's wrong with the current approach mentioned above?  It will need
to be supported going forward anyway.

So when the "user trip point" option will be set, a thermal zone will have ~ten(?) user trip points initialized to an invalid temperature ?


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux