CVS commit: src/sys/dev/nand

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 08:02:19 UTC 2019

Modified Files:
src/sys/dev/nand: nandemulator.c

Log Message:
add fallthru comments, and a comment this code needs attention


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/nand/nandemulator.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/include

2019-02-05 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Feb  5 08:07:19 UTC 2019

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
 Add new CPUID flags WAITPKG, CLDEMOTE, MOVDIRI, MOVDIR64B and
IA32_CORE_CAPABILITIES from the latest Intel SDM.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/arch/x86/include/specialreg.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/cpuctl/arch

2019-02-05 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Feb  5 08:07:59 UTC 2019

Modified Files:
src/usr.sbin/cpuctl/arch: i386.c

Log Message:
 Add Ice Lake and Tremont from the latest Intel SDM.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 src/usr.sbin/cpuctl/arch/i386.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/ipf/bin

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 08:08:59 UTC 2019

Modified Files:
src/external/bsd/ipf/bin/ipf: Makefile
src/external/bsd/ipf/bin/ipftest: Makefile

Log Message:
apply -O1 for ipf_y.c on m68k and GCC 7.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/ipf/bin/ipf/Makefile
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/ipf/bin/ipftest/Makefile

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



CVS commit: src/sys/conf

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 08:33:25 UTC 2019

Modified Files:
src/sys/conf: Makefile.kern.inc
Added Files:
src/sys/conf: copts.mk

Log Message:
pass -Wno-error=implicit-fallthrough for zlib.c.

XXX: consider using copts.mk for various warning/copt flags passed
in kernel builds currently set via 'makeoptions' in files.* files.
this is suboptimal, as those all get embedded into the kernel with
config_file.h.


To generate a diff of this commit:
cvs rdiff -u -r1.267 -r1.268 src/sys/conf/Makefile.kern.inc
cvs rdiff -u -r0 -r1.1 src/sys/conf/copts.mk

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



CVS commit: src/sys/kern

2019-02-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Feb  5 08:53:18 UTC 2019

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

Log Message:
Correctly handle the NULL path when no compat_10 code is available.

This should address kern/53948 (thanks, kamil@, for the PR and for
testing the fix)


To generate a diff of this commit:
cvs rdiff -u -r1.521 -r1.522 src/sys/kern/vfs_syscalls.c

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



CVS commit: src/external/gpl3/gcc/dist/gcc/c-family

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 08:53:50 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc/c-family: c-cppbuiltin.c

Log Message:
from the new comment:

/*
 * NetBSD/sparc64 long ago defined signed and unsigned fast{8,16,32} to be
 * different to the common sparc64 definitions, and they are not the same
 * size for the same bitsize.  GCC 7 introduced checks that they are the
 * same size below that trigger here.
 *
 * NETBSD_TOOLS/NETBSD_NATIVE is wrong for this, but it will do for now.
 */


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.6 -r1.2 \
src/external/gpl3/gcc/dist/gcc/c-family/c-cppbuiltin.c

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



CVS commit: src/external/gpl3/gcc

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 09:21:05 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libbacktrace/arch/arm: backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/armeb:
backtrace-supported.h
src/external/gpl3/gcc/lib/libgcc/arch/arm: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/armeb: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/arm: defs.mk gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/armeb: defs.mk gcov-iov.h
src/external/gpl3/gcc/lib/libgomp/arch/arm: config.h libgomp_f.h omp.h
src/external/gpl3/gcc/lib/libgomp/arch/armeb: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libobjc/arch/arm: defs.mk
src/external/gpl3/gcc/lib/libobjc/arch/armeb: defs.mk
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm: c++config.h
cxxabi_tweaks.h defs.mk gstdint.h gthr-posix.h gthr-single.h gthr.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb: c++config.h
cxxabi_tweaks.h defs.mk gstdint.h gthr-posix.h gthr-single.h gthr.h
src/external/gpl3/gcc/usr.bin/gcc/arch/arm: auto-host.h bversion.h
configargs.h defs.mk gtyp-input.list insn-modes.h plugin-version.h
tm.h
src/external/gpl3/gcc/usr.bin/gcc/arch/armeb: auto-host.h bversion.h
configargs.h defs.mk gtyp-input.list insn-modes.h plugin-version.h
tm.h
src/external/gpl3/gcc/usr.bin/include/arch: arm.mk armeb.mk
src/external/gpl3/gcc/usr.bin/libcpp/arch/arm: config.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/armeb: config.h
Added Files:
src/external/gpl3/gcc/lib/libgcc/arch/arm: gthr-defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/armeb: gthr-defs.mk
src/external/gpl3/gcc/usr.bin/common-target/arch: arm.mk armeb.mk

Log Message:
mknative-gcc for arm and armeb.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
src/external/gpl3/gcc/lib/libbacktrace/arch/arm/backtrace-supported.h
cvs rdiff -u -r1.5 -r1.6 \
src/external/gpl3/gcc/lib/libbacktrace/arch/armeb/backtrace-supported.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgcc/arch/arm/auto-target.h \
src/external/gpl3/gcc/lib/libgcc/arch/arm/defs.mk
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgcc/arch/arm/gthr-defs.mk
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgcc/arch/armeb/auto-target.h \
src/external/gpl3/gcc/lib/libgcc/arch/armeb/defs.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libgcc/arch/armeb/gthr-defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/arm/defs.mk
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/arm/gcov-iov.h
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/armeb/defs.mk
cvs rdiff -u -r1.12 -r1.13 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/armeb/gcov-iov.h
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/lib/libgomp/arch/arm/config.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgomp/arch/arm/libgomp_f.h
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/lib/libgomp/arch/arm/omp.h
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/lib/libgomp/arch/armeb/config.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgomp/arch/armeb/libgomp_f.h
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/lib/libgomp/arch/armeb/omp.h
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/lib/libobjc/arch/arm/defs.mk
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/lib/libobjc/arch/armeb/defs.mk
cvs rdiff -u -r1.26 -r1.27 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/c++config.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/cxxabi_tweaks.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/gthr-posix.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/gthr-single.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/gthr.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/defs.mk
cvs rdiff -u -r1.17 -r1.18 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/gstdint.h
cvs rdiff -u -r1.26 -r1.27 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/c++config.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/cxxabi_tweaks.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/gthr-posix.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/gthr-single.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/gthr.h
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/defs.mk
cvs rdiff -u -r1.18 -r1.19 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/gstdint.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/common-target/arch/arm.mk \
src/external/gpl3/gcc/usr.bin/common-target/arch/armeb.mk
cvs rdiff -u -r1.11 -r1.12 \

CVS commit: src/sys/dev/raidframe

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 09:28:00 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
fix the previous:

rf_netbsd32 is only relevant on _LP64 as all the structures are
the same for arm32 oabi/eabi compat.

only do it for _LP64 *and* COMAPT_NETBSD32.


To generate a diff of this commit:
cvs rdiff -u -r1.363 -r1.364 src/sys/dev/raidframe/rf_netbsdkintf.c

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



CVS commit: src/sys

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 09:29:20 UTC 2019

Modified Files:
src/sys/conf: copts.mk
src/sys/modules/zlib: Makefile
src/sys/rump/kern/lib/libz: Makefile

Log Message:
be sure to only apply zlib.c's -Wno-error=implicit-fallthrough to GCC 7.
push the setting into the rump and module version too.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/conf/copts.mk
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/zlib/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/kern/lib/libz/Makefile

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



CVS commit: src/sys/kern

2019-02-05 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Feb  5 09:34:38 UTC 2019

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

Log Message:
If the openat_10 hook is present and it returns success, continue with
the rest of the syscall; don't return prematurely, as we'll report
success (return value 0) but won't have set up the fd.


To generate a diff of this commit:
cvs rdiff -u -r1.522 -r1.523 src/sys/kern/vfs_syscalls.c

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



CVS commit: src/sys/dev/raidframe

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 09:45:38 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
remove duplicated line in previously.  noticed by paulg.


To generate a diff of this commit:
cvs rdiff -u -r1.364 -r1.365 src/sys/dev/raidframe/rf_netbsdkintf.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

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Feb  5 09:49:44 UTC 2019

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

Log Message:
Allow dounmount() with file system already suspended.

Remove no longer valid test for layered mounts,
ZFS will unmount snapshots bottom up.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/kern/vfs_mount.c

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



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Feb  5 09:50:18 UTC 2019

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c

