]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Geode Multi-Function General Purpose Timers support
authorAndres Salomon <dilinger@queued.net>
Fri, 12 Oct 2007 21:04:06 +0000 (23:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Fri, 12 Oct 2007 21:04:06 +0000 (23:04 +0200)
commit63e393b12bda65be5a73ed507dd7366609b4e36c
tree9f56bf83bbbb0dc7056c3dd5e11b1d0ab0d4cefb
parentb19329142798b2a9b256d91bdfc6a7039755b687
x86: Geode Multi-Function General Purpose Timers support

This adds support for Multi-Function General Purpose Timers.  It detects the
available timers during southbridge init, and provides an API for allocating
and setting the timers.  They're higher resolution than the standard PIT, so
the MFGPTs come in handy for quite a few things.

Note that we never clobber the timers that the BIOS might have opted to use;
we just check for unused timers.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Andi Kleen <ak@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/kernel-parameters.txt
arch/x86/kernel/Makefile_32
arch/x86/kernel/geode_32.c
arch/x86/kernel/mfgpt_32.c [new file with mode: 0644]
include/asm-x86/geode.h