Skip to content
Commit 7cfb0435 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

HPET: make minimum reprogramming delta useful



The minimum reprogramming delta was hardcoded in HPET ticks,
which is stupid as it does not work with faster running HPETs.
The C1E idle patches made this prominent on AMD/RS690 chipsets,
where the HPET runs with 25MHz. Set it to 5us which seems to be
a reasonable value and fixes the problems on the bug reporters
machines. We have a further sanity check now in the clock events,
which increases the delta when it is not sufficient.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Tested-by: default avatarLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Tested-by: default avatarDmitry Nezhevenko <dion@inhex.net>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 1fb9b7d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment