]> git.baikalelectronics.ru Git - kernel.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)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 6 Sep 2008 05:21:17 +0000 (07:21 +0200)
commit1bd1b427ede032b725b2e6a78ec4710b9b68116d
tree0ec1d67060e32ad3e2b3772d0c0cb33a8809b594
parentab42d4b756bf3051fb651162d1e16510c94b300f
x86: HPET: read back compare register before reading counter

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>
arch/x86/kernel/hpet.c