CVS commit: src/sys/arch/acorn32/stand

2020-04-26 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Apr 26 07:01:52 UTC 2020

Modified Files:
src/sys/arch/acorn32/stand: Makefile.buildboot

Log Message:
Adjust for binutils 2.34 in the same manner as efiboot:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/stand/efiboot/Makefile.efiboot#rev1.12

XXX
Compile test only.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/acorn32/stand/Makefile.buildboot

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



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
src/tests/modules/x86_pte_tester: Makefile x86_pte_tester.c

Log Message:
Add tests on the x86 PTEs. We scan the MMU page tables directly and verify
certain properties.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/distrib/sets/lists/debug/md.amd64
cvs rdiff -u -r1.8 -r1.9 src/distrib/sets/lists/tests/md.amd64
cvs rdiff -u -r1.18 -r1.19 src/tests/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/modules/t_x86_pte.c
cvs rdiff -u -r0 -r1.1 src/tests/modules/x86_pte_tester/Makefile \
src/tests/modules/x86_pte_tester/x86_pte_tester.c

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



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 now.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/modules/t_x86_pte.c
cvs rdiff -u -r1.1 -r1.2 src/tests/modules/x86_pte_tester/x86_pte_tester.c

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



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 src/tests/lib/libi386/t_user_ldt.c

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



CVS commit: src/doc

2020-04-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Apr 26 12:15:37 UTC 2020

Modified Files:
src/doc: BRANCHES

Log Message:
Update phil-wifi info - moving to hg


To generate a diff of this commit:
cvs rdiff -u -r1.353 -r1.354 src/doc/BRANCHES

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



CVS commit: src/sys/arch/xen/xen

2020-04-26 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sun Apr 26 12:38:22 UTC 2020

Modified Files:
src/sys/arch/xen/xen: xennet_checksum.c

Log Message:
if part of checksum was undeferred via sw and part not, count it as both


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/xen/xen/xennet_checksum.c

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



CVS commit: src/sys/arch/xen/xen

2020-04-26 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sun Apr 26 12:58:28 UTC 2020

Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c

Log Message:
support feature-sg

practical offshot of this xennet(4) now supports jumbo frames, it is
also necessary for eventual TSO support

always defrag short Tx packets before passing to backend - even
with feature-sg it's way faster to process the packet if it's
passed as single fragment


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/sys/arch/xen/xen/if_xennet_xenbus.c

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



CVS commit: src/sys/arch/xen/xen

2020-04-26 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sun Apr 26 13:09:53 UTC 2020

Modified Files:
src/sys/arch/xen/xen: xennetback_xenbus.c

Log Message:
bump send queue to 2*NET_TX_RING_SIZE to make it less likely packets
are dropped on load

m_defrag() short packets before calling bus_dmamap_load_mbuf() -
if it's fragmented load_mbuf would fail anyway, and even with
eventual feature-sg support it's way faster to pass the short packet
in single fragment


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/xen/xen/xennetback_xenbus.c

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



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 the hotpatch section.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/common/lib/libc/arch/i386/atomic/atomic.S
cvs rdiff -u -r1.18 -r1.19 src/common/lib/libc/arch/x86_64/atomic/atomic.S
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/x86/x86/patch.c

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



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 -r1.25 -r1.26 src/common/lib/libc/arch/i386/atomic/atomic.S
cvs rdiff -u -r1.19 -r1.20 src/common/lib/libc/arch/x86_64/atomic/atomic.S

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



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 rdiff -u -r1.26 -r1.27 src/common/lib/libc/arch/i386/atomic/atomic.S
cvs rdiff -u -r1.20 -r1.21 src/common/lib/libc/arch/x86_64/atomic/atomic.S

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



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 of this commit:
cvs rdiff -u -r1.201 -r1.202 src/sys/arch/amd64/amd64/locore.S

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



CVS commit: src/sys/kern

2020-04-26 Thread Jonathan A. Kollasch
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 the SCTP situation.


To generate a diff of this commit:
cvs rdiff -u -r1.288 -r1.289 src/sys/kern/uipc_socket.c

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



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: frameasm.h
src/sys/arch/x86/x86: patch.c

Log Message:
Use the hotpatch framework for LFENCE/MFENCE.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/common/lib/libc/arch/i386/atomic/atomic.S
cvs rdiff -u -r1.21 -r1.22 src/common/lib/libc/arch/x86_64/atomic/atomic.S
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/amd64/include/frameasm.h
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/i386/include/frameasm.h
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/x86/x86/patch.c

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



CVS commit: src/sys/dev/pci

2020-04-26 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sun Apr 26 15:39:04 UTC 2020

Modified Files:
src/sys/dev/pci: if_skreg.h

Log Message:
Use __aligned(8) with naturally-aligned-yet-__packed msk(4) descriptors.

Allows compiler to generate more efficent struct member accesses.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/pci/if_skreg.h

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



CVS commit: src/sys/kern

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 15:49:10 UTC 2020

Modified Files:
src/sys/kern: kern_proc.c

Log Message:
In expand_pid_table(), calculate the current pid table size before
releasing the lock.


To generate a diff of this commit:
cvs rdiff -u -r1.248 -r1.249 src/sys/kern/kern_proc.c

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



CVS commit: src/sys/dev/pci

2020-04-26 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sun Apr 26 16:14:14 UTC 2020

Modified Files:
src/sys/dev/pci: if_msk.c if_mskvar.h

Log Message:
Remove written-only sk_next member of struct (m)sk_chain.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/dev/pci/if_msk.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/if_mskvar.h

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



CVS commit: src/sys/uvm

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 16:16:13 UTC 2020

Modified Files:
src/sys/uvm: uvm_bio.c

Log Message:
Disable ubc_direct by default again.  There are still stability issues
(e.g. panic during 2020.04.25.00.07.27 amd64 releng test run).


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/uvm/uvm_bio.c

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



CVS commit: src/sys/fs/autofs

2020-04-26 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sun Apr 26 17:00:31 UTC 2020

Modified Files:
src/sys/fs/autofs: autofs_vfsops.c

Log Message:
autofs: Silence down a warning which should really be a debug message

taken-from: FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/fs/autofs/autofs_vfsops.c

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



CVS commit: src

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 18:53:34 UTC 2020

Modified Files:
src/distrib/sets/lists/comp: mi
src/distrib/sets/lists/tests: mi
src/sys/compat/linux/arch/alpha: syscalls.master
src/sys/compat/linux/arch/amd64: syscalls.master
src/sys/compat/linux/arch/arm: syscalls.master
src/sys/compat/linux/arch/i386: syscalls.master
src/sys/compat/linux/arch/m68k: syscalls.master
src/sys/compat/linux/arch/mips: syscalls.master
src/sys/compat/linux/arch/powerpc: syscalls.master
src/sys/compat/linux/common: linux_emuldata.h linux_exec.c
linux_futex.c linux_mod.c
src/sys/compat/linux32/arch/amd64: syscalls.master
src/sys/compat/linux32/common: linux32_misc.c
src/sys/compat/netbsd32: files.netbsd32 syscalls.master
src/sys/kern: files.kern init_main.c kern_lwp.c kern_proc.c
syscalls.master
src/sys/sys: Makefile lwp.h
src/tests/lib/libc/sys: Makefile
Added Files:
src/lib/libc/include: futex_private.h
src/sys/compat/netbsd32: netbsd32_futex.c
src/sys/kern: sys_futex.c
src/sys/sys: futex.h
src/tests/lib/libc/sys: t_futex_ops.c t_futex_robust.c
Removed Files:
src/sys/compat/linux/common: linux_futex.h

Log Message:
Add a NetBSD native futex implementation, mostly written by riastradh@.
Map the COMPAT_LINUX futex calls to the native ones.


