]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: HPET: read back compare register before reading counter
authorThomas Gleixner <tglx@linutronix.de>
Sat, 6 Sep 2008 01:06:08 +0000 (03:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Oct 2008 02:44:43 +0000 (19:44 -0700)
commit22e4330618d27748cc69b62d3c96223bcefe6c6c
tree8b2c2f4e0f15b8fb75a284093d2ccfb3db4e4b1e
parent59ff733c6b6ef547bb09a9902020750dfbb2200f
x86: HPET: read back compare register before reading counter

commit 72d43d9bc9210d24d09202eaf219eac09e17b339 upstream

After fixing the u32 thinko I sill had occasional hickups on ATI chipsets
with small deltas. There seems to be a delay between writing the compare
register and the transffer to the internal register which triggers the
interrupt. Reading back the value makes sure, that it hit the internal
match register befor we compare against the counter value.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/hpet.c