Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-9] src/sys/dev/nvmm



Module Name:    src
Committed By:   martin
Date:           Sat Aug 29 17:00:28 UTC 2020

Modified Files:
        src/sys/dev/nvmm [netbsd-9]: nvmm.c nvmm_ioctl.h
        src/sys/dev/nvmm/x86 [netbsd-9]: nvmm_x86.c nvmm_x86_svm.c
            nvmm_x86_svmfunc.S nvmm_x86_vmx.c nvmm_x86_vmxfunc.S

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1068):

        sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.71
        sys/dev/nvmm/nvmm.c: revision 1.34
        sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.72
        sys/dev/nvmm/nvmm.c: revision 1.35
        sys/dev/nvmm/nvmm.c: revision 1.36
        sys/dev/nvmm/x86/nvmm_x86_svmfunc.S: revision 1.5
        sys/dev/nvmm/nvmm.c: revision 1.37
        sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S: revision 1.5
        sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.70
        sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.68
        sys/dev/nvmm/x86/nvmm_x86.c: revision 1.15
        sys/dev/nvmm/nvmm_ioctl.h: revision 1.10

Micro-optimize: use pushq instead of pushw. To avoid LCP stalls and
unaligned stack accesses.

nvmm-x86: also flush the guest TLB when CR4.{PCIDE,SMEP} changes

nvmm: localify a variable that doesn't need to be global

nvmm: use relaxed atomics to read nmachines

nvmm-x86-svm: dedup code

nvmm-x86: hide more CPUID flags, mostly related to perf monitors

nvmm: misc improvements
 - use mach->ncpus to get the number of vcpus, now that we have it
 - don't forget to decrement mach->ncpus when a machine gets killed
 - add more __predict_false()

nvmm-x86-svm: don't forget to intercept INVD
INVD executed in the guest can be dangerous for the host, due to CPU
caches being flushed without write-back.

nvmm: slightly clarify

nvmm: explicitly include atomic.h


To generate a diff of this commit:
cvs rdiff -u -r1.22.2.6 -r1.22.2.7 src/sys/dev/nvmm/nvmm.c
cvs rdiff -u -r1.7.4.1 -r1.7.4.2 src/sys/dev/nvmm/nvmm_ioctl.h
cvs rdiff -u -r1.7.4.4 -r1.7.4.5 src/sys/dev/nvmm/x86/nvmm_x86.c
cvs rdiff -u -r1.46.4.9 -r1.46.4.10 src/sys/dev/nvmm/x86/nvmm_x86_svm.c
cvs rdiff -u -r1.3 -r1.3.4.1 src/sys/dev/nvmm/x86/nvmm_x86_svmfunc.S \
    src/sys/dev/nvmm/x86/nvmm_x86_vmxfunc.S
cvs rdiff -u -r1.36.2.11 -r1.36.2.12 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index