Re: [PATCH v8 07/10] drivers: qcom: rpmh: cache sleep/wake state requests

2018-05-23 Thread Raju P L S S S N
Hi, On 5/12/2018 1:48 AM, Doug Anderson wrote: Hi, On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote: /** * struct rpmh_request: the message to be sent to rpmh-rsc * @@ -54,9 +71,15 @@ struct rpmh_request { * struct rpmh_ctrlr: our representation of the

Re: [PATCH v8 07/10] drivers: qcom: rpmh: cache sleep/wake state requests

2018-05-23 Thread Raju P L S S S N
Hi, On 5/12/2018 1:48 AM, Doug Anderson wrote: Hi, On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote: /** * struct rpmh_request: the message to be sent to rpmh-rsc * @@ -54,9 +71,15 @@ struct rpmh_request { * struct rpmh_ctrlr: our representation of the controller * * @drv:

Re: [PATCH v8 07/10] drivers: qcom: rpmh: cache sleep/wake state requests

2018-05-11 Thread Doug Anderson
Hi, On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote: > /** > * struct rpmh_request: the message to be sent to rpmh-rsc > * > @@ -54,9 +71,15 @@ struct rpmh_request { > * struct rpmh_ctrlr: our representation of the controller > * > * @drv: the controller

Re: [PATCH v8 07/10] drivers: qcom: rpmh: cache sleep/wake state requests

2018-05-11 Thread Doug Anderson
Hi, On Wed, May 9, 2018 at 10:01 AM, Lina Iyer wrote: > /** > * struct rpmh_request: the message to be sent to rpmh-rsc > * > @@ -54,9 +71,15 @@ struct rpmh_request { > * struct rpmh_ctrlr: our representation of the controller > * > * @drv: the controller instance > + * @cache: the

[PATCH v8 07/10] drivers: qcom: rpmh: cache sleep/wake state requests

2018-05-09 Thread Lina Iyer
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

[PATCH v8 07/10] drivers: qcom: rpmh: cache sleep/wake state requests

2018-05-09 Thread Lina Iyer
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