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

2020-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 7 17:58:26 UTC 2020 Modified Files: src/sys/arch/amd64/stand/prekern: elf.c mm.c Log Message: Clarify. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/amd64/stand/prekern/elf.c cvs rdiff -u

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

2020-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 7 17:10:02 UTC 2020 Modified Files: src/sys/arch/amd64/stand/prekern: mm.c Log Message: Explain more. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/amd64/stand/prekern/mm.c Please note that

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

2020-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 7 17:10:02 UTC 2020 Modified Files: src/sys/arch/amd64/stand/prekern: mm.c Log Message: Explain more. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/amd64/stand/prekern/mm.c Please note that

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

2020-05-07 Thread Maxime Villard
. All rights reserved. + * Copyright (c) 2017-2020 The NetBSD Foundation, Inc. All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Maxime Villard. @@ -60,6 +60,40 @@ elf_check_header(void) return 0; } +static bool +elf_section_mappable

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

2020-05-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 7 16:49:59 UTC 2020 Modified Files: src/sys/arch/amd64/stand/prekern: elf.c Log Message: If we encounter relocations from a section that the bootloader dropped, AND if the section is a note, then skip the relocations.

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

2020-05-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue May 5 19:26:47 UTC 2020 Modified Files: src/sys/arch/amd64/stand/prekern: elf.c prekern.h Log Message: Gather the section filtering in a single function, and add a sanity check when relocating, to make sure the section we're

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

2020-05-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue May 5 19:26:47 UTC 2020 Modified Files: src/sys/arch/amd64/stand/prekern: elf.c prekern.h Log Message: Gather the section filtering in a single function, and add a sanity check when relocating, to make sure the section we're

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

2020-05-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue May 5 06:32:43 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Fix KASAN, init_xen_early must be called after kasan_early_init. To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208

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

2020-05-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue May 5 06:32:43 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Fix KASAN, init_xen_early must be called after kasan_early_init. To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208

CVS commit: src/sys/arch

2020-05-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 2 16:28:37 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c src/sys/arch/amd64/include: asan.h src/sys/arch/x86/x86: pmap.c Log Message: Call kasan_early_init earlier, to unbreak KASAN

CVS commit: src/sys/arch

2020-05-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 2 16:28:37 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c src/sys/arch/amd64/include: asan.h src/sys/arch/x86/x86: pmap.c Log Message: Call kasan_early_init earlier, to unbreak KASAN

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

2020-05-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 2 16:25:47 UTC 2020 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Remove the D bit as part of the hotpatch cleanup procedure. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48

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

2020-05-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 2 16:25:47 UTC 2020 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Remove the D bit as part of the hotpatch cleanup procedure. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48

CVS commit: src

2020-05-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 2 11:37:17 UTC 2020 Modified Files: src/external/cddl/osnet/dev/fbt/x86: fbt_isa.c src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S src/sys/arch/x86/include: cpufunc.h

CVS commit: src

2020-05-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 2 11:37:17 UTC 2020 Modified Files: src/external/cddl/osnet/dev/fbt/x86: fbt_isa.c src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S src/sys/arch/x86/include: cpufunc.h

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

2020-05-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 2 11:12:50 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: spl.S Log Message: Remove unused. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch/amd64/amd64/spl.S Please note that diffs are not

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

2020-05-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 2 11:12:50 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: spl.S Log Message: Remove unused. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch/amd64/amd64/spl.S Please note that diffs are not

CVS commit: src/sys/arch

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 09:40:48 UTC 2020 Modified Files: src/sys/arch/i386/i386: lock_stubs.S spl.S src/sys/arch/i386/include: frameasm.h src/sys/arch/x86/x86: patch.c Log Message: Switch the rest of i386 to the x86_hotpatch