To generate a diff of this commit:
cvs rdiff -u -r1.2321 -r1.2322 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.836 -r1.837 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r0 -r1.1 src/lib/libc/include/futex_private.h
cvs rdiff -u -r1.96 -r1.97 src/sys/compat/linux/arch/alpha/syscalls.master
cvs rdiff -u -r1.61 -r1.62 src/sys/compat/linux/arch/amd64/syscalls.master
cvs rdiff -u -r1.68 -r1.69 src/sys/compat/linux/arch/arm/syscalls.master
cvs rdiff -u -r1.123 -r1.124 src/sys/compat/linux/arch/i386/syscalls.master
cvs rdiff -u -r1.94 -r1.95 src/sys/compat/linux/arch/m68k/syscalls.master
cvs rdiff -u -r1.67 -r1.68 src/sys/compat/linux/arch/mips/syscalls.master
cvs rdiff -u -r1.73 -r1.74 src/sys/compat/linux/arch/powerpc/syscalls.master
cvs rdiff -u -r1.18 -r1.19 src/sys/compat/linux/common/linux_emuldata.h
cvs rdiff -u -r1.122 -r1.123 src/sys/compat/linux/common/linux_exec.c
cvs rdiff -u -r1.38 -r1.39 src/sys/compat/linux/common/linux_futex.c
cvs rdiff -u -r1.8 -r0 src/sys/compat/linux/common/linux_futex.h
cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/common/linux_mod.c
cvs rdiff -u -r1.70 -r1.71 src/sys/compat/linux32/arch/amd64/syscalls.master
cvs rdiff -u -r1.27 -r1.28 src/sys/compat/linux32/common/linux32_misc.c
cvs rdiff -u -r1.50 -r1.51 src/sys/compat/netbsd32/files.netbsd32
cvs rdiff -u -r0 -r1.1 src/sys/compat/netbsd32/netbsd32_futex.c
cvs rdiff -u -r1.135 -r1.136 src/sys/compat/netbsd32/syscalls.master
cvs rdiff -u -r1.45 -r1.46 src/sys/kern/files.kern
cvs rdiff -u -r1.522 -r1.523 src/sys/kern/init_main.c
cvs rdiff -u -r1.235 -r1.236 src/sys/kern/kern_lwp.c
cvs rdiff -u -r1.249 -r1.250 src/sys/kern/kern_proc.c
cvs rdiff -u -r0 -r1.1 src/sys/kern/sys_futex.c
cvs rdiff -u -r1.302 -r1.303 src/sys/kern/syscalls.master
cvs rdiff -u -r1.172 -r1.173 src/sys/sys/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/sys/futex.h
cvs rdiff -u -r1.207 -r1.208 src/sys/sys/lwp.h
cvs rdiff -u -r1.62 -r1.63 src/tests/lib/libc/sys/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/sys/t_futex_ops.c \
src/tests/lib/libc/sys/t_futex_robust.c

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



CVS commit: src/lib/libc/sys

2020-04-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 26 18:56:49 UTC 2020

Modified Files:
src/lib/libc/sys: modctl.2

Log Message:
Document ENOSYS return from MODCTL_EXIST.

Remove EMLINK since it is no longer returned.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/sys/modctl.2

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



CVS commit: src/sys

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 18:59:48 UTC 2020

Modified Files:
src/sys/kern: init_sysent.c syscalls.c syscalls_autoload.c
systrace_args.c
src/sys/rump/include/rump: rump_syscalls.h
src/sys/rump/librump/rumpkern: rump_syscalls.c
src/sys/sys: syscall.h syscallargs.h

Log Message:
Regen for native futex calls.


To generate a diff of this commit:
cvs rdiff -u -r1.329 -r1.330 src/sys/kern/init_sysent.c
cvs rdiff -u -r1.317 -r1.318 src/sys/kern/syscalls.c
cvs rdiff -u -r1.34 -r1.35 src/sys/kern/syscalls_autoload.c
cvs rdiff -u -r1.36 -r1.37 src/sys/kern/systrace_args.c
cvs rdiff -u -r1.116 -r1.117 src/sys/rump/include/rump/rump_syscalls.h
cvs rdiff -u -r1.147 -r1.148 src/sys/rump/librump/rumpkern/rump_syscalls.c
cvs rdiff -u -r1.311 -r1.312 src/sys/sys/syscall.h
cvs rdiff -u -r1.295 -r1.296 src/sys/sys/syscallargs.h

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



