Avoiding an infinite loop during P-state adjustment on the HP6715s notebook.
authorImre Vadasz <imre@vdsz.com>
Sun, 23 Feb 2014 00:08:12 +0000 (01:08 +0100)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 24 Feb 2014 08:40:00 +0000 (16:40 +0800)
commit94514bea15a0328e256cda414594fe6e631705a5
tree30f1ba9c14305546d8c02a990cf7da0d64005780
parentb36dbd34cf7c994ead5eacd0a6d409bc1c2362ab
Avoiding an infinite loop during P-state adjustment on the HP6715s notebook.

The code is taken from the OpenBSD counterpart to amd0f_set_fidvid.
The infinite loop probably occurs on my HP6715s because the rvo adjustment
doesn't get applied by the hardware when entering the highest P-state
(maybe because of some kind of overvolting protection).
sys/platform/pc64/x86_64/cpufreq_machdep.c