Page MenuHomeFreeBSD

hwpstate_intel: don't unconditionally print the error message
Needs ReviewPublic

Authored by yuripv on May 7 2020, 3:43 AM.

Details

Reviewers
cem
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
Lint
Lint Skipped
Unit
Unit Tests Skipped