Log Message:
zfs_netbsd_reclaim(): validate "z_log" before zil_commit().


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c

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



CVS commit: src

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Feb  5 09:54:36 UTC 2019

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c
zfs_ioctl.c zfs_vfsops.c zfs_vnops.c zfs_znode.c
src/external/cddl/osnet/dist/uts/common/fs/zfs/sys: zfs_ctldir.h
src/sys/modules/zfs: Makefile.zfsmod
Removed Files:
src/external/cddl/osnet/sys/kern: zfs_stub.c

Log Message:
Prepare the implementation of the ZFS control directory ".zfs".

- Move the stub routines from zfs_stub.c to zfs_ctldir.c and
  remove now empty file zfs_stub.c

- Add stub routines for zfsctl_loadvnode() to initialize control
  nodes and zfsctl_snapshot() to retrieve ".zfs/snapshot".

- Add an initial vnode operations vector for control nodes.

- Implement lookup into ".zfs" and lookup ".." from ".zfs/snapshot/".

- Change nodeid of mounted snapshots to the snapshot object id.

- Respect "-u" flag to "zfs rename  ...".


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ctldir.c
cvs rdiff -u -r1.15 -r1.16 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c
cvs rdiff -u -r1.18 -r1.19 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c
cvs rdiff -u -r1.43 -r1.44 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c
cvs rdiff -u -r1.24 -r1.25 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c
cvs rdiff -u -r1.1.1.3 -r1.2 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/zfs_ctldir.h
cvs rdiff -u -r1.2 -r0 src/external/cddl/osnet/sys/kern/zfs_stub.c
cvs rdiff -u -r1.8 -r1.9 src/sys/modules/zfs/Makefile.zfsmod

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



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-02-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Feb  5 09:55:48 UTC 2019

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c

Log Message:
Implement the ZFS control directory ".zfs" and its subdirectory 'snapshot".

Automatically mount snapshots on access of ".zfs/snapshot/".


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ctldir.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/wscons

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 10:04:50 UTC 2019

Modified Files:
src/sys/dev/wscons: wskbd.c

Log Message:
- call update_modifier() explicitly for the scrolling keys up event.


To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/sys/dev/wscons/wskbd.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/comp

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 10:54:14 UTC 2019

Modified Files:
src/distrib/sets/lists/comp: ad.arm

Log Message:
add new gcc7 arm headers: arm_cmse.h and arm_fp16.h


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/distrib/sets/lists/comp/ad.arm

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



CVS commit: src/external/gpl3/gcc

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 11:02:44 UTC 2019

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

Log Message:
arm and armeb are mostly done.  earmv4 kernels build.
(still have earm vs libgcc issue.)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/README.gcc7

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

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 11:11:32 UTC 2019

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

Log Message:
avoid a fallthru checker complaint and make one case like the rest.  NFCI.


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/sys/dev/scsipi/scsipi_base.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

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 11:20:21 UTC 2019

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

Log Message:
fix a >15 year old code rework bug, and add a missing break;.

the code in rev 1.7 looks like it does in this change, but rev 1.8 would
write the I443 AGP_INTEL_AGPCTRL value, and then the other value.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pci/agp_intel.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

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 11:30:07 UTC 2019

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

Log Message:
add missing break; after "100NEW" configuration.
don't also set "133OLD", since the 100NEW cards don't support 133.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pci/siside.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

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 11:33:13 UTC 2019

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

Log Message:
appease the gcc7 fallthru checker.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/mm.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/pkg_install

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 11:37:18 UTC 2019

Modified Files:
src/external/bsd/pkg_install: Makefile.inc

Log Message:
show_version() doesn't return, but fallthru checker doesn't know
and coplains.  disable the error.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/pkg_install/Makefile.inc

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



CVS commit: src/external/gpl3/gcc

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 11:44:19 UTC 2019

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

Log Message:
arm (oabi) works.
ppc64 has tools/gcc build failure.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/README.gcc7

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



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

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 12:01:11 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h

Log Message:
update for GCC 7 - mirror changes in freebsd64.h in recent times.


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

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



