diff options
author | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2006-08-25 20:53:00 +0000 |
---|---|---|
committer | Gordon Willem Klok <gwk@cvs.openbsd.org> | 2006-08-25 20:53:00 +0000 |
commit | 1acad50124a61035e7b90555b0bd65d74c0aca74 (patch) | |
tree | a5dc111bb45a1a8c77d2301b1e14e2ec69361fc6 /sys/arch/i386 | |
parent | 5a6bcf8bb7c3927426097e85184a3213c0b83bcd (diff) |
Be a little less agressive in declaring the change pending bit stuck, increase
the number of retries by two orders of magnitude wont affect most systems
but will make transitions smoother on marginal ones, if people see
"change pending bit stuck" printed to the console after this I would like to
hear about it.
tested by and ok niallo@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/powernow-k8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/powernow-k8.c b/sys/arch/i386/i386/powernow-k8.c index 7ed31388b8f..d7d17f63e03 100644 --- a/sys/arch/i386/i386/powernow-k8.c +++ b/sys/arch/i386/i386/powernow-k8.c @@ -1,4 +1,4 @@ -/* $OpenBSD: powernow-k8.c,v 1.14 2006/08/24 20:57:57 gwk Exp $ */ +/* $OpenBSD: powernow-k8.c,v 1.15 2006/08/25 20:52:59 gwk Exp $ */ /* * Copyright (c) 2004 Martin Végiard. @@ -167,7 +167,7 @@ int k8pnow_states(struct k8pnow_cpu_state *, uint32_t, unsigned int, int k8pnow_read_pending_wait(uint64_t *status) { - unsigned int i = 1000; + unsigned int i = 100000; while (i--) { *status = rdmsr(MSR_AMDK7_FIDVID_STATUS); |