git: nvmm: Improve CPUID emulation #3: handle Fn8000_0008:ECX on AMD

Aaron LI aly at crater.dragonflybsd.org
Tue Jul 20 16:30:29 PDT 2021


commit a6f61d61492b66601384f052b4205e9dd77f7965
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Jul 3 13:07:42 2021 +0800

    nvmm: Improve CPUID emulation #3: handle Fn8000_0008:ECX on AMD
    
    Properly handle Fn8000_0008:ECX on AMD CPUs to report correct CPU count
    info.  Similar to Fn0000_000B:ECX on Intel CPUs.

Summary of changes:
 sys/dev/virtual/nvmm/nvmm_compat.h      |  8 ++++++++
 sys/dev/virtual/nvmm/x86/nvmm_x86.c     |  2 +-
 sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c | 12 +++++++++---
 3 files changed, 18 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a6f61d61492b66601384f052b4205e9dd77f7965


-- 
DragonFly BSD source repository



More information about the Commits mailing list