CVS commit: src/sys/arch/mips

2020-06-13 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sun Jun 14 06:50:31 UTC 2020

Modified Files:
src/sys/arch/mips/include: locore.h
src/sys/arch/mips/mips: cpu_subr.c db_interface.c mips_machdep.c

Log Message:
Retire MIPS_CP0FL_USERLOCAL and MIPS_CP0FL_HWRENA and the flawed
logic that tried to deal with a MIPS processor that supports the ULR
CP0 register.  Probe correctly and save probed info somewhere we can
actually use it.  Avoids problems where libc expects ULR set to a
value but the CPU definition in the CPU table didn't have the right
combination of magic flags and thus never set ULR in the first place.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/mips/include/locore.h
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/mips/mips/cpu_subr.c
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/mips/mips/db_interface.c
cvs rdiff -u -r1.287 -r1.288 src/sys/arch/mips/mips/mips_machdep.c

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



CVS commit: src/distrib/ews4800mips/floppies/instkernel

2020-06-13 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jun 14 05:10:33 UTC 2020

Modified Files:
src/distrib/ews4800mips/floppies/instkernel: Makefile

Log Message:
Put a message in build error logs to notify what this target builds.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/distrib/ews4800mips/floppies/instkernel/Makefile

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



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

2020-06-13 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jun 14 04:51:09 UTC 2020

Modified Files:
src/sys/arch/ews4800mips/conf: RAMDISK

Log Message:
Disable COMPAT_13 and UFS_EXTATTR.  Saves ~52kbytes.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/ews4800mips/conf/RAMDISK

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



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

2020-06-13 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jun 14 04:46:27 UTC 2020

Modified Files:
src/sys/arch/ews4800mips/conf: RAMDISK

Log Message:
Sort options to match GENERIC.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/ews4800mips/conf/RAMDISK

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



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

2020-06-13 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jun 14 04:35:49 UTC 2020

Modified Files:
src/sys/arch/ews4800mips/conf: RAMDISK

Log Message:
Disable npf instead of obsolete ipfilter.  Saves ~82kbytes.

Maybe other installation kernels that include GENEIRIC-like ones
and use "no pseudo-device" options should be checked:
 https://mail-index.netbsd.org/source-changes/2018/08/01/msg097235.html


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/ews4800mips/conf/RAMDISK

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



CVS commit: src/sys

2020-06-13 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Sun Jun 14 01:40:06 UTC 2020

Modified Files:
src/sys/arch/algor/dev: mainbus.c
src/sys/arch/amiga/pci: em4k.c empb.c mppb.c p5pb.c
src/sys/arch/arc/pci: necpb.c
src/sys/arch/arm/broadcom: bcm53xx_pax.c
src/sys/arch/arm/fdt: pcihost_fdt.c
src/sys/arch/arm/gemini: gemini_pci.c
src/sys/arch/arm/imx: imx6_pcie.c
src/sys/arch/arm/imx/fdt: imx6_pcie.c
src/sys/arch/arm/ixp12x0: ixp12x0_pci.c
src/sys/arch/arm/nvidia: tegra_pcie.c
src/sys/arch/arm/s3c2xx0: s3c2800_pci.c
src/sys/arch/arm/xscale: becc_pci.c i80312_pci.c i80321_pci.c
ixp425_pci.c
src/sys/arch/bebox/bebox: mainbus.c
src/sys/arch/cobalt/dev: gt.c
src/sys/arch/evbarm/ifpga: ifpga.c
src/sys/arch/evbmips/gdium: mainbus.c
src/sys/arch/evbmips/loongson: mainbus.c
src/sys/arch/evbmips/malta/dev: mainbus.c
src/sys/arch/evbppc/walnut/pci: pchb.c
src/sys/arch/hppa/dev: astro.c dino.c uturn.c
src/sys/arch/ibmnws/ibmnws: mainbus.c
src/sys/arch/mvmeppc/mvmeppc: mainbus.c
src/sys/arch/ofppc/pci: ofwpci.c
src/sys/arch/powerpc/ibm4xx/pci: pchb.c
src/sys/arch/prep/prep: mainbus.c
src/sys/arch/sandpoint/sandpoint: mainbus.c
src/sys/arch/sgimips/gio: pci_gio.c
src/sys/arch/sgimips/mace: pci_mace.c
src/sys/arch/sh3/dev: shpcic.c
src/sys/arch/sparc/dev: vme_machdep.c
src/sys/arch/sparc/sparc: iommu.c
src/sys/arch/sparc64/dev: sbus.c
src/sys/arch/vax/uba: qv.c
src/sys/arch/x68k/dev: intio.c
src/sys/dev/ic: cpc700.c
src/sys/dev/marvell: gtpci.c mvpex.c

