Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151063283
D24744.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
505 B
Referenced Files
None
Subscribers
None
D24744.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D24744: hwpstate_intel: don't unconditionally print the error message
Attached
Detach File
Event Timeline
Log In to Comment