CVS commit: src

2020-09-08 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Tue Sep  8 10:05:48 UTC 2020

Modified Files:
src/distrib/sets/lists/man: mi
src/distrib/sets/lists/modules: md.amd64 md.evbarm md.i386
src/share/man/man4: Makefile
src/sys/arch/amd64/conf: ALL GENERIC
src/sys/arch/i386/conf: ALL GENERIC
src/sys/dev/pci: files.pci if_ixl.c if_ixlvar.h
src/sys/modules: Makefile
Added Files:
src/share/man/man4: iavf.4
src/sys/dev/pci: if_iavf.c if_iavfvar.h
src/sys/modules/if_iavf: Makefile if_iavf.ioconf

Log Message:
Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


To generate a diff of this commit:
cvs rdiff -u -r1.1700 -r1.1701 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.88 -r1.89 src/distrib/sets/lists/modules/md.amd64 \
src/distrib/sets/lists/modules/md.i386
cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/lists/modules/md.evbarm
cvs rdiff -u -r1.707 -r1.708 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/iavf.4
cvs rdiff -u -r1.162 -r1.163 src/sys/arch/amd64/conf/ALL
cvs rdiff -u -r1.578 -r1.579 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.495 -r1.496 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1231 -r1.1232 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.430 -r1.431 src/sys/dev/pci/files.pci
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/if_iavf.c src/sys/dev/pci/if_iavfvar.h
cvs rdiff -u -r1.74 -r1.75 src/sys/dev/pci/if_ixl.c
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/if_ixlvar.h
cvs rdiff -u -r1.244 -r1.245 src/sys/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/if_iavf/Makefile \
src/sys/modules/if_iavf/if_iavf.ioconf

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



CVS commit: src/share/man/man4

2020-09-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Sep  8 10:07:35 UTC 2020

Modified Files:
src/share/man/man4: iavf.4

Log Message:
Remove empty line. End sentence with dot. Avoid unnecessary linebreak.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/iavf.4

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/arm32

2020-09-08 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Sep  8 10:30:17 UTC 2020

Modified Files:
src/sys/arch/arm/arm32: bus_dma.c

Log Message:
A few bus_dmatag_subregion fixes

- return EOPNOTSUPP if min_addr isn't less than max_addr
- fix the subset check to ensure that all the ranges in the parent tag are
  within the {min,max}_addr range.  If so we can just continue to use the
  parent tag.
- when building the new ranges read the parent tag range rather than un-
  initialised memory.
- remove the max_addr != 0x check - the overflow should be handled
  by the unsigned arithmetic for arm32.
- add a KASSERT
- add comments


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/arm/arm32/bus_dma.c

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



CVS commit: src/etc/rc.d

2020-09-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep  8 12:45:03 UTC 2020

Modified Files:
src/etc/rc.d: clearcritlocal

Log Message:
Make it work with empty /var


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/rc.d/clearcritlocal

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/etc

2020-09-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep  8 12:52:44 UTC 2020

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

Log Message:
Adjust for MOUNTCRITLOCAL -> CRITLOCALMOUNTED rename


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/distrib/sets/lists/etc/mi

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



CVS commit: src/etc/rc.d

2020-09-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep  8 12:52:18 UTC 2020

Modified Files:
src/etc/rc.d: Makefile bootconf.sh clearcritlocal dhcpcd ip6addrctl
ipfilter ipsec iscsid llvmlockdir mdnsd mountcritremote network npf
npf_boot pf pf_boot random_seed route6d smtoff wpa_supplicant
Added Files:
src/etc/rc.d: CRITLOCALMOUNTED
Removed Files:
src/etc/rc.d: MOUNTCRITLOCAL

