Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-07 Thread Bjorn Andersson
On Wed 07 Jun 09:27 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: > > > On 6/2/2017 11:25 PM, Bjorn Andersson wrote: > > On Thu 01 Jun 14:42 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: > > > > > Hi Bjorn, > > > > > > Thanks lot many for such a blazing fast response :) > > > > > >

Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-07 Thread Bjorn Andersson
On Wed 07 Jun 09:27 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: > > > On 6/2/2017 11:25 PM, Bjorn Andersson wrote: > > On Thu 01 Jun 14:42 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: > > > > > Hi Bjorn, > > > > > > Thanks lot many for such a blazing fast response :) > > > > > >

Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-07 Thread Dwivedi, Avaneesh Kumar (avani)
On 6/2/2017 11:25 PM, Bjorn Andersson wrote: On Thu 01 Jun 14:42 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: Hi Bjorn, Thanks lot many for such a blazing fast response :) regarding your points. a- Do you mean caller's of q6v5_xfer_mem_ownership() should pass two additional inputs

Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-07 Thread Dwivedi, Avaneesh Kumar (avani)
On 6/2/2017 11:25 PM, Bjorn Andersson wrote: On Thu 01 Jun 14:42 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: Hi Bjorn, Thanks lot many for such a blazing fast response :) regarding your points. a- Do you mean caller's of q6v5_xfer_mem_ownership() should pass two additional inputs

Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-02 Thread Bjorn Andersson
On Thu 01 Jun 14:42 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: > Hi Bjorn, > > Thanks lot many for such a blazing fast response :) > > regarding your points. > > a- Do you mean caller's of q6v5_xfer_mem_ownership() should pass two > additional inputs i.e. *next_perm and *next_vmid >

Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-02 Thread Bjorn Andersson
On Thu 01 Jun 14:42 PDT 2017, Dwivedi, Avaneesh Kumar (avani) wrote: > Hi Bjorn, > > Thanks lot many for such a blazing fast response :) > > regarding your points. > > a- Do you mean caller's of q6v5_xfer_mem_ownership() should pass two > additional inputs i.e. *next_perm and *next_vmid >

Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-01 Thread Dwivedi, Avaneesh Kumar (avani)
Hi Bjorn, Thanks lot many for such a blazing fast response :) regarding your points. a- Do you mean caller's of q6v5_xfer_mem_ownership() should pass two additional inputs i.e. *next_perm and *next_vmid and that based on successful return of qcom_scm_assign () they should be treated as

Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-01 Thread Dwivedi, Avaneesh Kumar (avani)
Hi Bjorn, Thanks lot many for such a blazing fast response :) regarding your points. a- Do you mean caller's of q6v5_xfer_mem_ownership() should pass two additional inputs i.e. *next_perm and *next_vmid and that based on successful return of qcom_scm_assign () they should be treated as

Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-01 Thread Bjorn Andersson
On Thu 01 Jun 12:17 PDT 2017, Avaneesh Kumar Dwivedi wrote: > MSS proc on msm8996 can not access fw loaded region without stage > second translation of memory pages where mpss image are loaded. > This patch in order to enable mss boot on msm8996 invoke scm call > to switch or share ownership

Re: [PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-01 Thread Bjorn Andersson
On Thu 01 Jun 12:17 PDT 2017, Avaneesh Kumar Dwivedi wrote: > MSS proc on msm8996 can not access fw loaded region without stage > second translation of memory pages where mpss image are loaded. > This patch in order to enable mss boot on msm8996 invoke scm call > to switch or share ownership

[PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-01 Thread Avaneesh Kumar Dwivedi
MSS proc on msm8996 can not access fw loaded region without stage second translation of memory pages where mpss image are loaded. This patch in order to enable mss boot on msm8996 invoke scm call to switch or share ownership between apps and modem. Signed-off-by: Avaneesh Kumar Dwivedi

[PATCH v5 3/4] remoteproc: qcom: Make secure world call for mem ownership switch

2017-06-01 Thread Avaneesh Kumar Dwivedi
MSS proc on msm8996 can not access fw loaded region without stage second translation of memory pages where mpss image are loaded. This patch in order to enable mss boot on msm8996 invoke scm call to switch or share ownership between apps and modem. Signed-off-by: Avaneesh Kumar Dwivedi ---