]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
On amd64, enable workarounds for several Ryzen erratas as described in
authorKonstantin Belousov <kib@FreeBSD.org>
Fri, 27 Jul 2018 15:31:20 +0000 (15:31 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 27 Jul 2018 15:31:20 +0000 (15:31 +0000)
commit45ed991d964fb6b2d3978ead8c43e656e0bd7f71
treefa143bda574d0d0e7776141c93956aeb3f66aa6a
parent029a2d652e1b6a0bff4abb0d50f73999a40b60c5
On amd64, enable workarounds for several Ryzen erratas as described in
the AMD document 55449 'Revision Guide for AMD Family 17h Models
00h-0Fh Processors' rev 1.12.

The errata numbers are mentioned near each action.

It seems that newer BIOSes already include required chicken bits
settings, so the magic MSR updates are only needed when BIOS cannot be
updated.  On the other hand, MWAIT avoidance seems to be important.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/amd64/amd64/initcpu.c
sys/x86/x86/cpu_machdep.c