CVS commit: src/external/gpl3/gcc

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 12:01:44 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libbacktrace/arch/powerpc64:
backtrace-supported.h
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgomp/arch/powerpc64: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libiberty: defs.mk
src/external/gpl3/gcc/lib/libobjc/arch/powerpc64: defs.mk
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64: c++config.h
cxxabi_tweaks.h defs.mk gstdint.h gthr-posix.h gthr-single.h gthr.h
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64: auto-host.h
bversion.h configargs.h defs.mk gtyp-input.list insn-modes.h
plugin-version.h
src/external/gpl3/gcc/usr.bin/libcpp/arch/powerpc64: config.h
Added Files:
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64: gthr-defs.mk
src/external/gpl3/gcc/usr.bin/common-target/arch: powerpc64.mk

Log Message:
mknative-gcc for GCC 7 and ppc64.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libbacktrace/arch/powerpc64/backtrace-supported.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64/gthr-defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/defs.mk
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgomp/arch/powerpc64/config.h \
src/external/gpl3/gcc/lib/libgomp/arch/powerpc64/libgomp_f.h
cvs rdiff -u -r1.5 -r1.6 \
src/external/gpl3/gcc/lib/libgomp/arch/powerpc64/omp.h
cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gcc/lib/libiberty/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/lib/libobjc/arch/powerpc64/defs.mk
cvs rdiff -u -r1.14 -r1.15 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/c++config.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/cxxabi_tweaks.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr-posix.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr-single.h \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gthr.h
cvs rdiff -u -r1.9 -r1.10 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/defs.mk
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gstdint.h
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/common-target/arch/powerpc64.mk
cvs rdiff -u -r1.10 -r1.11 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h
cvs rdiff -u -r1.7 -r1.8 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/bversion.h \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/plugin-version.h
cvs rdiff -u -r1.16 -r1.17 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/configargs.h
cvs rdiff -u -r1.11 -r1.12 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/defs.mk
cvs rdiff -u -r1.8 -r1.9 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/gtyp-input.list
cvs rdiff -u -r1.2 -r1.3 \
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/insn-modes.h
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/usr.bin/libcpp/arch/powerpc64/config.h

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



CVS commit: src/external/gpl3/gcc

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 12:08:12 UTC 2019

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

Log Message:
update ppc64 status: mknativeg-gcc worked.


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

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



CVS commit: src/external/gpl3/gcc

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 12:42:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libgcc/arch/aarch64: defs.mk
src/external/gpl3/gcc/lib/libiberty: defs.mk
src/external/gpl3/gcc/lib/libobjc/arch/aarch64: defs.mk
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64: defs.mk
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64: configargs.h
Added Files:
src/external/gpl3/gcc/usr.bin/common-target/arch: aarch64.mk

Log Message:
regen mknative-gcc gcc7 and arm64.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/gpl3/gcc/lib/libgcc/arch/aarch64/defs.mk
cvs rdiff -u -r1.19 -r1.20 src/external/gpl3/gcc/lib/libiberty/defs.mk
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/lib/libobjc/arch/aarch64/defs.mk
cvs rdiff -u -r1.5 -r1.6 \
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/defs.mk
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/gcc/usr.bin/common-target/arch/aarch64.mk
cvs rdiff -u -r1.5 -r1.6 \
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/configargs.h

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



CVS commit: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 12:56:43 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common:
sanitizer_linux.cc

Log Message:
provide empty version of Aarch64GetESR() for non-linux arm64.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 \
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc

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



CVS commit: src

2019-02-05 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Tue Feb  5 13:00:03 UTC 2019

Modified Files:
src/distrib/sets/lists/debug: md.amd64
src/distrib/sets/lists/tests: md.amd64
src/tests/lib/libnvmm: Makefile
Added Files:
src/tests/lib/libnvmm: h_io_assist.c h_io_assist_asm.S t_io_assist.sh

Log Message:
Add 12 tests for libnvmm's I/O Assist.


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/distrib/sets/lists/debug/md.amd64
cvs rdiff -u -r1.6 -r1.7 src/distrib/sets/lists/tests/md.amd64
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libnvmm/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libnvmm/h_io_assist.c \
src/tests/lib/libnvmm/h_io_assist_asm.S \
src/tests/lib/libnvmm/t_io_assist.sh

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



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

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 13:02:36 UTC 2019

Modified Files:
src/lib/libc/arch/aarch64/sys: brk.S

Log Message:
use adrp not adr, since the data is not pc-rel.  fixes brk(2).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/arch/aarch64/sys/brk.S

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



CVS commit: src/sys/kern

2019-02-05 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Feb  5 13:50:10 UTC 2019

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

Log Message:
The panic for fopen(NULL, ... is back, fix it

Restore the original behavior before merging the compat refactoring branch.

Now:
 - no compat_10 -> perform pathbuf_copyin() and report EFAULT
 - compat_10 and error -> report error
 - compat_10 and success -> return file descriptor for "."

PR kern/53948


To generate a diff of this commit:
cvs rdiff -u -r1.523 -r1.524 src/sys/kern/vfs_syscalls.c

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



CVS commit: src/lib/libnvmm

2019-02-05 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Tue Feb  5 13:56:32 UTC 2019

Modified Files:
src/lib/libnvmm: libnvmm.3

Log Message:
Sync with reality, and improve.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libnvmm/libnvmm.3

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

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 13:57:25 UTC 2019

Modified Files:
src/distrib/sets/lists/comp: ad.aarch64

Log Message:
add gcc-7 specific header.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/distrib/sets/lists/comp/ad.aarch64

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



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

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 14:01:46 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/gcc/config/aarch64: driver-aarch64.c

Log Message:
re-port host_detect_local_cpu() to netbsd.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/gpl3/gcc/dist/gcc/config/aarch64/driver-aarch64.c

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



CVS commit: src/external/gpl3/gcc

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 14:07:24 UTC 2019

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

Log Message:
- arm64 works
- alpha seems to work in simple testing
- armeb builds
- powerpc64 has ICE building libgcc2.


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

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



CVS commit: src/lib/libnvmm

2019-02-05 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Feb  5 15:03:35 UTC 2019

Modified Files:
src/lib/libnvmm: libnvmm.3

Log Message:
Mark up NULL with Dv. Remove empty line.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libnvmm/libnvmm.3

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



CVS commit: src/tests/lib/libnvmm

2019-02-05 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Tue Feb  5 17:03:10 UTC 2019

Modified Files:
src/tests/lib/libnvmm: h_io_assist.c

Log Message:
Ah, I had warnings disabled, fix the build.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libnvmm/h_io_assist.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/raidframe

2019-02-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Feb  5 17:13:37 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_compat80.c rf_netbsd.h rf_netbsdkintf.c

Log Message:
- Fix the FAIL_DISK handling (it would prolly trash the wrong disk before
  since the request structs are different and the row in the old struct is
  the col in the new one).
- Restructure the way compat modules are loaded so that we only load them
  for the ioctls that need them. Put a comment explaining why...
- Set retcode after loading compat (now that the fail disk passthrough
  hack is gone), so that various ioctls don't always fail.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/raidframe/rf_compat80.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/raidframe/rf_netbsd.h
cvs rdiff -u -r1.365 -r1.366 src/sys/dev/raidframe/rf_netbsdkintf.c

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



CVS commit: src/tests/lib/libc/stdio

2019-02-05 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Tue Feb  5 17:30:19 UTC 2019

Modified Files:
src/tests/lib/libc/stdio: t_fopen.c

Log Message:
Add 2 new tests in t_fopen

Added:
 - fopen_nullptr (without COMPAT_10)
 - fopen_nullptr_compat10 (with COMPAT_10)

PR kern/53948

Reviewed by 


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libc/stdio/t_fopen.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/raidframe

2019-02-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Feb  5 19:42:31 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_compat80.c

Log Message:
use -> instead of .


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/raidframe/rf_compat80.c

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



CVS commit: src/share/doc/smm/18.net

2019-02-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Feb  5 19:53:14 UTC 2019

Modified Files:
src/share/doc/smm/18.net: 6.t

Log Message:
comment out the IFF_TRAILERS stuff that is no longer relevant and add
the missing flags.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/doc/smm/18.net/6.t

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

2019-02-05 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Feb  5 21:01:38 UTC 2019

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

Log Message:
Implement page flip API


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

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



CVS commit: src/external/gpl3/gcc

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Feb  5 21:50:21 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libbacktrace/arch/earm: backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmeb:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmhf:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmhfeb:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4eb:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6eb:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hf:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hfeb:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7eb:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hf:
backtrace-supported.h
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hfeb:
backtrace-supported.h
src/external/gpl3/gcc/lib/libgcc/arch/earm: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmeb: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmhf: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmhfeb: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv4: defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv4eb: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv6: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv6eb: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv6hf: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv6hfeb: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv7: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv7eb: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv7hf: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/arch/earmv7hfeb: auto-target.h defs.mk
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earm: defs.mk gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhf: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhfeb: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv4eb: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6eb: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6hf: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6hfeb: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7eb: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7hf: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7hfeb: defs.mk
gcov-iov.h
src/external/gpl3/gcc/lib/libgomp/arch/earm: config.h libgomp_f.h omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmeb: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmhf: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmhfeb: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmv4eb: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmv6: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmv6eb: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmv6hf: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmv6hfeb: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmv7: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmv7eb: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmv7hf: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libgomp/arch/earmv7hfeb: config.h libgomp_f.h
omp.h
src/external/gpl3/gcc/lib/libobjc/arch/earm: defs.mk
src/external/gpl3/gcc/lib/libobjc/arch/earmeb: defs.mk
src/external/gpl3/gcc/lib/

CVS commit: src/sys

2019-02-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Feb  5 23:28:02 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_compat32.c rf_compat32.h rf_compat50.c
rf_compat50.h rf_compat80.c rf_compat80.h rf_netbsd.h
rf_netbsdkintf.c
src/sys/kern: compat_stub.c
src/sys/sys: compat_stub.h
Removed Files:
src/sys/dev/raidframe: rf_compat50_mod.h rf_compat80_mod.h

Log Message:
- Redo all the ioctl compat stuff to use a standard "ioctl" interface,
  and provide methods to the private softc
- Provide a function for constructing a RF_Raid_t from an RF_Config_t
- Factor out the big inline ioctl code into functions


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/raidframe/rf_compat32.c \
src/sys/dev/raidframe/rf_compat32.h src/sys/dev/raidframe/rf_compat80.h
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/raidframe/rf_compat50.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/raidframe/rf_compat50.h
cvs rdiff -u -r1.4 -r0 src/sys/dev/raidframe/rf_compat50_mod.h \
src/sys/dev/raidframe/rf_compat80_mod.h
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/raidframe/rf_compat80.c
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/raidframe/rf_netbsd.h
cvs rdiff -u -r1.366 -r1.367 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.7 -r1.8 src/sys/kern/compat_stub.c
cvs rdiff -u -r1.10 -r1.11 src/sys/sys/compat_stub.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/raidframe

2019-02-05 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Wed Feb  6 02:49:09 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_netbsd.h rf_netbsdkintf.c rf_raid.h

Log Message:
Shuffle softc declarations to a different .h file.  Create missing
rf_get_raid().  Things compile, but don't work correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/dev/raidframe/rf_netbsd.h
cvs rdiff -u -r1.367 -r1.368 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/raidframe/rf_raid.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/raidframe

2019-02-05 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Wed Feb  6 02:49:51 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
Fix logic inversion.  Progress, but still broken.


To generate a diff of this commit:
cvs rdiff -u -r1.368 -r1.369 src/sys/dev/raidframe/rf_netbsdkintf.c

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



CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3

2019-02-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb  6 02:55:54 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libstdc++-v3: Makefile

Log Message:
fix objdir build


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile

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



CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3

2019-02-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb  6 02:57:39 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libstdc++-v3: Makefile

Log Message:
revert, somehow I got the generated file in the wrong directory.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/external/gpl3/gcc/lib/libstdc++-v3/Makefile

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



CVS commit: src/sys/dev/raidframe

2019-02-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb  6 03:01:49 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
use 'data' directly.


To generate a diff of this commit:
cvs rdiff -u -r1.369 -r1.370 src/sys/dev/raidframe/rf_netbsdkintf.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

2019-02-05 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Feb  6 03:07:08 UTC 2019

Modified Files:
src/sys/arch/arm/sunxi: sunxi_drm.c sunxi_mixer.c

Log Message:
Add support for hardware cursors where we can.

As far as I can tell, alpha blending only works between overlay channels,
and not between layers on a channel. Unfortunately, RT-Mixer1 only has
a single UI channel, so this feature is limited to RT-Mixer0.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/sunxi/sunxi_drm.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/sunxi/sunxi_mixer.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

2019-02-05 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Feb  6 03:16:36 UTC 2019

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.1349 -r1.1350 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1348 -r1.1349 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/sys/dev/pci

2019-02-05 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Feb  6 03:16:08 UTC 2019

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

Log Message:
>From OpenBSD:
- Add NetXen's vendor ID and devices.
- Add Sun Neptune.


To generate a diff of this commit:
cvs rdiff -u -r1.1360 -r1.1361 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/raidframe

2019-02-05 Thread Greg Oster
Module Name:src
Committed By:   oster
Date:   Wed Feb  6 03:37:13 UTC 2019

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
Fix GET_INFO.  Yes, can probably be simplified.


To generate a diff of this commit:
cvs rdiff -u -r1.370 -r1.371 src/sys/dev/raidframe/rf_netbsdkintf.c

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



CVS commit: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  6 03:59:09 UTC 2019

Modified Files:
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: Makefile.am
Makefile.in

Log Message:
add sanitizer_procmaps_netbsd.cc


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 \
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/Makefile.am \
src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/Makefile.in

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



CVS commit: src/external/gpl3/gcc/lib

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  6 04:00:43 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib: Makefile.sanitizer
src/external/gpl3/gcc/lib/libasan: Makefile
src/external/gpl3/gcc/lib/liblsan: Makefile
src/external/gpl3/gcc/lib/libtsan: Makefile
src/external/gpl3/gcc/lib/libubsan: Makefile

Log Message:
update the sanitizer source lists for gcc 7.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/lib/Makefile.sanitizer
cvs rdiff -u -r1.26 -r1.27 src/external/gpl3/gcc/lib/libasan/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/lib/liblsan/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/lib/libtsan/Makefile
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/lib/libubsan/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/amiga/dev

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  6 04:07:31 UTC 2019

Modified Files:
src/sys/arch/amiga/dev: wstsc.c

Log Message:
properly check SCI_CSR_DREQ in one place.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/amiga/dev/wstsc.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

2019-02-05 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Feb  6 04:14:03 UTC 2019

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

Log Message:
 Fix a bug that all ports' MAC address become the last port's address on
Non-OF environment.

 The Saturn multi port card has only one VPD ROM and all ports share it.
If the card has four port, it has four "local-mac-address" entries.
Before this commit, the code keep the last one and use it for all ports.
The Saturn four port card has three bridge.

e.g.

003:02:0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge (PCI bridge)
004:00:0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge (PCI bridge)
004:04:0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge (PCI bridge)
005:00:0: National Semiconductor Saturn (ethernet network, revision 0x30)
005:01:0: National Semiconductor Saturn (ethernet network, revision 0x30)
006:02:0: National Semiconductor Saturn (ethernet network, revision 0x30)
006:03:0: National Semiconductor Saturn (ethernet network, revision 0x30)


The card assign each port's PCI device number to match the port number.
Use it as the offset of "local-mac-address". Almost the same as FreeBSD.

OK'd by mrg and martin.


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

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  6 04:20:40 UTC 2019

Modified Files:
src/sys/dev/nor: cfi.c

Log Message:
memset(0) the structure, not the pointer itself, and what ever
data happens to be after the pointer's stack location.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/nor/cfi.c

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



CVS commit: src/external/cddl/osnet/lib/libdtrace

2019-02-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Feb  6 04:23:16 UTC 2019

Modified Files:
src/external/cddl/osnet/lib/libdtrace: Makefile

Log Message:
uses the idiom len = snprintf(&tmp, 1, ...) to compute length.
needs -Wno-format-truncation


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/external/cddl/osnet/lib/libdtrace/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/hppa/spmath

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  6 05:04:41 UTC 2019

Modified Files:
src/sys/arch/hppa/spmath: cnv_float.h

Log Message:
- convert shift results into logical expressions


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/hppa/spmath/cnv_float.h

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



CVS commit: src/common/lib/libc/arch/aarch64/atomic

2019-02-05 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Feb  6 05:33:14 UTC 2019

Modified Files:
src/common/lib/libc/arch/aarch64/atomic: atomic_op_asm.h

Log Message:
fix atomic_sub_*(). it was (delta - *ptr), should be (*ptr - delta).
changing shared macro doesn't effect other atomic_ops because
(*ptr [+|^] delta) and (delta [+|^] *ptr) have same result.

atomic_sub_*() haven't used because non standard API?


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/common/lib/libc/arch/aarch64/atomic/atomic_op_asm.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/aarch64

2019-02-05 Thread Ryo Shimizu
Module Name:src
Committed By:   ryo
Date:   Wed Feb  6 05:33:41 UTC 2019

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

Log Message:
improve pmap_remove
- don't lock/unlock per page in pmap_remove()
- speedup pte lookup for continuous addresses
- bring out pool_cache_put(&_pmap_pv_pool, pv) from lock/unlock section


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/aarch64/aarch64/pmap.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/aarch64/include/pmap.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/pci

2019-02-05 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Feb  6 07:20:13 UTC 2019

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

Log Message:
 I21[01]'s RAL size is not 15 but 16(== 82575's value). Same as other OSes.


To generate a diff of this commit:
cvs rdiff -u -r1.623 -r1.624 src/sys/dev/pci/if_wm.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/usb

2019-02-05 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Feb  6 07:28:01 UTC 2019

Modified Files:
src/sys/dev/usb: if_axen.c

Log Message:
Remove useless memset.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/usb/if_axen.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/usb

2019-02-05 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Feb  6 07:28:34 UTC 2019

Modified Files:
src/sys/dev/usb: if_axenreg.h

Log Message:
Remove unused variable in axen_softc.


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

2019-02-05 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Feb  6 07:31:39 UTC 2019

Modified Files:
src/sys/dev/usb: if_axen.c

Log Message:
Drop AXEN_MEDIUM_ALWAYS_ONE (from Linux), which reduces drop erros in RX.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/usb/if_axen.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/powerpc/oea

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  6 07:32:50 UTC 2019

Modified Files:
src/sys/arch/powerpc/oea: cpu_subr.c oea_machdep.c

Log Message:
- add or adjust fallthru comments


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/powerpc/oea/cpu_subr.c
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/powerpc/oea/oea_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/common

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  6 07:33:09 UTC 2019

Modified Files:
src/distrib/common: Makefile.mdset

Log Message:
- clean the .tmp kernel targets as well


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/distrib/common/Makefile.mdset

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



CVS commit: src/sys/dev/usb

2019-02-05 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Feb  6 07:35:47 UTC 2019

Modified Files:
src/sys/dev/usb: if_axen.c

Log Message:
Cosmetic changes; no functional changes.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/usb/if_axen.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/usb

2019-02-05 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Feb  6 07:48:33 UTC 2019

Modified Files:
src/sys/dev/usb: if_axen.c

Log Message:
Fix padding for a full length USB packet in TX:
- Update boundary length for SS mode, taken from OpenBSD.
- Make sure everything passed to the adapter is little endian.
- Specify padding bits in a similar manner to Linux.

XXX I wonder whether this is really necessary...


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/usb/if_axen.c

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



CVS commit: src

2019-02-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Feb  6 07:51:20 UTC 2019

Modified Files:
src/distrib/rs6000/ramdisk: Makefile
src/sys/arch/rs6000/conf: INSTALL

Log Message:
bump image size by 1/8th of an MB.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/distrib/rs6000/ramdisk/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/rs6000/conf/INSTALL

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



CVS commit: src/sys/dev/usb

2019-02-05 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Feb  6 07:56:14 UTC 2019

Modified Files:
src/sys/dev/usb: if_axen.c if_axenreg.h

Log Message:
Support TSOv4 (They call it LSOv1).
The adapter does not support TSOv6 (aka LSOv2).


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/if_axen.c
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/usb/if_axenreg.h

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



CVS commit: src/usr.bin/ftp

2019-02-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Feb  6 07:56:42 UTC 2019

Modified Files:
src/usr.bin/ftp: cmds.c

Log Message:
Try to avoid a (bogus) fatal warning from clang.


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 src/usr.bin/ftp/cmds.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/usb

2019-02-05 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Wed Feb  6 07:59:24 UTC 2019

Modified Files:
src/sys/dev/usb: if_axen.c

Log Message:
Fix previous.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/dev/usb/if_axen.c

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