CVS commit: src/sys/kern

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 19:15:55 UTC 2020

Modified Files:
src/sys/kern: syscalls.master

Log Message:
Due to a collision with another upcoming change, relocate the futex calls
to the 3 free slots at 166-168.


To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 src/sys/kern/syscalls.master

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



CVS commit: src/sys

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 19:16:36 UTC 2020

Modified Files:
src/sys/kern: init_sysent.c syscalls.c syscalls_autoload.c
systrace_args.c
src/sys/rump/include/rump: rump_syscalls.h
src/sys/rump/librump/rumpkern: rump_syscalls.c
src/sys/sys: syscall.h syscallargs.h

Log Message:
Regen for futex call relocation.


To generate a diff of this commit:
cvs rdiff -u -r1.330 -r1.331 src/sys/kern/init_sysent.c
cvs rdiff -u -r1.318 -r1.319 src/sys/kern/syscalls.c
cvs rdiff -u -r1.35 -r1.36 src/sys/kern/syscalls_autoload.c
cvs rdiff -u -r1.37 -r1.38 src/sys/kern/systrace_args.c
cvs rdiff -u -r1.117 -r1.118 src/sys/rump/include/rump/rump_syscalls.h
cvs rdiff -u -r1.148 -r1.149 src/sys/rump/librump/rumpkern/rump_syscalls.c
cvs rdiff -u -r1.312 -r1.313 src/sys/sys/syscall.h
cvs rdiff -u -r1.296 -r1.297 src/sys/sys/syscallargs.h

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



CVS commit: src/sys/compat/netbsd32

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 19:18:36 UTC 2020

Modified Files:
src/sys/compat/netbsd32: syscalls.master

Log Message:
Mirror the change made to native -- move futex calls to 166-168.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/compat/netbsd32/syscalls.master

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



CVS commit: src/sys/compat/netbsd32

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 19:18:52 UTC 2020

Modified Files:
src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h
netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c
netbsd32_systrace_args.c

Log Message:
Regen for native futex calls.


To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 src/sys/compat/netbsd32/netbsd32_syscall.h
cvs rdiff -u -r1.151 -r1.152 src/sys/compat/netbsd32/netbsd32_syscallargs.h \
src/sys/compat/netbsd32/netbsd32_syscalls.c
cvs rdiff -u -r1.31 -r1.32 \
src/sys/compat/netbsd32/netbsd32_syscalls_autoload.c
cvs rdiff -u -r1.150 -r1.151 src/sys/compat/netbsd32/netbsd32_sysent.c
cvs rdiff -u -r1.42 -r1.43 src/sys/compat/netbsd32/netbsd32_systrace_args.c

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



CVS commit: src/sys/compat/linux/arch

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 19:20:19 UTC 2020

