Abhijeet Dharmapurikar 01c3246e38 thermal: limits-dcvs: Switch to non deferrable work
Currently, when lmh interrupt fires we notify the scheduler about
thermal pressure. The scheduler reduces the capacity of the cpu(s)
for which the interrupt fired, while we requeue our deferrable work.

This leads to an interesting deadlock, since the cpu is running with
reduced capacity, the scheduler does not put any task on it,
extending the idle time and causing it to remain at reduced capacity -
leading to severe underutilization of the cpu(s).

Switch to using delayed work instead of deferrable work. This will cause
us to exit idle until the thermal condition is recovered.

[dereference23: Backport to msm-4.14]

Change-Id: I4c27c9a952ed556336297eb25e815c848b8266eb
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
2025-02-09 23:15:26 -03:00
..
2025-02-08 21:18:11 -03:00
2024-12-23 00:01:42 -03:00
2024-12-03 01:45:18 -03:00
2024-03-08 08:21:30 +00:00
2024-12-03 01:45:18 -03:00
2024-12-03 01:45:18 -03:00