CVS commit: src/sys/arch/x86/x86

2019-06-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jun 1 08:12:26 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Fix two bugs in pmap_write_protect(): * The mask should be ~PAGE_MASK, not PTE_FRAME. PTE_FRAME eliminates the higher bits, and that's not

CVS commit: src/sys/arch/x86/x86

2019-06-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jun 1 06:54:28 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Mmh, check the highest leaf before calling x86_cpuid(), otherwise on old CPUs we might be getting garbage. While here fix a typo. Likely

CVS commit: src/sys/arch/x86/x86

2019-06-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jun 1 06:54:28 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Mmh, check the highest leaf before calling x86_cpuid(), otherwise on old CPUs we might be getting garbage. While here fix a typo. Likely

CVS commit: src

2019-05-29 Thread Maxime Villard
utility was written by .An YAMAMOTO Takashi . It was revamped by .An Maxime Villard Index: src/usr.sbin/tprof/arch/tprof_x86.c diff -u src/usr.sbin/tprof/arch/tprof_x86.c:1.7 src/usr.sbin/tprof/arch/tprof_x86.c:1.8 --- src/usr.sbin/tprof/arch/tprof_x86.c:1.7 Mon Nov 26 23:20:57 2018 +++ src/usr.sb

CVS commit: src

2019-05-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 29 17:09:18 UTC 2019 Modified Files: src/sys/dev/tprof: tprof_x86_amd.c src/usr.sbin/tprof: tprof.8 src/usr.sbin/tprof/arch: tprof_x86.c Log Message: Add support for AMD Family 17h. To generate a diff of

CVS commit: src/sys/arch

2019-05-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 29 16:54:42 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S genassym.cf src/sys/arch/amd64/include: pmap.h src/sys/arch/x86/include: cpufunc.h pmap.h specialreg.h src/sys/arch/x86/x86:

CVS commit: src/sys/arch

2019-05-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 29 16:54:42 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S genassym.cf src/sys/arch/amd64/include: pmap.h src/sys/arch/x86/include: cpufunc.h pmap.h specialreg.h src/sys/arch/x86/x86:

CVS commit: src/etc

2019-05-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue May 28 18:25:23 UTC 2019 Modified Files: src/etc: motd.beta motd.current motd.rc motd.stable Log Message: http -> https To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/etc/motd.beta src/etc/motd.rc \

CVS commit: src/etc

2019-05-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue May 28 18:25:23 UTC 2019 Modified Files: src/etc: motd.beta motd.current motd.rc motd.stable Log Message: http -> https To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/etc/motd.beta src/etc/motd.rc \

CVS commit: src/sys/arch/x86/x86

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 18:36:37 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu.c pmap.c svs.c Log Message: Change the effect of SVS on the TLB. Keep CR4_PGE set when SVS is enabled, but don't use PTE_G on the kernel PTEs in general. Add

CVS commit: src/sys/arch/x86/x86

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 18:36:37 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu.c pmap.c svs.c Log Message: Change the effect of SVS on the TLB. Keep CR4_PGE set when SVS is enabled, but don't use PTE_G on the kernel PTEs in general. Add

CVS commit: src/sys/arch

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 17:32:36 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: genassym.cf src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: cpu.c pmap.c svs.c x86_tlb.c Log Message: Remove 'ci_svs_kpdirpa', unused.

CVS commit: src/sys/arch

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 17:32:36 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: genassym.cf src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: cpu.c pmap.c svs.c x86_tlb.c Log Message: Remove 'ci_svs_kpdirpa', unused.

CVS commit: src/sys/arch/x86/x86

2019-05-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 25 21:02:33 UTC 2019 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Fix bug. We must fetch the whole FPU state, otherwise XSTATE_BV could be outdated, and we could be filling the AVX registers with garbage. To

CVS commit: src/sys/arch/x86/x86

2019-05-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 25 21:02:33 UTC 2019 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Fix bug. We must fetch the whole FPU state, otherwise XSTATE_BV could be outdated, and we could be filling the AVX registers with garbage. To

Re: CVS commit: src/distrib/sets/lists/comp

2019-05-20 Thread Maxime Villard
, the code in cpuctl calls rdmsr() and the build was broken. Please fix it properly (and refrain from cursing on the lists while you are at it). christos On May 11, 2019, at 9:08 AM, Maxime Villard wrote: What the fuck are you all doing? Last I heard, RDMSR/WRMSR are privileged instructions

CVS commit: src/sys/arch/i386/i386

2019-05-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 19 08:49:08 UTC 2019 Modified Files: src/sys/arch/i386/i386: compat_16_machdep.c Log Message: Remove useless call to fpu_sigreset(), buildcontext() already calls it. To generate a diff of this commit: cvs rdiff -u -r1.31

CVS commit: src/sys/arch/i386/i386

2019-05-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 19 08:49:08 UTC 2019 Modified Files: src/sys/arch/i386/i386: compat_16_machdep.c Log Message: Remove useless call to fpu_sigreset(), buildcontext() already calls it. To generate a diff of this commit: cvs rdiff -u -r1.31

CVS commit: src/sys

2019-05-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 19 08:46:15 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c netbsd32_machdep.c src/sys/arch/i386/i386: compat_16_machdep.c machdep.c src/sys/arch/x86/include: fpu.h src/sys/arch/x86/x86:

CVS commit: src/sys

2019-05-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 19 08:46:15 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c netbsd32_machdep.c src/sys/arch/i386/i386: compat_16_machdep.c machdep.c src/sys/arch/x86/include: fpu.h src/sys/arch/x86/x86:

CVS commit: src/sys/arch

2019-05-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 19 08:17:02 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S machdep.c src/sys/arch/i386/i386: cpufunc.S locore.S machdep.c src/sys/arch/x86/include: fpu.h src/sys/arch/x86/x86: fpu.c

CVS commit: src/sys/arch

2019-05-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun May 19 08:17:02 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S machdep.c src/sys/arch/i386/i386: cpufunc.S locore.S machdep.c src/sys/arch/x86/include: fpu.h src/sys/arch/x86/x86: fpu.c

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 13:44:57 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Enable EagerFPU by default. Sent on port-amd64@. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90

CVS commit: src/sys/arch/amd64

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 13:32:12 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S locore.S src/sys/arch/amd64/include: frameasm.h Log Message: Two changes in the CPU mitigations: * Micro-optimize: put every mitigation

CVS commit: src/sys/dev/nvmm/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 08:55:59 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: Now that SVS cannot be disabled at run time, MSR_LSTAR is static, so no need to save it on each VM enter. To generate a diff of this

CVS commit: src/sys/dev/nvmm/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 08:55:59 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: Now that SVS cannot be disabled at run time, MSR_LSTAR is static, so no need to save it on each VM enter. To generate a diff of this

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 08:54:38 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Use XC_HIGHPRI for SpectreV2 to reduce the CPU downtime. We already do this for MDS. To generate a diff of this commit: cvs rdiff -u -r1.27

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 08:54:38 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Use XC_HIGHPRI for SpectreV2 to reduce the CPU downtime. We already do this for MDS. To generate a diff of this commit: cvs rdiff -u -r1.27

CVS commit: src/sys/arch/x86/include

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 08:17:39 UTC 2019 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: Clean up a little, add new XCR0 bits, remove a few unused MSRs, and fix typos. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/x86/include

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 08:17:39 UTC 2019 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: Clean up a little, add new XCR0 bits, remove a few unused MSRs, and fix typos. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/amd64/amd64

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 07:58:58 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Set the symbol type for intrfastexit, so that tools like tprof can find the symbol name. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 07:49:31 UTC 2019 Modified Files: src/sys/arch/x86/x86: errata.c Log Message: Disable errata #1091. We are the only OS to apply it, and it seems to be causing trouble to VirtualBox (PR/54143). To generate a diff of

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 07:49:31 UTC 2019 Modified Files: src/sys/arch/x86/x86: errata.c Log Message: Disable errata #1091. We are the only OS to apply it, and it seems to be causing trouble to VirtualBox (PR/54143). To generate a diff of

Re: CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread Maxime Villard
Le 16/05/2019 à 04:36, SAITOH Masanobu a écrit : Module Name:src Committed By: msaitoh Date: Thu May 16 02:36:30 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Use ci_feat_val[7] instead of directly getting cpuid 7 edx. To generate a

CVS commit: src/sys/arch

2019-05-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 15 18:27:51 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/x86: identcpu.c Log Message: Enable EagerFPU on Xen PV. Should work as-is. Sent on

CVS commit: src/sys/arch

2019-05-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 15 18:27:51 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/x86: identcpu.c Log Message: Enable EagerFPU on Xen PV. Should work as-is. Sent on

CVS commit: src/share/man/man8/man8.x86

2019-05-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 15 17:35:03 UTC 2019 Modified Files: src/share/man/man8/man8.x86: boot.8 Log Message: RB_MD3 now disables SVS. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/share/man/man8/man8.x86/boot.8 Please note

CVS commit: src/share/man/man8/man8.x86

2019-05-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 15 17:35:03 UTC 2019 Modified Files: src/share/man/man8/man8.x86: boot.8 Log Message: RB_MD3 now disables SVS. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/share/man/man8/man8.x86/boot.8 Please note

CVS commit: src/sys/arch

2019-05-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 15 17:31:41 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/x86/x86: svs.c x86_machdep.c Log Message: Change the way SVS is disabled. Now you have to pass "boot -3" from the bootloader. The

CVS commit: src/sys/arch

2019-05-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 15 17:31:41 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/x86/x86: svs.c x86_machdep.c Log Message: Change the way SVS is disabled. Now you have to pass "boot -3" from the bootloader. The

CVS commit: src/sys/dev/nvmm/x86

2019-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 15 04:39:52 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86.c Log Message: NVMM: Expose MD_CLEAR to the guests. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/nvmm/x86/nvmm_x86.c Please

CVS commit: src/sys/dev/nvmm/x86

2019-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 15 04:39:52 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86.c Log Message: NVMM: Expose MD_CLEAR to the guests. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/nvmm/x86/nvmm_x86.c Please

CVS commit: src/sys/arch

2019-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue May 14 16:59:26 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S locore.S src/sys/arch/amd64/include: frameasm.h src/sys/arch/x86/include: specialreg.h src/sys/arch/x86/x86: spectre.c Log

CVS commit: src/sys/arch

2019-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue May 14 16:59:26 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S locore.S src/sys/arch/amd64/include: frameasm.h src/sys/arch/x86/include: specialreg.h src/sys/arch/x86/x86: spectre.c Log

CVS commit: src/etc/rc.d

2019-05-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 13 18:53:10 UTC 2019 Modified Files: src/etc/rc.d: smtoff Log Message: Remove comment, since there is no parsing anymore. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/etc/rc.d/smtoff Please note that

CVS commit: src/etc/rc.d

2019-05-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 13 18:53:10 UTC 2019 Modified Files: src/etc/rc.d: smtoff Log Message: Remove comment, since there is no parsing anymore. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/etc/rc.d/smtoff Please note that

CVS commit: src/sys/arch/i386/stand/dosboot

2019-05-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 13 17:50:30 UTC 2019 Modified Files: src/sys/arch/i386/stand/dosboot: main.c Log Message: Remove dead code. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/i386/stand/dosboot/main.c Please note

CVS commit: src/sys/arch/i386/stand/dosboot

2019-05-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 13 17:50:30 UTC 2019 Modified Files: src/sys/arch/i386/stand/dosboot: main.c Log Message: Remove dead code. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/arch/i386/stand/dosboot/main.c Please note

CVS commit: src

2019-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 11 19:31:04 UTC 2019 Modified Files: src/distrib/sets/lists/etc: mi src/etc/defaults: rc.conf src/etc/mtree: special src/share/man/man5: rc.conf.5 src/usr.sbin/postinstall: postinstall Added

CVS commit: src

2019-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 11 19:31:04 UTC 2019 Modified Files: src/distrib/sets/lists/etc: mi src/etc/defaults: rc.conf src/etc/mtree: special src/share/man/man5: rc.conf.5 src/usr.sbin/postinstall: postinstall Added

CVS commit: src/usr.sbin/cpuctl

2019-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 11 11:59:22 UTC 2019 Modified Files: src/usr.sbin/cpuctl: cpuctl.c Log Message: Check the return value of cpuset_set(), to prevent future surprises. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/common/lib/libc/sys

2019-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 11 11:53:55 UTC 2019 Modified Files: src/common/lib/libc/sys: cpuset.c Log Message: Fix bug, the computation of cpuset_nentries was incorrect, we must do +1 to be able to address the last 32 bits. On a machine with 80

CVS commit: src/lib/libnvmm

2019-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 11 07:44:00 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 Log Message: Replace "VMM" by "emulator", clearer. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/lib/libnvmm/libnvmm.3 Please note that

CVS commit: src/lib/libnvmm

2019-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 11 07:40:38 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 Log Message: Sync with reality. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libnvmm/libnvmm.3 Please note that diffs are not

CVS commit: src/lib/libnvmm

2019-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 11 07:40:38 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 Log Message: Sync with reality. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/lib/libnvmm/libnvmm.3 Please note that diffs are not

CVS commit: src

2019-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 11 07:31:57 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c libnvmm_x86.c nvmm.h src/sys/dev/nvmm: nvmm.c nvmm.h src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c nvmm_x86_vmx.c

CVS commit: src

2019-05-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 11 07:31:57 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c libnvmm_x86.c nvmm.h src/sys/dev/nvmm: nvmm.c nvmm.h src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c nvmm_x86_vmx.c

CVS commit: src/sys/arch/x86/x86

2019-05-10 Thread Maxime Villard
$ */ + /* - * Copyright (c) 2012 The NetBSD Foundation, Inc. + * Copyright (c) 2012, 2019 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation - * by Matthias Drochner. + * by Matthias Drochner and Maxime Villard

CVS commit: src/sys/arch/x86/x86

2019-05-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 10 18:21:01 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Clean up, and add sanity checks on the microcode lengths. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

CVS commit: src/sys/arch/x86/x86

2019-05-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 9 18:53:14 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD. To generate a diff of

CVS commit: src/sys/arch/x86/x86

2019-05-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 9 18:53:14 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD. To generate a diff of

CVS commit: src/sys/kern

2019-05-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 4 17:19:10 UTC 2019 Modified Files: src/sys/kern: subr_asan.c Log Message: Rewrite kasan_mark() to fix a still existing race in pool_cache_get_paddr() that could cause false positives. Now a buffer initially valid remains

CVS commit: src/sys/kern

2019-05-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 4 17:19:10 UTC 2019 Modified Files: src/sys/kern: subr_asan.c Log Message: Rewrite kasan_mark() to fix a still existing race in pool_cache_get_paddr() that could cause false positives. Now a buffer initially valid remains

CVS commit: src/sys

2019-05-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 4 10:07:11 UTC 2019 Modified Files: src/sys/kern: subr_asan.c src/sys/sys: systm.h Log Message: Add KASAN instrumentation for kcopy and copystr. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys

2019-05-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 4 10:07:11 UTC 2019 Modified Files: src/sys/kern: subr_asan.c src/sys/sys: systm.h Log Message: Add KASAN instrumentation for kcopy and copystr. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/arch

2019-05-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 4 08:50:39 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: copy.S src/sys/arch/i386/i386: copy.S Log Message: Hum. Fix a potentially catastrophic bug: kcopy() sets DF=1 if the areas overlap, but doesn't clear it

CVS commit: src/sys/arch

2019-05-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 4 08:50:39 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: copy.S src/sys/arch/i386/i386: copy.S Log Message: Hum. Fix a potentially catastrophic bug: kcopy() sets DF=1 if the areas overlap, but doesn't clear it

CVS commit: src/sys/arch

2019-05-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 4 07:20:22 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S i386func.S src/sys/arch/x86/include: cpufunc.h src/sys/arch/xen/x86: xenfunc.c Log Message:

CVS commit: src/sys/arch

2019-05-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 4 07:20:22 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S i386func.S src/sys/arch/x86/include: cpufunc.h src/sys/arch/xen/x86: xenfunc.c Log Message:

Re: CVS commit: [netbsd-7] src/sys/kern

2019-05-02 Thread Maxime Villard
Le 01/05/2019 à 11:48, Martin Husemann a écrit : Module Name:src Committed By: martin Date: Wed May 1 09:48:56 UTC 2019 Modified Files: src/sys/kern [netbsd-7]: sys_pipe.c Log Message: Pull up following revision(s) (requested by mlelstv in ticket #1692):

CVS commit: src/sys/arch

2019-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 1 15:17:49 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S src/sys/arch/x86/include: cpufunc.h Log Message: Start converting the x86 CPU functions to inlined

CVS commit: src/sys/arch

2019-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 1 15:17:49 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S src/sys/arch/x86/include: cpufunc.h Log Message: Start converting the x86 CPU functions to inlined

CVS commit: src/sys/arch

2019-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 1 14:29:15 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S src/sys/arch/x86/include: cpufunc.h Log Message: Remove unused functions and reorder a little. To

CVS commit: src/sys/arch

2019-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 1 14:29:15 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S src/sys/arch/x86/include: cpufunc.h Log Message: Remove unused functions and reorder a little. To

CVS commit: src

2019-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 1 09:20:21 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c src/sys/dev/nvmm: nvmm.c nvmm.h nvmm_internal.h nvmm_ioctl.h src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Use

CVS commit: src

2019-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed May 1 09:20:21 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c src/sys/dev/nvmm: nvmm.c nvmm.h nvmm_internal.h nvmm_ioctl.h src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Use

CVS commit: src/lib/libnvmm

2019-04-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 29 19:03:17 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 Log Message: sync with reality To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libnvmm/libnvmm.3 Please note that diffs are not public

CVS commit: src/lib/libnvmm

2019-04-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 29 19:03:17 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 Log Message: sync with reality To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/lib/libnvmm/libnvmm.3 Please note that diffs are not public

CVS commit: src

2019-04-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 29 18:54:26 UTC 2019 Modified Files: src/doc: TODO.nvmm src/lib/libnvmm: libnvmm.3 src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Stop taking care of the INT/NMI windows in the kernel, the

CVS commit: src

2019-04-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 29 18:54:26 UTC 2019 Modified Files: src/doc: TODO.nvmm src/lib/libnvmm: libnvmm.3 src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Stop taking care of the INT/NMI windows in the kernel, the

CVS commit: src/lib/libnvmm

2019-04-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 29 17:27:57 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c Log Message: Remove useless calls to nvmm_init(). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libnvmm/libnvmm.c Please note that

CVS commit: src/lib/libnvmm

2019-04-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 29 17:27:57 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c Log Message: Remove useless calls to nvmm_init(). To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/lib/libnvmm/libnvmm.c Please note that

CVS commit: src

2019-04-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 28 14:22:14 UTC 2019 Modified Files: src/lib/libnvmm: Makefile libnvmm.c libnvmm_x86.c nvmm.h src/sys/dev/nvmm: nvmm.c nvmm.h nvmm_internal.h nvmm_ioctl.h src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c

CVS commit: src

2019-04-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 28 14:22:14 UTC 2019 Modified Files: src/lib/libnvmm: Makefile libnvmm.c libnvmm_x86.c nvmm.h src/sys/dev/nvmm: nvmm.c nvmm.h nvmm_internal.h nvmm_ioctl.h src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c

CVS commit: src/sys/dev/nvmm

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 17:30:38 UTC 2019 Modified Files: src/sys/dev/nvmm: nvmm.c Log Message: Mmh, fix nvmm_vcpu_create(), the cpuid is given, and must not be chosen from the free map. Looks like I forgot this after all my design rounds.

CVS commit: src/sys/dev/nvmm

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 17:30:38 UTC 2019 Modified Files: src/sys/dev/nvmm: nvmm.c Log Message: Mmh, fix nvmm_vcpu_create(), the cpuid is given, and must not be chosen from the free map. Looks like I forgot this after all my design rounds.

CVS commit: src

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 15:45:21 UTC 2019 Modified Files: src/lib/libnvmm: nvmm.h src/sys/dev/nvmm: nvmm.h src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Reorder the NVMM headers, to make a clear(er)

CVS commit: src

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 15:45:21 UTC 2019 Modified Files: src/lib/libnvmm: nvmm.h src/sys/dev/nvmm: nvmm.h src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Reorder the NVMM headers, to make a clear(er)

CVS commit: src/sys/arch/x86/x86

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 10:40:17 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Add support for EnhancedIBRS, a more performant mitigation for SpectreV2, available on future CPUs (or maybe they already exist now...). To

CVS commit: src/sys/arch/x86/x86

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 10:40:17 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Add support for EnhancedIBRS, a more performant mitigation for SpectreV2, available on future CPUs (or maybe they already exist now...). To

CVS commit: src/sys/dev/nvmm/x86

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 09:06:18 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: If guest events were being processed when a #VMEXIT occurred, reschedule the events rather than dismissing them. This can

CVS commit: src/sys/dev/nvmm/x86

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 09:06:18 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: If guest events were being processed when a #VMEXIT occurred, reschedule the events rather than dismissing them. This can

CVS commit: src/sys/dev/nvmm/x86

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 08:16:19 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c nvmm_x86_vmxfunc.S Log Message: Optimize nvmm-intel, use inlined GCC assembly rather than function calls. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/nvmm/x86

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 08:16:19 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c nvmm_x86_vmxfunc.S Log Message: Optimize nvmm-intel, use inlined GCC assembly rather than function calls. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/nvmm/x86

2019-04-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 24 18:45:15 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svmfunc.S nvmm_x86_vmxfunc.S Log Message: Match the structure order, for better cache utilization. To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/sys/dev/nvmm/x86

2019-04-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 24 18:45:15 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svmfunc.S nvmm_x86_vmxfunc.S Log Message: Match the structure order, for better cache utilization. To generate a diff of this commit: cvs rdiff -u -r1.2

CVS commit: src/sys/dev/nvmm

2019-04-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 24 18:19:28 UTC 2019 Modified Files: src/sys/dev/nvmm: nvmm.h src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Provide the hardware error code for NVMM_EXIT_INVALID, useful when debugging. To

CVS commit: src/sys/dev/nvmm

2019-04-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 24 18:19:28 UTC 2019 Modified Files: src/sys/dev/nvmm: nvmm.h src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Provide the hardware error code for NVMM_EXIT_INVALID, useful when debugging. To

CVS commit: src/doc

2019-04-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 21 06:48:37 UTC 2019 Modified Files: src/doc: TODO.nvmm Log Message: update To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/doc/TODO.nvmm Please note that diffs are not public domain; they are subject to

CVS commit: src/doc

2019-04-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 21 06:48:37 UTC 2019 Modified Files: src/doc: TODO.nvmm Log Message: update To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/doc/TODO.nvmm Please note that diffs are not public domain; they are subject to

<    7   8   9   10   11   12   13   14   15   16   >