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)
Tue, Apr 30, 6:06 AM
Unknown Object (File)
Jan 1 2024, 11:37 PM
Unknown Object (File)
Dec 20 2023, 4:24 AM
Unknown Object (File)
Nov 25 2023, 9:30 AM
Unknown Object (File)
Nov 7 2023, 6:07 PM
Unknown Object (File)
Nov 6 2023, 10:58 AM
Unknown Object (File)
Nov 5 2023, 6:16 PM
Unknown Object (File)
Oct 31 2023, 6:36 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.