From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934479AbcECSL1 (ORCPT ); Tue, 3 May 2016 14:11:27 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34681 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933513AbcECSL0 (ORCPT ); Tue, 3 May 2016 14:11:26 -0400 Date: Tue, 3 May 2016 11:11:19 -0700 From: Stephen Boyd To: Sudeep Holla Cc: "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Viresh Kumar , Viresh Kumar , Nishanth Menon , linux-pm@vger.kernel.org Subject: Re: [PATCH v4 1/2] PM / OPP: add non-OF versions of dev_pm_opp_{cpumask_,}remove_table Message-ID: <20160503181119.GQ3492@codeaurora.org> References: <1461926262-24732-1-git-send-email-sudeep.holla@arm.com> <1462284305-32177-1-git-send-email-sudeep.holla@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1462284305-32177-1-git-send-email-sudeep.holla@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/03, 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 > Cc: Nishanth Menon > CC: Stephen Boyd > Cc: "Rafael J. Wysocki" > Cc: linux-pm@vger.kernel.org > Acked-by: Viresh Kumar > Signed-off-by: Sudeep Holla > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project