Page MenuHomeFreeBSD

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

Authored by jtl on Oct 6 2025, 6:13 PM.
Tags
None
Referenced Files
F143194640: D52942.id163656.diff
Tue, Jan 27, 6:32 AM
Unknown Object (File)
Sun, Jan 18, 4:29 AM
Unknown Object (File)
Sat, Jan 10, 3:17 PM
Unknown Object (File)
Sat, Jan 10, 5:24 AM
Unknown Object (File)
Sun, Jan 4, 7:06 AM
Unknown Object (File)
Dec 6 2025, 10:14 AM
Unknown Object (File)
Nov 27 2025, 9:02 PM
Unknown Object (File)
Nov 25 2025, 9:43 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.Oct 6 2025, 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.Oct 7 2025, 5:43 AM