Log Message:
replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/algor/dev/mainbus.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/amiga/pci/em4k.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/amiga/pci/empb.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/amiga/pci/mppb.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/amiga/pci/p5pb.c
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/arc/pci/necpb.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/broadcom/bcm53xx_pax.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/fdt/pcihost_fdt.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/arm/gemini/gemini_pci.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/imx/imx6_pcie.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/imx/fdt/imx6_pcie.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/ixp12x0/ixp12x0_pci.c
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/arm/nvidia/tegra_pcie.c
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/arm/s3c2xx0/s3c2800_pci.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/xscale/becc_pci.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/xscale/i80312_pci.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/xscale/i80321_pci.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arm/xscale/ixp425_pci.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/bebox/bebox/mainbus.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/cobalt/dev/gt.c
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/evbarm/ifpga/ifpga.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbmips/gdium/mainbus.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbmips/loongson/mainbus.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbmips/malta/dev/mainbus.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbppc/walnut/pci/pchb.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/hppa/dev/astro.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/hppa/dev/dino.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hppa/dev/uturn.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/ibmnws/ibmnws/mainbus.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mvmeppc/mvmeppc/mainbus.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/ofppc/pci/ofwpci.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/powerpc/ibm4xx/pci/pchb.c
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/prep/prep/mainbus.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/sandpoint/sandpoint/mainbus.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/sgimips/gio/pci_gio.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/sgimips/mace/pci_mace.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/sh3/dev/shpcic.c
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/sparc/dev/vme_machdep.c
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/sparc/sparc/iommu.c
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/sparc64/dev/sbus.c
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/vax/uba/qv.c
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/x68k/dev/intio.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/ic/cpc700.c
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/marvell/gtpci.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/marvell/mvpex.c

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



CVS commit: src/usr.bin/jot

2020-06-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Jun 14 01:26:46 UTC 2020

Modified Files:
src/usr.bin/jot: jot.c

Log Message:
Generate format after setting the prec value

Otherwise we end up with setting invalid printf format: "%.-1f" (from
"if (snprintf(p, sz, "%%.%df", prec) >= (int)sz)") for prec equal to -1,
which is not canonical (rejected by gcc and clang when used explicitly).

Detected by ASan (MKSANITIZER) for "jot 8".


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/jot/jot.c

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



CVS commit: src/usr.sbin/puffs/mount_9p

2020-06-13 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sun Jun 14 00:30:20 UTC 2020

Modified Files:
src/usr.sbin/puffs/mount_9p: mount_9p.8 ninepuffs.c

Log Message:
Support optional square brackets around the host name.

The brackets are required when using numeric IPv6 addresses as they
contain colons as part of their syntax.  We do not enforce that the
thing in the brackets is a numeric IPv6 address - this matches scp
syntax and behavior.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/puffs/mount_9p/mount_9p.8
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/puffs/mount_9p/ninepuffs.c

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



CVS commit: src/sys/miscfs/genfs

2020-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Jun 14 00:25:22 UTC 2020

Modified Files:
src/sys/miscfs/genfs: genfs_io.c

Log Message:
genfs_putpages(): when building a cluster make use of pages in the in the
existing uvm_page_array.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/miscfs/genfs/genfs_io.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-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sun Jun 14 00:20:17 UTC 2020

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

Log Message:
If a vnode is marked with VI_EXECMAP then in all likelyhood it has pages.


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/kern/vfs_vnode.c

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



CVS commit: src/sys/sys

2020-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Jun 13 23:59:16 UTC 2020

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

Log Message:
NetBSD 9.99.67 - struct lwp changed on x86


To generate a diff of this commit:
cvs rdiff -u -r1.669 -r1.670 src/sys/sys/param.h

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



CVS commit: src/sys/arch

2020-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Jun 13 23:58:52 UTC 2020

