Do the same for i386 as amd64:
authorbrynet <brynet@openbsd.org>
Tue, 24 Jul 2018 17:31:23 +0000 (17:31 +0000)
committerbrynet <brynet@openbsd.org>
Tue, 24 Jul 2018 17:31:23 +0000 (17:31 +0000)
commitdd1d7e22237203965bf0d8e1f8e5d9b06169e3b1
tree9ab0011c6e2343bf0099eb16569569c7d5e23d79
parent47e62276a2d611ff6b8ebdb06e5abb654f033aa3
Do the same for i386 as amd64:

Add "Mitigation G-2" per AMD's Whitepaper "Software Techniques for
Managing Speculation on AMD Processors"

By setting MSR C001_1029[1]=1, LFENCE becomes a dispatch serializing
instruction.

ok deraadt@
sys/arch/i386/i386/machdep.c
sys/arch/i386/include/specialreg.h