1. 16 7月, 2015 2 次提交
  2. 21 6月, 2015 1 次提交
  3. 15 5月, 2015 1 次提交
  4. 02 4月, 2015 1 次提交
  5. 01 2月, 2015 1 次提交
    • A
      cpufreq: exynos: allow modular build · 8b2b4a4e
      Arnd Bergmann 提交于
      The exynos cpufreq driver code recently gained a dependency on the
      cooling code, which may be a loadable module. This breaks an ARM
      allmodconfig build:
      
      drivers/built-in.o: In function `exynos_cpufreq_probe':
      :(.text+0x1748e8): undefined reference to `of_cpufreq_cooling_register'
      
      To avoid this problem, change cpufreq Kconfig to allow the drivers
      to be loadable modules as well and enforce a dependency on the
      thermal module.
      
      This change, in order to allow module builds on this cpufreq
      driver, properly constructs the driver into a single module,
      instead of several modules. The change also keeps the proper
      platform dependency, and therefore, it wont load in platforms
      that are not supposed to be loaded. The user will be able to
      build the support for all platforms, or select which platforms
      (s)he wants (as originally), except that now it can be a module,
      instead.
      
      Besides, it will still keep the driver only on those configs
      that expect it to be on. And it won't compile/load on platforms
      that it is not supposed to. It brings the config ARM_EXYNOS_CPU_FREQ_BOOST_SW
      closer to this driver, so it looks better in the menuconfig.
      
      We intentionally change ARM_EXYNOS5440_CPUFREQ to be tristate too, to
      avoid future troubles.
      
      Cc: Viresh Kumar <viresh.kumar@linaro.org>
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-pm@vger.kernel.org
      Cc: linux-samsung-soc@vger.kernel.org
      Fixes: e725d26c ("cpufreq: exynos: Use device tree to determine if cpufreq cooling should be registered")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
      8b2b4a4e
  6. 27 11月, 2014 1 次提交
  7. 03 10月, 2014 1 次提交
  8. 09 9月, 2014 1 次提交
  9. 05 9月, 2014 1 次提交
    • X
      ARM: cns3xxx: fix allmodconfig panic in pci driver · 0a2e912d
      Xia Kaixu 提交于
      The kernel panic occurs when running an allmodconfig kernel on
      OMAP4460. The inicall "cns3xxx_pcie_init" does not check which
      hardware it's running on and just tries to access to its specific
      registers. Now call it from .init_late callback from the two
      machine descriptors.
      Signed-off-by: NXia Kaixu <kaixu.xia@linaro.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Anton Vorontsov <anton@enomsg.org>
      Cc: Felix Fietkau <nbd@openwrt.org>
      Cc: Imre Kaloz <kaloz@openwrt.org>
      Cc: linaro-kernel@lists.linaro.org
      Cc: linux-arm-kernel@lists.infradead.org
      0a2e912d
  10. 16 7月, 2014 2 次提交
  11. 07 6月, 2014 1 次提交
  12. 31 5月, 2014 1 次提交
  13. 17 5月, 2014 1 次提交
  14. 01 5月, 2014 1 次提交
  15. 22 4月, 2014 1 次提交
  16. 07 4月, 2014 1 次提交
  17. 19 3月, 2014 1 次提交
    • V
      cpufreq: arm_big_little: make vexpress driver depend on bL core driver · 3b84d58d
      viresh kumar 提交于
      Currently vexpress big LITTLE driver selects ARM_BIG_LITTLE_CPUFREQ, so
      if CONFIG_BIG_LITTLE isn't enabled and CONFIG_ARM_VEXPRESS_SPC_CPUFREQ
      is enabled, we get the following build warnings:
      
      warning: (ARM_VEXPRESS_SPC_CPUFREQ) selects ARM_BIG_LITTLE_CPUFREQ which has
      unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && (ARM || ARM64) && ARM
      && BIG_LITTLE && ARM_CPU_TOPOLOGY && HAVE_CLK)
      
      To fix this, make ARM_VEXPRESS_SPC_CPUFREQ depend on ARM_BIG_LITTLE_CPUFREQ
      instead of selecting it.
      
      This also moves the entry for ARM_VEXPRESS_SPC_CPUFREQ along with other
      big LITTLE config entries.
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      3b84d58d
  18. 25 2月, 2014 1 次提交
  19. 17 1月, 2014 1 次提交
  20. 06 1月, 2014 2 次提交
  21. 23 12月, 2013 2 次提交
  22. 30 10月, 2013 1 次提交
  23. 16 10月, 2013 1 次提交
  24. 12 8月, 2013 1 次提交
    • B
      cpufreq: fix EXYNOS drivers selection · 45e12086
      Bartlomiej Zolnierkiewicz 提交于
      * remove superfluous pr_debug() call from exynos_cpufreq_init()
        (init errors are always logged anyway)
      * add dummy per-SoC type init functions to exynos-cpufreq.h
      * make per-SoC type cpufreq config options selectable
      * make CONFIG_ARM_EXYNOS_CPUFREQ config option invisible to user and
        automatically enable it when needed
      
      This patch fixes following issues:
      * EXYNOS per-SoC type cpufreq support (i.e. exynos4210-cpufreq.c) being
        always built if given SoC support was enabled (i.e. CPU_EXYNOS4210),
        even if common EXYNOS cpufreq support was disabled
      * inability to select cpufreq for each SoC type separately (it could
        be only enabled/disabled for all SoCs for which support was enabled)
      * EXYNOS5440 cpufreq support was always enabled when EXYNOS5440
        support was enabled and couldn't be disabled
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: NTomasz Figa <t.figa@samsung.com>
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      45e12086
  25. 18 6月, 2013 5 次提交
  26. 07 6月, 2013 3 次提交
    • E
      cpufreq: kirkwood: Select CPU_FREQ_TABLE option · ea61623f
      Ezequiel Garcia 提交于
      We need to select CPU_FREQ_TABLE in order to build without
      this kind of errors:
      
      drivers/built-in.o: In function `kirkwood_cpufreq_cpu_exit':
      /home/zeta/linux-devel/marvell-legacy/drivers/cpufreq/kirkwood-cpufreq.c:145:
      undefined reference to `cpufreq_frequency_table_put_attr'
      Signed-off-by: NEzequiel Garcia <ezequiel.garcia@free-electrons.com>
      Acked-by: NJason Cooper <jason@lakedaemon.net>
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      ea61623f
    • A
      cpufreq: big.LITTLE needs cpufreq table · fe948f54
      Arnd Bergmann 提交于
      Like a lot of the other cpufreq drivers, this one needs to
      select CONFIG_CPU_FREQ_TABLE to avoid a build error like
      
      built-in.o: In function `bL_cpufreq_set_target':
      cpufreq/arm_big_little.c:71: undefined reference to `cpufreq_frequency_table_target'
      built-in.o: In function `bL_cpufreq_verify_policy':
      cpufreq/arm_big_little.c:55: undefined reference to `cpufreq_frequency_table_verify'
      built-in.o: In function `bL_cpufreq_init':
      cpufreq/arm_big_little.c:170: undefined reference to `cpufreq_frequency_table_cpuinfo'
      cpufreq/arm_big_little.c:178: undefined reference to `cpufreq_frequency_table_get_attr'
      built-in.o:(.data+0x5a80c): undefined reference to `cpufreq_freq_attr_scaling_available_freqs'
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Viresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      fe948f54
    • A
      cpufreq: SPEAr needs cpufreq table · 4b416745
      Arnd Bergmann 提交于
      Like a lot of the other cpufreq drivers, this one needs to
      select CONFIG_CPU_FREQ_TABLE to avoid a build error like
      
      drivers/built-in.o: In function `spear_cpufreq_exit':
      spear-cpufreq.c:198: undefined reference to `cpufreq_frequency_table_put_attr'
      drivers/built-in.o: In function `spear_cpufreq_verify':
      spear-cpufreq.c:35: undefined reference to `cpufreq_frequency_table_verify'
      drivers/built-in.o: In function `spear_cpufreq_init':
      spear-cpufreq.c:181: undefined reference to `cpufreq_frequency_table_cpuinfo'
      spear-cpufreq.c:187: undefined reference to `cpufreq_frequency_table_get_attr'
      drivers/built-in.o: In function `spear_cpufreq_target':
      spear-cpufreq.c:120: undefined reference to `cpufreq_frequency_table_target'
      drivers/built-in.o:(.data+0x5e63c): undefined reference to `cpufreq_freq_attr_scaling_available_freqs'
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Viresh Kumar <viresh.kumar@linaro.org>
      Cc: cpufreq@vger.kernel.org
      Cc: linux-pm@vger.kernel.org
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      4b416745
  27. 20 5月, 2013 1 次提交
  28. 12 5月, 2013 2 次提交
  29. 24 4月, 2013 1 次提交
    • C
      ARM: S5pv210: compiling issue, ARM_S5PV210_CPUFREQ needs CONFIG_CPU_FREQ_TABLE=y · 5eed1987
      Chen Gang 提交于
      For arm S5pv210 with allmodconfig, ARM_S5PV210_CPUFREQ need
      CONFIG_CPU_FREQ_TABLE=y, or will cause compiling issue.
      
      The related operation:
      + arm-linux-gnu-ld -EL -p --no-undefined -X --build-id -X -o .tmp_vmlinux1 -T /root/linux-next/arch/arm/kernel/vmlinux.lds arch/arm/kernel/head.o init/built-in.o --start-group usr/built-in.o arch/arm/nwfpe/built-in.o arch/arm/vfp/built-in.o arch/arm/kernel/built-in.o arch/arm/mm/built-in.o arch/arm/common/built-in.o arch/arm/net/built-in.o arch/arm/crypto/built-in.o arch/arm/mach-s5pv210/built-in.o arch/arm/plat-samsung/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o arch/arm/lib/lib.a lib/lib.a arch/arm/lib/built-in.o lib/built-in.o drivers/built-in.o sound/built-in.o firmware/built-in.o net/built-in.o --end-group
      
      The related errors:
      drivers/built-in.o: In function `s5pv210_target':
      drivers/cpufreq/s5pv210-cpufreq.c:225: undefined reference to `cpufreq_frequency_table_target'
      drivers/cpufreq/s5pv210-cpufreq.c:237: undefined reference to `cpufreq_frequency_table_target'
      drivers/built-in.o: In function `s5pv210_verify_speed':
      drivers/cpufreq/s5pv210-cpufreq.c:182: undefined reference to `cpufreq_frequency_table_verify'
      drivers/built-in.o: In function `s5pv210_cpu_init':
      drivers/cpufreq/s5pv210-cpufreq.c:556: undefined reference to `cpufreq_frequency_table_get_attr'
      drivers/cpufreq/s5pv210-cpufreq.c:560: undefined reference to `cpufreq_frequency_table_cpuinfo'
      make: *** [vmlinux] Error 1
      Signed-off-by: NChen Gang <gang.chen@asianux.com>
      Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      5eed1987