Modified Files:
src/sys/arch/amd64/amd64: cpufunc.S
src/sys/arch/amd64/include: proc.h
src/sys/arch/i386/i386: cpufunc.S
src/sys/arch/i386/include: proc.h
src/sys/arch/x86/x86: tsc.c

Log Message:
Print a rate limited warning if the TSC timecounter goes backwards from the
viewpoint of any single LWP.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/amd64/amd64/cpufunc.S
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/amd64/include/proc.h
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/i386/i386/cpufunc.S
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/i386/include/proc.h
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/x86/x86/tsc.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-06-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jun 13 22:35:23 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
Partial scan of components


To generate a diff of this commit:
cvs rdiff -u -r1.1727 -r1.1728 src/doc/3RDPARTY

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



CVS commit: src/sys/dev

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 22:17:03 UTC 2020

Modified Files:
src/sys/dev: cgd.c

Log Message:
Fix encblkno8 legacy support.  Add a test vector while here.

What a crock!

This is deliberately _not_ neatly abstracted because the whole
configurable `iv method' mechanism is a mistake and should never be
used for anything new.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/dev/cgd.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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 22:15:58 UTC 2020

Modified Files:
src/sys/dev: cgd.c cgdvar.h

Log Message:
Constify.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/sys/dev/cgd.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/cgdvar.h

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



CVS commit: src/sys/dev

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 22:15:06 UTC 2020

Modified Files:
src/sys/dev: cgd.c cgd_crypto.c cgd_crypto.h

Log Message:
Eliminate uio indirection for cgd crypto.

We don't actually use it, and we only ever used it kludgily in the
CBC encryption direction in the past anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/sys/dev/cgd.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/cgd_crypto.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/cgd_crypto.h

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



CVS commit: src/doc

2020-06-13 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Jun 13 22:03:38 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
tmux-3.1b out.


To generate a diff of this commit:
cvs rdiff -u -r1.1726 -r1.1727 src/doc/3RDPARTY

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



CVS commit: src/usr.sbin/puffs/mount_9p

2020-06-13 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Jun 13 21:23:28 UTC 2020

Modified Files:
src/usr.sbin/puffs/mount_9p: ninepuffs.c

Log Message:
Remove -46 from the -c usage.  While here, sync usage with man page
(s/devfile/device).


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/puffs/mount_9p/ninepuffs.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-06-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jun 13 21:23:00 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
New xz released


To generate a diff of this commit:
cvs rdiff -u -r1.1725 -r1.1726 src/doc/3RDPARTY

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



CVS commit: src/usr.bin/make

2020-06-13 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Jun 13 21:16:27 UTC 2020

Modified Files:
src/usr.bin/make: str.c
src/usr.bin/make/unit-tests: modmatch.mk

Log Message:
usr.bin/make: make Str_Match faster for repeated asterisks

Conceptually related to https://en.wikipedia.org/wiki/ReDoS.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/make/str.c
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/modmatch.mk

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



CVS commit: src/share/man/man7

2020-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Jun 13 20:18:00 UTC 2020

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
g/c vm.idlezero


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/share/man/man7/sysctl.7

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



CVS commit: src/sys/arch

2020-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Jun 13 20:01:27 UTC 2020

Modified Files:
src/sys/arch/arc/arc: p_acer_pica_61.c p_dti_arcstation.c p_dti_tyne.c
p_sni_rm200pci.c
src/sys/arch/sparc/sparc: cpu.c
src/sys/arch/x86/x86: cpu.c

Log Message:
g/c vm_page_zero_enable


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/arc/arc/p_acer_pica_61.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arc/arc/p_dti_arcstation.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arc/arc/p_dti_tyne.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arc/arc/p_sni_rm200pci.c
cvs rdiff -u -r1.255 -r1.256 src/sys/arch/sparc/sparc/cpu.c
cvs rdiff -u -r1.192 -r1.193 src/sys/arch/x86/x86/cpu.c

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-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Jun 13 19:55:58 UTC 2020

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

Log Message:
uvm_pagerealloc(): resurrect the insertion case.


To generate a diff of this commit:
cvs rdiff -u -r1.228 -r1.229 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/uvm

2020-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Jun 13 19:55:39 UTC 2020

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

Log Message:
uvm_pagerealloc(): resurrect the insertion case.


To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/sys/uvm/uvm_page.c

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



CVS commit: src/etc/etc.cobalt

2020-06-13 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jun 13 19:47:10 UTC 2020

Modified Files:
src/etc/etc.cobalt: MAKEDEV.conf

Log Message:
Create a compatibility symlink panel0 -> lcdpanel0

PR port-cobalt/55009


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/etc/etc.cobalt/MAKEDEV.conf

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



CVS commit: src/etc

2020-06-13 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Jun 13 19:46:23 UTC 2020

Modified Files:
src/etc: MAKEDEV.awk

Log Message:
When reading in the MD MAKEDEV.conf, perform block / char major
substitutions that may be present in that file.

PR port-cobalt/55009


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/etc/MAKEDEV.awk

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



CVS commit: src/distrib/news68k/floppies/ramdisk

2020-06-13 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jun 13 19:15:44 UTC 2020

Modified Files:
src/distrib/news68k/floppies/ramdisk: list

Log Message:
Use more shrinked x_foo binaries.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/distrib/news68k/floppies/ramdisk/list

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



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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 19:01:11 UTC 2020

Modified Files:
src/sys/arch/x86/x86: fpu.c

Log Message:
Add comments over fpu_kern_enter/leave.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/x86/x86/fpu.c

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



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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 19:00:18 UTC 2020

Modified Files:
src/sys/arch/x86/x86: fpu.c

Log Message:
Zero the fpu registers on fpu_kern_leave.

Avoid Spectre-class attacks on any values left in them.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/x86/x86/fpu.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/arm/sunxi

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:58:26 UTC 2020

Modified Files:
src/sys/arch/arm/sunxi: sun8i_crypto.c

Log Message:
Draft opencrypto support for Allwinner Crypto Engine.

XXX Can't handle nonzero crd_skip yet.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/arm/sunxi/sun8i_crypto.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/arm/sunxi

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:57:54 UTC 2020

Modified Files:
src/sys/arch/arm/sunxi: sun8i_crypto.c sun8i_crypto.h

Log Message:
Rework sun8i crypto.

- Preallocate tasks and DMA maps together for now, for 4k transfers.
- Confine setup of the task descriptor to a single function, without
  bus_dmamap_t as an input; just use the preallocated DMA maps.
- Take the DMA map part out of sun8i_crypto_buf.
  => Not much left here, just a dmamem segment and kva mapping.

This should make it easier to use with opencrypto.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/arm/sunxi/sun8i_crypto.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/sunxi/sun8i_crypto.h

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



CVS commit: src/sys/arch/arm/sunxi

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:54:38 UTC 2020

Modified Files:
src/sys/arch/arm/sunxi: sun8i_crypto.c

Log Message:
Truncate hw.sun8icryptoN.rng queries to 4096 bytes.

...rather than fail entirely.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/sunxi/sun8i_crypto.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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:42:22 UTC 2020

Modified Files:
src/sys/dev: cgd.c

Log Message:
Move cgd selftest from module init to cgdattach.

This defers it until considerably later at boot, after cpu_attach has
run, which will be needed in order to make AES-NI work.


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/sys/dev/cgd.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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:40:44 UTC 2020

Modified Files:
src/sys/dev: cgd.c

Log Message:
Specify which cgd self-test failed and dump the mismatch.


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/dev/cgd.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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:39:36 UTC 2020

Modified Files:
src/sys/dev: cgd_crypto.c

Log Message:
Convert malloc -> kmem.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/cgd_crypto.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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:40:14 UTC 2020

Modified Files:
src/sys/dev: cgd_crypto.c

Log Message:
Shrink AES-XTS state by 280 bytes.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/cgd_crypto.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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:39:07 UTC 2020

Modified Files:
src/sys/dev: cgd_crypto.c

Log Message:
Remove obsolete comment -- AES block size is always 128.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/cgd_crypto.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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:38:33 UTC 2020

Modified Files:
src/sys/dev: cgd.c cgd_crypto.c cgdvar.h

Log Message:
Tidy up includes.


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/dev/cgd.c
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/cgd_crypto.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/cgdvar.h

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



CVS commit: src/sys/dev

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:36:07 UTC 2020

Modified Files:
src/sys/dev: cgd.c

Log Message:
Print cgd self-test noise only with verbose boot.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/dev/cgd.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

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:35:35 UTC 2020

Modified Files:
src/sys/dev: cgd.c cgd_crypto.c cgd_crypto.h

Log Message:
Fold `cipher prep' into `cipher' in cgd.

