]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When switching IBRS on, also enable STIBP (Single Thread Indirect
authorkib <kib@FreeBSD.org>
Wed, 31 Jan 2018 16:56:02 +0000 (16:56 +0000)
committerkib <kib@FreeBSD.org>
Wed, 31 Jan 2018 16:56:02 +0000 (16:56 +0000)
commit0eb8b964d2fca2a5cde90c7af9b4055993f09a5e
tree7dc708582d8b681200aa6a93267d1594b95407a8
parent637f4cf41deba97e5f01caf59c5880c8597498b8
When switching IBRS on, also enable STIBP (Single Thread Indirect
Branch Predictors) mitigation.

DOcument 336996-001 promises that CPUs which implement IBRS but not
STIBP silently ignore setting of the bit instead of trapping.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
sys/amd64/amd64/support.S