git: nvmm(4): Make use of kernel_fpu_begin() and kernel_fpu_end()

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


commit 51e47ed5e9024aac04937988064123f4fbed5513
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Aug 6 09:55:14 2026 +0800

    nvmm(4): Make use of kernel_fpu_begin() and kernel_fpu_end()
    
    The kernel_fpu_*() API was added to help drm/amdgpu in commit
    1be00ff1850ebb705db236c08160ee8fea99b32a, shortly after I ported NVMM.
    Use this API to reduce difference with the NVMM upstream.
    
    Credit: Maxime Villard (m00nbsd)

Summary of changes:
 sys/dev/virtual/nvmm/x86/nvmm_x86_internal.h |  4 ++--
 sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c      | 15 +--------------
 sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c      | 15 +--------------
 3 files changed, 4 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/51e47ed5e9024aac04937988064123f4fbed5513


-- 
DragonFly BSD source repository


More information about the Commits mailing list