Re: [PATCH 2/3] soc: qcom: Add AOSS QMP communication driver

2019-01-03 Thread Arun Kumar Neelakantam
On 12/27/2018 1:58 AM, Bjorn Andersson wrote: On Tue 20 Nov 04:22 PST 2018, Arun Kumar Neelakantam wrote: Thanks for the review Arun. On 11/12/2018 1:35 PM, Bjorn Andersson wrote: [..] +int qmp_send(struct qmp *qmp, const void *data, size_t len) +{ + int ret; + + if (WARN_ON(le

Re: [PATCH 2/3] soc: qcom: Add AOSS QMP communication driver

2018-12-26 Thread Bjorn Andersson
On Tue 20 Nov 04:22 PST 2018, Arun Kumar Neelakantam wrote: Thanks for the review Arun. > On 11/12/2018 1:35 PM, Bjorn Andersson wrote: [..] > > +int qmp_send(struct qmp *qmp, const void *data, size_t len) > > +{ > > + int ret; > > + > > + if (WARN_ON(len + sizeof(u32) > qmp->size)) { > > +

[PATCH 2/3] soc: qcom: Add AOSS QMP communication driver

2018-11-12 Thread Bjorn Andersson
The AOSS QMP driver is used to communicate with the AOSS for certain side-channel requests, that are not enabled through the RPMh interface. The communication is a very simple synchronous mechanism of messages being written in message RAM and a doorbell in the AOSS is rung. As the AOSS has process