diff options
author | Andreas Herrmann <[email protected]> | 2009-02-21 00:16:35 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-02-22 18:01:18 +0100 |
commit | c23e253e67c9d8a91a0ffa33c1f571a17f0a2403 (patch) | |
tree | 5e1253549e6df59b568341e4b1da6b93183e73b0 /fs/jbd2/commit.c | |
parent | 8d6f0c8214928f7c5083dd54ecb69c5d615b516e (diff) |
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 <[email protected]>
Cc: Mark Hounschell <[email protected]>
Cc: Borislav Petkov <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions