Page MenuHomeFreeBSD

hwpstate_intel: don't unconditionally print the error message
ClosedPublic

Authored by yuripv on May 7 2020, 3:43 AM.
Tags
None
Referenced Files
F151063283: D24744.diff
Sun, Apr 5, 5:52 PM
Unknown Object (File)
Sat, Mar 14, 11:54 PM
Unknown Object (File)
Mar 3 2026, 12:01 PM
Unknown Object (File)
Mar 1 2026, 8:12 PM
Unknown Object (File)
Mar 1 2026, 3:41 PM
Unknown Object (File)
Feb 27 2026, 12:17 AM
Unknown Object (File)
Feb 26 2026, 9:01 PM
Unknown Object (File)
Feb 26 2026, 4:00 PM
Subscribers

Details

Summary

If CPU supports PKG-wide control MSR, hwpstate_intel unconditionally prints the "Failed to set autonomous HWP for package" error message, forgetting to check the actual wrmsr_safe() return value.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

yuripv requested review of this revision.May 7 2020, 3:43 AM
This revision was not accepted when it landed; it landed in state Needs Review.Nov 29 2020, 1:43 AM
This revision was automatically updated to reflect the committed changes.