diff options
author | Andreas Herrmann <[email protected]> | 2009-04-21 20:00:37 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-04-22 15:53:40 +0200 |
commit | 7a6f9cbb37120c745fc187083fb5c3de4dca4f97 (patch) | |
tree | b943ff6c61085506cde9d92bfb5b859b5b3c6872 /net/lapb/lapb_out.c | |
parent | 3568b71d46bea87da1936902b6fbb2a3b1154b3d (diff) |
x86: hpet: fix periodic mode programming on AMD 81xx
(See http://bugzilla.kernel.org/show_bug.cgi?id=12961)
It partially reverts commit c23e253e67c9d8a91a0ffa33c1f571a17f0a2403
(x86: hpet: stop HPET_COUNTER when programming periodic mode)
HPET on AMD 81xx chipset needs a second write (with HPET_TN_SETVAL
cleared) to T0_CMP register to set the period in periodic mode.
With this patch HPET_COUNTER is still stopped but not reset when HPET
is programmed in periodic mode. This should help to avoid races when
HPET is programmed in periodic mode and fixes a boot time hang that
I've observed on a machine when using 1000HZ.
[ Impact: fix boot time hang on machines with AMD 81xx chipset ]
Reported-by: Jeff Mahoney <[email protected]>
Signed-off-by: Andreas Herrmann <[email protected]>
Tested-by: Jeff Mahoney <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions