HomeFreeBSD

Extend ap_boot_mtx scope to also cover mca_init().

Description

Extend ap_boot_mtx scope to also cover mca_init().

Otherwise, under bootverbose, the lapic_enable_cmc() banner 'lapicX:
CMCI unmasked' is printed by several CPUs in parallel, causing garbled
output for the LAPIC dumps.

Reported by: royger
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D15157

Details

Provenance
kibAuthored on
Reviewer
jhb
Differential Revision
D15157: Execute mca_init() under the ap_boot_mtx spinlock.
Parents
rS332971: Ensure that cmci_monitor() is not executed in parallel, since shared
Branches
Unknown
Tags
Unknown