CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/04/28 10:18:25
Modified files:
sys/arch/amd64/amd64: identcpu.c vmm_machdep.c
sys/arch/amd64/include: cpu.h
Log message:
vmm(4) sets minimum ASID for AMD SEV.
With AMD SEV-ES vmm(4) has to respect a "minimum ASID" when running
both SEV-ES and non-SEV-ES guests. The minimum ASID value is
configured in the BIOS. Non-SEV-ES guests will have to use ASIDs
starting at that value while SEV-ES enabled VMs use ASIDs starting
at 1. Setting the minimum ASID in the BIOS to 1, disables SEV-ES.
Introduce vmm_alloc_asid() to be used by SVM base VMs. No change
for VMX based VMs.
from hshoexer@