]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/firmware/qcom_scm.c
firmware: qcom: scm: Add qcom_scm_set_warm_boot_addr function
authorLina Iyer <lina.iyer@linaro.org>
Mon, 2 Mar 2015 23:30:29 +0000 (16:30 -0700)
committerKumar Gala <galak@codeaurora.org>
Wed, 11 Mar 2015 20:15:07 +0000 (15:15 -0500)
commit2ce76a6ad32fa076a2bb5561e859c97fceec8bb1
treee6c916f16f14ea996bbba0493329270b62162ea8
parenta353e4a06f24235138d483a2625726a5fc472949
firmware: qcom: scm: Add qcom_scm_set_warm_boot_addr function

A core can be powered down for cpuidle or when it is hotplugged off. In
either case, the warmboot return address would be different. Allow
setting the warmboot address for a specific cpu, optimize and write to
the firmware, if the address is different than the previously set
address.

Export qcom_scm_set_warm_boot_addr function move the warm boot flags to
implementation.

Signed-off-by: Lina Iyer <lina.iyer@linaro.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
drivers/firmware/qcom_scm.c
include/linux/qcom_scm.h