Re: [PATCH 2/2] firmware: qcom: scm: Fix interrupted SCM calls

2016-12-06 Thread Will Deacon
On Tue, Nov 29, 2016 at 01:44:23AM -0600, Andy Gross wrote: > This patch adds a Qualcomm specific quirk to the arm_smccc_smc call. > > On Qualcomm ARM64 platforms, the SMC call can return before it has > completed. If this occurs, the call can be restarted, but it requires > using the returned se

[PATCH 2/2] firmware: qcom: scm: Fix interrupted SCM calls

2016-11-28 Thread Andy Gross
This patch adds a Qualcomm specific quirk to the arm_smccc_smc call. On Qualcomm ARM64 platforms, the SMC call can return before it has completed. If this occurs, the call can be restarted, but it requires using the returned session ID value from the interrupted SMC call. The quirk stores off th

[PATCH 2/2] firmware: qcom: scm: Fix interrupted SCM calls

2016-08-19 Thread Andy Gross
This patch fixes an issue with the SCM64 calls. Sometimes SCM calls can be interrupted and return early. When this happens, the contents of register 6 will contain a session ID that is required when resuming the SCM call. Signed-off-by: Andy Gross --- drivers/firmware/qcom_scm-64.c | 6 --