Re: [PATCH v8 08/10] drivers: qcom: rpmh: allow requests to be sent asynchronously

2018-05-23 Thread Raju P L S S S N
Hi, On 5/12/2018 1:46 AM, Doug Anderson wrote: Hi, On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote: /** @@ -137,6 +140,8 @@ void rpmh_tx_done(const struct tcs_request *msg, int r) dev_err(rpm_msg->dev, "RPMH TX fail in msg addr=%#x, err=%d\n", rpm_

Re: [PATCH v8 08/10] drivers: qcom: rpmh: allow requests to be sent asynchronously

2018-05-11 Thread Doug Anderson
Hi, On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote: > /** > @@ -137,6 +140,8 @@ void rpmh_tx_done(const struct tcs_request *msg, int r) > dev_err(rpm_msg->dev, "RPMH TX fail in msg addr=%#x, > err=%d\n", > rpm_msg->msg.cmds[0].addr, r); > > + kfre

Re: [PATCH v8 08/10] drivers: qcom: rpmh: allow requests to be sent asynchronously

2018-05-09 Thread Matthias Kaehlcke
On Wed, May 09, 2018 at 11:01:57AM -0600, Lina Iyer wrote: > Platform drivers that want to send a request but do not want to block > until the RPMH request completes have now a new API - > rpmh_write_async(). > > The API allocates memory and send the requests and returns the control > back to the

[PATCH v8 08/10] drivers: qcom: rpmh: allow requests to be sent asynchronously

2018-05-09 Thread Lina Iyer
Platform drivers that want to send a request but do not want to block until the RPMH request completes have now a new API - rpmh_write_async(). The API allocates memory and send the requests and returns the control back to the platform driver. The tx_done callback from the controller is handled in