From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Kaehlcke Subject: Re: [PATCH v7 07/10] drivers: qcom: rpmh: cache sleep/wake state requests Date: Fri, 4 May 2018 14:39:50 -0700 Message-ID: <20180504213950.GD19594@google.com> References: <20180502193749.31004-1-ilina@codeaurora.org> <20180502193749.31004-8-ilina@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20180502193749.31004-8-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 List-Id: linux-arm-msm@vger.kernel.org On Wed, May 02, 2018 at 01:37:46PM -0600, Lina Iyer wrote: > Active state requests are sent immediately to the RSC controller, while > sleep and wake state requests are cached in this driver to avoid taxing > the RSC controller repeatedly. The cached values will be sent to the > controller when the rpmh_flush() is called. > > Generally, flushing is a system PM activity and may be called from the > system PM drivers when the system is entering suspend or deeper sleep > modes during cpuidle. > > Also allow invalidating the cached requests, so they may be re-populated > again. > > Signed-off-by: Lina Iyer > Reviewed-by: Evan Green Reviewed-by: Matthias Kaehlcke