1. 14 6月, 2017 1 次提交
  2. 01 10月, 2015 1 次提交
  3. 03 4月, 2015 1 次提交
  4. 18 7月, 2014 1 次提交
  5. 30 9月, 2013 1 次提交
    • S
      ARM: call of_clk_init from default time_init handler · 4178bac4
      Sebastian Hesselbarth 提交于
      Most DT ARM machs require common clock providers initialized before timers.
      Currently, arch/arm machs use .init_time to call of_clk_init right before
      clocksource_of_init. This prevents to remove that callback and use the default
      one instead.
      
      This patch adds a call to of_clk_init() to the default .init_time callback
      for COMMON_CLK enabled machs to allow to remove custom callbacks where applicable.
      While at it, also reorder includes alphabetically.
      Signed-off-by: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      4178bac4
  6. 13 6月, 2013 1 次提交
  7. 12 4月, 2013 1 次提交
  8. 25 12月, 2012 4 次提交
    • S
      ARM: delete struct sys_timer · 6bb27d73
      Stephen Warren 提交于
      Now that the only field in struct sys_timer is .init, delete the struct,
      and replace the machine descriptor .timer field with the initialization
      function itself.
      
      This will enable moving timer drivers into drivers/clocksource without
      having to place a public prototype of each struct sys_timer object into
      include/linux; the intent is to create a single of_clocksource_init()
      function that determines which timer driver to initialize by scanning
      the device dtree, much like the proposed irqchip_init() at:
      http://www.spinics.net/lists/arm-kernel/msg203686.html
      
      Includes mach-omap2 fixes from Igor Grinberg.
      Tested-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      6bb27d73
    • S
      ARM: remove struct sys_timer suspend and resume fields · 7704c095
      Stephen Warren 提交于
      These fields duplicate e.g. struct clock_event_device's suspend and
      resume fields, so remove them now that nothing is using them. The aim
      is to remove all fields from struct sys_timer except .init, then replace
      the ARM machine descriptor's .timer field with a .init_time function
      instead, and delete struct sys_timer.
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      7704c095
    • S
      ARM: set arch_gettimeoffset directly · 23c197b7
      Stephen Warren 提交于
      remove ARM's struct sys_timer .offset function pointer, and instead
      directly set the arch_gettimeoffset function pointer when the timer
      driver is initialized. This requires multiplying all function results
      by 1000, since the removed arm_gettimeoffset() did this. Also,
      s/unsigned long/u32/ just to make the function prototypes exactly
      match that of arch_gettimeoffset.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Andrew Victor <linux@maxim.org.za>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
      Cc: Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Ryan Mallon <rmallon@gmail.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      23c197b7
    • S
      time: convert arch_gettimeoffset to a pointer · 7b1f6207
      Stephen Warren 提交于
      Currently, whenever CONFIG_ARCH_USES_GETTIMEOFFSET is enabled, each
      arch core provides a single implementation of arch_gettimeoffset(). In
      many cases, different sub-architectures, different machines, or
      different timer providers exist, and so the arch ends up implementing
      arch_gettimeoffset() as a call-through-pointer anyway. Examples are
      ARM, Cris, M68K, and it's arguable that the remaining architectures,
      M32R and Blackfin, should be doing this anyway.
      
      Modify arch_gettimeoffset so that it itself is a function pointer, which
      the arch initializes. This will allow later changes to move the
      initialization of this function into individual machine support or timer
      drivers. This is particularly useful for code in drivers/clocksource
      which should rely on an arch-independant mechanism to register their
      implementation of arch_gettimeoffset().
      
      This patch also converts the Cris architecture to set arch_gettimeoffset
      directly to the final implementation in time_init(), because Cris already
      had separate time_init() functions per sub-architecture. M68K and ARM
      are converted to set arch_gettimeoffset to the final implementation in
      later patches, because they already have function pointers in place for
      this purpose.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: NJesper Nilsson <jesper.nilsson@axis.com>
      Acked-by: NJohn Stultz <johnstul@us.ibm.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      7b1f6207
  9. 01 8月, 2012 1 次提交
  10. 06 5月, 2012 1 次提交
  11. 03 2月, 2012 1 次提交
  12. 26 1月, 2012 1 次提交
  13. 01 11月, 2011 1 次提交
    • P
      arm: convert core files from module.h to export.h · ecea4ab6
      Paul Gortmaker 提交于
      Many of the core ARM kernel files are not modules, but just
      including module.h for exporting symbols.  Now these files can
      use the lighter footprint export.h for this role.
      
      There are probably lots more, but ARM files of mach-* and plat-*
      don't get coverage via a simple yesconfig build.  They will have
      to be cleaned up and tested via using their respective configs.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      ecea4ab6
  14. 02 10月, 2011 1 次提交
  15. 25 4月, 2011 1 次提交
  16. 31 1月, 2011 1 次提交
  17. 12 1月, 2011 1 次提交
    • R
      ARM: sched_clock: allow init_sched_clock() to be called early · 211baa70
      Russell King 提交于
      sched_clock is supposed to be initialized early - in the recently added
      init_early platform hook.  However, in doing so we end up calling
      mod_timer() before the timer lists are initialized, resulting in an
      oops.
      
      Split the initialization in two - the part which the platform calls
      early which starts things off.  The addition of the timer can be
      delayed until after we have more of the kernel initialized - when the
      normal time sources are initialized.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      211baa70
  18. 24 12月, 2010 1 次提交
  19. 24 3月, 2010 1 次提交
  20. 16 2月, 2010 2 次提交
  21. 12 10月, 2009 1 次提交
  22. 12 2月, 2009 1 次提交
  23. 06 9月, 2008 1 次提交
  24. 22 7月, 2008 1 次提交
    • A
      sysdev: Pass the attribute to the low level sysdev show/store function · 4a0b2b4d
      Andi Kleen 提交于
      This allow to dynamically generate attributes and share show/store
      functions between attributes. Right now most attributes are generated
      by special macros and lots of duplicated code. With the attribute
      passed it's instead possible to attach some data to the attribute
      and then use that in shared low level functions to do different things.
      
      I need this for the dynamically generated bank attributes in the x86
      machine check code, but it'll allow some further cleanups.
      
      I converted all users in tree to the new show/store prototype. It's a single
      huge patch to avoid unbisectable sections.
      
      Runtime tested: x86-32, x86-64
      Compiled only: ia64, powerpc
      Not compile tested/only grep converted: sh, arm, avr32
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4a0b2b4d
  25. 13 5月, 2008 1 次提交
  26. 28 1月, 2008 1 次提交
  27. 26 1月, 2008 1 次提交
  28. 25 1月, 2008 1 次提交
  29. 12 5月, 2007 1 次提交
  30. 22 4月, 2007 1 次提交
  31. 17 2月, 2007 1 次提交
  32. 12 2月, 2007 1 次提交
  33. 09 1月, 2007 1 次提交
  34. 06 1月, 2007 1 次提交
  35. 08 11月, 2006 1 次提交
  36. 28 10月, 2006 1 次提交