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

2020-08-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Aug 14 08:19:26 UTC 2020

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

Log Message:
Whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/aarch64/aarch64/pmap.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/sysinst

2020-08-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 14 08:46:54 UTC 2020

Modified Files:
src/usr.sbin/sysinst: label.c

Log Message:
PR 55572: avoid crash when answering the mount point prompt for a previously
empty mount point with an emptry sting.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sysinst/label.c

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



CVS commit: src/sys

2020-08-14 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Fri Aug 14 09:06:15 UTC 2020

Modified Files:
src/sys/miscfs/genfs: genfs_io.c
src/sys/uvm: uvm_extern.h uvm_object.c uvm_object.h uvm_page.c
uvm_page_status.c uvm_pager.c uvm_vnode.c

Log Message:
centralize calls from UVM to radixtree into a few functions.
in those functions, assert that the object lock is held in
the correct mode.


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/miscfs/genfs/genfs_io.c
cvs rdiff -u -r1.230 -r1.231 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.23 -r1.24 src/sys/uvm/uvm_object.c
cvs rdiff -u -r1.38 -r1.39 src/sys/uvm/uvm_object.h
cvs rdiff -u -r1.244 -r1.245 src/sys/uvm/uvm_page.c
cvs rdiff -u -r1.5 -r1.6 src/sys/uvm/uvm_page_status.c
cvs rdiff -u -r1.128 -r1.129 src/sys/uvm/uvm_pager.c
cvs rdiff -u -r1.115 -r1.116 src/sys/uvm/uvm_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/dev/ic

2020-08-14 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Fri Aug 14 09:26:40 UTC 2020

Modified Files:
src/sys/dev/ic: icp.c

Log Message:
restore the initialization of icp->icp_ccbs that I removed by mistake.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/ic/icp.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/ic

2020-08-14 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Fri Aug 14 09:28:29 UTC 2020

Modified Files:
src/sys/dev/ic: ld_icp.c

Log Message:
fix a bit that I missed in the device_t/softc split 8 years ago.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ic/ld_icp.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/vme

2020-08-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 14 10:31:40 UTC 2020

Modified Files:
src/sys/dev/vme: if_ie_vme.c

Log Message:
Adapt to new proplib api


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/vme/if_ie_vme.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/sparc/sparc

2020-08-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 14 10:34:22 UTC 2020

Modified Files:
src/sys/arch/sparc/sparc: autoconf.c

Log Message:
Adapt to new proplib api


To generate a diff of this commit:
cvs rdiff -u -r1.260 -r1.261 src/sys/arch/sparc/sparc/autoconf.c

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



CVS commit: [netbsd-9] src/external/gpl3/gcc

2020-08-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 14 10:45:49 UTC 2020

Modified Files:
src/external/gpl3/gcc/dist [netbsd-9]: ChangeLog LAST_UPDATED MD5SUMS
NEWS
src/external/gpl3/gcc/dist/config [netbsd-9]: ChangeLog
src/external/gpl3/gcc/dist/contrib [netbsd-9]: ChangeLog test_summary
src/external/gpl3/gcc/dist/contrib/header-tools [netbsd-9]: ChangeLog
src/external/gpl3/gcc/dist/contrib/reghunt [netbsd-9]: ChangeLog
src/external/gpl3/gcc/dist/contrib/regression [netbsd-9]: ChangeLog
src/external/gpl3/gcc/dist/fixincludes [netbsd-9]: ChangeLog fixincl.x
inclhack.def
src/external/gpl3/gcc/dist/fixincludes/tests/base/architecture/ppc 
[netbsd-9]:
math.h
src/external/gpl3/gcc/dist/gcc [netbsd-9]: BASE-VER ChangeLog DATESTAMP
builtins.c calls.c cfgcleanup.c cfghooks.c cfghooks.h cfgloop.h
cfgloopmanip.c cfgrtl.c combine.c config.gcc convert.c dce.c
df-core.c dse.c dwarf2out.c except.c explow.c expmed.c expr.c
final.c fold-const.c function.c gcse.c gengtype-lex.c ggc-page.c
gimple-fold.c gimple-pretty-print.c gimple-ssa-sprintf.c
gimple-ssa-strength-reduction.c gimple.c gimple.h gimplify.c
graphite-scop-detection.c input.c internal-fn.c internal-fn.h
ipa-cp.c ipa-icf-gimple.c ipa-inline.c ipa-prop.c ipa-pure-const.c
ipa-reference.c ipa-utils.c ipa-utils.h ira.c loop-unroll.c
lra-constraints.c lra.c lto-streamer-in.c lto-streamer-out.c
lto-streamer.h lto-wrapper.c match.pd omp-expand.c omp-low.c
omp-simd-clone.c optabs.c optc-save-gen.awk opth-gen.awk
opts-common.c opts-global.c opts.c resource.c rtl.h rtlanal.c
store-motion.c symtab.c toplev.c tree-cfg.c tree-complex.c
tree-core.h tree-data-ref.c tree-data-ref.h tree-inline.c
tree-inline.h tree-loop-distribution.c tree-outof-ssa.c
tree-scalar-evolution.c tree-sra.c tree-ssa-copy.c tree-ssa-dom.c
tree-ssa-forwprop.c tree-ssa-loop-ch.c tree-ssa-loop-ivcanon.c
tree-ssa-loop-ivopts.c tree-ssa-loop-split.c tree-ssa-math-opts.c
tree-ssa-phiopt.c tree-ssa-phiprop.c tree-ssa-pre.c
tree-ssa-reassoc.c tree-ssa-sccvn.c tree-ssa-sccvn.h
tree-ssa-sink.c tree-ssa-strlen.c tree-ssa-structalias.c
tree-ssanames.c tree-streamer-in.c tree-streamer-out.c
tree-vect-data-refs.c tree-vect-slp.c tree-vect-stmts.c tree-vrp.c
tree.c tree.h valtrack.c varasm.c xcoffout.c xcoffout.h
src/external/gpl3/gcc/dist/gcc/brig [netbsd-9]: ChangeLog
src/external/gpl3/gcc/dist/gcc/c [netbsd-9]: ChangeLog c-decl.c
c-parser.c c-tree.h c-typeck.c
src/external/gpl3/gcc/dist/gcc/c-family [netbsd-9]: ChangeLog
c-ada-spec.c c-common.c c-lex.c c-omp.c
src/external/gpl3/gcc/dist/gcc/config [netbsd-9]: darwin-c.c
darwin-driver.c darwin-protos.h darwin.c darwin.h darwin.opt
darwin10.h darwin9.h
src/external/gpl3/gcc/dist/gcc/config/aarch64 [netbsd-9]: aarch64-c.c
aarch64.md cortex-a57-fma-steering.c iterators.md
src/external/gpl3/gcc/dist/gcc/config/alpha [netbsd-9]: alpha.c
src/external/gpl3/gcc/dist/gcc/config/arm [netbsd-9]: arm.c arm.h
arm.md constraints.md neon.md t-rtems
src/external/gpl3/gcc/dist/gcc/config/avr [netbsd-9]: avr.c
src/external/gpl3/gcc/dist/gcc/config/i386 [netbsd-9]: avx2intrin.h
avxintrin.h cpuid.h darwin.h darwin64.h emmintrin.h
i386-builtin.def i386.c i386.h i386.md sse.md t-darwin t-darwin64
src/external/gpl3/gcc/dist/gcc/config/nvptx [netbsd-9]: nvptx.c
src/external/gpl3/gcc/dist/gcc/config/pa [netbsd-9]: pa.c pa.md
src/external/gpl3/gcc/dist/gcc/config/rs6000 [netbsd-9]: altivec.h
altivec.md crypto.md darwin.h darwin.md darwin64.h darwin7.h
rs6000-builtin.def rs6000-c.c rs6000.c rs6000.md t-darwin64
t-darwin8 t-linux vsx.md
src/external/gpl3/gcc/dist/gcc/config/s390 [netbsd-9]:
s390-builtins.def s390.c s390.md vector.md vx-builtins.md
src/external/gpl3/gcc/dist/gcc/config/sh [netbsd-9]: sh.c sh.h sh.md
src/external/gpl3/gcc/dist/gcc/config/sparc [netbsd-9]: sparc.c
sparc.md
src/external/gpl3/gcc/dist/gcc/config/xtensa [netbsd-9]: xtensa.c
src/external/gpl3/gcc/dist/gcc/cp [netbsd-9]: ChangeLog call.c class.c
config-lang.in constexpr.c cp-tree.h decl.c decl2.c init.c lambda.c
optimize.c parser.c pt.c semantics.c typeck.c
vtable-class-hierarchy.c
src/external/gpl3/gcc/dist/gcc/doc [netbsd-9]: cpp.1 cpp.info
cppinternals.info extend.texi fsf-funding.7 g++.1 gcc.1 gcc.info
gccinstall.info gccint.info gcov-dump.1 

CVS commit: [netbsd-9] src

2020-08-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 14 11:02:42 UTC 2020

Modified Files:
src/share/mk [netbsd-9]: bsd.own.mk
src/tools/gcc [netbsd-9]: Makefile gcc-version.mk mknative-gcc

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1049):

tools/gcc/mknative-gcc: revision 1.104
tools/gcc/mknative-gcc: revision 1.105
tools/gcc/gcc-version.mk: revision 1.19
share/mk/bsd.own.mk: revision 1.1203
tools/gcc/Makefile: revision 1.98
tools/gcc/mknative-gcc.old: revision 1.7
tools/gcc/mknative-gcc.old: revision 1.8

First pass at mknative for GCC 7.5.0


To generate a diff of this commit:
cvs rdiff -u -r1.1149.2.3 -r1.1149.2.4 src/share/mk/bsd.own.mk
cvs rdiff -u -r1.93 -r1.93.2.1 src/tools/gcc/Makefile
cvs rdiff -u -r1.16 -r1.16.2.1 src/tools/gcc/gcc-version.mk
cvs rdiff -u -r1.101 -r1.101.2.1 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: [netbsd-9] src/doc

2020-08-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 14 11:05:17 UTC 2020

Modified Files:
src/doc [netbsd-9]: CHANGES-9.1

Log Message:
Ticket #1049


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.94 -r1.1.2.95 src/doc/CHANGES-9.1

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



CVS commit: src/usr.bin/base64

2020-08-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Aug 14 13:40:26 UTC 2020

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

Log Message:
Use fout, fin (Mustafa Dogan)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/base64/base64.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/sparc/sparc

2020-08-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 14 13:45:44 UTC 2020

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

Log Message:
PR port-sparc/55573: remove kernel message about disabled coprocessor
instructions - it is triggered by userland trying to detect availability
of sparcv9 VIS instructions.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/arch/sparc/sparc/trap.c

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



CVS commit: src/external/bsd/libarchive/dist/libarchive

2020-08-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Aug 14 14:42:45 UTC 2020

Modified Files:
src/external/bsd/libarchive/dist/libarchive: archive_write_disk_posix.c

Log Message:
PR/55568: Andreas Gustafsson: Set the error when failing to create a temp file.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/bsd/libarchive/dist/libarchive/archive_write_disk_posix.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

2020-08-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Aug 14 16:18:37 UTC 2020

Modified Files:
src/sys/arch/arm/arm: arm_machdep.c
src/sys/arch/arm/arm32: cpuswitch.S db_machdep.c genassym.cf
src/sys/arch/arm/include: cpu.h locore.h proc.h
src/sys/arch/arm/include/arm32: frame.h
src/sys/arch/evbarm/conf: std.generic

Log Message:
Mirror the changes to aarch64 and

- Switch to TPIDRPRW_IS_CURLWP, because curlwp is accessed much more often
  by MI code.  It also makes curlwp preemption safe,

- Make ASTs operate per-LWP rather than per-CPU, otherwise sometimes LWPs
  can see spurious ASTs (which doesn't cause a problem, it just means some
  time may be wasted).

- Make sure ASTs are always set on the same CPU as the target LWP, and
  delivered via IPI if posted from a remote CPU so that they are resolved
  quickly.

- Add some cache line padding to struct cpu_info.

- Add a memory barrier in a couple of places where ci_curlwp is set.  This
  is needed whenever an LWP that is resuming on the CPU could hold an
  adaptive mutex.  The barrier needs to drain the CPU's store buffer, so
  that the update to ci_curlwp becomes globally visible before the LWP can
  resume and call mutex_exit().


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/arch/arm/arm/arm_machdep.c
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/arm/arm32/cpuswitch.S
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/arm/arm32/db_machdep.c
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/arm/arm32/genassym.cf
cvs rdiff -u -r1.111 -r1.112 src/sys/arch/arm/include/cpu.h
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/include/locore.h
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arm/include/proc.h
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/arm/include/arm32/frame.h
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbarm/conf/std.generic

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



CVS commit: src/sys/arch/arc

2020-08-14 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Aug 14 16:53:06 UTC 2020

Modified Files:
src/sys/arch/arc/arc: arcbios.c
src/sys/arch/arc/conf: files.arc
Added Files:
src/sys/arch/arc/arc: arcbios_stubs.S

Log Message:
Fix build by splitting large amount of inline assembling into a seperate
.S file.  Same stub (/trampoline) code before and after this change.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/arc/arc/arcbios.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/arc/arc/arcbios_stubs.S
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/arc/conf/files.arc

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



CVS commit: src/usr.sbin/fstyp

2020-08-14 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Fri Aug 14 18:35:57 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer2.c

Log Message:
fstyp: Fix incorrect pfs_type test for HAMMER2 inode

taken-from: DragonFly BSD


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/fstyp/hammer2.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-08-14 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Sat Aug 15 01:27:22 UTC 2020

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

Log Message:
add a __diagused to fix non-DIAGNOSTIC kernel


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

2020-08-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Aug 15 01:49:07 UTC 2020

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

Log Message:
make(1): fix archive test

Even though it is commented out in this Makefile, it is still run by
atf, on purpose.  This test is broken on FreeBSD, but on NetBSD it
should still be run.

Without removing the archive first, it could be left over from a
previous test failure and thus be newer than all its members, leading to
${.OODATE} being empty.


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

2020-08-14 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Aug 15 01:50:54 UTC 2020

Modified Files:
src/tests/usr.bin/make: t_make.sh

Log Message:
make(1): mark tests impsrc and phony-end as no longer failing

These tests have been adjusted to demonstrate the current behavior,
mentioning the expected behavior in comments.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/tests/usr.bin/make/t_make.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-08-14 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Aug 15 04:27:28 UTC 2020

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

Log Message:
Fix value for SCE/SWE instructions.
Problem noticed by mrg@.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/mips/include/mips_opcode.h

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



CVS commit: src/etc/etc.evbmips

2020-08-14 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Aug 15 05:03:06 UTC 2020

Modified Files:
src/etc/etc.evbmips: Makefile.inc

Log Message:
Remove a misleading space in a ".elif".


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/etc/etc.evbmips/Makefile.inc

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-08-14 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Aug 15 05:41:57 UTC 2020

Modified Files:
src/sys/arch/mips: README.models

Log Message:
there was no MIPS{32,64} release 4.

XXX: missing lots and lots of evbmips CPUs.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/README.models

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