Re: [PATCH v2] firmware: imx: Add support to start/stop a CPU

2019-01-30 Thread Dong Aisheng
On Wed, Jan 30, 2019 at 9:12 PM Daniel Baluta wrote: > > Thanks Aisheng for the comments! > > > > +int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, > > > + bool enable, u64 address) > > > +{ > > > + struct imx_sc_msg_req_cpu_start msg; > > > + struct

Re: [PATCH v2] firmware: imx: Add support to start/stop a CPU

2019-01-30 Thread Daniel Baluta
Thanks Aisheng for the comments! +int imx_sc_pm_cpu_start(struct imx_sc_ipc *ipc, u32 resource, > > + bool enable, u64 address) > > +{ > > + struct imx_sc_msg_req_cpu_start msg; > > + struct imx_sc_rpc_msg *hdr = &msg.hdr; > > + > > + hdr->ver = IMX_SC_RPC

Re: [PATCH v2] firmware: imx: Add support to start/stop a CPU

2019-01-30 Thread Dong Aisheng
On Wed, Jan 30, 2019 at 5:59 PM Daniel Baluta wrote: > > This is done via RPC call to SCU. > > Signed-off-by: Daniel Baluta > --- > Changes since v1: > - remove unused variable ret > - add documentation for imx_sc_pm_cpu_start function > > drivers/firmware/imx/misc.c |

[PATCH v2] firmware: imx: Add support to start/stop a CPU

2019-01-30 Thread Daniel Baluta
This is done via RPC call to SCU. Signed-off-by: Daniel Baluta --- Changes since v1: - remove unused variable ret - add documentation for imx_sc_pm_cpu_start function drivers/firmware/imx/misc.c | 38 +++ include/linux/firmware/imx/svc/misc.h |