Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1393324

Re: [PATCH v3 1/2] PM / OPP: add non-OF versions of dev_pm_opp_{cpumask_,}remove_table

From Sudeep Holla <sudeep.holla@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 1/2] PM / OPP: add non-OF versions of dev_pm_opp_{cpumask_,}remove_table
Date 2016-05-03 12:50 +0200
Message-ID <ruG3U-6AZ-17@gated-at.bofh.it> (permalink)
References <rte01-4gY-7@gated-at.bofh.it> <ruuYO-46k-21@gated-at.bofh.it>
Organization ARM

Show all headers | View raw



On 02/05/16 23:55, Stephen Boyd wrote:
> On 04/29/2016 03:37 AM, Sudeep Holla wrote:
>> Functions dev_pm_opp_of_{cpumask_,}remove_table removes/frees all the
>> static OPP entries associated with the device and/or all cpus(in case
>> of cpumask) that are created from DT.
>>
>> However the OPP entries are populated reading from the firmware or some
>> different method using dev_pm_opp_add are marked dynamic and can't be
>> removed using above functions.
>>
>> This patch adds non DT/OF versions of dev_pm_opp_{cpumask_,}remove_table
>> to support the above mentioned usecase.
>>
>> This is in preparation to make use of the same in scpi-cpufreq.c
>>
>> Cc: Viresh Kumar <vireshk@kernel.org>
>> Cc: Nishanth Menon <nm@ti.com>
>> CC: Stephen Boyd <sboyd@codeaurora.org>
>> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
>> Cc: linux-pm@vger.kernel.org
>> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
>> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
>
> Could you rebase this on top of Arnd's patch[1] to fix the cpumask_var_t
> usage? Your patch introduces more incorrect use of that type.
>

Thanks for noticing that. I will rebase on top of that patch and repost it.

-- 
Regards,
Sudeep

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 1/2] PM / OPP: add non-OF versions of dev_pm_opp_{cpumask_,}remove_table Sudeep Holla <sudeep.holla@arm.com> - 2016-04-29 12:40 +0200
  [PATCH v3 2/2] cpufreq: arm_big_little: use generic OPP functions for {init,free}_opp_table Sudeep Holla <sudeep.holla@arm.com> - 2016-04-29 12:40 +0200
  Re: [PATCH v3 1/2] PM / OPP: add non-OF versions of  dev_pm_opp_{cpumask_,}remove_table Stephen Boyd <sboyd@codeaurora.org> - 2016-05-03 01:00 +0200
    Re: [PATCH v3 1/2] PM / OPP: add non-OF versions of  dev_pm_opp_{cpumask_,}remove_table Sudeep Holla <sudeep.holla@arm.com> - 2016-05-03 12:50 +0200
  [PATCH v4 2/2] cpufreq: arm_big_little: use generic OPP functions for {init,free}_opp_table Sudeep Holla <sudeep.holla@arm.com> - 2016-05-03 16:10 +0200
  [PATCH v4 1/2] PM / OPP: add non-OF versions of dev_pm_opp_{cpumask_,}remove_table Sudeep Holla <sudeep.holla@arm.com> - 2016-05-03 16:10 +0200
    Re: [PATCH v4 1/2] PM / OPP: add non-OF versions of  dev_pm_opp_{cpumask_,}remove_table Stephen Boyd <sboyd@codeaurora.org> - 2016-05-03 20:20 +0200
    Re: [PATCH v4 1/2] PM / OPP: add non-OF versions of dev_pm_opp_{cpumask_,}remove_table "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-05-06 01:40 +0200

csiph-web