From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Kaehlcke Subject: Re: [PATCH v8 08/10] drivers: qcom: rpmh: allow requests to be sent asynchronously Date: Wed, 9 May 2018 16:39:10 -0700 Message-ID: <20180509233910.GK19594@google.com> References: <20180509170159.29682-1-ilina@codeaurora.org> <20180509170159.29682-9-ilina@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20180509170159.29682-9-ilina@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Lina Iyer Cc: andy.gross@linaro.org, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, rnayak@codeaurora.org, bjorn.andersson@linaro.org, linux-kernel@vger.kernel.org, sboyd@kernel.org, evgreen@chromium.org, dianders@chromium.org, rplsssn@codeaurora.org List-Id: linux-arm-msm@vger.kernel.org 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 platform driver. The tx_done callback from the controller is > handled in the context of the controller's thread and frees the > allocated memory. This API allows RPMH requests from atomic contexts as > well. > > Signed-off-by: Lina Iyer Reviewed-by: Matthias Kaehlcke