CVS commit: src/sys/arch

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 09:40:48 UTC 2020 Modified Files: src/sys/arch/i386/i386: lock_stubs.S spl.S src/sys/arch/i386/include: frameasm.h src/sys/arch/x86/x86: patch.c Log Message: Switch the rest of i386 to the x86_hotpatch

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

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 09:23:43 UTC 2020 Modified Files: src/sys/arch/i386/i386: spl.S Log Message: Remove dead code, we are in an #ifndef XENPV block here. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

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

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 09:23:43 UTC 2020 Modified Files: src/sys/arch/i386/i386: spl.S Log Message: Remove dead code, we are in an #ifndef XENPV block here. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/arch

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 09:17:58 UTC 2020 Modified Files: src/sys/arch/i386/i386: lock_stubs.S spl.S src/sys/arch/x86/x86: patch.c Log Message: Use absolute jumps, and drop the PC-relative patching. We want exact templates. To

CVS commit: src/sys/arch

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 09:17:58 UTC 2020 Modified Files: src/sys/arch/i386/i386: lock_stubs.S spl.S src/sys/arch/x86/x86: patch.c Log Message: Use absolute jumps, and drop the PC-relative patching. We want exact templates. To

CVS commit: src

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 08:32:50 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/sys/arch/i386/include: frameasm.h src/sys/arch/x86/x86: patch.c Log Message: Use the hotpatch framework when patching

CVS commit: src

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 08:32:50 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/sys/arch/i386/include: frameasm.h src/sys/arch/x86/x86: patch.c Log Message: Use the hotpatch framework when patching

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

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 07:03:02 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: vector.S Log Message: Explicitly align to 8 bytes, found by kUBSan. Reported-by: syzbot+f1e1561ed739db869...@syzkaller.appspotmail.com To generate a diff of

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

2020-05-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 1 07:03:02 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: vector.S Log Message: Explicitly align to 8 bytes, found by kUBSan. Reported-by: syzbot+f1e1561ed739db869...@syzkaller.appspotmail.com To generate a diff of

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

2020-04-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 30 17:21:12 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: The labels are already global, drop unused. To generate a diff of this commit: cvs rdiff -u -r1.203 -r1.204

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

2020-04-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 30 17:21:12 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: The labels are already global, drop unused. To generate a diff of this commit: cvs rdiff -u -r1.203 -r1.204

CVS commit: src/sys/arch

2020-04-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 30 17:17:33 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/x86: patch.c Log Message: Switch to templates. To generate a diff of this commit:

CVS commit: src/sys/arch

2020-04-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 30 17:17:33 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/x86: patch.c Log Message: Switch to templates. To generate a diff of this commit:

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

2020-04-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 30 16:56:24 UTC 2020 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: If we were processing a software int/excp, and got a VMEXIT in the middle, we must also reflect the instruction length, otherwise the

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

2020-04-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 30 16:56:24 UTC 2020 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_vmx.c Log Message: If we were processing a software int/excp, and got a VMEXIT in the middle, we must also reflect the instruction length, otherwise the

CVS commit: src/sys/dev/nvmm

2020-04-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 30 16:50:18 UTC 2020 Modified Files: src/sys/dev/nvmm: nvmm.c src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: When the identification fails, print the reason. To generate a diff of this commit:

CVS commit: src/sys/dev/nvmm

2020-04-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Apr 30 16:50:18 UTC 2020 Modified Files: src/sys/dev/nvmm: nvmm.c src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c Log Message: When the identification fails, print the reason. To generate a diff of this commit:

CVS commit: src/sys/dev/nvmm

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 19:31:36 UTC 2020 Modified Files: src/sys/dev/nvmm: nvmm.c Log Message: In nvmm_open(), make sure an implementation was found. This fixes an initialization bug triggerable in certain conditions. If you build nvmm inside

CVS commit: src/sys/dev/nvmm

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 19:31:36 UTC 2020 Modified Files: src/sys/dev/nvmm: nvmm.c Log Message: In nvmm_open(), make sure an implementation was found. This fixes an initialization bug triggerable in certain conditions. If you build nvmm inside

[sctp fix] Re: CVS commit: src/sys/kern

2020-04-26 Thread Maxime Villard
Le 26/04/2020 à 16:21, Jonathan A. Kollasch a écrit : > Module Name: src > Committed By: jakllsch > Date: Sun Apr 26 14:21:14 UTC 2020 > > Modified Files: > src/sys/kern: uipc_socket.c > > Log Message: > Implement SCTP bug fixes found by maxv@. > > Adding these seems to improve

CVS commit: src

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 14:49:18 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S src/sys/arch/amd64/include: frameasm.h src/sys/arch/i386/include:

CVS commit: src

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 14:49:18 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S src/sys/arch/amd64/include: frameasm.h src/sys/arch/i386/include:

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

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 14:07:43 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Put the template functions in the rodata section; they get hotpatched into other places, but never execute directly. To generate a diff

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

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 14:07:43 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Put the template functions in the rodata section; they get hotpatched into other places, but never execute directly. To generate a diff

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

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 13:59:44 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S Log Message: Remove unused argument in macro. To generate a diff of this commit:

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

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 13:59:44 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S Log Message: Remove unused argument in macro. To generate a diff of this commit:

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

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 13:54:03 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S Log Message: Remove unused. To generate a diff of this commit: cvs rdiff -u

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

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 13:54:03 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S Log Message: Remove unused. To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 13:37:15 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S src/sys/arch/x86/x86: patch.c Log Message: Drop the hardcoded array, use

CVS commit: src

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 13:37:15 UTC 2020 Modified Files: src/common/lib/libc/arch/i386/atomic: atomic.S src/common/lib/libc/arch/x86_64/atomic: atomic.S src/sys/arch/x86/x86: patch.c Log Message: Drop the hardcoded array, use

Re: CVS commit: src

2020-04-26 Thread Maxime Villard
e in src/tests/sys/ or somewhere more > appropriate? > > > > > On Sun, 26 Apr 2020, Maxime Villard wrote: > >> Module Name:    src >> Committed By:    maxv >> Date:    Sun Apr 26 09:08:41 UTC 2020 >> >> Modified Files: >> src/distr

CVS commit: src/tests/lib/libi386

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 12:13:10 UTC 2020 Modified Files: src/tests/lib/libi386: t_user_ldt.c Log Message: Add a test on the maximum number of slots. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/lib/libi386

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 12:13:10 UTC 2020 Modified Files: src/tests/lib/libi386: t_user_ldt.c Log Message: Add a test on the maximum number of slots. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/tests/modules

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 11:56:38 UTC 2020 Modified Files: src/tests/modules: t_x86_pte.c src/tests/modules/x86_pte_tester: x86_pte_tester.c Log Message: Split in sub-tests for clarity, and add a new test, marked as expected failure for

CVS commit: src/tests/modules

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 11:56:38 UTC 2020 Modified Files: src/tests/modules: t_x86_pte.c src/tests/modules/x86_pte_tester: x86_pte_tester.c Log Message: Split in sub-tests for clarity, and add a new test, marked as expected failure for

CVS commit: src

2020-04-26 Thread Maxime Villard
ibuted to The NetBSD Foundation + * by Maxime Villard. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + *notice, thi

CVS commit: src

2020-04-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 26 09:08:41 UTC 2020 Modified Files: src/distrib/sets/lists/debug: md.amd64 src/distrib/sets/lists/tests: md.amd64 src/tests/modules: Makefile Added Files: src/tests/modules: t_x86_pte.c

CVS commit: src

2020-04-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 25 05:17:17 UTC 2020 Modified Files: src/lib/libkvm: kvm_i386.c kvm_i386pae.c kvm_x86_64.c src/sys/arch/amd64/include: pte.h src/sys/arch/i386/i386: genassym.cf src/sys/arch/i386/include: kcore.h

CVS commit: src

2020-04-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 25 05:17:17 UTC 2020 Modified Files: src/lib/libkvm: kvm_i386.c kvm_i386pae.c kvm_x86_64.c src/sys/arch/amd64/include: pte.h src/sys/arch/i386/i386: genassym.cf src/sys/arch/i386/include: kcore.h

CVS commit: src/sys/arch

2020-04-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 24 16:27:28 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c src/sys/arch/amd64/include: gdt.h src/sys/arch/i386/include: gdt.h src/sys/arch/x86/include: pmap.h

CVS commit: src/sys/arch

2020-04-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 24 16:27:28 UTC 2020 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c src/sys/arch/amd64/include: gdt.h src/sys/arch/i386/include: gdt.h src/sys/arch/x86/include: pmap.h

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

2020-04-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 22 16:24:15 UTC 2020 Modified Files: src/regress/sys/arch/i386: Makefile Removed Files: src/regress/sys/arch/i386/ldt: Makefile testldt.c Log Message: We have USER_LDT tests in ATF, remove the ones from regress.

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

2020-04-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 22 16:24:15 UTC 2020 Modified Files: src/regress/sys/arch/i386: Makefile Removed Files: src/regress/sys/arch/i386/ldt: Makefile testldt.c Log Message: We have USER_LDT tests in ATF, remove the ones from regress.

CVS commit: src/sys/kern

2020-04-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 20 16:32:03 UTC 2020 Modified Files: src/sys/kern: kern_proc.c Log Message: Add three KASSERTs, to detect refcount bugs. This narrows down an unknown bug in some place near, that has manifested itself in various forms

CVS commit: src/sys/kern

2020-04-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 20 16:32:03 UTC 2020 Modified Files: src/sys/kern: kern_proc.c Log Message: Add three KASSERTs, to detect refcount bugs. This narrows down an unknown bug in some place near, that has manifested itself in various forms

Re: CVS commit: src/sys/modules/compat_netbsd32

2020-04-19 Thread Maxime Villard
I almost got a heart attack between your first email and your second one, wondering how this code got re-enabled. Thanks for clarifying. Relevant example, by the way. Committed on August 20th 2019 at 09:32 https://mail-index.netbsd.org/source-changes/2019/08/20/msg108321.html Disabled

CVS commit: src

2020-04-19 Thread Maxime Villard
(c) 2020 The NetBSD Foundation, Inc. + * All rights reserved. + * + * This code is derived from software contributed to The NetBSD Foundation + * by Maxime Villard. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following condition

CVS commit: src

2020-04-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 19 13:22:58 UTC 2020 Modified Files: src/distrib/sets/lists/debug: md.amd64 src/distrib/sets/lists/tests: md.amd64 mi src/etc/mtree: NetBSD.dist.tests src/tests/lib: Makefile Added Files:

CVS commit: src/sys/lib/libkern

2020-04-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 17 17:24:46 UTC 2020 Modified Files: src/sys/lib/libkern: libkern.h Log Message: Slightly reorder for clarity, and add header. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/lib/libkern/libkern.h

CVS commit: src/sys/lib/libkern

2020-04-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Apr 17 17:24:46 UTC 2020 Modified Files: src/sys/lib/libkern: libkern.h Log Message: Slightly reorder for clarity, and add header. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/lib/libkern/libkern.h

CVS commit: src/sys/kern

2020-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 15 17:28:26 UTC 2020 Modified Files: src/sys/kern: subr_csan.c Log Message: Drop the todo and qualify the accesses. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/kern/subr_csan.c Please note that

CVS commit: src/sys/kern

2020-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 15 17:28:26 UTC 2020 Modified Files: src/sys/kern: subr_csan.c Log Message: Drop the todo and qualify the accesses. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/kern/subr_csan.c Please note that

CVS commit: src/sys

2020-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 15 17:16:22 UTC 2020 Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/conf: files src/sys/kern: subr_pool.c Log Message: Introduce POOL_NOCACHE, simple option to cancel pool_caches and go directly to

CVS commit: src/sys

2020-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 15 17:16:22 UTC 2020 Modified Files: src/sys/arch/amd64/conf: GENERIC src/sys/conf: files src/sys/kern: subr_pool.c Log Message: Introduce POOL_NOCACHE, simple option to cancel pool_caches and go directly to

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

