tmp_suning_uos_patched/drivers/clocksource
Dominik Brodowski dfdf748a61 clocksource, acpi_pm.c: use proper read function also in errata mode
On all hardware (some Intel ICH4, PIIX4 and PIIX4E chipsets) affected by a
hardware errata there's about a 4.2% chance that initialization of the
ACPI PMTMR fails.  On those chipsets, we need to read out the timer value
at least three times to get a correct result, for every once in a while
(i.e.  within a 3 ns window every 69.8 ns) the read returns a bogus
result.  During normal operation we work around this issue, but during
initialization reading a bogus value may lead to -EINVAL even though the
hardware is usable.

Thanks to Andreas Mohr for spotting this issue.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-09-06 15:33:31 +02:00
..
acpi_pm.c clocksource, acpi_pm.c: use proper read function also in errata mode 2008-09-06 15:33:31 +02:00
cyclone.c [PATCH] clocksource init adjustments (fix bug #7426) 2007-03-05 07:57:53 -08:00
Makefile atmel_tc clocksource/clockevent code 2008-03-04 13:42:24 +01:00
scx200_hrt.c [PATCH] clocksource: replace is_continuous by a flag field 2007-02-16 08:13:57 -08:00
tcb_clksrc.c tclib: Fix compile warnings 2008-03-13 22:53:29 +01:00