Page MenuHomeFreeBSD

D24744.diff
No OneTemporary

D24744.diff

Index: head/sys/x86/cpufreq/hwpstate_intel.c
===================================================================
--- head/sys/x86/cpufreq/hwpstate_intel.c
+++ head/sys/x86/cpufreq/hwpstate_intel.c
@@ -461,8 +461,10 @@
* not exist." (Intel SDM §14.4.4)
*/
ret = wrmsr_safe(MSR_IA32_HWP_REQUEST_PKG, sc->req);
- device_printf(dev,
- "Failed to set autonomous HWP for package\n");
+ if (ret) {
+ device_printf(dev,
+ "Failed to set autonomous HWP for package\n");
+ }
}
out:

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 6, 5:52 PM (2 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30990274
Default Alt Text
D24744.diff (505 B)

Event Timeline