From: Andreas Herrmann Date: Fri, 20 Feb 2009 23:16:35 +0000 (+0100) Subject: x86: hpet: stop HPET_COUNTER when programming periodic mode X-Git-Tag: v2.6.30-rc1~657^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c23e253e67c9d8a91a0ffa33c1f571a17f0a2403;p=pandora-kernel.git x86: hpet: stop HPET_COUNTER when programming periodic mode Impact: fix system hang on some systems operating with HZ_1000 On a system that stalled with HZ_1000, the first value written to T0_CMP (when the main counter was not stopped) did not trigger an interrupt. Instead after the main counter wrapped around (after several minutes) an interrupt was triggered and afterwards the periodic interrupt took effect. This can be fixed by implementing HPET spec recommendation for programming the periodic mode (i.e. stopping the main counter). Signed-off-by: Andreas Herrmann Cc: Mark Hounschell Cc: Borislav Petkov Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed