CVS commit: src/sys/dev/pci
Module Name:src Committed By: knakahara Date: Thu Feb 21 08:10:22 UTC 2019 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Fix panic when wm(4) is reattached. ok by msaitoh@n.o. This panic occured after kern_rndq.c:r1.90. To generate a diff of this commit: cvs rdiff -u -r1.626 -r1.627 src/sys/dev/pci/if_wm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat/sys
Module Name:src Committed By: mrg Date: Thu Feb 21 08:25:00 UTC 2019 Modified Files: src/sys/compat/sys: ipc.h Log Message: include libkern.h or strings.h. should fix i386 build issues. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/compat/sys/ipc.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: hannken Date: Thu Feb 21 08:52:53 UTC 2019 Modified Files: src/sys/kern: vfs_trans.c Log Message: Fix bad assertion: vfs_suspend(dead_rootmount) may happen and must return EOPNOTSUPP. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/kern/vfs_trans.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/nvmm/x86
Module Name:src Committed By: maxv Date: Thu Feb 21 11:58:04 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Clarify the gTLB code a little. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/dev/nvmm/x86/nvmm_x86_svm.c cvs rdiff -u -r1.7 -r1.8 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.
CVS commit: src/sys
Module Name:src Committed By: maxv Date: Thu Feb 21 12:17:52 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_tlb.c src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Another locking issue in NVMM: the {svm,vmx}_tlb_flush functions take VCPU mutexes which can sleep, but their context does not allow it. Rewrite the TLB handling code to fix that. It becomes a bit complex. In short, we use a per-VM generation number, which we increase on each TLB flush, before sending a broadcast IPI to everybody. The IPIs cause a #VMEXIT of each VCPU, and each VCPU Loop will synchronize the per-VM gen with a per-VCPU copy, and apply the flushes as neededi lazily. The behavior differs between AMD and Intel; in short, on Intel we don't flush the hTLB (EPT cache) if a context switch of a VCPU occurs, so now, we need to maintain a kcpuset to know which VCPU's hTLBs are active on which hCPU. This creates some redundancy on Intel, ie there are cases where we flush the hTLB several times unnecessarily; but hTLB flushes are very rare, so there is no real performance regression. The thing is lock-less and non-blocking, so it solves our problem. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x86/x86/x86_tlb.c cvs rdiff -u -r1.28 -r1.29 src/sys/dev/nvmm/x86/nvmm_x86_svm.c cvs rdiff -u -r1.8 -r1.9 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.
CVS commit: src/sys/dev/nvmm/x86
Module Name:src Committed By: maxv Date: Thu Feb 21 13:25:44 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: Reorder the detection in vmx_ident(), to fix panic on old CPUs. We must read MSR_IA32_VMX_EPT_VPID_CAP _after_ ensuring EPT is there, because if it's not, the rdmsr faults. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 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.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: maxv Date: Thu Feb 21 14:31:55 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Remove wrong KASSERT in EPT, and reorder the code to reduce duplication. To generate a diff of this commit: cvs rdiff -u -r1.324 -r1.325 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: maxv Date: Thu Feb 21 14:56:23 UTC 2019 Added Files: src/doc: TODO.nvmm Log Message: Add a TODO list for NVMM, just to list some known issues. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/doc/TODO.nvmm Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/mii
Module Name:src Committed By: msaitoh Date: Thu Feb 21 15:41:56 UTC 2019 Modified Files: src/sys/dev/mii: rgephy.c Log Message: Revision 2..5 == RTL8211B...F To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/dev/mii/rgephy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/librt
Module Name:src Committed By: christos Date: Thu Feb 21 21:33:34 UTC 2019 Modified Files: src/lib/librt: sem.c Log Message: - KNF return - be careful with errno, only set it when it is possibly set and not before a system call. - factor out a common mask comparison. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/librt/sem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: christos Date: Thu Feb 21 21:34:05 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: add a lint(1) comment to nothing. To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/sys/cdefs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: christos Date: Thu Feb 21 21:49:23 UTC 2019 Modified Files: src/sys/kern: uipc_sem.c Log Message: PR/53998: Joel Bertrand: Return ENOSPC when SEM_NSEMS_MAX is exceeded instead of -1. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/kern/uipc_sem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/librt
Module Name:src Committed By: christos Date: Thu Feb 21 21:54:09 UTC 2019 Modified Files: src/lib/librt: sem_init.3 Log Message: Mention that ENOSPC can be returned if we exhausted the max number of semaphores. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/lib/librt/sem_init.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci/ixgbe
Module Name:src Committed By: msaitoh Date: Fri Feb 22 06:49:15 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ix_txrx.c ixgbe.c ixgbe.h ixv.c Log Message: Fix a bug that if_link_state_change(ifp, LINK_STATE_DOWN) isn't called unless link goes up at least one time. Without this change, never linkup-ed media keeps LINK_STATE_UNKNOWN instead of LINK_STATE_DOWN. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/dev/pci/ixgbe/ix_txrx.c cvs rdiff -u -r1.173 -r1.174 src/sys/dev/pci/ixgbe/ixgbe.c cvs rdiff -u -r1.53 -r1.54 src/sys/dev/pci/ixgbe/ixgbe.h cvs rdiff -u -r1.108 -r1.109 src/sys/dev/pci/ixgbe/ixv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.