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

2019-11-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 1 15:11:43 UTC 2019 Modified Files: src/sys/arch/amd64/include: pmap.h Log Message: Fix KUBSAN: the kernel size now exceeds the mapping limit, so bump the limit. To generate a diff of this commit: cvs rdiff -u -r1.62

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

2019-11-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 1 15:11:43 UTC 2019 Modified Files: src/sys/arch/amd64/include: pmap.h Log Message: Fix KUBSAN: the kernel size now exceeds the mapping limit, so bump the limit. To generate a diff of this commit: cvs rdiff -u -r1.62

CVS commit: src/sys/arch

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 17:06:57 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: More inlined ASM. To generate a diff of this

CVS commit: src/sys/arch

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 17:06:57 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: More inlined ASM. To generate a diff of this

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

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 16:32:04 UTC 2019 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Style. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/x86/x86/fpu.c Please note that diffs are not public domain;

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

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 16:32:04 UTC 2019 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Style. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/x86/x86/fpu.c Please note that diffs are not public domain;

CVS commit: src/sys/dev/raidframe

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 07:59:45 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Get >sc_dksc only when we know 'rsc' is not NULL. This was actually harmless because we didn't use the pointer then. Reported-by:

CVS commit: src/sys/dev/raidframe

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 07:59:45 UTC 2019 Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Get >sc_dksc only when we know 'rsc' is not NULL. This was actually harmless because we didn't use the pointer then. Reported-by:

CVS commit: src/sys/arch

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 07:40:06 UTC 2019 Modified Files: src/sys/arch/i386/i386: gdt.c src/sys/arch/x86/x86: pmap.c src/sys/arch/xen/include: xenpmap.h src/sys/arch/xen/x86: x86_xpmap.c xen_pmap.c

CVS commit: src/sys/arch

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 07:40:06 UTC 2019 Modified Files: src/sys/arch/i386/i386: gdt.c src/sys/arch/x86/x86: pmap.c src/sys/arch/xen/include: xenpmap.h src/sys/arch/xen/x86: x86_xpmap.c xen_pmap.c

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

2019-10-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 29 12:39:46 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Enable XSAVEOPT. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/x86/x86/identcpu.c Please note that diffs are

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

2019-10-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 29 12:39:46 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Enable XSAVEOPT. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/x86/x86/identcpu.c Please note that diffs are

CVS commit: src/usr.sbin/nvmmctl

2019-10-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 29 08:13:17 UTC 2019 Modified Files: src/usr.sbin/nvmmctl: Makefile Log Message: Forgot to put nvmmctl in the "nvmm" group. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/nvmmctl/Makefile Please

CVS commit: src/usr.sbin/nvmmctl

2019-10-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 29 08:13:17 UTC 2019 Modified Files: src/usr.sbin/nvmmctl: Makefile Log Message: Forgot to put nvmmctl in the "nvmm" group. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/nvmmctl/Makefile Please

CVS commit: src/lib/libnvmm

2019-10-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 28 14:20:28 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 Log Message: should be fork(2), noticed by wiz To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libnvmm/libnvmm.3 Please note that

CVS commit: src/lib/libnvmm

2019-10-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 28 14:20:28 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 Log Message: should be fork(2), noticed by wiz To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/lib/libnvmm/libnvmm.3 Please note that

CVS commit: src

2019-10-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 28 13:04:19 UTC 2019 Modified Files: src/distrib/sets/lists/base: md.amd64 src/distrib/sets/lists/man: mi src/share/mk: bsd.hostprog.mk src/usr.sbin: Makefile Added Files:

CVS commit: src

2019-10-28 Thread Maxime Villard
,v 1.1 2019/10/28 13:04:18 maxv Exp $ +.\" +.\" Copyright (c) 2019 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Maxime Villard. +.\" +.\" Redistribution and use i

CVS commit: src/sys/dev/nvmm

2019-10-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 28 09:00:08 UTC 2019 Modified Files: src/sys/dev/nvmm: nvmm.c nvmm_ioctl.h Log Message: Add nram in struct nvmm_ctl_mach_info. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/nvmm/nvmm.c cvs

CVS commit: src/sys/dev/nvmm

2019-10-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 28 09:00:08 UTC 2019 Modified Files: src/sys/dev/nvmm: nvmm.c nvmm_ioctl.h Log Message: Add nram in struct nvmm_ctl_mach_info. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/dev/nvmm/nvmm.c cvs

CVS commit: src

2019-10-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 28 08:30:49 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 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: A few changes: - Use smaller

CVS commit: src

2019-10-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 28 08:30:49 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 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: A few changes: - Use smaller

CVS commit: src

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 20:17:36 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c nvmm.h src/sys/dev/nvmm: nvmm.c Log Message: Change the way root_owner works: consider the calling process as root_owner not if it has root privileges,

CVS commit: src

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 20:17:36 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c nvmm.h src/sys/dev/nvmm: nvmm.c Log Message: Change the way root_owner works: consider the calling process as root_owner not if it has root privileges,

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

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 18:26:54 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: Add PCID support in the guests. This speeds up most 64bit guests, because since Meltdown, everybody uses PCID (including NetBSD). To

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

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 18:26:54 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: Add PCID support in the guests. This speeds up most 64bit guests, because since Meltdown, everybody uses PCID (including NetBSD). To

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

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 11:11:09 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: Mask CPUID leaf 0x0A on Intel, because we don't want the guest to try (and fail) to probe the PMC MSRs. This avoids "Unexpected WRMSR"

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

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 11:11:09 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: Mask CPUID leaf 0x0A on Intel, because we don't want the guest to try (and fail) to probe the PMC MSRs. This avoids "Unexpected WRMSR"

CVS commit: src

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 10:28:55 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Add a new VCPU conf option, that allows userland to request VMEXITs after a

CVS commit: src

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 10:28:55 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Add a new VCPU conf option, that allows userland to request VMEXITs after a

CVS commit: src/lib/libnvmm

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 08:30:05 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c Log Message: Use the new PTE naming, and define CR3_FRAME_* separately. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.37

CVS commit: src/lib/libnvmm

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 08:30:05 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c Log Message: Use the new PTE naming, and define CR3_FRAME_* separately. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.37

CVS commit: src

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 07:08:15 UTC 2019 Modified Files: src/etc: MAKEDEV.tmpl group src/lib/libnvmm: libnvmm.3 libnvmm.c nvmm.h src/tests/lib/libnvmm: h_io_assist.c h_mem_assist.c Log Message: Add the "nvmm" group, and make

CVS commit: src

2019-10-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 27 07:08:15 UTC 2019 Modified Files: src/etc: MAKEDEV.tmpl group src/lib/libnvmm: libnvmm.3 libnvmm.c nvmm.h src/tests/lib/libnvmm: h_io_assist.c h_mem_assist.c Log Message: Add the "nvmm" group, and make

CVS commit: src/lib/libnvmm

2019-10-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 25 09:09:24 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 Log Message: Update the libnvmm man page: - Sync the naming with reality. - Replace "relevant" by "desired" and "virtualizer" by "emulator", closer to

CVS commit: src/lib/libnvmm

2019-10-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 25 09:09:24 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 Log Message: Update the libnvmm man page: - Sync the naming with reality. - Replace "relevant" by "desired" and "virtualizer" by "emulator", closer to

CVS commit: src

2019-10-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 23 12:02:56 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c libnvmm_x86.c nvmm.h src/tests/lib/libnvmm: h_io_assist.c h_mem_assist.c Log Message: Three changes in libnvmm: - Add 'mach' and 'vcpu' backpointers

CVS commit: src

2019-10-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 23 12:02:56 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.c libnvmm_x86.c nvmm.h src/tests/lib/libnvmm: h_io_assist.c h_mem_assist.c Log Message: Three changes in libnvmm: - Add 'mach' and 'vcpu' backpointers

CVS commit: src

2019-10-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 23 07:01:12 UTC 2019 Modified Files: src/lib/libnvmm: 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 nvmm_x86_vmx.c

CVS commit: src

2019-10-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 23 07:01:12 UTC 2019 Modified Files: src/lib/libnvmm: 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 nvmm_x86_vmx.c

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

2019-10-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 21 10:09:24 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Call cpu_probe_fpu() only once (from cpu0), and style. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

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

2019-10-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 21 10:09:24 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Call cpu_probe_fpu() only once (from cpu0), and style. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

CVS commit: src/lib/libnvmm

2019-10-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 19 19:45:10 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c Log Message: Put back 'default', because llvm apparently doesn't realize that all cases are covered in the switch. To generate a diff of this commit: cvs

CVS commit: src/lib/libnvmm

2019-10-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 19 19:45:10 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c Log Message: Put back 'default', because llvm apparently doesn't realize that all cases are covered in the switch. To generate a diff of this commit: cvs

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

2019-10-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 18 16:26:38 UTC 2019 Modified Files: src/sys/arch/x86/x86: vm_machdep.c Log Message: Remove unused call to savectx(). To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x86/x86/vm_machdep.c Please

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

2019-10-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 18 16:26:38 UTC 2019 Modified Files: src/sys/arch/x86/x86: vm_machdep.c Log Message: Remove unused call to savectx(). To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x86/x86/vm_machdep.c Please

CVS commit: src/sys/lib/libsa

2019-10-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 17 14:00:28 UTC 2019 Modified Files: src/sys/lib/libsa: loadfile_elf32.c Log Message: Make sure we're dealing with a static binary. Otherwise we could crash if the user mistakenly tries to boot a KASLR kernel with 'boot'

CVS commit: src/sys/lib/libsa

2019-10-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 17 14:00:28 UTC 2019 Modified Files: src/sys/lib/libsa: loadfile_elf32.c Log Message: Make sure we're dealing with a static binary. Otherwise we could crash if the user mistakenly tries to boot a KASLR kernel with 'boot'

CVS commit: src/usr.sbin/sysinst

2019-10-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 17 08:54:50 UTC 2019 Modified Files: src/usr.sbin/sysinst: msg.mi.en msg.mi.fr Log Message: Sentence begins with capital letter ("yes or no?"). Also add a few french sentences, to make it less awful, but not complete. Not

CVS commit: src/usr.sbin/sysinst

2019-10-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 17 08:54:50 UTC 2019 Modified Files: src/usr.sbin/sysinst: msg.mi.en msg.mi.fr Log Message: Sentence begins with capital letter ("yes or no?"). Also add a few french sentences, to make it less awful, but not complete. Not

CVS commit: src/sys/net

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 16:43:04 UTC 2019 Modified Files: src/sys/net: rtsock_shared.c Log Message: Error out if the type is beyond the storage size. No functional change, since the shift would otherwise 'and' against zero, returning EEXIST.

CVS commit: src/sys/net

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 16:43:04 UTC 2019 Modified Files: src/sys/net: rtsock_shared.c Log Message: Error out if the type is beyond the storage size. No functional change, since the shift would otherwise 'and' against zero, returning EEXIST.

CVS commit: src/sys/kern

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 16:27:04 UTC 2019 Modified Files: src/sys/kern: uipc_socket.c Log Message: Add a check before the memcpy. memcpy is defined to never take NULL as second argument, and the compiler is free to perform optimizations knowing

CVS commit: src/sys/kern

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 16:27:04 UTC 2019 Modified Files: src/sys/kern: uipc_socket.c Log Message: Add a check before the memcpy. memcpy is defined to never take NULL as second argument, and the compiler is free to perform optimizations knowing

CVS commit: src/lib/libnvmm

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 10:43:40 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c Log Message: Improve nvmm_vcpu_dump(). To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/lib/libnvmm/libnvmm_x86.c Please note that

CVS commit: src/lib/libnvmm

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 10:43:40 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c Log Message: Improve nvmm_vcpu_dump(). To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/lib/libnvmm/libnvmm_x86.c Please note that

CVS commit: src

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 10:39:24 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c src/tests/lib/libnvmm: h_mem_assist.c h_mem_assist_asm.S Log Message: Implement XCHG, add associated tests, and add comments to explain. With this

CVS commit: src

2019-10-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 14 10:39:24 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c src/tests/lib/libnvmm: h_mem_assist.c h_mem_assist_asm.S Log Message: Implement XCHG, add associated tests, and add comments to explain. With this

CVS commit: src

2019-10-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 13 17:32:15 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm_x86.c src/tests/lib/libnvmm: h_mem_assist.c h_mem_assist_asm.S Log Message: Fix incorrect parsing: the R/M field uses a special GPR map when the address

CVS commit: src/sys

2019-10-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 12 06:31:04 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S genassym.cf locore.S machdep.c spl.S src/sys/arch/amd64/include: frameasm.h pcb.h proc.h src/sys/arch/i386/i386:

CVS commit: src/sys

