[PATCH 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs
Stephen Boyd
sboyd at codeaurora.org
Wed Nov 26 14:36:28 PST 2014
On 11/26/2014 02:28 PM, Lina Iyer wrote:
> Quad core SoCs like APQ8074, APQ8064, APQ8084 need SCM support set up
> warm boot addresses in the Secure Monitor. Extend the SCM flags to
> support warm boot addresses for secondary cores.
>
> We do not need to export the warmboot flags. Move them into the
> implementation file.
>
> Signed-off-by: Lina Iyer <lina.iyer at linaro.org>
> Acked-by: Daniel Lezcano <daniel.lezcano at linaro.org>
Reviewed-by: Stephen Boyd <sboyd at codeaurora.org>
> @@ -37,3 +54,20 @@ int scm_set_boot_addr(phys_addr_t addr, int flags)
> &cmd, sizeof(cmd), NULL, 0);
> }
> EXPORT_SYMBOL(scm_set_boot_addr);
> +
> +int scm_set_warm_boot_addr(void *entry, int cpu)
> +{
> + int ret;
> +
> + /* Reassign only if we are switching from hotplug entry point
> + * to cpuidle entry point or vice versa.
> + */
Multi-line comments are like this:
/*
* Reassign only if we are ...
*/
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
More information about the linux-arm-kernel
mailing list