Re: [PATCH v3 10/10] drivers: qcom: rpmh-rsc: allow active requests from wake TCS

2018-03-08 Thread Stephen Boyd
Quoting Lina Iyer (2018-03-02 08:43:17) > diff --git a/drivers/soc/qcom/rpmh-rsc.c b/drivers/soc/qcom/rpmh-rsc.c > index e9f5a1f387fd..d9cfa7aaf49c 100644 > --- a/drivers/soc/qcom/rpmh-rsc.c > +++ b/drivers/soc/qcom/rpmh-rsc.c > @@ -220,6 +220,7 @@ static struct tcs_group *get_tcs_for_msg(struct

Re: [PATCH v3 10/10] drivers: qcom: rpmh-rsc: allow active requests from wake TCS

2018-03-08 Thread Stephen Boyd
Quoting Lina Iyer (2018-03-02 08:43:17) > diff --git a/drivers/soc/qcom/rpmh-rsc.c b/drivers/soc/qcom/rpmh-rsc.c > index e9f5a1f387fd..d9cfa7aaf49c 100644 > --- a/drivers/soc/qcom/rpmh-rsc.c > +++ b/drivers/soc/qcom/rpmh-rsc.c > @@ -220,6 +220,7 @@ static struct tcs_group *get_tcs_for_msg(struct

[PATCH v3 10/10] drivers: qcom: rpmh-rsc: allow active requests from wake TCS

2018-03-02 Thread Lina Iyer
Some RSCs may only have sleep and wake TCS, i.e, there is no dedicated TCS for active mode request, but drivers may still want to make active requests from these RSCs. In such cases re-purpose the wake TCS to send active state requests. The requirement for this is that the driver is aware that

[PATCH v3 10/10] drivers: qcom: rpmh-rsc: allow active requests from wake TCS

2018-03-02 Thread Lina Iyer
Some RSCs may only have sleep and wake TCS, i.e, there is no dedicated TCS for active mode request, but drivers may still want to make active requests from these RSCs. In such cases re-purpose the wake TCS to send active state requests. The requirement for this is that the driver is aware that