Log Message:
Rename MOUNTCRITLOCAL to CRITLOCALMOUNTED to avoid a name collision
on case insensitive file systems


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/etc/rc.d/CRITLOCALMOUNTED
cvs rdiff -u -r1.1 -r0 src/etc/rc.d/MOUNTCRITLOCAL
cvs rdiff -u -r1.107 -r1.108 src/etc/rc.d/Makefile
cvs rdiff -u -r1.17 -r1.18 src/etc/rc.d/bootconf.sh src/etc/rc.d/ipsec
cvs rdiff -u -r1.2 -r1.3 src/etc/rc.d/clearcritlocal src/etc/rc.d/iscsid
cvs rdiff -u -r1.10 -r1.11 src/etc/rc.d/dhcpcd src/etc/rc.d/mountcritremote \
src/etc/rc.d/route6d
cvs rdiff -u -r1.6 -r1.7 src/etc/rc.d/ip6addrctl src/etc/rc.d/npf \
src/etc/rc.d/pf_boot
cvs rdiff -u -r1.20 -r1.21 src/etc/rc.d/ipfilter
cvs rdiff -u -r1.1 -r1.2 src/etc/rc.d/llvmlockdir
cvs rdiff -u -r1.5 -r1.6 src/etc/rc.d/mdnsd src/etc/rc.d/smtoff
cvs rdiff -u -r1.81 -r1.82 src/etc/rc.d/network
cvs rdiff -u -r1.3 -r1.4 src/etc/rc.d/npf_boot
cvs rdiff -u -r1.13 -r1.14 src/etc/rc.d/pf
cvs rdiff -u -r1.14 -r1.15 src/etc/rc.d/random_seed
cvs rdiff -u -r1.8 -r1.9 src/etc/rc.d/wpa_supplicant

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



CVS commit: src/etc/rc.d

2020-09-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep  8 12:54:36 UTC 2020

Modified Files:
src/etc/rc.d: Makefile

Log Message:
Sort - no functional change


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/etc/rc.d/Makefile

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/base

2020-09-08 Thread Adam Ciarcinski
Module Name:src
Committed By:   adam
Date:   Tue Sep  8 13:01:47 UTC 2020

Modified Files:
src/distrib/sets/lists/base: shl.mi

Log Message:
Restore libgomp, liblsan, and libstdc++ as GCC-only


To generate a diff of this commit:
cvs rdiff -u -r1.900 -r1.901 src/distrib/sets/lists/base/shl.mi

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-09-08 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Sep  8 13:28:51 UTC 2020

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

Log Message:
iaq_datalen is 16-bit, always use htole16

fixes build failure on big endian


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

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



CVS commit: src

2020-09-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep  8 14:12:57 UTC 2020

Modified Files:
src/share/man/man4: ip.4 ip6.4
src/sys/netinet: in.h in_pcb.c in_pcb.h ip_output.c raw_ip.c
src/sys/netinet6: in6.h in6_pcb.c in6_pcb.h ip6_output.c
src/sys/secmodel/suser: secmodel_suser.c
src/sys/sys: kauth.h

Log Message:
Add IP_BINDANY, IPV6_BINDANY which can be used to bind to any address in
order to implement transparent proxies.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/share/man/man4/ip.4
cvs rdiff -u -r1.31 -r1.32 src/share/man/man4/ip6.4
cvs rdiff -u -r1.110 -r1.111 src/sys/netinet/in.h
cvs rdiff -u -r1.184 -r1.185 src/sys/netinet/in_pcb.c
cvs rdiff -u -r1.68 -r1.69 src/sys/netinet/in_pcb.h
cvs rdiff -u -r1.319 -r1.320 src/sys/netinet/ip_output.c
cvs rdiff -u -r1.179 -r1.180 src/sys/netinet/raw_ip.c
cvs rdiff -u -r1.99 -r1.100 src/sys/netinet6/in6.h
cvs rdiff -u -r1.166 -r1.167 src/sys/netinet6/in6_pcb.c
cvs rdiff -u -r1.51 -r1.52 src/sys/netinet6/in6_pcb.h
cvs rdiff -u -r1.225 -r1.226 src/sys/netinet6/ip6_output.c
cvs rdiff -u -r1.54 -r1.55 src/sys/secmodel/suser/secmodel_suser.c
cvs rdiff -u -r1.85 -r1.86 src/sys/sys/kauth.h

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



CVS commit: src/tests/net/net

2020-09-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep  8 14:13:50 UTC 2020

Modified Files:
src/tests/net/net: Makefile
Added Files:
src/tests/net/net: t_bind.c

Log Message:
Add tests for IP_BINDANY, IPV6_BINDANY


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/tests/net/net/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/net/net/t_bind.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

2020-09-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Sep  8 14:17:04 UTC 2020

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

Log Message:
Add bind test


To generate a diff of this commit:
cvs rdiff -u -r1.331 -r1.332 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.920 -r1.921 src/distrib/sets/lists/tests/mi

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-09-08 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Sep  8 14:51:43 UTC 2020

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

Log Message:
make(1): in CondGetString, replace repeated Buf_Add with Buf_AddStr


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/usr.bin/make/cond.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/modules

2020-09-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep  8 14:53:11 UTC 2020

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

Log Message:
Add if_iavf


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/distrib/sets/lists/modules/mi

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/modules

2020-09-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep  8 14:55:44 UTC 2020

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

Log Message:
Remove if_iavf


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/distrib/sets/lists/modules/mi

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-09-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep  8 14:57:32 UTC 2020

Modified Files:
src/distrib/sets/lists/debug: module.md.amd64 module.md.i386

Log Message:
Add if_iavf


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/lists/debug/module.md.amd64 \
src/distrib/sets/lists/debug/module.md.i386

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



CVS commit: src/sys/stand/efiboot/bootarm

2020-09-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Sep  8 15:36:37 UTC 2020

Modified Files:
src/sys/stand/efiboot/bootarm: Makefile

Log Message:
Be explicit about building for little endian. This allows efiboot to be
built with the armv7be toolchain.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/stand/efiboot/bootarm/Makefile

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



CVS commit: src/sys

2020-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Sep  8 16:00:35 UTC 2020

Modified Files:
src/sys/kern: init_main.c subr_ipi.c
src/sys/sys: ipi.h

Log Message:
ipi: Split up initialization into two parts.

First part runs early so ipi_register can be used in module
initialization, e.g. via pktqueue_create; second part runs after CPUs
have been detected.


To generate a diff of this commit:
cvs rdiff -u -r1.530 -r1.531 src/sys/kern/init_main.c
cvs rdiff -u -r1.7 -r1.8 src/sys/kern/subr_ipi.c
cvs rdiff -u -r1.4 -r1.5 src/sys/sys/ipi.h

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



CVS commit: src/etc

2020-09-08 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep  8 16:10:53 UTC 2020

Modified Files:
src/etc: rc

Log Message:
Ooops, overlooked one MOUNTCRITLOCAL reference in the rename to
CRITLOCALMOUNTED.


To generate a diff of this commit:
cvs rdiff -u -r1.174 -r1.175 src/etc/rc

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



CVS commit: src/sys/stand/efiboot/bootaa64

2020-09-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Sep  8 16:34:43 UTC 2020

Modified Files:
src/sys/stand/efiboot/bootaa64: Makefile

Log Message:
Be explicit about building for little endian. This allows efiboot to be
built with the aarch64eb toolchain.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/stand/efiboot/bootaa64/Makefile

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



CVS commit: src

2020-09-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Sep  8 16:39:36 UTC 2020

Modified Files:
src/distrib/sets/lists/base: ad.aarch64 ad.arm
src/sys/arch/evbarm/stand: Makefile

Log Message:
Build EFI bootloader on big endian armv7 and aarch64 targets.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/distrib/sets/lists/base/ad.aarch64
cvs rdiff -u -r1.81 -r1.82 src/distrib/sets/lists/base/ad.arm
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbarm/stand/Makefile

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



CVS commit: src/sys/net

2020-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Sep  8 16:39:58 UTC 2020

Modified Files:
src/sys/net: if_wg.c

Log Message:
wg: Drop wgp_lock while waiting for endpoint psref to drain.

- This is safe because wgp_endpoint_changing locks out any attempts
  to change the endpoint until the draining is complete.

- This is necessary to avoid a deadlock where the handshake thread
  holds a psref and awaits mutex_enter(wgp->wgp_lock).

XXX The same deadlock may occur in wg_destroy_session.  Not clear
that it's safe to just release wgp_lock there; may need to create a
new session state, say WGS_STATE_DRAINING, while we wait for
psref_target_destroy.  But this needs a little more thought; a new
state may not be necessary, and would be nice to avoid if not
necessary.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/net/if_wg.c

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



CVS commit: src/sys/external/bsd/acpica/dist/include/platform

2020-09-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Sep  8 16:56:29 UTC 2020

Modified Files:
src/sys/external/bsd/acpica/dist/include/platform: acnetbsd.h

Log Message:
Define ACPI_BIG_ENDIAN on BE targets


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 \
src/sys/external/bsd/acpica/dist/include/platform/acnetbsd.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/nvmm

2020-09-08 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Tue Sep  8 16:58:38 UTC 2020

Modified Files:
src/sys/dev/nvmm: nvmm.c nvmm_ioctl.h
src/sys/dev/nvmm/x86: nvmm_x86.c nvmm_x86_svm.c

Log Message:
nvmm: cosmetic changes

 - Style.
 - Explicitly include ioccom.h.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/dev/nvmm/nvmm.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/nvmm/nvmm_ioctl.h
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/nvmm/x86/nvmm_x86.c
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/nvmm/x86/nvmm_x86_svm.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/x86

2020-09-08 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Tue Sep  8 17:00:07 UTC 2020

Modified Files:
src/sys/dev/nvmm/x86: nvmm_x86_vmx.c

Log Message:
nvmm-x86-vmx: improve the handling of CR0

 - CR0_ET is hard-wired to 1 in the cpu, so force CR0_ET to 1 in the
   shadow.
 - Clarify.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c

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



CVS commit: src

2020-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Sep  8 17:02:18 UTC 2020

Modified Files:
src/share/man/man9: workqueue.9
src/sys/kern: subr_workqueue.c

Log Message:
workqueue: Lift unnecessary restriction on workqueue_wait.

Allow multiple concurrent waits at a time, and allow enqueueing work
at the same time (as long as it's not the work we're waiting for).
This way multiple users can use a shared global workqueue and safely
wait for individual work items concurrently, while the workqueue is
still in use for other items (e.g., wg(4) peers).

This has the side effect of taking away a diagnostic measure, but I
think allowing the diagnostic's false positives instead of rejecting
them is worth it.  We could cheaply add it back with some false
negatives if it's important.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man9/workqueue.9
cvs rdiff -u -r1.38 -r1.39 src/sys/kern/subr_workqueue.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/x86

2020-09-08 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Tue Sep  8 17:02:03 UTC 2020

Modified Files:
src/sys/dev/nvmm/x86: nvmm_x86_svm.c nvmm_x86_vmx.c

Log Message:
nvmm-x86: avoid hogging behavior observed recently

When the FPU code got rewritten in NetBSD, the dependency on IPL_HIGH was
eliminated, and I took _vcpu_guest_fpu_enter() out of the VCPU loop since
there was no need to be in the splhigh window.

Later, the code was switched to use the kernel FPU API, API that works at
IPL_VM, not at IPL_NONE.

These two changes mean that the whole VCPU loop is now executing at IPL_VM,
which is not desired, because it introduces a delay in interrupt processing
on the host in certain cases.

Fix this by putting _vcpu_guest_fpu_enter() back inside the VCPU loop.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/dev/nvmm/x86/nvmm_x86_svm.c
cvs rdiff -u -r1.79 -r1.80 src/sys/dev/nvmm/x86/nvmm_x86_vmx.c

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



CVS commit: src/sys/crypto/chacha/arch/arm

2020-09-08 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Sep  8 17:17:32 UTC 2020

Modified Files:
src/sys/crypto/chacha/arch/arm: files.chacha_arm

Log Message:
use correct condition


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/crypto/chacha/arch/arm/files.chacha_arm

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/arm

2020-09-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Sep  8 17:20:11 UTC 2020

Modified Files:
src/sys/arch/arm/arm: efi_runtime.c

Log Message:
Disable EFI runtime support for BE kernels


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/arm/efi_runtime.c

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



CVS commit: src/share/man/man4

2020-09-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Sep  8 17:29:20 UTC 2020

Modified Files:
src/share/man/man4: ip6.4

Log Message:
Remove superfluous Pp.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/man/man4/ip6.4

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



