Page MenuHomeFreeBSD

x86: Add a way to inject artificial MCA events for testing
ClosedPublic

Authored by jtl on Mon, Oct 6, 6:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 10:31 PM
Unknown Object (File)
Fri, Oct 10, 10:31 PM
Unknown Object (File)
Fri, Oct 10, 10:31 PM
Unknown Object (File)
Fri, Oct 10, 4:30 PM
Unknown Object (File)
Fri, Oct 10, 10:47 AM
Unknown Object (File)
Thu, Oct 9, 6:21 PM
Unknown Object (File)
Wed, Oct 8, 7:21 PM
Unknown Object (File)
Wed, Oct 8, 4:48 AM
Subscribers

Details

Summary

Obtained from Netflix. The code was originally written by Loic Prylli and lightly modified for me as part of upstreaming. Proposed metadata includes "Obtained from" and "Sponsored by" Netflix.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jtl requested review of this revision.Mon, Oct 6, 6:13 PM

Maybe put that under DIAGNOSTIC or similar hiding ifdef? Only one or two people in the world would ever need this. Those who do, definitely would be compiling kernels.

Updated to hide this code under the DIAGNOSTIC kernel config option.

In D52942#1209601, @jtl wrote:

Updated to hide this code under the DIAGNOSTIC kernel config option.

Good idea! I updated the diff to reflect this.

This revision is now accepted and ready to land.Tue, Oct 7, 5:43 AM