From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Damm Date: Fri, 06 Jun 2014 13:01:05 +0000 Subject: Re: [PATCH] PM / OPP: Remove ARCH_HAS_OPP Message-Id: List-Id: References: <1402051016-28853-1-git-send-email-broonie@kernel.org> <20140606111411.GD25896@verge.net.au> <20140606125003.GA13332@verge.net.au> In-Reply-To: <20140606125003.GA13332@verge.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On Fri, Jun 6, 2014 at 9:50 PM, Simon Horman wrote: > On Fri, Jun 06, 2014 at 09:14:01PM +0900, Magnus Damm wrote: >> On Fri, Jun 6, 2014 at 8:14 PM, Simon Horman wrote: >> > On Fri, Jun 06, 2014 at 11:36:56AM +0100, Mark Brown wrote: >> >> From: Mark Brown >> >> >> >> Since the OPP layer is a kernel library which has been converted to be >> >> directly selectable by its callers rather than user selectable and >> >> requiring architectures to enable it explicitly the ARCH_HAS_OPP symbol >> >> has become redundant and can be removed. Do so. >> >> >> >> Signed-off-by: Mark Brown >> >> --- >> >> Documentation/power/opp.txt | 3 --- >> >> arch/arm/mach-exynos/Kconfig | 1 - >> >> arch/arm/mach-highbank/Kconfig | 1 - >> >> arch/arm/mach-imx/Kconfig | 1 - >> >> arch/arm/mach-omap2/Kconfig | 1 - >> >> arch/arm/mach-shmobile/Kconfig | 2 -- >> >> arch/arm/mach-vexpress/Kconfig | 1 - >> >> arch/arm/mach-zynq/Kconfig | 1 - >> >> drivers/devfreq/Kconfig | 1 - >> >> kernel/power/Kconfig | 3 --- >> >> 10 files changed, 15 deletions(-) >> > >> > shmobile portion: >> > >> > Acked-by: Simon Horman >> >> Hi Simon, Mark, >> >> Nice to see cleanups in this area. Reducing the number of Kconfig >> symbols must be a good thing. >> >> I'm not sure about the expected merge order for this kind of change vs >> queued up stuff in the renesas git tree, but I believe the following >> patch selects ARCH_HAS_OPP: >> >> [PATCH v3] ARM: shmobile: Mark all SoCs in shmobile as CPUFreq, capable > > I propose that we fix that up by adding an incremental patch to > mach-shmobile via my renesas tree once the dependency (assuming there is > one) is in Linus's tree. Sounds good. Thanks! / magnus From mboxrd@z Thu Jan 1 00:00:00 1970 From: Magnus Damm Subject: Re: [PATCH] PM / OPP: Remove ARCH_HAS_OPP Date: Fri, 6 Jun 2014 22:01:05 +0900 Message-ID: References: <1402051016-28853-1-git-send-email-broonie@kernel.org> <20140606111411.GD25896@verge.net.au> <20140606125003.GA13332@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <20140606125003.GA13332@verge.net.au> Sender: linux-omap-owner@vger.kernel.org To: Simon Horman Cc: Mark Brown , "Rafael J. Wysocki" , Russell King , Kukjin Kim , Rob Herring , Shawn Guo , Sascha Hauer , Tony Lindgren , Michal Simek , Linux PM list , "linux-arm-kernel@lists.infradead.org" , linux-samsung-soc@vger.kernel.org, "linux-omap@vger.kernel.org" , SH-Linux , Mark Brown List-Id: linux-pm@vger.kernel.org On Fri, Jun 6, 2014 at 9:50 PM, Simon Horman wrote: > On Fri, Jun 06, 2014 at 09:14:01PM +0900, Magnus Damm wrote: >> On Fri, Jun 6, 2014 at 8:14 PM, Simon Horman wrote: >> > On Fri, Jun 06, 2014 at 11:36:56AM +0100, Mark Brown wrote: >> >> From: Mark Brown >> >> >> >> Since the OPP layer is a kernel library which has been converted to be >> >> directly selectable by its callers rather than user selectable and >> >> requiring architectures to enable it explicitly the ARCH_HAS_OPP symbol >> >> has become redundant and can be removed. Do so. >> >> >> >> Signed-off-by: Mark Brown >> >> --- >> >> Documentation/power/opp.txt | 3 --- >> >> arch/arm/mach-exynos/Kconfig | 1 - >> >> arch/arm/mach-highbank/Kconfig | 1 - >> >> arch/arm/mach-imx/Kconfig | 1 - >> >> arch/arm/mach-omap2/Kconfig | 1 - >> >> arch/arm/mach-shmobile/Kconfig | 2 -- >> >> arch/arm/mach-vexpress/Kconfig | 1 - >> >> arch/arm/mach-zynq/Kconfig | 1 - >> >> drivers/devfreq/Kconfig | 1 - >> >> kernel/power/Kconfig | 3 --- >> >> 10 files changed, 15 deletions(-) >> > >> > shmobile portion: >> > >> > Acked-by: Simon Horman >> >> Hi Simon, Mark, >> >> Nice to see cleanups in this area. Reducing the number of Kconfig >> symbols must be a good thing. >> >> I'm not sure about the expected merge order for this kind of change vs >> queued up stuff in the renesas git tree, but I believe the following >> patch selects ARCH_HAS_OPP: >> >> [PATCH v3] ARM: shmobile: Mark all SoCs in shmobile as CPUFreq, capable > > I propose that we fix that up by adding an incremental patch to > mach-shmobile via my renesas tree once the dependency (assuming there is > one) is in Linus's tree. Sounds good. Thanks! / magnus From mboxrd@z Thu Jan 1 00:00:00 1970 From: magnus.damm@gmail.com (Magnus Damm) Date: Fri, 6 Jun 2014 22:01:05 +0900 Subject: [PATCH] PM / OPP: Remove ARCH_HAS_OPP In-Reply-To: <20140606125003.GA13332@verge.net.au> References: <1402051016-28853-1-git-send-email-broonie@kernel.org> <20140606111411.GD25896@verge.net.au> <20140606125003.GA13332@verge.net.au> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Jun 6, 2014 at 9:50 PM, Simon Horman wrote: > On Fri, Jun 06, 2014 at 09:14:01PM +0900, Magnus Damm wrote: >> On Fri, Jun 6, 2014 at 8:14 PM, Simon Horman wrote: >> > On Fri, Jun 06, 2014 at 11:36:56AM +0100, Mark Brown wrote: >> >> From: Mark Brown >> >> >> >> Since the OPP layer is a kernel library which has been converted to be >> >> directly selectable by its callers rather than user selectable and >> >> requiring architectures to enable it explicitly the ARCH_HAS_OPP symbol >> >> has become redundant and can be removed. Do so. >> >> >> >> Signed-off-by: Mark Brown >> >> --- >> >> Documentation/power/opp.txt | 3 --- >> >> arch/arm/mach-exynos/Kconfig | 1 - >> >> arch/arm/mach-highbank/Kconfig | 1 - >> >> arch/arm/mach-imx/Kconfig | 1 - >> >> arch/arm/mach-omap2/Kconfig | 1 - >> >> arch/arm/mach-shmobile/Kconfig | 2 -- >> >> arch/arm/mach-vexpress/Kconfig | 1 - >> >> arch/arm/mach-zynq/Kconfig | 1 - >> >> drivers/devfreq/Kconfig | 1 - >> >> kernel/power/Kconfig | 3 --- >> >> 10 files changed, 15 deletions(-) >> > >> > shmobile portion: >> > >> > Acked-by: Simon Horman >> >> Hi Simon, Mark, >> >> Nice to see cleanups in this area. Reducing the number of Kconfig >> symbols must be a good thing. >> >> I'm not sure about the expected merge order for this kind of change vs >> queued up stuff in the renesas git tree, but I believe the following >> patch selects ARCH_HAS_OPP: >> >> [PATCH v3] ARM: shmobile: Mark all SoCs in shmobile as CPUFreq, capable > > I propose that we fix that up by adding an incremental patch to > mach-shmobile via my renesas tree once the dependency (assuming there is > one) is in Linus's tree. Sounds good. Thanks! / magnus