git: nvmm(4): Fix CPUID bits

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


commit 2321945e1ed8b67f6dadbceb3cff1336dd883540
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Aug 5 21:37:28 2026 +0800

    nvmm(4): Fix CPUID bits
    
    - FMA/F16C/VAES/VPCLMULQDQ are part of AVX and should not be exposed.
    - PSE36 is not supported and should not be exposed.
    - EferLmsleUnsupp should be unconditionally exposed on AMD.
    - SHA is part of XMM, which is supported, so it can be exposed.
    
    Credit: Maxime Villard (m00nbsd)

Summary of changes:
 sys/dev/virtual/nvmm/x86/nvmm_x86.c     | 20 ++++++++++----------
 sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c |  1 +
 2 files changed, 11 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2321945e1ed8b67f6dadbceb3cff1336dd883540


-- 
DragonFly BSD source repository


More information about the Commits mailing list