[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE=gft4a3m97MnEH1wZXkrLGcKigvUUeozoP1VdN+dupKzwSmA@mail.gmail.com>
Date: Sat, 17 Mar 2018 00:36:52 +0000
From: Evan Green <evgreen@...omium.org>
To: Lina Iyer <ilina@...eaurora.org>
Cc: Andy Gross <andy.gross@...aro.org>,
David Brown <david.brown@...aro.org>,
linux-arm-msm@...r.kernel.org, linux-soc@...r.kernel.org,
Rajendra Nayak <rnayak@...eaurora.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
linux-kernel@...r.kernel.org, sboyd@...nel.org
Subject: Re: [PATCH v4 09/10] drivers: qcom: rpmh: add support for batch RPMH request
On Fri, Mar 9, 2018 at 3:26 PM Lina Iyer <ilina@...eaurora.org> wrote:
> Platform drivers need make a lot of resource state requests at the same
> time, say, at the start or end of an usecase. It can be quite
> inefficient to send each request separately. Instead they can give the
> RPMH library a batch of requests to be sent and wait on the whole
> transaction to be complete.
> rpmh_write_batch() is a blocking call that can be used to send multiple
> RPMH command sets. Each RPMH command set is set asynchronously and the
> API blocks until all the command sets are complete and receive their
> tx_done callbacks.
> Signed-off-by: Lina Iyer <ilina@...eaurora.org>
> ---
> Changes in v4:
> - reorganize rpmh_write_batch()
> - introduce wait_count here, instead of patch#4
> ---
> drivers/soc/qcom/rpmh.c | 156
+++++++++++++++++++++++++++++++++++++++++++++++-
> include/soc/qcom/rpmh.h | 8 +++
> 2 files changed, 162 insertions(+), 2 deletions(-)
Reviewed-by: Evan Green <evgreen@...omium.org>
Powered by blists - more mailing lists