1. 13 6月, 2013 1 次提交
  2. 12 4月, 2013 2 次提交
    • R
      ARM: convert arm/arm64 arch timer to use CLKSRC_OF init · 0583fe47
      Rob Herring 提交于
      This converts arm and arm64 to use CLKSRC_OF DT based initialization for
      the arch timer. A new function arch_timer_arch_init is added to allow for
      arch specific setup.
      
      This has a side effect of enabling sched_clock on omap5 and exynos5. There
      should not be any reason not to use the arch timers for sched_clock.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Simon Horman <horms@verge.net.au>
      Cc: Magnus Damm <magnus.damm@gmail.com>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: John Stultz <john.stultz@linaro.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-samsung-soc@vger.kernel.org
      Cc: linux-omap@vger.kernel.org
      Cc: linux-sh@vger.kernel.org
      Acked-by: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      0583fe47
    • R
      ARM: arch_timer: use full 64-bit counter for sched_clock · 023796b9
      Rob Herring 提交于
      Only 32-bits of the arch timer were being used and wrapping was needlessly
      being done in s/w. By using the full counter (56-64 bits), we don't need
      to deal with wrapping and can simplify the implementation when using
      arch timer.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      023796b9
  3. 16 2月, 2013 1 次提交
    • 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
  4. 31 1月, 2013 9 次提交
  5. 27 9月, 2012 1 次提交
  6. 16 9月, 2012 2 次提交
  7. 10 7月, 2012 3 次提交
  8. 27 4月, 2012 5 次提交