[PATCH v2 0/4] cpufreq: qcom-hw: Fixes for cpu hotplug support

Dmitry Baryshkov
2022-03-09T22:39:54Z

This patchseries aims at fixing and improving CPU hotplug support on
Qualcomm platforms. First three patches are the fixes for the LMH
support in the cpufreq driver. The last patch adds support for
lightweight offline() and online() callbacks which are used instead of
exit() and init() each time the CPU is put offline or back online.

Changes since v1:
- Update commit message for the first patch to describe why dropping
affinity hint is required (before calling free_irq()),
- Fixed commit message for the second patch to include messages
generated using the mainline kernel w/o additional patches,
- Changed third patch to use dev_warn_ratelimited(),
- Reworked last patch to move request_irq/free_irq to online()/offline()
to make sure that the IRQ isn't left enabled after the CPU has been
put offline.

Dmitry Baryshkov (4):
cpufreq: qcom-hw: drop affinity hint before freeing the IRQ
cpufreq: qcom-hw: fix the race between LMH worker and cpuhp
cpufreq: qcom-hw: fix the opp entries refcounting
cpufreq: qcom-hw: provide online/offline operations

drivers/cpufreq/qcom-cpufreq-hw.c | 78 +++++++++++++++++++++++++------
1 file changed, 64 insertions(+), 14 deletions(-)

--
2.34.1