Modified Files:
src/sys/compat/linux/arch/alpha: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/amd64: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/arm: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c linux_systrace_args.c
src/sys/compat/linux/arch/m68k: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/mips: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c
src/sys/compat/linux/arch/powerpc: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
Regen for native futex calls.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/compat/linux/arch/alpha/linux_syscall.h \
src/sys/compat/linux/arch/alpha/linux_sysent.c
cvs rdiff -u -r1.108 -r1.109 \
src/sys/compat/linux/arch/alpha/linux_syscallargs.h
cvs rdiff -u -r1.110 -r1.111 src/sys/compat/linux/arch/alpha/linux_syscalls.c
cvs rdiff -u -r1.70 -r1.71 src/sys/compat/linux/arch/amd64/linux_syscall.h \
src/sys/compat/linux/arch/amd64/linux_syscallargs.h \
src/sys/compat/linux/arch/amd64/linux_syscalls.c \
src/sys/compat/linux/arch/amd64/linux_sysent.c
cvs rdiff -u -r1.14 -r1.15 \
src/sys/compat/linux/arch/amd64/linux_systrace_args.c
cvs rdiff -u -r1.81 -r1.82 src/sys/compat/linux/arch/arm/linux_syscall.h \
src/sys/compat/linux/arch/arm/linux_syscallargs.h \
src/sys/compat/linux/arch/arm/linux_syscalls.c \
src/sys/compat/linux/arch/arm/linux_sysent.c
cvs rdiff -u -r1.14 -r1.15 \
src/sys/compat/linux/arch/arm/linux_systrace_args.c
cvs rdiff -u -r1.115 -r1.116 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.116 -r1.117 src/sys/compat/linux/arch/i386/linux_syscalls.c
cvs rdiff -u -r1.10 -r1.11 \
src/sys/compat/linux/arch/i386/linux_systrace_args.c
cvs rdiff -u -r1.107 -r1.108 src/sys/compat/linux/arch/m68k/linux_syscall.h \
src/sys/compat/linux/arch/m68k/linux_syscalls.c \
src/sys/compat/linux/arch/m68k/linux_sysent.c
cvs rdiff -u -r1.106 -r1.107 \
src/sys/compat/linux/arch/m68k/linux_syscallargs.h
cvs rdiff -u -r1.79 -r1.80 src/sys/compat/linux/arch/mips/linux_syscall.h
cvs rdiff -u -r1.78 -r1.79 src/sys/compat/linux/arch/mips/linux_syscallargs.h \
src/sys/compat/linux/arch/mips/linux_syscalls.c \
src/sys/compat/linux/arch/mips/linux_sysent.c
cvs rdiff -u -r1.85 -r1.86 src/sys/compat/linux/arch/powerpc/linux_syscall.h \
src/sys/compat/linux/arch/powerpc/linux_sysent.c
cvs rdiff -u -r1.84 -r1.85 \
src/sys/compat/linux/arch/powerpc/linux_syscallargs.h \
src/sys/compat/linux/arch/powerpc/linux_syscalls.c

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



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

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sun Apr 26 19:20:58 UTC 2020

Modified Files:
src/sys/compat/linux32/arch/amd64: linux32_syscall.h
linux32_syscallargs.h linux32_syscalls.c linux32_sysent.c
linux32_systrace_args.c

Log Message:
Regen for native futex calls.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 \
src/sys/compat/linux32/arch/amd64/linux32_syscall.h \
src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h \
src/sys/compat/linux32/arch/amd64/linux32_syscalls.c \
src/sys/compat/linux32/arch/amd64/linux32_sysent.c
cvs rdiff -u -r1.7 -r1.8 \
src/sys/compat/linux32/arch/amd64/linux32_systrace_args.c

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



CVS commit: src/sys/dev/nvmm

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 the kernel, AND have a cpu that is not supported,
AND run nvmmctl (or qemu-nvmm, both being the only binaries in the "nvmm"
group), you get a page fault.

This is because when nvmm is built inside the kernel, the kernel registers
nvmm_cdevsw behind nvmm's back. The ioctl is therefore always accessible,
and will hit NULL pointers if nvmm_init() failed.

Problem reported by Andrei M. on netbsd-users@, thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/nvmm/nvmm.c

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



CVS commit: src/share/mk

2020-04-26 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Apr 26 20:13:43 UTC 2020

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Switch hppa to gcc 8


To generate a diff of this commit:
cvs rdiff -u -r1.1184 -r1.1185 src/share/mk/bsd.own.mk

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



CVS commit: src/sys/arch/xen/xen

2020-04-26 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun Apr 26 20:41:30 UTC 2020

Modified Files:
src/sys/arch/xen/xen: xen_clock.c

Log Message:
Guard xen_wallclock with XENPV.

Thanks to riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/xen/xen/xen_clock.c

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



CVS commit: src/sys/kern

2020-04-26 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Apr 26 21:04:46 UTC 2020

Modified Files:
src/sys/kern: sys_futex.c

Log Message:
fix DIAGNOSTIC build


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/kern/sys_futex.c

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