2020-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 15 17:00:08 UTC 2020 Modified Files: src/sys/arch/amd64/include: asan.h Log Message: Use large pages for the kASan shadow, same as kMSan. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2020-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 15 17:00:08 UTC 2020 Modified Files: src/sys/arch/amd64/include: asan.h Log Message: Use large pages for the kASan shadow, same as kMSan. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys

2020-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 15 16:28:29 UTC 2020 Modified Files: src/sys/arch/amd64/include: msan.h src/sys/kern: subr_msan.c Log Message: Use large pages for the kMSan shadows. This greatly improves performance, and slightly reduces memory

CVS commit: src/sys

2020-04-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Apr 15 16:28:29 UTC 2020 Modified Files: src/sys/arch/amd64/include: msan.h src/sys/kern: subr_msan.c Log Message: Use large pages for the kMSan shadows. This greatly improves performance, and slightly reduces memory

CVS commit: src/sys/kern

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 16:09:22 UTC 2020 Modified Files: src/sys/kern: kern_runq.c Log Message: Use relaxed atomics on spc_mcount. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/kern/kern_runq.c Please note that diffs

CVS commit: src/sys/kern

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 16:09:22 UTC 2020 Modified Files: src/sys/kern: kern_runq.c Log Message: Use relaxed atomics on spc_mcount. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/kern/kern_runq.c Please note that diffs

CVS commit: src/sys

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 15:54:45 UTC 2020 Modified Files: src/sys/kern: kern_condvar.c kern_runq.c kern_sleepq.c kern_timeout.c sched_m2.c vfs_mount.c vfs_vnode.c src/sys/netinet: tcp_usrreq.c src/sys/uvm:

CVS commit: src/sys

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 15:54:45 UTC 2020 Modified Files: src/sys/kern: kern_condvar.c kern_runq.c kern_sleepq.c kern_timeout.c sched_m2.c vfs_mount.c vfs_vnode.c src/sys/netinet: tcp_usrreq.c src/sys/uvm:

CVS commit: src/sys/arch/evbarm/conf

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 11:44:20 UTC 2020 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: Add KUBSAN. To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152 src/sys/arch/evbarm/conf/GENERIC64 Please note that diffs

CVS commit: src/sys/arch/evbarm/conf

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 11:44:20 UTC 2020 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: Add KUBSAN. To generate a diff of this commit: cvs rdiff -u -r1.151 -r1.152 src/sys/arch/evbarm/conf/GENERIC64 Please note that diffs

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

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 09:34:03 UTC 2020 Modified Files: src/sys/arch/amd64/conf: Makefile.amd64 Log Message: Make KASAN compatible with LLVM. Same as GCC, except that LLVM aggressively inlines the shadow checks, and this causes problems at

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

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 09:34:03 UTC 2020 Modified Files: src/sys/arch/amd64/conf: Makefile.amd64 Log Message: Make KASAN compatible with LLVM. Same as GCC, except that LLVM aggressively inlines the shadow checks, and this causes problems at

[disk changes] CVS commit: src/sys/dev/dkwedge

2020-04-13 Thread Maxime Villard
> Module Name:src > Committed By: jdolecek > Date: Sat Apr 11 16:00:34 UTC 2020 > > Modified Files: > src/sys/dev/dkwedge: dkwedge_apple.c dkwedge_bsdlabel.c dkwedge_gpt.c > dkwedge_mbr.c dkwedge_rdb.c It appears that since your recent changes, there is a

CVS commit: src/sys/dev

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 08:05:02 UTC 2020 Modified Files: src/sys/dev: cgd.c ld.c md.c vnd.c src/sys/dev/ata: wd.c src/sys/dev/scsipi: cd.c sd.c Log Message: constify To generate a diff of this commit: cvs rdiff -u -r1.124

