HomeFreeBSD

x86: Keep cumulative MCA statistics in the kernel

Description

x86: Keep cumulative MCA statistics in the kernel

Keeping cumulative MCA statistics in the kernel provides a way for
users to get an accurate count of various kinds of errors reported
by the CPU.

After ca8929d2a3e9b9df31d2e487377f99d7c39aa01d, it is possible that
the kernel will drop the record of some MCA interrupts. Moreover, this
provides a cheaper interface to obtain statistics if that is the only
reason a user is processing MCA logs.

Reviewed by: markj
Sponsored by: Netflix
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D52709

(cherry picked from commit 5f1f7d8457d4fc28c6cff7e26a629a2d6ee3fc61)

Details

Provenance
jtlAuthored on Sep 24 2025, 2:35 PM
Reviewer
markj
Differential Revision
D52709: x86: Keep cumulative MCA statistics in the kernel
Parents
rG12ee292aaee2: ipfilter/ippool: Dump a copy of ippool dstlist data in "new" format
Branches
Unknown
Tags
Unknown