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
Unknown Object (File)
Sat, Dec 28, 2:44 AM
Unknown Object (File)
Dec 4 2024, 1:09 PM
Unknown Object (File)
Nov 10 2024, 11:03 PM
Unknown Object (File)
Nov 8 2024, 10:07 AM
Unknown Object (File)
Oct 4 2024, 4:56 PM
Unknown Object (File)
Oct 3 2024, 11:51 PM
Unknown Object (File)
Sep 11 2024, 8:22 AM
Unknown Object (File)
Sep 9 2024, 12:05 AM
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.