Simplify some logic along the way and u_int*_t -> uint*_t.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/sys/dev/cgd.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/cgd_crypto.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/cgd_crypto.h

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



CVS commit: src

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 18:00:29 UTC 2020

Modified Files:
src: build.sh

Log Message:
Nix trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.340 -r1.341 src/build.sh

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



CVS commit: src/lib/libpthread

2020-06-13 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jun 13 17:39:42 UTC 2020

Modified Files:
src/lib/libpthread: pthread_cond.c

Log Message:
Nix trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/lib/libpthread/pthread_cond.c

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



CVS commit: src/usr.sbin/puffs/mount_9p

2020-06-13 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Jun 13 16:56:46 UTC 2020

Modified Files:
src/usr.sbin/puffs/mount_9p: ninepuffs.c

Log Message:
Add -46 to usage.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/puffs/mount_9p/ninepuffs.c

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



CVS commit: src/lib/librumpuser

2020-06-13 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Jun 13 16:51:59 UTC 2020

Modified Files:
src/lib/librumpuser: sp_common.c

Log Message:
Fix incompatible function pointer casts


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/lib/librumpuser/sp_common.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/evbarm/conf

2020-06-13 Thread Andrew Doran
Module Name:src
Committed By:   ad
Date:   Sat Jun 13 16:51:25 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: ARMADAXP ARMADILLO-IOT-G3 BCM5301X DUOVERO
GENERIC.common N900 OMAP5EVM PANDABOARD PEPPER TISDP2420 VTC100

