CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2023/01/09 18:09:14
Modified files: sys/arch/amd64/amd64: identcpu.c sys/arch/amd64/include: specialreg.h vmmvar.h sys/arch/i386/i386: machdep.c sys/arch/i386/include: specialreg.h Log message: Hide WAITPKG cpu feature from vmm(4) guests. Alder Lake and similar-era Intel platforms introduced new userland wait instructions. Since vmm was passing this cpuid bit into guests, some would attempt TPAUSE instructions and trigger invalid instruction exceptions because VMX requires additional configuration to support emulation. This also adds WAITPKG to i386 and amd64 cpu feature identification. Input from anton@, cheloha@, and guenther@. Tested by jmatthew@. OK deraadt.