CVS commit: src/share/man/man4

2020-09-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Sep  8 17:29:10 UTC 2020

Modified Files:
src/share/man/man4: ip.4

Log Message:
Use \(em.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/share/man/man4/ip.4

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



CVS commit: src/share/man/man4

2020-09-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Sep  8 17:30:10 UTC 2020

Modified Files:
src/share/man/man4: ip6.4

Log Message:
Improve BINDANY formatting.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/share/man/man4/ip6.4

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



CVS commit: src/share/man/man4

2020-09-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Sep  8 17:30:44 UTC 2020

Modified Files:
src/share/man/man4: ip.4

Log Message:
Serial comma.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/share/man/man4/ip.4

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



CVS commit: src

2020-09-08 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Sep  8 17:35:27 UTC 2020

Modified Files:
src/sys/crypto/aes/arch/arm: files.aesneon
src/sys/crypto/chacha/arch/arm: files.chacha_arm
src/tests/sys/crypto/aes: Makefile
src/tests/sys/crypto/chacha: Makefile

Log Message:
Acknowledge clang warning for NEON cipher code on aarch64eb

We've already made the nonportable vector initializations portable; the
code works on aarch64eb.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/crypto/aes/arch/arm/files.aesneon
cvs rdiff -u -r1.4 -r1.5 src/sys/crypto/chacha/arch/arm/files.chacha_arm
cvs rdiff -u -r1.5 -r1.6 src/tests/sys/crypto/aes/Makefile
cvs rdiff -u -r1.5 -r1.6 src/tests/sys/crypto/chacha/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/evbarm/conf

2020-09-08 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Tue Sep  8 17:39:04 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: std.generic64

Log Message:
Enable __BUS_SPACE_HAS_STREAM_METHODS in std.generic64

These are needed for virtio_pci on aarch64eb.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbarm/conf/std.generic64

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-09-08 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Sep  8 17:55:23 UTC 2020

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

Log Message:
make(1): group the condition parsing state into a struct

Instead of having 3 global variables, the struct clearly communicates
that the 3 variables belong together. During debugging, it's easy to
just "p *lex" instead of remembering the names of the 3 former global
variables.

Converting the global variables into a local variable makes it
immediately clear that the functions in this file operate on this
struct.  Keeping the global variables in mind is more difficult.  Having
a local variable also gets rid of the 3 sv_* variables in
Cond_EvalExpression, which were also a sign that these "global
variables" were not that global at all.

This commit only contains the minimal code changes for converting the
variables into a local struct.  It was tempting to add functions like
CondLexer_SkipWhitespace, but this is better left for a follow-up
commit.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/usr.bin/make/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.bin/make

2020-09-08 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Sep  8 18:06:27 UTC 2020

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

Log Message:
make(1): rename CondLexer.condPushBack to curr

This variable has some context information from the struct now,
therefore its name can be shorter.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/usr.bin/make/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.bin/make

2020-09-08 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Sep  8 18:10:34 UTC 2020

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

Log Message:
make(1): add CondLexer_SkipWhitespace


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/usr.bin/make/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.bin/make

2020-09-08 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Sep  8 18:51:23 UTC 2020

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

Log Message:
make(1): clean up comments in cond.c


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/usr.bin/make/cond.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/man

2020-09-08 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Sep  8 19:06:49 UTC 2020

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

Log Message:
lists/man/mi: remove extraneous space


To generate a diff of this commit:
cvs rdiff -u -r1.1701 -r1.1702 src/distrib/sets/lists/man/mi

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



CVS commit: src/distrib/sets

2020-09-08 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Sep  8 19:11:30 UTC 2020

Modified Files:
src/distrib/sets: fmt-list

Log Message:
distrib/sets/fmt-list: add no-action mode

This is useful for finding parse errors only.  Inspired by some entries
that are obsolete and have more than the "obsolete" flag.  There are
only few of these entries though, and they don't seem worth fixing.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/fmt-list

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



CVS commit: src/tools/gcc

2020-09-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Sep  8 19:17:24 UTC 2020

Modified Files:
src/tools/gcc: mknative-gcc

Log Message:
oops, pull out the value of pstl_headers.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/tools/gcc/mknative-gcc

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



CVS commit: src/sys/arch/alpha/alpha

2020-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Sep  8 21:41:37 UTC 2020

Modified Files:
src/sys/arch/alpha/alpha: pmap.c

Log Message:
alpha: Use load-acquire/store-release.

Omit needless membar in pmap_kenter_pa while here -- caller must
ensure pmap_kenter_pa on one CPU happens before use of the VA on
another CPU anyway, so there is no benefit to a membar here.

ok thorpej@


To generate a diff of this commit:
cvs rdiff -u -r1.271 -r1.272 src/sys/arch/alpha/alpha/pmap.c

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



CVS commit: src/sys/crypto/aes

2020-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Sep  8 22:48:24 UTC 2020

Modified Files:
src/sys/crypto/aes: aes_selftest.c
src/sys/crypto/aes/arch/x86: aes_sse2_subr.c

Log Message:
aes(9): Fix edge case in bitsliced SSE2 AES-CBC decryption.

Make sure self-tests exercise this edge case.

Discovered by confusion over code inspection of jak's adaptation of
aes_armv8_64.S for big-endian.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/crypto/aes/aes_selftest.c
cvs rdiff -u -r1.3 -r1.4 src/sys/crypto/aes/arch/x86/aes_sse2_subr.c

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



CVS commit: src/sys/crypto/aes/arch/arm

2020-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Sep  8 23:57:13 UTC 2020

Modified Files:
src/sys/crypto/aes/arch/arm: aes_armv8_64.S

Log Message:
aesarmv8: Adapt aes_armv8_64.S to big-endian.

Patch mainly from (and tested by) jakllsch@ with minor tweaks by me.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/crypto/aes/arch/arm/aes_armv8_64.S

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



CVS commit: src/sys/crypto/aes/arch/arm

2020-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Sep  8 23:58:09 UTC 2020

Modified Files:
src/sys/crypto/aes/arch/arm: aes_armv8_64.S

Log Message:
aesarmv8: Reallocate registers to shave off unnecessary MOV.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/crypto/aes/arch/arm/aes_armv8_64.S

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



CVS commit: src/sys/crypto/aes/arch/arm

2020-09-08 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Sep  8 23:57:43 UTC 2020

Modified Files:
src/sys/crypto/aes/arch/arm: aes_armv8_64.S

Log Message:
aesarmv8: Issue two 4-register ld/st, not four 2-register ld/st.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/crypto/aes/arch/arm/aes_armv8_64.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-09-08 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Wed Sep  9 00:35:36 UTC 2020

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

Log Message:
fix bad conditional in iavf_parse_modprop()

found by clang


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/if_iavf.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-09-08 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Wed Sep  9 00:56:17 UTC 2020

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

Log Message:
Added the explain about locking order in iavf(4)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/if_iavf.c

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



CVS commit: src/tools/gcc

2020-09-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Sep  9 04:52:32 UTC 2020

Modified Files:
src/tools/gcc: mknative-gcc

Log Message:
consolidate a bunch of libstdc++ variable collection.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/tools/gcc/mknative-gcc

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



CVS commit: src/doc

2020-09-08 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Wed Sep  9 05:16:01 UTC 2020

Modified Files:
src/doc: CHANGES

Log Message:
Note iavf(4)


To generate a diff of this commit:
cvs rdiff -u -r1.2734 -r1.2735 src/doc/CHANGES

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-09-08 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Wed Sep  9 05:23:26 UTC 2020

Modified Files:
src/sys/dev: DEVNAMES

Log Message:
Add ixl and iavf


To generate a diff of this commit:
cvs rdiff -u -r1.328 -r1.329 src/sys/dev/DEVNAMES

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



CVS commit: src

2020-09-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Sep  9 06:50:33 UTC 2020

Modified Files:
src/distrib/sets/lists/base: mi
src/etc/mtree: NetBSD.dist.base

Log Message:
add new /usr/include/g++/pstl for GCC 9.


To generate a diff of this commit:
cvs rdiff -u -r1.1260 -r1.1261 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.223 -r1.224 src/etc/mtree/NetBSD.dist.base

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