Re: [PATCH V3 1/5] PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier()

From: Matthias Kaehlcke
Date: Tue Jun 11 2019 - 19:50:21 EST


On Mon, Jun 10, 2019 at 04:21:32PM +0530, Viresh Kumar wrote:
> In order to use the same set of routines to register notifiers for
> different request types, update the existing
> dev_pm_qos_{add|remove}_notifier() routines with an additional
> parameter: request-type.
>
> For now, it only supports resume-latency request type.
>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
> Documentation/power/pm_qos_interface.txt | 10 ++++++----
> drivers/base/power/domain.c | 8 +++++---
> drivers/base/power/qos.c | 14 ++++++++++++--
> include/linux/pm_qos.h | 12 ++++++++----
> 4 files changed, 31 insertions(+), 13 deletions(-)

My QoS background is nil, but this looks reasonable to me:

Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>