svn commit: r322526 - head/sys/kern

2017-08-14 Thread Conrad Meyer
Author: cem
Date: Tue Aug 15 02:21:02 2017
New Revision: 322526
URL: https://svnweb.freebsd.org/changeset/base/322526

Log:
  Fix a couple of comment typos
  
  No functional change.
  
  Submitted by: Anton Rang 
  Sponsored by: Dell EMC Isilon

Modified:
  head/sys/kern/kern_ktr.c
  head/sys/kern/subr_smp.c

Modified: head/sys/kern/kern_ktr.c
==
--- head/sys/kern/kern_ktr.cTue Aug 15 01:22:39 2017(r322525)
+++ head/sys/kern/kern_ktr.cTue Aug 15 02:21:02 2017(r322526)
@@ -416,7 +416,7 @@ DB_SHOW_COMMAND(ktr, db_ktr_all)
tstate.first = -1;
db_ktr_verbose = 0;
db_ktr_verbose |= (strchr(modif, 'v') != NULL) ? 2 : 0;
-   db_ktr_verbose |= (strchr(modif, 'V') != NULL) ? 1 : 0; /* just 
timestap please */
+   db_ktr_verbose |= (strchr(modif, 'V') != NULL) ? 1 : 0; /* just 
timestamp please */
if (strchr(modif, 'a') != NULL) {
db_disable_pager();
while (cncheckc() == -1)

Modified: head/sys/kern/subr_smp.c
==
--- head/sys/kern/subr_smp.cTue Aug 15 01:22:39 2017(r322525)
+++ head/sys/kern/subr_smp.cTue Aug 15 02:21:02 2017(r322526)
@@ -823,7 +823,7 @@ smp_no_rendezvous_barrier(void *dummy)
 }
 
 /*
- * Wait specified idle threads to switch once.  This ensures that even
+ * Wait for specified idle threads to switch once.  This ensures that even
  * preempted threads have cycled through the switch function once,
  * exiting their codepaths.  This allows us to change global pointers
  * with no other synchronization.
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322522 - head/lib/libcompiler_rt

2017-08-14 Thread Warner Losh
Author: imp
Date: Mon Aug 14 22:38:54 2017
New Revision: 322522
URL: https://svnweb.freebsd.org/changeset/base/322522

Log:
  There is no MACHINE_CPUARCH == armv6, remove redunant check.

Modified:
  head/lib/libcompiler_rt/Makefile.inc

Modified: head/lib/libcompiler_rt/Makefile.inc
==
--- head/lib/libcompiler_rt/Makefile.incMon Aug 14 22:25:20 2017
(r322521)
+++ head/lib/libcompiler_rt/Makefile.incMon Aug 14 22:38:54 2017
(r322522)
@@ -184,7 +184,7 @@ SRCF+=  umodsi3
 .endif
 
 # FreeBSD-specific atomic intrinsics.
-.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "armv6"
+.if ${MACHINE_CPUARCH} == "arm"
 .PATH: ${SRCTOP}/sys/arm/arm
 
 SRCF+= stdatomic
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322521 - in head/gnu/usr.bin: binutils binutils/ld binutils/libbfd cc

2017-08-14 Thread Warner Losh
Author: imp
Date: Mon Aug 14 22:25:20 2017
New Revision: 322521
URL: https://svnweb.freebsd.org/changeset/base/322521

Log:
  Convert all the arm big endian tests into a regexp rather than a list.
  
  Suggested by: emaste@

Modified:
  head/gnu/usr.bin/binutils/Makefile.inc0
  head/gnu/usr.bin/binutils/ld/Makefile.arm
  head/gnu/usr.bin/binutils/libbfd/Makefile.arm
  head/gnu/usr.bin/cc/Makefile.inc
  head/gnu/usr.bin/cc/Makefile.tgt

Modified: head/gnu/usr.bin/binutils/Makefile.inc0
==
--- head/gnu/usr.bin/binutils/Makefile.inc0 Mon Aug 14 21:48:50 2017
(r322520)
+++ head/gnu/usr.bin/binutils/Makefile.inc0 Mon Aug 14 22:25:20 2017
(r322521)
@@ -16,7 +16,7 @@ TARGET_VENDOR?=   unknown
 TARGET_OS?=freebsd
 BINUTILS_ARCH=${TARGET_ARCH:C/amd64/x86_64/}
 TARGET_TUPLE?= ${BINUTILS_ARCH}-${TARGET_VENDOR}-${TARGET_OS}
-.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" || \
+.if ${TARGET_ARCH:Marm*eb} != "" || \
(${TARGET_CPUARCH} == "mips" && ${TARGET_ARCH:Mmips*el*} == "")
 TARGET_BIG_ENDIAN=t
 .endif

Modified: head/gnu/usr.bin/binutils/ld/Makefile.arm
==
--- head/gnu/usr.bin/binutils/ld/Makefile.arm   Mon Aug 14 21:48:50 2017
(r322520)
+++ head/gnu/usr.bin/binutils/ld/Makefile.arm   Mon Aug 14 22:25:20 2017
(r322521)
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb"
+.if ${TARGET_ARCH:Marm*eb} != ""
 NATIVE_EMULATION= armelfb_fbsd
 .else
 NATIVE_EMULATION= armelf_fbsd

Modified: head/gnu/usr.bin/binutils/libbfd/Makefile.arm
==
--- head/gnu/usr.bin/binutils/libbfd/Makefile.arm   Mon Aug 14 21:48:50 
2017(r322520)
+++ head/gnu/usr.bin/binutils/libbfd/Makefile.arm   Mon Aug 14 22:25:20 
2017(r322521)
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb"
+.if ${TARGET_ARCH:Marm*eb} != ""
 DEFAULT_VECTOR=bfd_elf32_bigarm_vec
 .else
 DEFAULT_VECTOR=bfd_elf32_littlearm_vec
@@ -14,7 +14,7 @@ SRCS+=cpu-arm.c \
elflink.c
 
 VECS+= ${DEFAULT_VECTOR}
-.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb"
+.if ${TARGET_ARCH:Marm*eb} != ""
 VECS+= bfd_elf32_littlearm_vec
 .else
 VECS+= bfd_elf32_bigarm_vec

Modified: head/gnu/usr.bin/cc/Makefile.inc
==
--- head/gnu/usr.bin/cc/Makefile.incMon Aug 14 21:48:50 2017
(r322520)
+++ head/gnu/usr.bin/cc/Makefile.incMon Aug 14 22:25:20 2017
(r322521)
@@ -31,7 +31,7 @@ CFLAGS+=  -DCROSS_DIRECTORY_STRUCTURE
 CFLAGS+=   -DTARGET_ARM_EABI
 .endif
 
-.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb"
+.if ${TARGET_ARCH:Marm*eb} != ""
 CFLAGS += -DTARGET_ENDIAN_DEFAULT=MASK_BIG_END
 .endif
 .if ${TARGET_ARCH} == "armv6" || ${TARGET_ARCH} == "armv6eb"

Modified: head/gnu/usr.bin/cc/Makefile.tgt
==
--- head/gnu/usr.bin/cc/Makefile.tgtMon Aug 14 21:48:50 2017
(r322520)
+++ head/gnu/usr.bin/cc/Makefile.tgtMon Aug 14 22:25:20 2017
(r322521)
@@ -14,7 +14,7 @@ GCC_CPU=${TARGET_CPUARCH:C/amd64/i386/:C/powerpc/rs600
 .if ${TARGET_ARCH} == "sparc64"
 TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
 .endif
-.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" || \
+.if ${TARGET_ARCH:Marm*eb} != "" || \
(${TARGET_CPUARCH} == "mips" && ${TARGET_ARCH:Mmips*el*} == "")
 TARGET_BIG_ENDIAN=t
 .endif
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322515 - in head: bin/cat bin/chmod bin/date bin/dd bin/echo bin/expr bin/ln bin/ls bin/mv bin/pax bin/pkill bin/pwait bin/sh bin/sleep bin/test lib/atf/libatf-c lib/atf/libatf-c++ lib...

2017-08-14 Thread Ngie Cooper
Author: ngie
Date: Mon Aug 14 19:21:37 2017
New Revision: 322515
URL: https://svnweb.freebsd.org/changeset/base/322515

Log:
  Add supporting changes for `Add limited sandbox capability to "make check"`
  
  Non-tests/... changes:
  - Add HAS_TESTS= to Makefiles with libraries and programs to enable iteration
and propagate the appropriate environment down to *.test.mk.
  
  tests/... changes:
  - Add appropriate support Makefile.inc's to set HAS_TESTS in a minimal manner,
since tests/... is a special subdirectory tree compared to the others.
  
  MFC after:2 months
  MFC with: r322511
  Reviewed by:  arch (silence), testing (silence)
  Differential Revision:D12014

Added:
  head/tests/Makefile.inc0
 - copied unchanged from r322126, 
projects/make-check-sandbox/tests/Makefile.inc0
  head/tests/etc/Makefile.inc
 - copied unchanged from r322126, 
projects/make-check-sandbox/tests/etc/Makefile.inc
  head/tests/sys/geom/class/Makefile.inc
 - copied unchanged from r322126, 
projects/make-check-sandbox/tests/sys/geom/class/Makefile.inc
  head/tests/sys/pjdfstest/Makefile.inc
 - copied unchanged from r322126, 
projects/make-check-sandbox/tests/sys/pjdfstest/Makefile.inc
  head/tests/sys/pjdfstest/tests/Makefile.inc
 - copied unchanged from r322126, 
projects/make-check-sandbox/tests/sys/pjdfstest/tests/Makefile.inc
Modified:
  head/bin/cat/Makefile
  head/bin/chmod/Makefile
  head/bin/date/Makefile
  head/bin/dd/Makefile
  head/bin/echo/Makefile
  head/bin/expr/Makefile
  head/bin/ln/Makefile
  head/bin/ls/Makefile
  head/bin/mv/Makefile
  head/bin/pax/Makefile
  head/bin/pkill/Makefile
  head/bin/pwait/Makefile
  head/bin/sh/Makefile
  head/bin/sleep/Makefile
  head/bin/test/Makefile
  head/lib/atf/libatf-c++/Makefile
  head/lib/atf/libatf-c/Makefile
  head/lib/libarchive/Makefile
  head/lib/libc/Makefile
  head/lib/libcam/Makefile
  head/lib/libcasper/services/cap_dns/Makefile
  head/lib/libcasper/services/cap_grp/Makefile
  head/lib/libcasper/services/cap_pwd/Makefile
  head/lib/libcasper/services/cap_sysctl/Makefile
  head/lib/libcrypt/Makefile
  head/lib/libkvm/Makefile
  head/lib/libmp/Makefile
  head/lib/libnv/Makefile
  head/lib/libpathconv/Makefile
  head/lib/libproc/Makefile
  head/lib/librt/Makefile
  head/lib/libsbuf/Makefile
  head/lib/libthr/Makefile
  head/lib/libutil/Makefile
  head/lib/libxo/Makefile
  head/lib/msun/Makefile
  head/libexec/atf/atf-check/Makefile
  head/libexec/atf/atf-sh/Makefile
  head/libexec/rtld-elf/Makefile
  head/sbin/devd/Makefile
  head/sbin/dhclient/Makefile
  head/sbin/growfs/Makefile
  head/sbin/ifconfig/Makefile
  head/sbin/mdconfig/Makefile
  head/sbin/pfctl/Makefile
  head/share/examples/Makefile
  head/share/zoneinfo/Makefile
  head/tests/Makefile
  head/tests/sys/Makefile.inc
  head/usr.bin/apply/Makefile
  head/usr.bin/basename/Makefile
  head/usr.bin/bsdcat/Makefile
  head/usr.bin/calendar/Makefile
  head/usr.bin/cmp/Makefile
  head/usr.bin/col/Makefile
  head/usr.bin/comm/Makefile
  head/usr.bin/compress/Makefile
  head/usr.bin/cpio/Makefile
  head/usr.bin/csplit/Makefile
  head/usr.bin/cut/Makefile
  head/usr.bin/diff/Makefile
  head/usr.bin/diff3/Makefile
  head/usr.bin/dirname/Makefile
  head/usr.bin/du/Makefile
  head/usr.bin/file2c/Makefile
  head/usr.bin/getconf/Makefile
  head/usr.bin/grep/Makefile
  head/usr.bin/gzip/Makefile
  head/usr.bin/hexdump/Makefile
  head/usr.bin/ident/Makefile
  head/usr.bin/indent/Makefile
  head/usr.bin/join/Makefile
  head/usr.bin/jot/Makefile
  head/usr.bin/lastcomm/Makefile
  head/usr.bin/limits/Makefile
  head/usr.bin/m4/Makefile
  head/usr.bin/mkimg/Makefile
  head/usr.bin/ncal/Makefile
  head/usr.bin/pr/Makefile
  head/usr.bin/printf/Makefile
  head/usr.bin/procstat/Makefile
  head/usr.bin/sdiff/Makefile
  head/usr.bin/sed/Makefile
  head/usr.bin/soelim/Makefile
  head/usr.bin/stat/Makefile
  head/usr.bin/tail/Makefile
  head/usr.bin/tar/Makefile
  head/usr.bin/timeout/Makefile
  head/usr.bin/tr/Makefile
  head/usr.bin/truncate/Makefile
  head/usr.bin/uniq/Makefile
  head/usr.bin/units/Makefile
  head/usr.bin/uudecode/Makefile
  head/usr.bin/uuencode/Makefile
  head/usr.bin/xargs/Makefile
  head/usr.bin/xinstall/Makefile
  head/usr.bin/xo/Makefile
  head/usr.bin/yacc/Makefile
  head/usr.sbin/chown/Makefile
  head/usr.sbin/etcupdate/Makefile
  head/usr.sbin/extattr/Makefile
  head/usr.sbin/fstyp/Makefile
  head/usr.sbin/makefs/Makefile
  head/usr.sbin/newsyslog/Makefile
  head/usr.sbin/nmtree/Makefile
  head/usr.sbin/pw/Makefile
  head/usr.sbin/rpcbind/Makefile
  head/usr.sbin/sa/Makefile

Modified: head/bin/cat/Makefile
==
--- head/bin/cat/Makefile   Mon Aug 14 19:18:50 2017(r322514)
+++ head/bin/cat/Makefile   Mon Aug 14 19:21:37 2017(r322515)
@@ -6,6 +6,7 @@
 PACKAGE=runtime
 PROG=  cat
 
+HAS_TESTS=
 SUBDIR.${MK_TESTS}+= tests
 
 .include 

Modified: head/bin/chmod/Makefile

svn commit: r322514 - head

2017-08-14 Thread Ngie Cooper
Author: ngie
Date: Mon Aug 14 19:18:50 2017
New Revision: 322514
URL: https://svnweb.freebsd.org/changeset/base/322514

Log:
  Add an UPDATING entry for r322511.
  
  MFC after:2 months

Modified:
  head/UPDATING

Modified: head/UPDATING
==
--- head/UPDATING   Mon Aug 14 19:12:51 2017(r322513)
+++ head/UPDATING   Mon Aug 14 19:18:50 2017(r322514)
@@ -51,6 +51,27 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
 
 ** SPECIAL WARNING: **
 
+20170814:
+   "make check" behavior (made in ^/head@r295380) has been changed to
+   execute from a limited sandbox, as opposed to executing from
+   ${TESTSDIR}.
+
+   Behavioral changes:
+   - The "beforecheck" and "aftercheck" targets are now specified.
+   - ${CHECKDIR} (added in commit noted above) has been removed.
+   - Legacy behavior can be enabled by setting
+ WITHOUT_MAKE_CHECK_USE_SANDBOX in src.conf(5) or the environment.
+
+   If the limited sandbox mode is enabled, "make check" will execute
+   "make distribution", then install, execute the tests, and clean up the
+   sandbox if successful.
+
+   The "make distribution" and "make install" targets are typically run as
+   root to set appropriate permissions and ownership at installation time.
+   The end-user should set "WITH_INSTALL_AS_USER" in src.conf(5) or the
+   environment if executing "make check" with limited sandbox mode using
+   an unprivileged user.
+
 20170808:
Since the switch to GPT disk labels, fsck for UFS/FFS has been
unable to automatically find alternate superblocks. As of r322297,
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322512 - head/share/man/man5

2017-08-14 Thread Ngie Cooper
Author: ngie
Date: Mon Aug 14 19:03:55 2017
New Revision: 322512
URL: https://svnweb.freebsd.org/changeset/base/322512

Log:
  Regenerate src.conf(5) after change made in r322511 to "make check" behavior

Modified:
  head/share/man/man5/src.conf.5

Modified: head/share/man/man5/src.conf.5
==
--- head/share/man/man5/src.conf.5  Mon Aug 14 19:03:05 2017
(r322511)
+++ head/share/man/man5/src.conf.5  Mon Aug 14 19:03:55 2017
(r322512)
@@ -1043,6 +1043,16 @@ MTA selector.
 Set to not install
 .Xr make 1
 and related support files.
+.It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
+Set to not execute
+.Dq Li "make check"
+in limited sandbox mode.
+This option should be paired with
+.Va WITH_INSTALL_AS_USER
+if executed as an unprivileged user.
+See
+.Xr tests 7
+for more details.
 .It Va WITHOUT_MAN
 Set to not build manual pages.
 When set, these options are also in effect:
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322511 - in head: share/mk tools/build/options

2017-08-14 Thread Ngie Cooper
Author: ngie
Date: Mon Aug 14 19:03:05 2017
New Revision: 322511
URL: https://svnweb.freebsd.org/changeset/base/322511

Log:
  Add limited sandbox capability to "make check"
  
  == Rationale ==
  
  r295380 introduced "make check" and consolidated means for running
  test code in an attempt to simplify running tests. One could either
  install files/libraries/programs and run "make check", or run "make check"
  with an explicit CHECKDIR, e.g., `make check CHECKDIR=$(make -V.OBJDIR)``.
  
  One criticism that was received is that "make check" should be run with
  the intent of making dev->test->commit easier, which means that the target
  audience's workflow should be developers. One developer pattern available
  in other opensource projects is to run test code from a developer sandbox,
  instead of installing to a system.
  
  == Method ==
  
  This approach is slightly different from the standard approach, in the sense
  that it builds and installs into a deterministic directory under .OBJDIR (as 
I call it,
  the "sandbox"), then runs "make check" against that. In the event the test
  run is successful, the deterministic directory is removed to save space.
  
  == Approach ==
  
  bsd.lib.mk, bsd.prog.mk:
  
  To support this functionality, a new variable `HAS_TESTS` is being added.
  
  HAS_TESTS enables appropriate behavior with bsd.lib.mk and bsd.prog.mk, as
  follows:
  - Add "make check" as an available target from the directory.
  - Pass down appropriate variables via ${TESTS_ENV}, i.e.,
${TESTS_LD_LIBRARY_PATH} and ${TESTS_PATH}.
  
  One should add "HAS_TESTS" to directories containing tests in them, e.g. from
  bin/sh/Makefile,
  
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
  
  HAS_TESTS doesn't automatically add the tests subdirectory for flexibility
  reasons.
  
  bsd.opts.mk, src.opts.mk:
  - The knob ${MK_MAKE_CHECK_USE_SANDBOX} has been added, both to explicitly
direct (internally) when to set a deterministic ${DESTDIR} and to also allow
users to disable this behavior globally, i.e., via src.conf.
  - MK_TESTS has been promoted from src.opts.mk to bsd.opts.mk to leverage
syntactic sugar for having MK_TESTS be a dependency for
MK_MAKE_CHECK_USE_SANDBOX, but to also ensure that src.opts.mk isn't 
required
to use suite.test.mk (which is a dependency of bsd.test.mk).
  
  suite.test.mk:
  - beforecheck behavior (when MK_MAKE_CHECK_USE_SANDBOX is enabled) is modified
from a no-op to:
  -- Build.
  -- Run "make hierarchy" on the sandbox dir.
  -- Install the tests/files to the sandbox dir.
  - aftercheck behavior (when MK_MAKE_CHECK_USE_SANDBOX is enabled) is modified
from a no-op to:
  -- Remove the sandbox dir.
  
  Again, because the dependency order set in bsd.test.mk is
  beforecheck -> check -> aftercheck, "make check" will not be run unless
  "beforecheck" completes successfully, and "aftercheck" will not be run unless
  "beforecheck" and "check" complete successfully.
  
  == Caveats ==
  
  - This target must either be run with MK_INSTALL_AS_USER or as root. Otherwise
it will fail when running "make install" as the default user/group for many
makefiles when calling INSTALL is root/wheel.
  - This target must be run from a suitable top-level directory. For example,
running tests from `tests/sys/fs/tmpfs` won't work, but `tests/sys/fs` will,
because `tests/sys/fs/tmpfs` relies on files installed by `tests/sys/fs`.
  - Running MK_INSTALL_AS_USER may introduce determinism issues. However, using
it could identify deficiences in tests in terms of needing to be run as
root, which are not properly articulated in the test requirements.
  - The doesn't negate the need for running "make installworld" and
"make checkworld", etc. Again, this just is intended to simplify the
dev->test->commit workflow.
  
  == Cleanup done ==
  - CHECKDIR is removed; one can use "MK_MAKE_CHECK_USE_SANDBOX=no" to enable
"legacy" (r295380) behavior.
  
  MFC after:2 months
  Relnotes: yes (CHECKDIR removed; "make check" behavior changed)
  Requested by: jhb
  Reviewed by:  arch (silence), testing (silence)
  Differential Revision:D11905

Added:
  head/tools/build/options/WITHOUT_MAKE_CHECK_USE_SANDBOX
 - copied, changed from r322452, head/tools/build/options/WITHOUT_TESTS
Modified:
  head/share/mk/bsd.README
  head/share/mk/bsd.lib.mk
  head/share/mk/bsd.opts.mk
  head/share/mk/bsd.prog.mk
  head/share/mk/src.opts.mk
  head/share/mk/suite.test.mk

Modified: head/share/mk/bsd.README
==
--- head/share/mk/bsd.READMEMon Aug 14 18:49:46 2017(r322510)
+++ head/share/mk/bsd.READMEMon Aug 14 19:03:05 2017(r322511)
@@ -566,7 +566,7 @@ It has seven targets:
all:
build the test programs.
check:
-   runs the test programs from CHECKDIR with kyua test.
+   runs the test programs with 

svn commit: r322510 - head/share/man/man5

2017-08-14 Thread Ngie Cooper
Author: ngie
Date: Mon Aug 14 18:49:46 2017
New Revision: 322510
URL: https://svnweb.freebsd.org/changeset/base/322510

Log:
  Regenerate src.conf(5) per LLDB default change made in r322415

Modified:
  head/share/man/man5/src.conf.5

Modified: head/share/man/man5/src.conf.5
==
--- head/share/man/man5/src.conf.5  Mon Aug 14 15:08:49 2017
(r322509)
+++ head/share/man/man5/src.conf.5  Mon Aug 14 18:49:46 2017
(r322510)
@@ -1,6 +1,6 @@
 .\" DO NOT EDIT-- this file is generated by tools/build/options/makeman.
 .\" $FreeBSD$
-.Dd August 2, 2017
+.Dd August 14, 2017
 .Dt SRC.CONF 5
 .Os
 .Sh NAME
@@ -967,12 +967,12 @@ amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarc
 Set to not build the LLDB debugger.
 .Pp
 This is a default setting on
-arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, 
mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, 
mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, 
powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
+arm/arm, arm/armeb, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, 
mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, 
mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, 
riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
 .It Va WITH_LLDB
 Set to build the LLDB debugger.
 .Pp
 This is a default setting on
-amd64/amd64 and arm64/aarch64.
+amd64/amd64, arm64/aarch64 and i386/i386.
 .It Va WITHOUT_LLD_BOOTSTRAP
 Set to not build the LLD linker during the bootstrap phase of
 the build.
@@ -1254,13 +1254,13 @@ Set to not build profiled libraries for use with
 .Xr gprof 8 .
 .Pp
 This is a default setting on
-riscv/riscv64 and riscv/riscv64sf.
+mips/mips64el, mips/mips64, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and 
riscv/riscv64sf.
 .It Va WITH_PROFILE
 Set to build profiled libraries for use with
 .Xr gprof 8 .
 .Pp
 This is a default setting on
-amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, 
mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, 
mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, 
powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
+amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, 
mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, 
powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
 .It Va WITHOUT_QUOTAS
 Set to not build
 .Xr quota 1
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322508 - in head/contrib/gcc/config: riscv riscv64

2017-08-14 Thread Ruslan Bukin
Author: br
Date: Mon Aug 14 14:16:56 2017
New Revision: 322508
URL: https://svnweb.freebsd.org/changeset/base/322508

Log:
  Rename RISC-V GCC config directory: riscv64 -> riscv
  (to match official RISC-V target for GCC 7.1).
  
  This is only a minimal config required to build c start up (csu).
  
  This fixes build after r322429 ("Make _TO_CPUARCH macro for
  ARCH to CPUARCH conversions")
  
  Reported by:  lwhsu
  Sponsored by: DARPA, AFRL

Added:
  head/contrib/gcc/config/riscv/
 - copied from r322507, head/contrib/gcc/config/riscv64/
  head/contrib/gcc/config/riscv/riscv.h
 - copied unchanged from r322507, head/contrib/gcc/config/riscv64/riscv64.h
Deleted:
  head/contrib/gcc/config/riscv/riscv64.h
  head/contrib/gcc/config/riscv64/

Copied: head/contrib/gcc/config/riscv/riscv.h (from r322507, 
head/contrib/gcc/config/riscv64/riscv64.h)
==
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/contrib/gcc/config/riscv/riscv.h   Mon Aug 14 14:16:56 2017
(r322508, copy of r322507, head/contrib/gcc/config/riscv64/riscv64.h)
@@ -0,0 +1 @@
+/* $FreeBSD$ */
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322496 - head/sys/amd64/amd64