2019-10-12 Thread Maxime Villard
19 @@ -1,11 +1,11 @@ -/* $NetBSD: fpu.c,v 1.57 2019/10/04 11:47:08 maxv Exp $ */ +/* $NetBSD: fpu.c,v 1.58 2019/10/12 06:31:04 maxv Exp $ */ /* - * Copyright (c) 2008 The NetBSD Foundation, Inc. All + * Copyright (c) 2008, 2019 The NetBSD Foundation, Inc. All * rights reserved. * * This co

CVS commit: src/sys

2019-10-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 10 13:45:14 UTC 2019 Modified Files: src/sys/kern: subr_asan.c src/sys/sys: systm.h Log Message: Add KASAN instrumentation on ucas and ufetch. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

CVS commit: src/sys

2019-10-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 10 13:45:14 UTC 2019 Modified Files: src/sys/kern: subr_asan.c src/sys/sys: systm.h Log Message: Add KASAN instrumentation on ucas and ufetch. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16

Re: CVS commit: src/sys/kern

2019-10-09 Thread Maxime Villard
Le 30/09/2019 à 20:51, Nick Hudson a écrit : On 30 Sep 2019, at 18:06, Tobias Nygren wrote: On Mon, 23 Sep 2019 05:39:59 + Nick Hudson wrote: Modified Files: src/sys/kern: subr_pool.c Log Message: Enable POOL_REDZONE with DIAGNOSTIC. The bug in the arm pmap was fixed long ago.

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

2019-10-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 9 17:28:46 UTC 2019 Modified Files: src/sys/arch/x86/include: pte.h Log Message: Add new bits. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/include/pte.h Please note that diffs are not

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

2019-10-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 9 17:28:46 UTC 2019 Modified Files: src/sys/arch/x86/include: pte.h Log Message: Add new bits. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/include/pte.h Please note that diffs are not

CVS commit: src/sys/netatalk

2019-10-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 9 14:15:40 UTC 2019 Modified Files: src/sys/netatalk: at_var.h Log Message: Memset to prevent stack info leak. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/netatalk/at_var.h Please note that diffs

CVS commit: src/sys/netatalk

2019-10-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 9 14:15:40 UTC 2019 Modified Files: src/sys/netatalk: at_var.h Log Message: Memset to prevent stack info leak. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/netatalk/at_var.h Please note that diffs

CVS commit: src/sys/dev

2019-10-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 9 14:03:58 UTC 2019 Modified Files: src/sys/dev/acpi: tpm_acpi.c src/sys/dev/ic: tpm.c tpmvar.h src/sys/dev/isa: tpm_isa.c Log Message: Provide a better abstraction for the TPM interface. Report it in the

CVS commit: src/sys/dev

2019-10-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 9 14:03:58 UTC 2019 Modified Files: src/sys/dev/acpi: tpm_acpi.c src/sys/dev/ic: tpm.c tpmvar.h src/sys/dev/isa: tpm_isa.c Log Message: Provide a better abstraction for the TPM interface. Report it in the

CVS commit: src/sys/dev

2019-10-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 9 07:30:58 UTC 2019 Modified Files: src/sys/dev/acpi: tpm_acpi.c src/sys/dev/ic: tpm.c tpmreg.h tpmvar.h src/sys/dev/isa: tpm_isa.c Log Message: Add suspend support for TPM 2.0 chips. Check the TPM response

CVS commit: src/sys/dev

2019-10-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 9 07:30:58 UTC 2019 Modified Files: src/sys/dev/acpi: tpm_acpi.c src/sys/dev/ic: tpm.c tpmreg.h tpmvar.h src/sys/dev/isa: tpm_isa.c Log Message: Add suspend support for TPM 2.0 chips. Check the TPM response

CVS commit: src/sys/arch

2019-10-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 8 18:50:44 UTC 2019 Modified Files: src/sys/arch/amd64/conf: ALL GENERIC src/sys/arch/i386/conf: ALL GENERIC Log Message: No I/O ports for TPM-ISA, only MMIO, so remove commented-out options. To generate a diff

CVS commit: src/sys/arch

2019-10-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 8 18:50:44 UTC 2019 Modified Files: src/sys/arch/amd64/conf: ALL GENERIC src/sys/arch/i386/conf: ALL GENERIC Log Message: No I/O ports for TPM-ISA, only MMIO, so remove commented-out options. To generate a diff

CVS commit: src

2019-10-08 Thread Maxime Villard
.\" Permission to use, copy, modify, and distribute this software for any -.\" purpose with or without fee is hereby granted, provided that the above -.\" copyright notice and this permission notice appear in all copies. +.\" This code is derived from software contributed to The NetBSD Fo

CVS commit: src

2019-10-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 8 18:43:03 UTC 2019 Modified Files: src/share/man/man4: tpm.4 src/sys/dev/acpi: tpm_acpi.c src/sys/dev/ic: tpm.c tpmreg.h tpmvar.h src/sys/dev/isa: tpm_isa.c Log Message: Improvements in tpm(4): -

Re: CVS commit: src/sys/kern

2019-10-06 Thread Maxime Villard
Le 01/10/2019 à 18:36, Chuck Silvers a écrit : Module Name:src Committed By: chs Date: Tue Oct 1 16:36:58 UTC 2019 Modified Files: src/sys/kern: sysv_shm.c Log Message: in shmdt(), wait until shmat() completes before detaching. Reported-by:

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

2019-10-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 5 07:30:03 UTC 2019 Modified Files: src/sys/arch/x86/include: pmap.h pte.h Log Message: Switch to the new PTE naming. No binary diff (tested with MKREPRO). To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103

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

2019-10-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 5 07:30:03 UTC 2019 Modified Files: src/sys/arch/x86/include: pmap.h pte.h Log Message: Switch to the new PTE naming. No binary diff (tested with MKREPRO). To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103

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

2019-10-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 5 07:19:49 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Switch to the new PTE naming: PG_PVLIST -> PTE_PVLIST PG_W -> PTE_WIRED PG_FRAME -> PTE_FRAME No functional

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

2019-10-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 5 07:19:49 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Switch to the new PTE naming: PG_PVLIST -> PTE_PVLIST PG_W -> PTE_WIRED PG_FRAME -> PTE_FRAME No functional

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

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 15:28:00 UTC 2019 Modified Files: src/sys/arch/i386/i386: i386_trap.S locore.S spl.S Log Message: Misc reordering, to clarify and reduce the diff against amd64. To generate a diff of this commit: cvs rdiff -u -r1.18

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

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 15:28:00 UTC 2019 Modified Files: src/sys/arch/i386/i386: i386_trap.S locore.S spl.S Log Message: Misc reordering, to clarify and reduce the diff against amd64. To generate a diff of this commit: cvs rdiff -u -r1.18

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

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 12:17:05 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Switch to the new PTE naming. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

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

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 12:17:05 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: Switch to the new PTE naming. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

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

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 12:15:21 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c Log Message: Fix definition for MWAIT. It should be bit 11, not 12; 12 is the armed version. To generate a diff of this commit: cvs rdiff -u -r1.47

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

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 12:11:38 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c Log Message: Add definitions for RDPRU, MCOMMIT, GMET and VTE. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

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

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 12:11:38 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c Log Message: Add definitions for RDPRU, MCOMMIT, GMET and VTE. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/sys/arch

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 11:47:08 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/include: fpu.h src/sys/arch/x86/x86: fpu.c Log Message: Rename

CVS commit: src/sys/arch

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 11:47:08 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/include: fpu.h src/sys/arch/x86/x86: fpu.c Log Message: Rename

CVS commit: src/sys

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 06:27:42 UTC 2019 Modified Files: src/sys/arch/amd64/include: types.h src/sys/arch/x86/include: bus_defs.h src/sys/arch/x86/x86: bus_dma.c src/sys/kern: subr_asan.c src/sys/sys: asan.h Log

CVS commit: src/sys

2019-10-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 4 06:27:42 UTC 2019 Modified Files: src/sys/arch/amd64/include: types.h src/sys/arch/x86/include: bus_defs.h src/sys/arch/x86/x86: bus_dma.c src/sys/kern: subr_asan.c src/sys/sys: asan.h Log

CVS commit: src/sys/dev/usb

2019-10-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 3 05:20:31 UTC 2019 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Fix memory leaks. Was wondering where memory had gone after several hours of attach/detach with vHCI. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/usb

2019-10-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 3 05:20:31 UTC 2019 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Fix memory leaks. Was wondering where memory had gone after several hours of attach/detach with vHCI. To generate a diff of this commit: cvs

CVS commit: src/sys/dev/usb

2019-10-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 3 05:16:16 UTC 2019 Modified Files: src/sys/dev/usb: umidi.c Log Message: More less kmem_zalloc(0). To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/umidi.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2019-10-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 3 05:16:16 UTC 2019 Modified Files: src/sys/dev/usb: umidi.c Log Message: More less kmem_zalloc(0). To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/dev/usb/umidi.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2019-10-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 3 05:13:24 UTC 2019 Modified Files: src/sys/dev/usb: vhci.c Log Message: Improvements: - Don't process packets if the USB device is detached. Contrary to the other HCIs, vHCI has no timeout, so we never collect the

CVS commit: src/sys/arch

2019-10-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 3 05:06:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: fpu.c identcpu.c x86_machdep.c Log

CVS commit: src/sys/arch

2019-10-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 3 05:06:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/include: cpu.h src/sys/arch/x86/x86: fpu.c identcpu.c x86_machdep.c Log

CVS commit: src/sys/dev/ic

2019-09-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Sep 23 17:37:04 UTC 2019 Modified Files: src/sys/dev/ic: an.c Log Message: Move the timeout check out of the loop, otherwise it is never reached. Found by the lgtm bot. To generate a diff of this commit: cvs rdiff -u -r1.71

<    3   4   5   6   7   8   9   10   11   12   >