| Summary: | 12-STABLE: MDS software mitigation locks up on Haswell | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Christian Weisgerber <naddy> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | CC: | emaste, kib |
| Priority: | --- | ||
| Version: | 12.0-STABLE | ||
| Hardware: | amd64 | ||
| OS: | Any | ||
|
Description
Christian Weisgerber
2019-05-18 16:52:14 UTC
A commit references this bug: Author: kib Date: Tue May 21 22:56:22 UTC 2019 New revision: 348075 URL: https://svnweb.freebsd.org/changeset/base/348075 Log: Do not call hw_mds_recalculate() from initializecpu(). If MDS mitigation is enabled by the tunable but MDS microcode is not early-loaded, software mitigation is selected. This causes initializecpu() to try to allocate memory which makes boot process very unhappy. Create SYSINIT that runs sufficiently late to succeed. Reported by: naddy PR: 237968 Sponsored by: The FreeBSD Foundation MFC after: 1 week Changes: head/sys/amd64/amd64/initcpu.c head/sys/i386/i386/initcpu.c head/sys/x86/x86/cpu_machdep.c This was also committed to stable/12 (r348357) and stable/11 (r348362). I confirm that this fixes the problem in 12-STABLE. |