2017-08-14 Thread Konstantin Belousov
Author: kib
Date: Mon Aug 14 11:23:07 2017
New Revision: 322496
URL: https://svnweb.freebsd.org/changeset/base/322496

Log:
  Print whole machine state on double fault.
  
  It is quite useful when double fault is not caused by a stack overflow.
  
  Tested by:pho (as part of the larger patch)
  Sponsored by: The FreeBSD Foundation
  MFC after:1 week

Modified:
  head/sys/amd64/amd64/trap.c

Modified: head/sys/amd64/amd64/trap.c
==
--- head/sys/amd64/amd64/trap.c Mon Aug 14 11:20:54 2017(r322495)
+++ head/sys/amd64/amd64/trap.c Mon Aug 14 11:23:07 2017(r322496)
@@ -822,10 +822,24 @@ dblfault_handler(struct trapframe *frame)
if (dtrace_doubletrap_func != NULL)
(*dtrace_doubletrap_func)();
 #endif
-   printf("\nFatal double fault\n");
-   printf("rip = 0x%lx\n", frame->tf_rip);
-   printf("rsp = 0x%lx\n", frame->tf_rsp);
-   printf("rbp = 0x%lx\n", frame->tf_rbp);
+   printf("\nFatal double fault\n"
+   "rip %#lx rsp %#lx rbp %#lx\n"
+   "rax %#lx rdx %#lx rbx %#lx\n"
+   "rcx %#lx rsi %#lx rdi %#lx\n"
+   "r8 %#lx r9 %#lx r10 %#lx\n"
+   "r11 %#lx r12 %#lx r13 %#lx\n"
+   "r14 %#lx r15 %#lx rflags %#lx\n"
+   "cs %#lx ss %#lx ds %#hx es %#hx fs %#hx gs %#hx\n"
+   "fsbase %#lx gsbase %#lx kgsbase %#lx\n",
+   frame->tf_rip, frame->tf_rsp, frame->tf_rbp,
+   frame->tf_rax, frame->tf_rdx, frame->tf_rbx,
+   frame->tf_rcx, frame->tf_rdi, frame->tf_rsi,
+   frame->tf_r8, frame->tf_r9, frame->tf_r10,
+   frame->tf_r11, frame->tf_r12, frame->tf_r13,
+   frame->tf_r14, frame->tf_r15, frame->tf_rflags,
+   frame->tf_cs, frame->tf_ss, frame->tf_ds, frame->tf_es,
+   frame->tf_fs, frame->tf_gs,
+   rdmsr(MSR_FSBASE), rdmsr(MSR_GSBASE), rdmsr(MSR_KGSBASE));
 #ifdef SMP
