Re: [PATCH v10 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Lina Iyer
On Wed, Nov 26 2014 at 12:48 -0700, Stephen Boyd wrote: On 11/21/2014 10:03 AM, Lina Iyer wrote: @@ -37,3 +54,17 @@ 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 *en

Re: [PATCH v10 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Stephen Boyd
On 11/21/2014 10:03 AM, Lina Iyer wrote: @@ -37,3 +54,17 @@ 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; + + if (entry =

Re: [PATCH v10 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-26 Thread Daniel Lezcano
On 11/21/2014 07:03 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 imple

[PATCH v10 02/10] qcom: scm: Add SCM warmboot support for quad core SoCs

2014-11-21 Thread Lina Iyer
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