Re: [PATCH v3] firmware: qcom: scm: Peripheral Authentication Service

2015-09-24 Thread Bjorn Andersson
On Thu 24 Sep 12:13 PDT 2015, Stephen Boyd wrote: > On 09/23, Bjorn Andersson wrote: > > + > > +int __qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr, phys_addr_t > > size) > > Maybe we should make addr and size u32s as well. Kumar requested > we take the same approach for other scm call

Re: [PATCH v3] firmware: qcom: scm: Peripheral Authentication Service

2015-09-24 Thread Stephen Boyd
On 09/23, Bjorn Andersson wrote: > + > +int __qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr, phys_addr_t > size) Maybe we should make addr and size u32s as well. Kumar requested we take the same approach for other scm calls. > +{ > + __le32 scm_ret; > + int ret; > + struct

[PATCH v3] firmware: qcom: scm: Peripheral Authentication Service

2015-09-23 Thread Bjorn Andersson
This adds the Peripheral Authentication Service (PAS) interface to the Qualcomm SCM interface. The API is used to authenticate and boot a range of external processors in various Qualcomm platforms. Signed-off-by: Bjorn Andersson --- Depends on Andy's platformization of the scm code. Changes sinc