Log Message:
Comment out "options PMAPCOUNTERS".  It adds much overhead and is mostly of
interest to people hacking on the VM system or pmap.  Proposed on port-arm@.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/evbarm/conf/ARMADAXP
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbarm/conf/ARMADILLO-IOT-G3 \
src/sys/arch/evbarm/conf/VTC100
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/evbarm/conf/BCM5301X
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbarm/conf/DUOVERO
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/evbarm/conf/GENERIC.common
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/evbarm/conf/N900
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/evbarm/conf/OMAP5EVM
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/evbarm/conf/PANDABOARD
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/conf/PEPPER
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/evbarm/conf/TISDP2420

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



CVS commit: src/sys/arch/mips/mips

2020-06-13 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jun 13 14:45:17 UTC 2020

Modified Files:
src/sys/arch/mips/mips: mips_machdep.c

Log Message:
Correct a comment (or at least comment on what we do instead of half of
what we do).


To generate a diff of this commit:
cvs rdiff -u -r1.286 -r1.287 src/sys/arch/mips/mips/mips_machdep.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/mips/include

2020-06-13 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jun 13 14:41:24 UTC 2020

Modified Files:
src/sys/arch/mips/include: mipsNN.h

Log Message:
Move MIPSNN_CFG3_ULRI so that it doesn't appear in some random position
among the other config3 register definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/include/mipsNN.h

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



CVS commit: src/sys/arch/mips

2020-06-13 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jun 13 14:39:07 UTC 2020

Modified Files:
src/sys/arch/mips/include: mipsNN.h
src/sys/arch/mips/mips: mips_machdep.c

Log Message:
Use the correct config3 field name (ULRI) for UserLocal register is
implemented bit.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/mips/include/mipsNN.h
cvs rdiff -u -r1.285 -r1.286 src/sys/arch/mips/mips/mips_machdep.c

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



CVS commit: src/share/misc

2020-06-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jun 13 14:31:49 UTC 2020

Modified Files:
src/share/misc: acronyms

Log Message:
BAU


To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 src/share/misc/acronyms

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



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

2020-06-13 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jun 13 14:26:34 UTC 2020

Modified Files:
src/sys/arch/mips/include: locore.h

Log Message:
Note some hard-coded capabilties that can be probed.

XXX: Fix this and CPU table in mips/mips_machdep.c one day...


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/mips/include/locore.h

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



CVS commit: src/usr.sbin/puffs/mount_9p

2020-06-13 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Jun 13 13:45:06 UTC 2020

Modified Files:
src/usr.sbin/puffs/mount_9p: Makefile mount_9p.8 ninepuffs.c

Log Message:
Support IPv6.

