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


Groups > linux.kernel > #1198708

Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver for Exynos4x12

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver for Exynos4x12
Date 2015-08-03 12:30 +0200
Message-ID <pTlah-fp-1@gated-at.bofh.it> (permalink)
References <pSnHb-5XZ-1@gated-at.bofh.it> <pSnHc-5XZ-7@gated-at.bofh.it> <pSCZz-359-1@gated-at.bofh.it> <pTl0C-8vy-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03-08-15, 12:17, Bartlomiej Zolnierkiewicz wrote:
> 
> Hi,
> 
> On Saturday, August 01, 2015 04:47:21 PM Viresh Kumar wrote:
> > On 31-07-15, 20:49, Bartlomiej Zolnierkiewicz wrote:
> > > diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
> > > index 659879a..bf6d596 100644
> > > --- a/drivers/cpufreq/Kconfig
> > > +++ b/drivers/cpufreq/Kconfig
> > > @@ -191,6 +191,7 @@ config CPUFREQ_DT
> > >  	# if CPU_THERMAL is on and THERMAL=m, CPUFREQ_DT cannot be =y:
> > >  	depends on !CPU_THERMAL || THERMAL
> > >  	select PM_OPP
> > > +	select EXYNOS_THERMAL if ARCH_EXYNOS
> > >  	help
> > >  	  This adds a generic DT based cpufreq driver for frequency management.
> > >  	  It supports both uniprocessor (UP) and symmetric multiprocessor (SMP)
> > 
> > No, we shouldn't pollute generic Kconfig options with platform specific stuff.
> 
> The old code depended on this.  You couldn't enable boost support
> without enabling thermal support (ARM_EXYNOS_CPU_FREQ_BOOST_SW
> config option selected EXYNOS_THERMAL).
> 
> > Why don't you enable thermal in your .config?
> 
> It is enabled in exynos_defconfig but without the above change it
> can disabled manually which is something that we don't want.

You are not getting it. I am not asking you to not select thermal, but
to select it from within your architecture Kconfig option if you want.

Over that, thermal is really an option, not a dependency. So, if
someone manually disables it, its his problem not yours :)

-- 
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq  driver for Exynos4x12 Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-01 13:20 +0200
  Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver  for Exynos4x12 Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-03 12:20 +0200
    Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq  driver for Exynos4x12 Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-03 12:30 +0200
      Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver  for Exynos4x12 Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-03 12:40 +0200
        Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq  driver for Exynos4x12 Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-03 12:50 +0200
          Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver  for Exynos4x12 Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-03 12:50 +0200
        Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver  for Exynos4x12 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-08-03 13:20 +0200
          Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver  for Exynos4x12 Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-03 16:00 +0200
            Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver  for Exynos4x12 Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2015-08-03 18:00 +0200
            Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq  driver for Exynos4x12 Viresh Kumar <viresh.kumar@linaro.org> - 2015-08-03 18:00 +0200
            Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver  for Exynos4x12 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-08-04 02:50 +0200

csiph-web