summaryrefslogtreecommitdiff
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2021-12-01 16:05:03 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-02-04 06:54:48 +0300
commit7734c4b507cefbcf2f7a2a806e79c43e52528c5f (patch)
tree5e8fb258d2b58b36bedee8e599a31984cc049de8 /drivers/cpuidle
parent0ee30ace67e425ab83a1673bf51f50b577328cf9 (diff)
downloadlinux-7734c4b507cefbcf2f7a2a806e79c43e52528c5f.tar.xz
firmware: qcom: scm: Simplify set_cold/warm_boot_addr()
The qcom_scm_set_cold/warm_boot_addr() implementations have a lot of functionality that is actually not used. For example, set_warm_boot_addr() caches the last used entry address and skips making the SCM call when the entry address is unchanged. But there is actually just a single call of qcom_scm_set_warm_boot_addr() in the whole kernel tree, which always configures the entry address to cpu_resume_arm(). Simplify this by having a single qcom_scm_set_boot_addr() function for both cold and warm boot address. This is totally sufficient for the functionality supported in the mainline tree. Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211201130505.257379-3-stephan@gerhold.net
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions