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

2020-07-27 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Mon Jul 27 07:32:48 UTC 2020

Modified Files:
src/sys/arch/aarch64/aarch64: trap.c

Log Message:
fix build error. need cast.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/aarch64/aarch64/trap.c

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



CVS commit: src/tests/sbin

2020-07-27 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon Jul 27 07:36:19 UTC 2020

Modified Files:
src/tests/sbin/ifconfig: t_random_garbage.sh
src/tests/sbin/sysctl: t_random_garbage.sh

Log Message:
Use the new "run_unsafe" atf_config_get() option also with a couple of other
tests that are known to be unsafe.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/sbin/ifconfig/t_random_garbage.sh
cvs rdiff -u -r1.3 -r1.4 src/tests/sbin/sysctl/t_random_garbage.sh

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-07-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jul 27 08:25:28 UTC 2020

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

Log Message:
Fix typo _MODULAR -> _MODULE.  Hopefully this fixes the builds.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 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/share/mk

2020-07-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jul 27 08:26:09 UTC 2020

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

Log Message:
Don't define _LKM. LKMs are dead. Long live modules.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/share/mk/bsd.kmodule.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/evbarm/include

2020-07-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jul 27 10:37:58 UTC 2020

Modified Files:
src/sys/arch/evbarm/include: intr.h

Log Message:
Don't remove the _LKM #ifdefs, but do s/_LKM/_MODULE/


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/evbarm/include/intr.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/include

2020-07-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jul 27 10:59:11 UTC 2020

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

Log Message:
s/MODULE/_MODULE/

spotted by chuq@


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/mips/include/cache.h

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-07-27 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Jul 27 11:12:56 UTC 2020

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

Log Message:
more attribution


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/wwanc.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

2020-07-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jul 27 12:32:54 UTC 2020

Modified Files:
src/sys/arch/hpcarm/include: intr.h
src/sys/arch/iyonix/include: intr.h
src/sys/arch/zaurus/include: intr.h

Log Message:
Don't remove the _LKM #ifdefs, but do s/_LKM/_MODULE/


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/hpcarm/include/intr.h
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/iyonix/include/intr.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/zaurus/include/intr.h

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



CVS commit: src/sys

2020-07-27 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Mon Jul 27 14:06:58 UTC 2020

Modified Files:
src/sys/netinet: ip6.h
src/sys/netinet6: ip6_input.c

Log Message:
ip6: Remove __packed attribute from ip6 structures

They should naturally align.
Add compile time assertations to ip6_input.c to prove this.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/netinet/ip6.h
cvs rdiff -u -r1.217 -r1.218 src/sys/netinet6/ip6_input.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-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 14:09:00 UTC 2020

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

Log Message:
Nix trailing whitespace.

Helpful hint:

(setq show-trailing-whitespace t)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/xmm7360.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-07-27 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Mon Jul 27 14:17:47 UTC 2020

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

Log Message:
add reference to net/py-xmm7360 for the network initialization script


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/wwanc.4

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



CVS commit: src/sys

2020-07-27 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Mon Jul 27 14:52:55 UTC 2020

Modified Files:
src/sys/netinet: icmp6.h
src/sys/netinet6: icmp6.c

Log Message:
icmp6: Remove __packed attribute from icmp6 structures

They should naturally align.
Add compile time assertations to icmp6.c to prove this.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/netinet/icmp6.h
cvs rdiff -u -r1.245 -r1.246 src/sys/netinet6/icmp6.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/scsipi

2020-07-27 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Mon Jul 27 15:41:03 UTC 2020

Modified Files:
src/sys/dev/scsipi: if_se.c

Log Message:
Improve the workqueue and callout handling.  Prompted by riastradh@.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/dev/scsipi/if_se.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/pic

2020-07-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Jul 27 16:26:51 UTC 2020

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

Log Message:
Trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/arm/pic/pic.c

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



CVS commit: src/tests/sbin/ifconfig

2020-07-27 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Mon Jul 27 16:57:45 UTC 2020

Modified Files:
src/tests/sbin/ifconfig: t_repeated_link_addr.sh

Log Message:
Skip the repeated_link_addr test by default as it causes the
evbarm-aarch64 testbed to hang (PR port-evbarm/55521), and will not be
safe to run by default even after that bug is fixed, for similar
reasons as t_repeated_updown.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/sbin/ifconfig/t_repeated_link_addr.sh

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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 17:41:09 UTC 2020

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

Log Message:
make(1): document API of Var_Value


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

2020-07-27 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Jul 27 18:36:23 UTC 2020

Modified Files:
src/sys/arch/arm/cortex: gic.c

Log Message:
Remove CPU ID test in armgic_match. Perfectly normal to have GIC in
non-Cortex cores.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/arm/cortex/gic.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/acpi

2020-07-27 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Jul 27 18:38:10 UTC 2020

Modified Files:
src/sys/arch/arm/acpi: gic_acpi.c

Log Message:
Skip v2m probe if armgic fails to attach


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

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



CVS commit: src

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 18:51:03 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
Added Files:
src/usr.bin/make/unit-tests: archive.exp archive.mk

Log Message:
make(1): add very basic test for archive handling

The whole code in arch.c had been uncovered by tests before.

The code coverage shows that neither the archive name nor the member
contain any $, even though archive.mk looks like it.  It could be
necessary to place the variable assignments below the dependency line,
to force late evaluation.


To generate a diff of this commit:
cvs rdiff -u -r1.878 -r1.879 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/archive.exp \
src/usr.bin/make/unit-tests/archive.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/make/unit-tests

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 18:51:56 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: Makefile

Log Message:
make(1): add very basic test for archive handling

The whole code in arch.c had been uncovered by tests before.

The code coverage shows that neither the archive name nor the member
contain any $, even though archive.mk looks like it.  It could be
necessary to place the variable assignments below the dependency line,
to force late evaluation.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/usr.bin/make/unit-tests/Makefile

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/unit-tests

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 18:57:42 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: envfirst.mk

Log Message:
make(1): add test for unsetting an environment variable in -e mode


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/envfirst.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/make

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 18:59:56 UTC 2020

Added Files:
src/usr.bin/make: .cvsignore

Log Message:
make(1): ignore gcov files for CVS


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/.cvsignore

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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 19:06:45 UTC 2020

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

Log Message:
make(1): improve const-correctness in archive handling

The return value of Var_Value must not be modified.  Ideally it would be
declared as const char *, but that still takes a while, especially since
much of the make code is not yet covered by the unit tests.

The variable cp had to be changed to const char * as well, and while here
was split up into one variable per actual use case.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/usr.bin/make/arch.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/unit-tests

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 19:23:12 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: Makefile

Log Message:
make(1): sort flags for test cases alphabetically


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/usr.bin/make/unit-tests/Makefile

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/unit-tests

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 19:45:56 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: Makefile export-all.mk export.exp
export.mk unexport-env.mk unexport.mk

Log Message:
make(1): prepare test for .export to show all exported variables

Currently the unit tests don't cover exporting of local variables like
.TARGET or @.  To see the effects, all exported variables must be listed
by the tests.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/export-all.mk
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/export.exp \
src/usr.bin/make/unit-tests/export.mk \
src/usr.bin/make/unit-tests/unexport-env.mk \
src/usr.bin/make/unit-tests/unexport.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/make/unit-tests

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 19:53:37 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: export.exp export.mk

Log Message:
make(1): add test for exporting single-character variables


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/export.exp \
src/usr.bin/make/unit-tests/export.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/make

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 19:59:59 UTC 2020

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

Log Message:
make(1): remove unnecessary argument validation


To generate a diff of this commit:
cvs rdiff -u -r1.337 -r1.338 src/usr.bin/make/var.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-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:44:30 UTC 2020

Modified Files:
src/sys/crypto/aes: aes_ccm.c aes_ccm.h

Log Message:
Gather auth[16] and ctr[16] into one authctr[32].

Should appease clang.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/crypto/aes/aes_ccm.c
cvs rdiff -u -r1.1 -r1.2 src/sys/crypto/aes/aes_ccm.h

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



CVS commit: src/sys/crypto

2020-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:45:15 UTC 2020

Modified Files:
src/sys/crypto/aes: aes_impl.c
src/sys/crypto/chacha: chacha_impl.c

Log Message:
New sysctl subtree kern.crypto.

kern.crypto.aes.selected (formerly hw.aes_impl)
kern.crypto.chacha.selected (formerly hw.chacha_impl)

XXX Should maybe deduplicate creation of kern.crypto.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/crypto/aes/aes_impl.c
cvs rdiff -u -r1.1 -r1.2 src/sys/crypto/chacha/chacha_impl.c

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



CVS commit: src

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 20:46:18 UTC 2020

Modified Files:
src/distrib/sets/lists/tests: mi
src/usr.bin/make/unit-tests: Makefile
Added Files:
src/usr.bin/make/unit-tests: directives.exp directives.mk

Log Message:
make(1): add tests for parsing directives like .if and .info


To generate a diff of this commit:
cvs rdiff -u -r1.879 -r1.880 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.69 -r1.70 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/directives.exp \
src/usr.bin/make/unit-tests/directives.mk

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

2020-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:48:18 UTC 2020

Modified Files:
src/sys/crypto/chacha/arch/arm: chacha_neon.c
src/sys/crypto/chacha/arch/x86: chacha_sse2.c

Log Message:
Reduce some duplication.

Shouldn't substantively hurt performance -- the comparison that has
been moved into the loop was essentially the former loop condition --
and may improve performance by reducing code size since there's only
one inline call to chacha_permute instead of two.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/crypto/chacha/arch/arm/chacha_neon.c
cvs rdiff -u -r1.1 -r1.2 src/sys/crypto/chacha/arch/x86/chacha_sse2.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

2020-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:49:10 UTC 2020

Modified Files:
src/sys/crypto/chacha: chacha_impl.c

Log Message:
Simplify ChaCha selection and allow it to be used much earlier.

This way we can use it for cprng_fast early on.  ChaCha is easy
because there's no data formats that must be preserved from call to
call but vary from implementation to implementation -- we could even
make it a sysctl knob to dynamically select it with negligible cost.

(In contrast, different AES implementations use different expanded
key formats which must be preserved from aes_setenckey to aes_enc,
for example, which means a considerably greater burden on dynamic
selection that's not really worth it.)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/crypto/chacha/chacha_impl.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/conf

2020-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:49:46 UTC 2020

Modified Files:
src/sys/arch/arm/conf: files.arm

Log Message:
Fix outdated comment.


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/arch/arm/conf/files.arm

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-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:50:25 UTC 2020

Modified Files:
src/sys/crypto/chacha/arch/arm: chacha_neon_64.S

Log Message:
Use  rather than copying things from it here.

Vestige from userland build on netbsd-9 during development.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/crypto/chacha/arch/arm/chacha_neon_64.S

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



CVS commit: src

2020-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:51:29 UTC 2020

Modified Files:
src/sys/arch/arm/conf: files.arm
src/sys/arch/arm/vfp: vfp_init.c
src/sys/crypto/chacha/arch/arm: chacha_neon.c chacha_neon.h
files.chacha_arm
src/tests/sys/crypto/chacha: Makefile t_chacha.c

Log Message:
Enable ChaCha NEON code on armv7 too.

The 4-blocks-at-a-time assembly helper is disabled for now; adapting
it to armv7 is going to be a little annoying with only 16 128-bit
vector registers.

(Should also do a fifth block in the integer registers for 320 bytes
at a time.)


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 src/sys/arch/arm/conf/files.arm
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/arm/vfp/vfp_init.c
cvs rdiff -u -r1.2 -r1.3 src/sys/crypto/chacha/arch/arm/chacha_neon.c
cvs rdiff -u -r1.1 -r1.2 src/sys/crypto/chacha/arch/arm/chacha_neon.h \
src/sys/crypto/chacha/arch/arm/files.chacha_arm
cvs rdiff -u -r1.1 -r1.2 src/tests/sys/crypto/chacha/Makefile \
src/tests/sys/crypto/chacha/t_chacha.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-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:52:11 UTC 2020

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

Log Message:
PIC for aes_neon_32.S.

Without this, tests/sys/crypto/aes/t_aes fails to start on armv7
because of R_ARM_ABS32 relocations in a nonwritable text segment for
a PIE -- which atf quietly ignores in the final report!  Yikes.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/crypto/aes/arch/arm/aes_neon_32.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

2020-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:53:23 UTC 2020

Modified Files:
src/sys/crypto/aes/arch/arm: aes_armv8_64.S aes_neon_32.S
src/sys/crypto/aes/arch/x86: aes_ni_64.S
src/sys/crypto/chacha/arch/arm: chacha_neon_64.S

Log Message:
Align critical-path loops in AES and ChaCha.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/crypto/aes/arch/arm/aes_armv8_64.S
cvs rdiff -u -r1.2 -r1.3 src/sys/crypto/aes/arch/arm/aes_neon_32.S
cvs rdiff -u -r1.4 -r1.5 src/sys/crypto/aes/arch/x86/aes_ni_64.S
cvs rdiff -u -r1.2 -r1.3 src/sys/crypto/chacha/arch/arm/chacha_neon_64.S

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



CVS commit: src/sbin/gpt

2020-07-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jul 27 20:54:18 UTC 2020

Modified Files:
src/sbin/gpt: gpt.8

Log Message:
catch up with source rename of fbsd-zfs -> zfs


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sbin/gpt/gpt.8

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-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:54:12 UTC 2020

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

Log Message:
Issue aese/aesmc and aesd/aesimc in pairs.

Advised by the aarch64 optimization guide; increases cgd throughput
by about 10%.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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/usr.bin/make/unit-tests

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 20:55:59 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: include-main.mk

Log Message:
make(1): document where to fix the .INCLUDEDFROM bug


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/include-main.mk

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



CVS commit: src/sys/crypto

2020-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:57:23 UTC 2020

Modified Files:
src/sys/crypto/aes/arch/arm: aes_armv8_64.S aes_neon_32.S
src/sys/crypto/aes/arch/x86: aes_ni_64.S
src/sys/crypto/chacha/arch/arm: chacha_neon_64.S

Log Message:
Add RCSIDs to the AES and ChaCha .S sources.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/crypto/aes/arch/arm/aes_armv8_64.S
cvs rdiff -u -r1.3 -r1.4 src/sys/crypto/aes/arch/arm/aes_neon_32.S
cvs rdiff -u -r1.5 -r1.6 src/sys/crypto/aes/arch/x86/aes_ni_64.S
cvs rdiff -u -r1.3 -r1.4 src/sys/crypto/chacha/arch/arm/chacha_neon_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/chacha/arch/arm

2020-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:58:07 UTC 2020

Modified Files:
src/sys/crypto/chacha/arch/arm: arm_neon.h chacha_neon.c

Log Message:
Take advantage of REV32 and TBL for 16-bit and 8-bit rotations.

However, disable use of (V)TBL on armv7/aarch32 for now, because for
some reason GCC spills things to the stack despite having plenty of
free registers, which hurts performance more than it helps at least
on ARM Cortex-A8.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/crypto/chacha/arch/arm/arm_neon.h
cvs rdiff -u -r1.3 -r1.4 src/sys/crypto/chacha/arch/arm/chacha_neon.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-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:58:56 UTC 2020

Modified Files:
src/sys/crypto/chacha/arch/arm: arm_neon.h chacha_neon.c

Log Message:
Note that VSRI seems to hurt here.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/crypto/chacha/arch/arm/arm_neon.h
cvs rdiff -u -r1.4 -r1.5 src/sys/crypto/chacha/arch/arm/chacha_neon.c

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



CVS commit: src/tests/sys/crypto/chacha

2020-07-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 27 20:59:53 UTC 2020

Modified Files:
src/tests/sys/crypto/chacha: t_chacha.c

Log Message:
It's __ARM_NEON, not __ARM_NEON__, sometimes, apparently.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/sys/crypto/chacha/t_chacha.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 21:08:41 UTC 2020

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

Log Message:
make(1): use shorter variable name for parsing :D and :U


To generate a diff of this commit:
cvs rdiff -u -r1.338 -r1.339 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 21:54:25 UTC 2020

Modified Files:
src/usr.bin/make: var.c
src/usr.bin/make/unit-tests: modmisc.exp modmisc.mk

Log Message:
make(1): replace macros with functions

Having the hidden parameter st->endc in the macro made it unnecessarily
difficult to understand the code.


To generate a diff of this commit:
cvs rdiff -u -r1.339 -r1.340 src/usr.bin/make/var.c
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/make/unit-tests/modmisc.exp
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/make/unit-tests/modmisc.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/make

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 22:02:26 UTC 2020

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

Log Message:
make(1): move modifier character out of ApplyModifiersState

It is only used in the outer part of the loop to apply the modifiers.


To generate a diff of this commit:
cvs rdiff -u -r1.340 -r1.341 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 22:21:29 UTC 2020

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

Log Message:
make(1): remove unnecessary variable assignment

It is not the job of an ApplyModifier function to directly manipulate the
final result of the ApplyModifiers function.  In fact, the resulting
pointer was overwritten unconditionally, in such an obvious way that the
compiler could have detected this.  GCC 5 didn't though, which reduces
the code size a bit.


To generate a diff of this commit:
cvs rdiff -u -r1.341 -r1.342 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 22:24:04 UTC 2020

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

Log Message:
make(1): remove unnecessary field from ApplyModifiersState


To generate a diff of this commit:
cvs rdiff -u -r1.342 -r1.343 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 22:30:00 UTC 2020

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

Log Message:
make(1): remove unused lengthPtr and freePtr from ApplyModifiersState


To generate a diff of this commit:
cvs rdiff -u -r1.343 -r1.344 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 22:50:01 UTC 2020

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

Log Message:
make(1): replace comment in ApplyModifier_Match with code


To generate a diff of this commit:
cvs rdiff -u -r1.344 -r1.345 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 22:59:49 UTC 2020

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

Log Message:
make(1): in ModifyWord_Match, use different variables

Using the same registers or memory locations for different variables is
the job of the register allocator, not the programmer.  For humans, that
practice is rather confusing.


To generate a diff of this commit:
cvs rdiff -u -r1.345 -r1.346 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 23:04:18 UTC 2020

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

Log Message:
make(1): in ApplyModifier_Match, use short local variable name


To generate a diff of this commit:
cvs rdiff -u -r1.346 -r1.347 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 23:24:55 UTC 2020

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

Log Message:
make(1): rename ApplyModifiersState.cp to next

The name "next" is more descriptive than a mere "cp".  It's easy to look
up the type of the variable, but not so easy to guess the purpose of the
variable, therefore the new name concentrates on the purpose.


To generate a diff of this commit:
cvs rdiff -u -r1.347 -r1.348 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 23:37:38 UTC 2020

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

Log Message:
make(1): rename ApplyModifiersState.nstr and newStr

The old names were too easy to confuse.  In Var_Parse, nstr is indeed
used for the "new string", but that was misleading in ApplyModifiers,
especially since there was another variable called newStr.

The new variable names focus on the purpose of the variables, not on
their data types.


To generate a diff of this commit:
cvs rdiff -u -r1.348 -r1.349 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Mon Jul 27 23:56:15 UTC 2020

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

Log Message:
make(1): document and reorder ApplyModifiersState


To generate a diff of this commit:
cvs rdiff -u -r1.349 -r1.350 src/usr.bin/make/var.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-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jul 28 00:01:13 UTC 2020

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

Log Message:
make(1): remove redundant ApplyModifiersState.termc


To generate a diff of this commit:
cvs rdiff -u -r1.350 -r1.351 src/usr.bin/make/var.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/unit-tests

2020-07-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jul 28 00:13:29 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: moderrs.exp moderrs.mk

Log Message:
make(1): add test for modifier part with unbalanced braces


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/unit-tests/moderrs.exp
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/moderrs.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

2020-07-27 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Tue Jul 28 00:35:38 UTC 2020

Modified Files:
src/sys/arch/evbmips/cavium: machdep.c
src/sys/arch/mips/cavium: octeon_cpunode.c octeonvar.h
src/sys/arch/mips/mips: locore_octeon.S

Log Message:
Change cpus_booted back to a simple variable instead of a kcpuset.
octeon_cpu_spinup() was trying to set CPU status immediately on kernel
startup _well_ before the kcpuset was initialised.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbmips/cavium/machdep.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/mips/cavium/octeon_cpunode.c
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/mips/cavium/octeonvar.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/mips/mips/locore_octeon.S

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/unit-tests

2020-07-27 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Tue Jul 28 00:48:00 UTC 2020

Modified Files:
src/usr.bin/make/unit-tests: Makefile

Log Message:
Use -r for export.mk to minimize interference


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/usr.bin/make/unit-tests/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/sh3/include

2020-07-27 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Jul 28 01:40:43 UTC 2020

Modified Files:
src/sys/arch/sh3/include: cputypes.h

Log Message:
_LKM -> _MODULE


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/sh3/include/cputypes.h

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