CVS commit: src/distrib/sets/lists/debug

2020-04-26 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Apr 26 21:05:36 UTC 2020

Modified Files:
src/distrib/sets/lists/debug: mi

Log Message:
Add missing futex tests.


To generate a diff of this commit:
cvs rdiff -u -r1.306 -r1.307 src/distrib/sets/lists/debug/mi

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



CVS commit: src/external/gpl3/gcc/dist/gcc/config

2020-04-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Apr 26 21:11:07 UTC 2020

Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd-elf.h

Log Message:
Fix -static -pie to be -static *and* -pie. Before it was just -static:
- Restructure the begin and end code so the top level conditional is "pie".
  There is no change for the end code, but we use crtbeginS for static pie.
- If -pie is specified, always pass it to the linker (otherwise we end up
  with non pie binaries).
- Remove an extra unneeded space in the shared linker definition.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h

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



CVS commit: src/share/mk

2020-04-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Apr 26 22:06:01 UTC 2020

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
switch mips to GCC 8.


To generate a diff of this commit:
cvs rdiff -u -r1.1185 -r1.1186 src/share/mk/bsd.own.mk

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



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

2020-04-26 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr 26 23:03:37 UTC 2020

Modified Files:
src/sys/arch/macppc/conf: GENERIC

Log Message:
Re-enable crypto and swcrypto - "generic softints" have been available
for quite some time, so no need to disable.

This is a work-around for PR kern/55155.  The root problem, failure to
load modules due to missing kernel symbol table, still exists.


To generate a diff of this commit:
cvs rdiff -u -r1.367 -r1.368 src/sys/arch/macppc/conf/GENERIC

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



CVS commit: src/etc

2020-04-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Apr 27 01:07:27 UTC 2020

Modified Files:
src/etc: Makefile

Log Message:
It is KERNEL_DIR


To generate a diff of this commit:
cvs rdiff -u -r1.443 -r1.444 src/etc/Makefile

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



CVS commit: src/sys/uvm

2020-04-26 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Apr 27 02:47:26 UTC 2020

Modified Files:
src/sys/uvm: uvm_extern.h

Log Message:
Add missing \ to fix build for PMAP_CACHE_VIVT, i.e., ARMv4 and prior.


To generate a diff of this commit:
cvs rdiff -u -r1.224 -r1.225 src/sys/uvm/uvm_extern.h

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



CVS commit: src/sys/sys

2020-04-26 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Apr 27 02:54:42 UTC 2020

Modified Files:
src/sys/sys: futex.h

Log Message:
Expose _FUTEX_ROBUST_HEAD_SIZE32 for !LP64; fix COMPAT_NETBSD32 for arm.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/sys/futex.h

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



CVS commit: src/share/mk

2020-04-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Apr 27 03:15:12 UTC 2020

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
invert the GCC 7/8 conditional.

only alpha, vax, m68k and sh3 are still on GCC 7.


To generate a diff of this commit:
cvs rdiff -u -r1.1186 -r1.1187 src/share/mk/bsd.own.mk

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



CVS commit: src/usr.bin/cksum

2020-04-26 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 27 03:26:10 UTC 2020

Modified Files:
src/usr.bin/cksum: crc.c

Log Message:
Speed up cksum word-by-word with a 15 KB table generated dynamically.

(Really we could generate the main table dynamically too.)

>From anonymous.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/cksum/crc.c

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



CVS commit: src/external/gpl3/gcc

2020-04-26 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Apr 27 03:29:57 UTC 2020

Modified Files:
src/external/gpl3/gcc: README.gcc8

Log Message:
mips and hppa have switched.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/README.gcc8

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



CVS commit: src/sys/kern

2020-04-26 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Apr 27 05:28:18 UTC 2020

Modified Files:
src/sys/kern: sys_futex.c

Log Message:
We would have bigger problems if PAGE_SIZE were < sizeof(int).  Remove
a CTASSERT() that can't be evaluated at compile-time on all platforms.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/kern/sys_futex.c

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