]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cpufreq: tegra194: add online/offline hooks
authorSumit Gupta <sumitg@nvidia.com>
Fri, 25 Aug 2023 11:19:20 +0000 (16:49 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 28 Aug 2023 06:13:54 +0000 (11:43 +0530)
commita3aa97be69a7cc14ddc2bb0add0b9c51cb74bf83
tree47bd474116b7f99ad3d5d863056a393d219c7340
parent5f19d0969a9a29cff7fbbb0f758c9246e3f6beaf
cpufreq: tegra194: add online/offline hooks

Implement the light-weight tear down and bring up helpers to reduce the
amount of work to do on CPU offline/online operation.
This change helps to make the hotplugging paths much faster.

Suggested-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Link: https://lore.kernel.org/lkml/20230816033402.3abmugb5goypvllm@vireshk-i7/
[ Viresh: Fixed rebase conflict ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/tegra194-cpufreq.c