HomeFreeBSD

mca: Handle inconsistent CMCI capability reporting

Description

mca: Handle inconsistent CMCI capability reporting

A BIOS bug may apparently cause the BSP to report that it does not
implement CMCI, with some APs reporting that they do. In this scenario,
avoid a NULL pointer dereference that occurs in cmci_monitor() because
cmc_state was not allocated by the BSP.

PR: 253272
Reported by: asomers, mmacy
Reviewed by: kib (previous version)
MFC after: 1 week

Details

Provenance
markjAuthored on Feb 8 2021, 7:42 PM
Parents
rG7da3bfc20ca8: amd64: fix up a braino in strlen comment
Branches
Unknown
Tags
Unknown