git: nvmm(4): Advertise new CPUID and ARCH_CAP bits

Aaron LI aly at crater.dragonflybsd.org
Fri Aug 7 00:23:37 PDT 2026


commit 0d06047a652d682f18005e6a7600d42cce8b59f3
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Aug 6 07:21:07 2026 +0800

    nvmm(4): Advertise new CPUID and ARCH_CAP bits
    
    Advertise SsbdNotRequired and BTC_NO bits in CPUID and mitigation bits
    in ARCH_CAP, for the guest to know not to turn on costly mitigations if
    the CPU doesn't require them.
    
    Credit: Maxime Villard (m00nbsd)

Summary of changes:
 sys/dev/virtual/nvmm/x86/nvmm_x86.c     |  9 +++++++--
 sys/dev/virtual/nvmm/x86/nvmm_x86.h     |  9 +++++++--
 sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c | 32 +++++++++++++++++++++++++++++++-
 3 files changed, 45 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d06047a652d682f18005e6a7600d42cce8b59f3


-- 
DragonFly BSD source repository


More information about the Commits mailing list