Re: [PATCH v2][RFC 1/2] Implement Ziegler-Nichols Heuristic

From: Randy Dunlap
Date: Sat Dec 18 2021 - 01:07:32 EST




On 12/17/21 10:49, Chetankumar Mistry wrote:
> Implement the Ziegler-Nichols Heuristic algorithm to better
> estimate the PID Coefficients for a running platform.
> The values are tuned to minimuse the amount of overshoot in
> the temperature of the platform and subsequently minimise
> the number of switches for cdev states.
>
> Signed-off-by: Chetankumar Mistry <chetan.mistry@xxxxxxx>

The kernel-doc changes all look good and don't cause any warnings.
Thanks.

> ---
> Changelog v2:
> - Updated Kernel-Docs to use ':' delimiter (asked by Randy Dunlap)
> - Changed divide operation to use div_frac (requested by kernel_test_robot)
>
> drivers/thermal/gov_power_allocator.c | 418 ++++++++++++++++++++++++++
> drivers/thermal/thermal_sysfs.c | 2 +
> include/linux/thermal.h | 7 +
> 3 files changed, 427 insertions(+)

--
~Randy