Skip to content
  1. Jul 21, 2016
  2. Jul 14, 2016
  3. Jul 11, 2016
    • Arnd Bergmann's avatar
      ARM: tegra: Remove board_init_funcs array · da35cbca
      Arnd Bergmann authored
      
      
      In a configuration that enables CONFIG_UBSAN_SANITIZE_ALL, I am getting
      a section mismatch warning for tegra20:
      
      WARNING: arch/arm/mach-tegra/built-in.o(.data+0x6e0): Section mismatch in reference from the variable board_init_funcs to the function .init.text:paz00_init()
      
      The array is no longer useful here since there is only one entry,
      so we can simply call the function directly after checking
      of_machine_is_compatible(). This fixes the section mismatch
      and is easier to read.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
      da35cbca
  4. Jul 08, 2016
  5. Jul 06, 2016
    • Olof Johansson's avatar
      Merge tag 'imx-cleanup-4.8' of... · 8ec3dc29
      Olof Johansson authored
      Merge tag 'imx-cleanup-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/cleanup
      
      The i.MX cleanup for 4.8:
       - A series from Arnd to clean up cpu_is_mx*() from i.MX platform
       - A series from Andrey to clean up i.MX L2-cache code by using
         core support as much as possible
       - Remove the orphan header eukrea-baseboards.h from i.MX platform
       - Remove boilerplate code from TZIC driver by using IRQCHIP_DECLARE
      
      * tag 'imx-cleanup-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux
      
      :
        ARM: imx: remove cpu_is_mx*()
        ARM: imx: remove last call to cpu_is_mx5*
        ARM: imx: rework mx27_pm_init() call
        ARM: imx: deconstruct mx3_idle
        ARM: imx: deconstruct mxc_rnga initialization
        ARM: imx: remove cpu_is_mx1 check
        ARM: i.MX: Do not explicitly call l2x0_of_init()
        ARM: i.MX: system.c: Tweak prefetch settings for performance
        ARM: i.MX: system.c: Replace magic numbers
        ARM: i.MX: system.c: Remove redundant errata 752271 code
        ARM: i.MX: system.c: Convert goto to if statement
        ARM: imx: Use IRQCHIP_DECLARE for TZIC
        ARM: imx: Remove orphan header
      
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      8ec3dc29
  6. Jul 05, 2016
  7. Jun 28, 2016
  8. Jun 21, 2016
  9. Jun 16, 2016
  10. Jun 14, 2016
  11. Jun 13, 2016
    • Ben Dooks's avatar
      power: vexpress: make dev_attr_active static · 0a14d280
      Ben Dooks authored
      
      
      The dev_attr_active is not exported or defined to be used
      outside the driver, so make it static to avoid the following
      warning:
      
      drivers/power/reset/vexpress-poweroff.c:77:1: warning: symbol 'dev_attr_active' was not declared. Should it be static?
      
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      0a14d280
    • Ben Dooks's avatar
      ARM: vexpress/spc: fix missing include of spc.h · e13de0a8
      Ben Dooks authored
      
      
      Fix missing function prototypes found in spc.h by including
      the file to remove the following warnings:
      
      arch/arm/mach-vexpress/spc.c:131:6: warning: symbol 've_spc_global_wakeup_irq' was not declared. Should it be static?
      arch/arm/mach-vexpress/spc.c:156:6: warning: symbol 've_spc_cpu_wakeup_irq' was not declared. Should it be static?
      arch/arm/mach-vexpress/spc.c:185:6: warning: symbol 've_spc_set_resume_addr' was not declared. Should it be static?
      arch/arm/mach-vexpress/spc.c:210:6: warning: symbol 've_spc_powerdown' was not declared. Should it be static?
      arch/arm/mach-vexpress/spc.c:240:5: warning: symbol 've_spc_cpu_in_wfi' was not declared. Should it be static?
      arch/arm/mach-vexpress/spc.c:450:12: warning: symbol 've_spc_init' was not declared. Should it be static?
      
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      e13de0a8
    • Ben Dooks's avatar
      ARM: versatile: fix missing <plat/platsmp.h> include · 4091af6b
      Ben Dooks authored
      
      
      Fix two missing function declarations by including the
      <plat/platsmp.h> file where they are defined. Fixes:
      
      arch/arm/plat-versatile/platsmp.c:35:6: warning: symbol 'versatile_secondary_init' was not declared. Should it be static?
      arch/arm/plat-versatile/platsmp.c:50:5: warning: symbol 'versatile_boot_secondary' was not declared. Should it be static?
      
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      4091af6b
    • Ben Dooks's avatar
      ARM: vexpress/hotplug: fix missing core.h include · b47a1b46
      Ben Dooks authored
      
      
      Fix the missing declaration of vexpress_cpu_die() by
      including core.h where it is defined. Fixes:
      
      arch/arm/mach-vexpress/hotplug.c:88:6: warning: symbol 'vexpress_cpu_die' was not declared. Should it be static?
      
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      b47a1b46
    • Sudeep Holla's avatar
      ARM: vexpress/spc: remove unused variable perf_stat_reg · f66ce0da
      Sudeep Holla authored
      
      
      The variable 'perf_stat_reg' in ve_spc_set_performance is assigned a
      value but that is never used.
      
      So let's remove the variable 'perf_stat_reg'
      
      Reported-by: default avatarDavid Binderman <dcb314@hotmail.com>
      Cc: Liviu Dudau <liviu.dudau@arm.com>
      Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      f66ce0da
  12. Jun 12, 2016
  13. Jun 10, 2016
  14. Jun 04, 2016
    • Linus Walleij's avatar
      ARM: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB · 5c34a4e8
      Linus Walleij authored
      
      
      This replaces:
      
      - "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB" as this can
        now be selected directly.
      
      - "select ARCH_WANT_OPTIONAL_GPIOLIB" with no dependency: GPIOLIB
        is now selectable by everyone, so we need not declare our
        intent to select it.
      
      When ordering the symbols the following rationale was used:
      if the selects were in alphabetical order, I moved select GPIOLIB
      to be in alphabetical order, but if the selects were not
      maintained in alphabetical order, I just replaced
      "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB".
      
      Cc: Michael Büsch <m@bues.ch>
      Cc: arm@kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      5c34a4e8