Entering deep nap mode on the 970MP requires that both MSR[NAP] and

MSR[DEEPNAP] be set, not just MSR[DEEPNAP]. Fixing this reduces the idle
temperature of my CPUs from 57 to 38 degrees and makes one-shot timer
mode work properly.

Hint from:	mav
MFC after:	4 days
This commit is contained in:
nwhitehorn 2010-11-10 20:28:10 +00:00
parent a02271c20b
commit 7da22d0dfc

View File

@ -455,8 +455,8 @@ cpu_970_setup(int cpuid, uint16_t vers)
/* Configure power-saving mode */
switch (vers) {
case IBM970MP:
hid0_hi |= (HID0_DEEPNAP | HID0_DPM);
hid0_hi &= ~(HID0_DOZE | HID0_NAP);
hid0_hi |= (HID0_DEEPNAP | HID0_NAP | HID0_DPM);
hid0_hi &= ~HID0_DOZE;
break;
default:
hid0_hi |= (HID0_NAP | HID0_DPM);