1. 03 3月, 2013 1 次提交
    • J
      metag: Time keeping · a2c5d4ed
      James Hogan 提交于
      Add time keeping code for metag. Meta hardware threads have 2 timers.
      The background timer (TXTIMER) is used as a free-running time base, and
      the interrupt timer (TXTIMERI) is used for the timer interrupt. Both
      counters traditionally count at approximately 1MHz.
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Cc: John Stultz <johnstul@us.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      a2c5d4ed
  2. 04 1月, 2013 1 次提交
    • G
      Drivers: clocksource: remove __dev* attributes. · 1850514b
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: John Stultz <johnstul@us.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1850514b
  3. 05 12月, 2012 1 次提交
  4. 04 12月, 2012 1 次提交
  5. 20 11月, 2012 1 次提交
  6. 17 11月, 2012 1 次提交
  7. 16 11月, 2012 1 次提交
  8. 14 11月, 2012 4 次提交
  9. 05 11月, 2012 1 次提交
    • L
      ARM: plat-nomadik: move MTU, kill plat-nomadik · 694e33a7
      Linus Walleij 提交于
      This moves the MTU timer driver from arch/arm/plat-nomadik
      to drivers/clocksource and moves the header file to the
      platform_data directory.
      
      As this moves the last file being compiled to an object out
      of arch/arm/plat-nomadik, we have to "turn off the light"
      and delete the plat-nomadik directory, because it is not
      allowed to have an empty Makefile in a plat-* directory.
      This is probably also a desired side effect of depopulating
      the arch/arm directory of drivers. Luckily we have just
      deleted all the <plat/*> include files prior to this so
      by moving the last one we may delete the directory.
      
      After this all the Ux500 and Nomadik device drivers live
      outside of the arch/arm hierarchy.
      
      Cc: Alessandro Rubini <rubini@unipv.it>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      694e33a7
  10. 20 9月, 2012 1 次提交
    • S
      ARM: bcm2835: add system timer · ee4af569
      Simon Arlott 提交于
      The System Timer peripheral provides four 32-bit timer channels and a
      single 64-bit free running counter. Each channel has an output compare
      register, which is compared against the 32 least significant bits of the
      free running counter values, and generates an interrupt.
      
      Timer 3 is used as the Linux timer.
      
      The BCM2835 also contains an SP804-based timer module. However, it
      apparently has significant differences from the standard SP804 IP block,
      and Broadcom's documentation recommends using the system timer instead.
      
      This patch was extracted from git://github.com/lp0/linux.git branch
      rpi-split as of 2012/09/08, and modified as follows:
      
      * s/bcm2708/bcm2835/.
      * Modified device tree vendor prefix.
      * Moved to drivers/clocksource/. This looks like the desired location for
        such code now.
      * Added DT binding docs.
      * Moved struct sys_timer bcm2835_timer into time.c to encapsulate it more.
      * Simplified bcm2835_time_init() to find one matching node and operate on
        it, rather than looping over all matching nodes. This seems more
        consistent with other clocksource code.
      * Simplified bcm2835_time_init() using of_iomap().
      * Renamed struct bcm2835_timer.index to match_mask to better represent its
        purpose.
      * s/printk(PR_INFO/pr_info(/
      Signed-off-by: NChris Boot <bootc@bootc.net>
      Signed-off-by: NSimon Arlott <simon@fire.lp0.eu>
      Signed-off-by: NDom Cobley <popcornmix@gmail.com>
      Signed-off-by: NDom Cobley <dc4@broadcom.com>
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      ee4af569
  11. 17 9月, 2012 1 次提交
  12. 04 9月, 2012 8 次提交
  13. 22 8月, 2012 1 次提交
  14. 12 7月, 2012 1 次提交
  15. 10 7月, 2012 1 次提交
  16. 11 6月, 2012 4 次提交
  17. 25 5月, 2012 2 次提交
  18. 02 5月, 2012 1 次提交
    • L
      ARM: ux500: delete U5500 support · 29746f48
      Linus Walleij 提交于
      This platform has been obsoleted and was only available inside of
      ST-Ericsson, no users of this code are left in the world. This
      deletes the core U5500 support entirely in the same manner as the
      obsoleted U8500 silicon was previously deleted.
      
      The cpu_is_u5500() macros that can read out the CPU ID is left
      until the next kernel cycle, this makes it possible to merge
      deletion of dependent drivers without breakage.
      
      This also has the upside of removing the mailbox driver which was
      our only driver that was outside the drivers/* hiearchy, now the
      machine directory only handles machines and nothing else.
      
      Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
      Cc: Rabin Vincent <rabin.vincent@stericsson.com>
      Cc: Jonas Aberg <jonas.aberg@stericsson.com>
      Cc: Per Forlin <per.forlin@stericsson.com>
      Cc: Ulf Hansson <ulf.hansson@stericsson.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      29746f48
  19. 12 4月, 2012 1 次提交
    • T
      Revert "clocksource: Load the ACPI PM clocksource asynchronously" · d48fc63f
      Thomas Gleixner 提交于
      This reverts commit b5195082.
      
      The reason for this revert is that making the frequency verification
      preemptible and interruptible is not working reliably. Michaels
      machine failed to use PM-timer with the message:
      
        PM-Timer running at invalid rate: 113% of normal - aborting.
      
      That's not a surprise as the frequency verification does rely on
      interrupts being disabled. With a async scheduled thread there is no
      guarantee to achieve the same result. Also some driver might fiddle
      with the CTC channel 2 during the verification period, which makes the
      result even more random and unpredictable.
      
      This can be solved by using the same mechanism as we use in the
      deferred TSC validation code, but that only will work if we verified a
      working HPET _BEFORE_ trying to do the PM-Timer lazy validation.
      
      So for now reverting is the safe option.
      Bisected-by: NMichael Witten <mfwitten@gmail.com>
      Cc: Arjan van de Ven <arjanvandeven@gmail.com>
      Cc: Arjan van de Ven <arjan@infradead.org>
      Cc: John Stultz <johnstul@us.ibm.com>
      Cc: Len Brown <lenb@kernel.org>
      LKML-Reference: <alpine.LFD.2.02.1204112303270.2542@ionos>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      d48fc63f
  20. 17 3月, 2012 3 次提交
  21. 06 3月, 2012 2 次提交
  22. 01 3月, 2012 1 次提交
  23. 22 2月, 2012 1 次提交
    • I
      clocksource: scx200_hrt: Fix the build · 10ea9d6f
      Ingo Molnar 提交于
      This commit:
      
        12d6d412: clocksource: scx200_hrt: Convert scx200 to use clocksource_register_hz
      
      Breaks the build on x86-32:
      
        drivers/clocksource/scx200_hrt.c: In function ‘init_hrt_clocksource’:
        drivers/clocksource/scx200_hrt.c:95:0: error: unterminated argument list invoking macro "pr_info"
        drivers/clocksource/scx200_hrt.c:84:2: error: ‘pr_info’ undeclared (first use in this function)
      
      It could not possibly have been build tested, because it had this mismerge:
      
      	pr_info("enabling scx200 high-res timer (%s MHz +%d ppm)\n",
      	printk(KERN_INFO "enabling scx200 high-res timer (%s MHz +%d ppm)\n",
      		mhz27 ? "27":"1", ppm);
      
      Cc: Jim Cromie <jim.cromie@gmail.com>
      Cc: John Stultz <john.stultz@linaro.org>
      Link: http://lkml.kernel.org/n/tip-jceb26fns5w7tv8edlivhxpa@git.kernel.orgSigned-off-by: NIngo Molnar <mingo@elte.hu>
      10ea9d6f