/* two separate prints in case of a trap on an unmapped page */
printf("cpuid = %d; ", PCPU_GET(cpuid));
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322495 - head/sys/amd64/include

2017-08-14 Thread Konstantin Belousov
Author: kib
Date: Mon Aug 14 11:20:54 2017
New Revision: 322495
URL: https://svnweb.freebsd.org/changeset/base/322495

Log:
  Add {rd,wr}{fs,gs}base C wrappers for instructions.
  
  Tested by:pho (as part of the larger patch)
  Sponsored by: The FreeBSD Foundation
  MFC after:1 week

Modified:
  head/sys/amd64/include/cpufunc.h

Modified: head/sys/amd64/include/cpufunc.h
==
--- head/sys/amd64/include/cpufunc.hMon Aug 14 11:20:10 2017
(r322494)
+++ head/sys/amd64/include/cpufunc.hMon Aug 14 11:20:54 2017
(r322495)
@@ -651,6 +651,38 @@ load_gs(u_short sel)
 }
 #endif
 
+static __inline uint64_t
+rdfsbase(void)
+{
+   uint64_t x;
+
+   __asm __volatile("rdfsbase %0" : "=r" (x));
+   return (x);
+}
+
+static __inline void
+wrfsbase(uint64_t x)
+{
+
+   __asm __volatile("wrfsbase %0" : : "r" (x));
+}
+
+static __inline uint64_t
+rdgsbase(void)
+{
+   uint64_t x;
+
+   __asm __volatile("rdgsbase %0" : "=r" (x));
+   return (x);
+}
+
+static __inline void
+wrgsbase(uint64_t x)
+{
+
+   __asm __volatile("wrgsbase %0" : : "r" (x));
+}
+
 static __inline void
 bare_lgdt(struct region_descriptor *addr)
 {
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322494 - head/sys/amd64/amd64

2017-08-14 Thread Konstantin Belousov
Author: kib
Date: Mon Aug 14 11:20:10 2017
New Revision: 322494
URL: https://svnweb.freebsd.org/changeset/base/322494

Log:
  Style.
  
  Tested by:pho (as part of the larger patch)
  Sponsored by: The FreeBSD Foundation
  MFC after:3 days

Modified:
  head/sys/amd64/amd64/trap.c

Modified: head/sys/amd64/amd64/trap.c
==
--- head/sys/amd64/amd64/trap.c Mon Aug 14 11:19:31 2017(r322493)
+++ head/sys/amd64/amd64/trap.c Mon Aug 14 11:20:10 2017(r322494)
@@ -166,15 +166,21 @@ trap(struct trapframe *frame)
 #ifdef KDTRACE_HOOKS
struct reg regs;
 #endif
-   struct thread *td = curthread;
-   struct proc *p = td->td_proc;
+   ksiginfo_t ksi;
+   struct thread *td;
+   struct proc *p;
+   register_t addr;
 #ifdef KDB
register_t dr6;
 #endif
-   int i = 0, ucode = 0;
+   int i, ucode;
u_int type;
-   register_t addr = 0;
-   ksiginfo_t ksi;
+
+   td = curthread;
+   p = td->td_proc;
+   i = 0;
+   ucode = 0;
+   addr = 0;
 
VM_CNT_INC(v_trap);
type = frame->tf_trapno;
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322493 - head/usr.sbin/cpucontrol

2017-08-14 Thread Konstantin Belousov
Author: kib
Date: Mon Aug 14 11:19:31 2017
New Revision: 322493
URL: https://svnweb.freebsd.org/changeset/base/322493

Log:
  Remove confusion in the line explaining syntax of the msr read.
  Specify words order in the display.
  
  Sponsored by: The FreeBSD Foundation
  MFC after:3 days

Modified:
  head/usr.sbin/cpucontrol/cpucontrol.8

Modified: head/usr.sbin/cpucontrol/cpucontrol.8
==
--- head/usr.sbin/cpucontrol/cpucontrol.8   Mon Aug 14 11:06:09 2017
(r322492)
+++ head/usr.sbin/cpucontrol/cpucontrol.8   Mon Aug 14 11:19:31 2017
(r322493)
@@ -90,9 +90,10 @@ The following options are available:
 .It Fl d Ar datadir
 Where to look for microcode images.
 The option can be specified multiple times.
-.It Fl m Ar msr Ns Op = Ns Ar value
+.It Fl m Ar msr
 Show value of the specified MSR.
 MSR register number should be given as a hexadecimal number.
+The high word is printed first, then the low word is printed second.
 .It Fl m Ar msr Ns = Ns Ar value
 Store the
 .Ar value
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r322323 - in head/sys: amd64/amd64 i386/include x86/include x86/x86

2017-08-14 Thread Sepherosa Ziehau
I just MFCed it to stable/11.  Please MFC it to stable/10.

On Mon, Aug 14, 2017 at 2:28 PM, Sepherosa Ziehau  wrote:
> Please MFC this to 10-stable/11-stable.
>
> Thanks,
> sephe
>
> On Thu, Aug 10, 2017 at 2:09 AM, Jung-uk Kim  wrote:
>> Author: jkim
>> Date: Wed Aug  9 18:09:09 2017
>> New Revision: 322323
>> URL: https://svnweb.freebsd.org/changeset/base/322323
>>
>> Log:
>>   Split identify_cpu() into two functions for amd64 as we do for i386.  This
>>   reduces diff between amd64 and i386.  Also, it fixes a regression 
>> introduced
>>   in r322076, i.e., identify_hypervisor() failed to identify some 
>> hypervisors.
>>   This function assumes cpu_feature2 is already initialized.
>>
>>   Reported by:  dexuan
>>   Tested by:dexuan
>>
>> Modified:
>>   head/sys/amd64/amd64/machdep.c
>>   head/sys/i386/include/md_var.h
>>   head/sys/x86/include/x86_var.h
>>   head/sys/x86/x86/identcpu.c
>>
>> Modified: head/sys/amd64/amd64/machdep.c
>> ==
>> --- head/sys/amd64/amd64/machdep.c  Wed Aug  9 18:06:27 2017
>> (r322322)
>> +++ head/sys/amd64/amd64/machdep.c  Wed Aug  9 18:09:09 2017
>> (r322323)
>> @@ -1537,6 +1537,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
>>
>> kmdp = init_ops.parse_preload_data(modulep);
>>
>> +   identify_cpu();
>> identify_hypervisor();
>>
>> /* Init basic tunables, hz etc */
>> @@ -1643,7 +1644,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
>> != NULL)
>> vty_set_preferred(VTY_VT);
>>
>> -   identify_cpu(); /* Final stage of CPU initialization */
>> +   finishidentcpu();   /* Final stage of CPU initialization */
>> initializecpu();/* Initialize CPU registers */
>> initializecpucache();
>>
>>
>> Modified: head/sys/i386/include/md_var.h
>> ==
>> --- head/sys/i386/include/md_var.h  Wed Aug  9 18:06:27 2017
>> (r322322)
>> +++ head/sys/i386/include/md_var.h  Wed Aug  9 18:09:09 2017
>> (r322323)
>> @@ -59,7 +59,6 @@ void  doreti_popl_es(void) __asm(__STRING(doreti_popl_e
>>  void   doreti_popl_es_fault(void) __asm(__STRING(doreti_popl_es_fault));
>>  void   doreti_popl_fs(void) __asm(__STRING(doreti_popl_fs));
>>  void   doreti_popl_fs_fault(void) __asm(__STRING(doreti_popl_fs_fault));
>> -void   finishidentcpu(void);
>>  void   fill_based_sd(struct segment_descriptor *sdp, uint32_t base);
>>  void   i686_pagezero(void *addr);
>>  void   sse2_pagezero(void *addr);
>>
>> Modified: head/sys/x86/include/x86_var.h
>> ==
>> --- head/sys/x86/include/x86_var.h  Wed Aug  9 18:06:27 2017
>> (r322322)
>> +++ head/sys/x86/include/x86_var.h  Wed Aug  9 18:09:09 2017
>> (r322323)
>> @@ -115,6 +115,7 @@ voidcpu_probe_amdc1e(void);
>>  void   cpu_setregs(void);
>>  void   dump_add_page(vm_paddr_t);
>>  void   dump_drop_page(vm_paddr_t);
>> +void   finishidentcpu(void);
>>  void   identify_cpu(void);
>>  void   identify_hypervisor(void);
>>  void   initializecpu(void);
>>
>> Modified: head/sys/x86/x86/identcpu.c
>> ==
>> --- head/sys/x86/x86/identcpu.c Wed Aug  9 18:06:27 2017(r322322)
>> +++ head/sys/x86/x86/identcpu.c Wed Aug  9 18:09:09 2017(r322323)
>> @@ -1372,23 +1372,12 @@ fix_cpuid(void)
>> return (false);
>>  }
>>
>> -/*
>> - * Final stage of CPU identification.
>> - */
>> -#ifdef __i386__
>> +#ifdef __amd64__
>>  void
>> -finishidentcpu(void)
>> -#else
>> -void
>>  identify_cpu(void)
>> -#endif
>>  {
>> -   u_int regs[4], cpu_stdext_disable;
>> -#ifdef __i386__
>> -   u_char ccr3;
>> -#endif
>> +   u_int regs[4];
>>
>> -#ifdef __amd64__
>> do_cpuid(0, regs);
>> cpu_high = regs[0];
>> ((u_int *)_vendor)[0] = regs[1];
>> @@ -1401,6 +1390,18 @@ identify_cpu(void)
>> cpu_procinfo = regs[1];
>> cpu_feature = regs[3];
>> cpu_feature2 = regs[2];
>> +}
>> +#endif
>> +
>> +/*
>> + * Final stage of CPU identification.
>> + */
>> +void
>> +finishidentcpu(void)
>> +{
>> +   u_int regs[4], cpu_stdext_disable;
>> +#ifdef __i386__
>> +   u_char ccr3;
>>  #endif
>>
>> cpu_vendor_id = find_cpu_vendor_id();
>> ___
>> svn-src-...@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/svn-src-all
>> To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
>
>
>
> --
> Tomorrow Will Never Die



-- 
Tomorrow Will Never Die
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to 

Re: svn commit: r322323 - in head/sys: amd64/amd64 i386/include x86/include x86/x86

2017-08-14 Thread Sepherosa Ziehau
Please MFC this to 10-stable/11-stable.

Thanks,
sephe

On Thu, Aug 10, 2017 at 2:09 AM, Jung-uk Kim  wrote:
> Author: jkim
> Date: Wed Aug  9 18:09:09 2017
> New Revision: 322323
> URL: https://svnweb.freebsd.org/changeset/base/322323
>
> Log:
>   Split identify_cpu() into two functions for amd64 as we do for i386.  This
>   reduces diff between amd64 and i386.  Also, it fixes a regression introduced
>   in r322076, i.e., identify_hypervisor() failed to identify some hypervisors.
>   This function assumes cpu_feature2 is already initialized.
>
>   Reported by:  dexuan
>   Tested by:dexuan
>
> Modified:
>   head/sys/amd64/amd64/machdep.c
>   head/sys/i386/include/md_var.h
>   head/sys/x86/include/x86_var.h
>   head/sys/x86/x86/identcpu.c
>
> Modified: head/sys/amd64/amd64/machdep.c
> ==
> --- head/sys/amd64/amd64/machdep.c  Wed Aug  9 18:06:27 2017
> (r322322)
> +++ head/sys/amd64/amd64/machdep.c  Wed Aug  9 18:09:09 2017
> (r322323)
> @@ -1537,6 +1537,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
>
> kmdp = init_ops.parse_preload_data(modulep);
>
> +   identify_cpu();
> identify_hypervisor();
>
> /* Init basic tunables, hz etc */
> @@ -1643,7 +1644,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
> != NULL)
> vty_set_preferred(VTY_VT);
>
> -   identify_cpu(); /* Final stage of CPU initialization */
> +   finishidentcpu();   /* Final stage of CPU initialization */
> initializecpu();/* Initialize CPU registers */
> initializecpucache();
>
>
> Modified: head/sys/i386/include/md_var.h
> ==
> --- head/sys/i386/include/md_var.h  Wed Aug  9 18:06:27 2017
> (r322322)
> +++ head/sys/i386/include/md_var.h  Wed Aug  9 18:09:09 2017
> (r322323)
> @@ -59,7 +59,6 @@ void  doreti_popl_es(void) __asm(__STRING(doreti_popl_e
>  void   doreti_popl_es_fault(void) __asm(__STRING(doreti_popl_es_fault));
>  void   doreti_popl_fs(void) __asm(__STRING(doreti_popl_fs));
>  void   doreti_popl_fs_fault(void) __asm(__STRING(doreti_popl_fs_fault));
> -void   finishidentcpu(void);
>  void   fill_based_sd(struct segment_descriptor *sdp, uint32_t base);
>  void   i686_pagezero(void *addr);
>  void   sse2_pagezero(void *addr);
>
> Modified: head/sys/x86/include/x86_var.h
> ==
> --- head/sys/x86/include/x86_var.h  Wed Aug  9 18:06:27 2017
> (r322322)
> +++ head/sys/x86/include/x86_var.h  Wed Aug  9 18:09:09 2017
> (r322323)
> @@ -115,6 +115,7 @@ voidcpu_probe_amdc1e(void);
>  void   cpu_setregs(void);
>  void   dump_add_page(vm_paddr_t);
>  void   dump_drop_page(vm_paddr_t);
> +void   finishidentcpu(void);
>  void   identify_cpu(void);
>  void   identify_hypervisor(void);
>  void   initializecpu(void);
>
> Modified: head/sys/x86/x86/identcpu.c
> ==
> --- head/sys/x86/x86/identcpu.c Wed Aug  9 18:06:27 2017(r322322)
> +++ head/sys/x86/x86/identcpu.c Wed Aug  9 18:09:09 2017(r322323)
> @@ -1372,23 +1372,12 @@ fix_cpuid(void)
> return (false);
>  }
>
> -/*
> - * Final stage of CPU identification.
> - */
> -#ifdef __i386__
> +#ifdef __amd64__
>  void
> -finishidentcpu(void)
> -#else
> -void
>  identify_cpu(void)
> -#endif
>  {
> -   u_int regs[4], cpu_stdext_disable;
> -#ifdef __i386__
> -   u_char ccr3;
> -#endif
> +   u_int regs[4];
>
> -#ifdef __amd64__
> do_cpuid(0, regs);
> cpu_high = regs[0];
> ((u_int *)_vendor)[0] = regs[1];
> @@ -1401,6 +1390,18 @@ identify_cpu(void)
> cpu_procinfo = regs[1];
> cpu_feature = regs[3];
> cpu_feature2 = regs[2];
> +}
> +#endif
> +
> +/*
> + * Final stage of CPU identification.
> + */
> +void
> +finishidentcpu(void)
> +{
> +   u_int regs[4], cpu_stdext_disable;
> +#ifdef __i386__
> +   u_char ccr3;
>  #endif
>
> cpu_vendor_id = find_cpu_vendor_id();
> ___
> svn-src-...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-all
> To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"



-- 
Tomorrow Will Never Die
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


svn commit: r322488 - in head/sys/dev/hyperv: include netvsc pcib storvsc utilities vmbus vmbus/amd64

2017-08-14 Thread Sepherosa Ziehau
Author: sephe
Date: Mon Aug 14 06:00:50 2017
New Revision: 322488
URL: https://svnweb.freebsd.org/changeset/base/322488

Log:
  hyperv: Update copyright for the files changed in 2017
  
  MFC after:3 days
  Sponsored by: Microsoft
  Differential Revision:https://reviews.freebsd.org/D11982

Modified:
  head/sys/dev/hyperv/include/hyperv.h
  head/sys/dev/hyperv/netvsc/hn_nvs.c
  head/sys/dev/hyperv/netvsc/hn_nvs.h
  head/sys/dev/hyperv/netvsc/hn_rndis.c
  head/sys/dev/hyperv/netvsc/hn_rndis.h
  head/sys/dev/hyperv/netvsc/if_hn.c
  head/sys/dev/hyperv/netvsc/if_hnreg.h
  head/sys/dev/hyperv/netvsc/if_hnvar.h
  head/sys/dev/hyperv/pcib/vmbus_pcib.c
  head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
  head/sys/dev/hyperv/storvsc/hv_vstorage.h
  head/sys/dev/hyperv/utilities/hv_kvp.c
  head/sys/dev/hyperv/utilities/vmbus_timesync.c
  head/sys/dev/hyperv/vmbus/amd64/hyperv_machdep.c
  head/sys/dev/hyperv/vmbus/hyperv.c
  head/sys/dev/hyperv/vmbus/vmbus.c
  head/sys/dev/hyperv/vmbus/vmbus_et.c

Modified: head/sys/dev/hyperv/include/hyperv.h
==
--- head/sys/dev/hyperv/include/hyperv.hMon Aug 14 05:55:16 2017
(r322487)
+++ head/sys/dev/hyperv/include/hyperv.hMon Aug 14 06:00:50 2017
(r322488)
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2009-2012,2016 Microsoft Corp.
+ * Copyright (c) 2009-2012,2016-2017 Microsoft Corp.
  * Copyright (c) 2012 NetApp Inc.
  * Copyright (c) 2012 Citrix Inc.
  * All rights reserved.

Modified: head/sys/dev/hyperv/netvsc/hn_nvs.c
==
--- head/sys/dev/hyperv/netvsc/hn_nvs.c Mon Aug 14 05:55:16 2017
(r322487)
+++ head/sys/dev/hyperv/netvsc/hn_nvs.c Mon Aug 14 06:00:50 2017
(r322488)
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2009-2012,2016 Microsoft Corp.
+ * Copyright (c) 2009-2012,2016-2017 Microsoft Corp.
  * Copyright (c) 2010-2012 Citrix Inc.
  * Copyright (c) 2012 NetApp Inc.
  * All rights reserved.

Modified: head/sys/dev/hyperv/netvsc/hn_nvs.h
==
--- head/sys/dev/hyperv/netvsc/hn_nvs.h Mon Aug 14 05:55:16 2017
(r322487)
+++ head/sys/dev/hyperv/netvsc/hn_nvs.h Mon Aug 14 06:00:50 2017
(r322488)
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2009-2012,2016 Microsoft Corp.
+ * Copyright (c) 2009-2012,2016-2017 Microsoft Corp.
  * Copyright (c) 2010-2012 Citrix Inc.
  * Copyright (c) 2012 NetApp Inc.
  * All rights reserved.

Modified: head/sys/dev/hyperv/netvsc/hn_rndis.c
==
--- head/sys/dev/hyperv/netvsc/hn_rndis.c   Mon Aug 14 05:55:16 2017
(r322487)
+++ head/sys/dev/hyperv/netvsc/hn_rndis.c   Mon Aug 14 06:00:50 2017
(r322488)
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2009-2012,2016 Microsoft Corp.
+ * Copyright (c) 2009-2012,2016-2017 Microsoft Corp.
  * Copyright (c) 2010-2012 Citrix Inc.
  * Copyright (c) 2012 NetApp Inc.
  * All rights reserved.

Modified: head/sys/dev/hyperv/netvsc/hn_rndis.h
==
--- head/sys/dev/hyperv/netvsc/hn_rndis.h   Mon Aug 14 05:55:16 2017
(r322487)
+++ head/sys/dev/hyperv/netvsc/hn_rndis.h   Mon Aug 14 06:00:50 2017
(r322488)
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2009-2012,2016 Microsoft Corp.
+ * Copyright (c) 2009-2012,2016-2017 Microsoft Corp.
  * Copyright (c) 2010-2012 Citrix Inc.
  * Copyright (c) 2012 NetApp Inc.
  * All rights reserved.

Modified: head/sys/dev/hyperv/netvsc/if_hn.c
==
--- head/sys/dev/hyperv/netvsc/if_hn.c  Mon Aug 14 05:55:16 2017
(r322487)
+++ head/sys/dev/hyperv/netvsc/if_hn.c  Mon Aug 14 06:00:50 2017
(r322488)
@@ -1,6 +1,6 @@
 /*-
  * Copyright (c) 2010-2012 Citrix Inc.
- * Copyright (c) 2009-2012,2016 Microsoft Corp.
+ * Copyright (c) 2009-2012,2016-2017 Microsoft Corp.
  * Copyright (c) 2012 NetApp Inc.
  * All rights reserved.
  *

Modified: head/sys/dev/hyperv/netvsc/if_hnreg.h
==
--- head/sys/dev/hyperv/netvsc/if_hnreg.h   Mon Aug 14 05:55:16 2017
(r322487)
+++ head/sys/dev/hyperv/netvsc/if_hnreg.h   Mon Aug 14 06:00:50 2017
(r322488)
@@ -1,5 +1,5 @@
 /*-
- * Copyright (c) 2016 Microsoft Corp.
+ * Copyright (c) 2016-2017 Microsoft Corp.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without

Modified: head/sys/dev/hyperv/netvsc/if_hnvar.h
==
--- head/sys/dev/hyperv/netvsc/if_hnvar.h   Mon Aug 14 05:55:16 2017
(r322487)
+++ head/sys/dev/hyperv/netvsc/if_hnvar.h   Mon Aug 14 06:00:50 2017
(r322488)
@@ -1,5