Use getaddrinfo(3).  Add -4 and -6 command line options.  Obey USE_INET6.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/puffs/mount_9p/Makefile
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/puffs/mount_9p/mount_9p.8
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/puffs/mount_9p/ninepuffs.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/mips/mips

2020-06-13 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jun 13 12:53:42 UTC 2020

Modified Files:
src/sys/arch/mips/mips: mipsX_subr.S

Log Message:
Add a comment to say that instruction encoding 0x7c03e83b is "rdhwr $3,$29".


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/mips/mips/mipsX_subr.S

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-06-13 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sat Jun 13 12:42:26 UTC 2020

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
add ASIX AX99100 Multi I/O (Serial,Parallel,I2C,SPI,LocalBus,GPIO) Controller


To generate a diff of this commit:
cvs rdiff -u -r1.1415 -r1.1416 src/sys/dev/pci/pcidevs

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-06-13 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sat Jun 13 12:42:58 UTC 2020

Modified Files:
src/sys/dev/pci: pucdata.c

Log Message:
add entry for ASIX AX99100 PCIe 4port serial card


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/dev/pci/pucdata.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-06-13 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Sat Jun 13 12:42:51 UTC 2020

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1402 -r1.1403 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1401 -r1.1402 src/sys/dev/pci/pcidevs_data.h

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



CVS commit: src

2020-06-13 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sat Jun 13 11:42:47 UTC 2020

Modified Files:
src: build.sh

Log Message:
nbmake bootstrap: silent configure if MAKEVERBOSE==0

Be consistent with the silencing of configure in tools/
and suppress the output in build.sh configure of nbmake


To generate a diff of this commit:
cvs rdiff -u -r1.339 -r1.340 src/build.sh

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



CVS commit: src/tools/make

2020-06-13 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sat Jun 13 11:39:43 UTC 2020

Modified Files:
src/tools/make: buildmake.sh.in

Log Message:
nbmake bootstrap: be quieter if MAKEVERBOSE==0

More accurately simulate  and don't even print
the "compile" lines with MAKEVERBOSE=0


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/tools/make/buildmake.sh.in

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



CVS commit: src/tools/make

2020-06-13 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sat Jun 13 11:32:52 UTC 2020

Modified Files:
src/tools/make: buildmake.sh.in

Log Message:
nbmake bootstrap: consistency fix in MAKEVERBOSE<2 support


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tools/make/buildmake.sh.in

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



CVS commit: src/tools/make

2020-06-13 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sat Jun 13 11:28:24 UTC 2020

Modified Files:
src/tools/make: buildmake.sh.in

Log Message:
nbmake bootstrap: if MAKEVERBOSE < 2, output similar to 


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tools/make/buildmake.sh.in

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



CVS commit: src/tools

2020-06-13 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sat Jun 13 10:49:17 UTC 2020

Modified Files:
src/tools: Makefile.gnuhost
src/tools/compat: Makefile
src/tools/host-mkdep: Makefile
src/tools/xz-include: Makefile

Log Message:
tools: configure --silent if MAKEVERBOSE == 0


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/tools/Makefile.gnuhost
cvs rdiff -u -r1.87 -r1.88 src/tools/compat/Makefile
cvs rdiff -u -r1.15 -r1.16 src/tools/host-mkdep/Makefile
cvs rdiff -u -r1.2 -r1.3 src/tools/xz-include/Makefile

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



CVS commit: src/tools

2020-06-13 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sat Jun 13 08:12:16 UTC 2020

Modified Files:
src/tools: Makefile.gnuhost

Log Message:
tools: if MAKEVERBOSE < 2, quieten automake builds


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/tools/Makefile.gnuhost

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



CVS commit: src/usr.bin/make

2020-06-13 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Jun 13 07:49:00 UTC 2020

Modified Files:
src/usr.bin/make: str.c

Log Message:
usr.bin/make: remove redundant parentheses around return


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.bin/make/str.c

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



CVS commit: src/usr.bin/make

2020-06-13 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Jun 13 07:36:07 UTC 2020

Modified Files:
src/usr.bin/make: str.c

Log Message:
usr.bin/make: consistently use ++ for incrementing pointers


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/make/str.c

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



CVS commit: src/usr.bin/make

2020-06-13 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Jun 13 07:30:02 UTC 2020

Modified Files:
src/usr.bin/make: str.c

Log Message:
usr.bin/make: fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/make/str.c

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