]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit83d7384f8d4aa216b49cf9cb286ea743054b119f
tree9f56bf83bbbb0dc7056c3dd5e11b1d0ab0d4cefb
parent5fa3a246ea2e1be2ffaa01343bc183c8c0bfa472
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