1. 25 2月, 2013 3 次提交
  2. 22 2月, 2013 4 次提交
  3. 21 2月, 2013 1 次提交
  4. 20 2月, 2013 5 次提交
  5. 19 2月, 2013 2 次提交
    • V
      ARM: SPEAr13xx: Enable CONFIG_ARCH_HAS_CPUFREQ · f12a500e
      Viresh Kumar 提交于
      SPEAr13xx supports cpufreq and has an upstreamed driver for it. This patch
      enables cpufreq configs for SPEAr13xx.
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      f12a500e
    • S
      ARM: shmobile: r8a7779: Correct TMU clock support again · f9047306
      Simon Horman 提交于
      After discussion on the linux-sh mailing list and reference to the
      hardware documentation it appears that 'TMU00', 'TMU01' and 'TMU02'
      use a common clock.
      
      The sh_tmu.1 portion of this change resolves a regression introduced in
      58079fa7 (ARM: shmobile: r8a7779: Correct
      TMU clock support) and fixes a regression introduced by that patch. That
      patch is queued up for v3.9.
      
      ...
      hub 4-0:1.0: USB hub found
      hub 4-0:1.0: 2 ports detected
      INFO: rcu_sched self-detected stall on CPUINFO: rcu_sched detected stalls on
      +CPUs/tasks: { 1} (detected by 2, t=279640 jiffies, g=4294967052, c=4294967051,
      +q=38)
      Task dump for CPU 1:
      swapper/0       R running      0     1      0 0x00000002
      [<c02b8f5c>] (__schedule+0x1b0/0x4c0) from [<c013c590>] (__loop_delay+0x4/0xc)
      
       { 1}  (t=279640 jiffies g=4294967052 c=4294967052 q=37)
      [<c000ef9c>] (unwind_backtrace+0x0/0xf8) from [<c0068488>]
      +(rcu_check_callbacks+0x218/0x6b8)
      [<c0068488>] (rcu_check_callbacks+0x218/0x6b8) from [<c0026774>]
      +(update_process_times+0x38/0x4c)
      [<c0026774>] (update_process_times+0x38/0x4c) from [<c00569e0>]
      +(tick_nohz_handler+0xb4/0x11c)
      [<c00569e0>] (tick_nohz_handler+0xb4/0x11c) from [<c000e518>]
      +(twd_handler+0x34/0x44)
      [<c000e518>] (twd_handler+0x34/0x44) from [<c0063484>]
      +(handle_percpu_devid_irq+0x68/0x80)
      [<c0063484>] (handle_percpu_devid_irq+0x68/0x80) from [<c005febc>]
      +(generic_handle_irq+0x20/0x30)
      [<c005febc>] (generic_handle_irq+0x20/0x30) from [<c000a5ec>]
      +(handle_IRQ+0x40/0x90)
      [<c000a5ec>] (handle_IRQ+0x40/0x90) from [<c000934c>] (gic_handle_irq+0x2c/0x5c)
      [<c000934c>] (gic_handle_irq+0x2c/0x5c) from [<c0009a40>] (__irq_svc+0x40/0x50)
      Exception stack(0xef03ddf8 to 0xef03de40)
      dde0:                                                       000001c1 ffffffff
      de00: 000001d8 01bf01bf ef35ec40 ef35e800 ef35ec6c 0000002b ef35ec68 c013c560
      de20: c0392994 60000113 00000000 ef03de40 c01a5d40 c013c590 20000113 ffffffff
      [<c0009a40>] (__irq_svc+0x40/0x50) from [<c013c590>] (__loop_delay+0x4/0xc)
      
      Cc: Denis Oliver Kropp <dok@directfb.org>
      Cc: Magnus Damm <damm@opensource.se>
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      f9047306
  6. 18 2月, 2013 1 次提交
  7. 17 2月, 2013 10 次提交
  8. 16 2月, 2013 2 次提交
    • A
      ARM: imx: MACH_MX31ADS_WM1133_EV1 needs REGULATOR_WM8350 · 69eb383a
      Arnd Bergmann 提交于
      MACH_MX31ADS_WM1133_EV1 already depends on REGULATOR_WM8350,
      but that still allows REGULATOR_WM8350 to be a loadable
      module. Depending on REGULATOR_WM8350 to be built-in
      ensures we cannot create a broken configuration.
      
      Without this patch, building allmodconfig results in:
      
      arch/arm/mach-imx/built-in.o: In function `mx31_wm8350_init':
      arch/arm/mach-imx/mach-mx31ads.c:461: undefined reference to `wm8350_register_regulator'
      arch/arm/mach-imx/mach-mx31ads.c:471: undefined reference to `wm8350_dcdc_set_slot'
      arch/arm/mach-imx/mach-mx31ads.c:473: undefined reference to `wm8350_isink_set_flash'
      arch/arm/mach-imx/mach-mx31ads.c:480: undefined reference to `wm8350_dcdc25_set_mode'
      arch/arm/mach-imx/mach-mx31ads.c:485: undefined reference to `wm8350_register_led'
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Axel Lin <axel.lin@gmail.com>
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      69eb383a
    • A
      ARM: arch_timer: include linux/errno.h · fe7dc720
      Arnd Bergmann 提交于
      Patch 8a4da6e3 "arm: arch_timer: move core to drivers/clocksource"
      moved a lot of code out of arch_timer.c, but ended up deleting
      too much, which broke some configurations.
      
      Obviously, include linux/errno.h is required to return error
      values.
      
      Without this patch, building allmodconfig results in:
      
      arch/arm/kernel/arch_timer.c: In function 'arch_timer_sched_clock_init':
      arch/arm/kernel/arch_timer.c:55:11: error: 'ENXIO' undeclared (first use in this function)
      arch/arm/kernel/arch_timer.c:55:11: note: each undeclared identifier is reported only once for each function it appears in
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NMark Rutland <mark.rutland@arm.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      fe7dc720
  9. 15 2月, 2013 3 次提交
  10. 14 2月, 2013 9 次提交
    • A
      arm: switch to struct ksignal * passing · 7e243643
      Al Viro 提交于
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      7e243643
    • A
      burying unused conditionals · d64008a8
      Al Viro 提交于
      __ARCH_WANT_SYS_RT_SIGACTION,
      __ARCH_WANT_SYS_RT_SIGSUSPEND,
      __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND,
      __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL - not used anymore
      CONFIG_GENERIC_{SIGALTSTACK,COMPAT_RT_SIG{ACTION,QUEUEINFO,PENDING,PROCMASK}} -
      can be assumed always set.
      d64008a8
    • A
      ARM: mvebu: allow selecting mvebu without Armada XP · 81c724ab
      Arnd Bergmann 提交于
      Selecting only CONFIG_ARCH_MVEBU but not the respective
      options for Armada 370 or Armada XP results in these
      link errors:
      
      arch/arm/mach-mvebu/built-in.o: In function `armada_xp_smp_init_cpus':
      arch/arm/mach-mvebu/platsmp.c:91: undefined reference to `coherency_get_cpu_count'
      arch/arm/mach-mvebu/platsmp.c:104: undefined reference to `armada_mpic_send_doorbell'
      arch/arm/mach-mvebu/built-in.o: In function `armada_xp_smp_prepare_cpus':
      arch/arm/mach-mvebu/platsmp.c:111: undefined reference to `set_cpu_coherent'
      arch/arm/mach-mvebu/built-in.o: In function `armada_xp_boot_secondary':
      arch/arm/mach-mvebu/platsmp.c:83: undefined reference to `armada_xp_boot_cpu'
      arch/arm/mach-mvebu/built-in.o: In function `armada_xp_secondary_init':
      arch/arm/mach-mvebu/platsmp.c:75: undefined reference to `armada_xp_mpic_smp_cpu_init'
      arch/arm/mach-mvebu/built-in.o: In function `armada_xp_secondary_startup':
      arch/arm/mach-mvebu/headsmp.S:46: undefined reference to `ll_set_cpu_coherent'
      
      We can solve this by enabling all common MVEBU files that are
      referenced by the SMP files. This means we enable code that
      is not going to be used without a machine descriptor referencing
      it, but only if the kernel is configured specifically for this
      case.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Gregory Clement <gregory.clement@free-electrons.com>
      Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
      81c724ab
    • A
      ARM: pick Versatile by default for !MMU · 1420b22b
      Arnd Bergmann 提交于
      The introduction of ARCH_MULTIPLATFORM changed
      the default for nommu kernels from Versatile to
      Integrator, which is less common, and does not
      currently build for allnoconfig because that does
      not select any of the CPUs.
      
      This also ensures that at least one of the three
      board files in versatile are enabled, which lets
      us successfully build an allnoconfig kernel.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      1420b22b
    • A
      ARM: integrator: fix build with INTEGRATOR_AP off · a02e0a83
      Arnd Bergmann 提交于
      The conditional declaration of ap_uart_data is broken
      and causes this build error:
      
      In file included from arch/arm/mach-integrator/core.c:35:0:
      arch/arm/mach-integrator/common.h:6:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
      
      Turning the check into an constant-expression if(IS_ENABLED()) statement
      creates more readable code and solves this problem as well.
      
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      a02e0a83
    • A
      ARM: integrator/versatile: fix NOMMU warnings · 060fd1be
      Arnd Bergmann 提交于
      On NOMMU kernels, the io_desc variables are unused
      because we don't use the MMU to remap the MMIO
      areas.
      
      Marking these variables as __maybe_unused easily
      avoids the otherwise harmless warnings like
      
      warning: 'versatile_io_desc' defined but not used
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      060fd1be
    • A
      ARM: sa1100: don't warn about mach/ide.h · 29408ed9
      Arnd Bergmann 提交于
      This warning has existed since before the start of (git) history.
      Apparently nobody has bothered to fix it in a long time, and
      this is unlikely to change. Note that the file that the warning
      refers to has moved to a different location and was subsequently
      deleted in 2008.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Russell King <linux@arm.linux.org.uk>
      29408ed9
    • A
      ARM: shmobile: fix defconfig warning on CONFIG_USB · bb57d4e3
      Arnd Bergmann 提交于
      A recent update to the marzen_defconfig introduced a
      duplicate CONFIG_USB=y line. This removes one of the
      two.
      
      arch/arm/configs/marzen_defconfig:86:warning: override: reassigning to symbol USB
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NSimon Horman <horms+renesas@verge.net.au>
      Cc: linux-sh@vger.kernel.org
      bb57d4e3
    • A
      ARM: w90x900: fix legacy assembly syntax · fa5ce5f9
      Arnd Bergmann 提交于
      New ARM binutils don't allow extraneous whitespace inside
      of brackets, which causes this error on all mach-w90x900
      defconfigs:
      
      arch/arm/kernel/entry-armv.S: Assembler messages:
      arch/arm/kernel/entry-armv.S:214: Error: ARM register expected -- `ldr r0,[ r6,#(0x10C)]'
      arch/arm/kernel/entry-armv.S:214: Error: ARM register expected -- `ldr r0,[ r6,#(0x110)]'
      arch/arm/kernel/entry-armv.S:430: Error: ARM register expected -- `ldr r0,[ r6,#(0x10C)]'
      arch/arm/kernel/entry-armv.S:430: Error: ARM register expected -- `ldr r0,[ r6,#(0x110)]'
      
      This removes the whitespace in order to build the kernel
      again.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      fa5ce5f9