Page MenuHomeFreeBSD

Decode AMD RAS Capabilities and enable MCA thresholding on 17h (two commits)
ClosedPublic

Authored by cem on Sep 5 2017, 10:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 11:50 AM
Unknown Object (File)
Wed, Nov 27, 7:32 AM
Unknown Object (File)
Oct 8 2024, 5:44 AM
Unknown Object (File)
Oct 5 2024, 4:06 AM
Unknown Object (File)
Oct 5 2024, 1:32 AM
Unknown Object (File)
Oct 4 2024, 9:00 PM
Unknown Object (File)
Oct 3 2024, 11:39 AM
Unknown Object (File)
Oct 2 2024, 12:07 PM
Subscribers
None

Details

Summary

Store AMD RAS Capabilities cpuid value and name flags

x86 MCA: Enable AMD thresholding support on 17h

17h supports MCA thresholding in the same way as 16h and earlier.
Supposedly a ScalableMca feature bit in CPUID 8000_0007:EBX must be set, but
that was not true for earlier models, so be careful about relying on it.

While here, document a missing bit in LS MCA MISC0.

Diff Detail

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

Event Timeline

Builds fine and doesn't cause any obvious breakage on my Ryzen. This feature does appear to be detected properly.

This revision is now accepted and ready to land.Sep 7 2017, 5:56 PM
This revision was automatically updated to reflect the committed changes.