CVS commit: src/sys/dev

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 08:05:02 UTC 2020 Modified Files: src/sys/dev: cgd.c ld.c md.c vnd.c src/sys/dev/ata: wd.c src/sys/dev/scsipi: cd.c sd.c Log Message: constify To generate a diff of this commit: cvs rdiff -u -r1.124

CVS commit: src/sys/arch/aarch64/conf

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 07:32:36 UTC 2020 Modified Files: src/sys/arch/aarch64/conf: Makefile.aarch64 Log Message: Add KASAN instrumentation on on-stack VLAs, same as amd64. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/sys/arch/aarch64/conf

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 07:32:36 UTC 2020 Modified Files: src/sys/arch/aarch64/conf: Makefile.aarch64 Log Message: Add KASAN instrumentation on on-stack VLAs, same as amd64. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/sys

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 07:09:51 UTC 2020 Modified Files: src/sys/arch/aarch64/conf: files.aarch64 src/sys/arch/amd64/include: types.h src/sys/arch/arm/conf: files.arm src/sys/arch/arm/include: bus_defs.h bus_funcs.h

CVS commit: src/sys

2020-04-13 Thread Maxime Villard
rm/bus_stubs.c diff -u /dev/null src/sys/arch/arm/arm/bus_stubs.c:1.1 --- /dev/null Mon Apr 13 07:09:51 2020 +++ src/sys/arch/arm/arm/bus_stubs.c Mon Apr 13 07:09:51 2020 @@ -0,0 +1,104 @@ +/* $NetBSD: bus_stubs.c,v 1.1 2020/04/13 07:09:51 maxv Exp $ */ + +/* + * Copyright (c) 2020 The NetBSD Founda

CVS commit: src/doc

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 06:24:52 UTC 2020 Modified Files: src/doc: CHANGES Log Message: Note PAC and BTI. To generate a diff of this commit: cvs rdiff -u -r1.2669 -r1.2670 src/doc/CHANGES Please note that diffs are not public domain; they

CVS commit: src/doc

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 06:24:52 UTC 2020 Modified Files: src/doc: CHANGES Log Message: Note PAC and BTI. To generate a diff of this commit: cvs rdiff -u -r1.2669 -r1.2670 src/doc/CHANGES Please note that diffs are not public domain; they

CVS commit: src/sys/arch/aarch64/aarch64

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 06:02:03 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: cpuswitch.S Log Message: Meant to do a store here, not a load. Ie we want to replace the initial weak key by the stronger one we just generated. Rototilled

CVS commit: src/sys/arch/aarch64/aarch64

2020-04-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 06:02:03 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: cpuswitch.S Log Message: Meant to do a store here, not a load. Ie we want to replace the initial weak key by the stronger one we just generated. Rototilled

CVS commit: src/sys/arch

2020-04-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 05:40:26 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c cpuswitch.S pmap.c pmapboot.c trap.c vectors.S src/sys/arch/aarch64/conf: Makefile.aarch64

CVS commit: src/sys/arch

2020-04-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Apr 13 05:40:26 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c cpuswitch.S pmap.c pmapboot.c trap.c vectors.S src/sys/arch/aarch64/conf: Makefile.aarch64

CVS commit: src/sys/arch

2020-04-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 12 07:49:58 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c cpufunc.c cpuswitch.S db_trace.c genassym.cf locore.S vectors.S vm_machdep.c src/sys/arch/aarch64/conf:

CVS commit: src/sys/arch

2020-04-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 12 07:49:58 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c cpufunc.c cpuswitch.S db_trace.c genassym.cf locore.S vectors.S vm_machdep.c src/sys/arch/aarch64/conf:

CVS commit: src/sys

2020-04-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 12 07:16:09 UTC 2020 Modified Files: src/sys/kern: subr_cprng.c src/sys/sys: cprng.h Log Message: Don't inline cprng_strong{32,64}(), so they can be called from asm. To generate a diff of this commit: cvs rdiff -u

<    1   2   3   4   5   6   7   8   9   10   >