svn commit: r339906 - in stable/12/sys: conf dev/netmap net

2018-10-30 Thread Vincenzo Maffione
Author: vmaffione Date: Tue Oct 30 08:36:36 2018 New Revision: 339906 URL: https://svnweb.freebsd.org/changeset/base/339906 Log: MFC r339639: netmap: align codebase to the current upstream (sha 8374e1a7e6941) Changelist: - Move large parts of VALE code to a new file and header ne

svn commit: r339907 - head/lib/csu/tests

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 09:36:31 2018 New Revision: 339907 URL: https://svnweb.freebsd.org/changeset/base/339907 Log: The jcr argument to _Jv_RegisterClasses is used, stop marking it otherwise. MFC with: r339738 Sponsored by: DARPA, AFRL Modified: head/lib/csu/tests/init_te

svn commit: r339908 - in head: etc/mtree lib/csu/tests lib/csu/tests/dso lib/csu/tests/dynamiclib

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 09:43:26 2018 New Revision: 339908 URL: https://svnweb.freebsd.org/changeset/base/339908 Log: Run the csu tests on a DSO. This builds the tests into a shared library, then runs these from the base test programs. With this we can check crtbeginS.o and crtendS.o

svn commit: r339909 - head/sys/net

2018-10-30 Thread Marcelo Araujo
Author: araujo Date: Tue Oct 30 09:53:57 2018 New Revision: 339909 URL: https://svnweb.freebsd.org/changeset/base/339909 Log: Allow changing lagg(4) MTU. Previously, changing the MTU would require destroying the lagg and creating a new one. Now it is allowed to change the MTU of the lag

svn commit: r339910 - in stable/12: share/man/man4 tools/tools/netmap

2018-10-30 Thread Vincenzo Maffione
Author: vmaffione Date: Tue Oct 30 10:01:15 2018 New Revision: 339910 URL: https://svnweb.freebsd.org/changeset/base/339910 Log: MFC r339659: netmap: add man page for the bridge program Added bridge(8). Also, minor fixes to the netmap "bridge" application: - indentation fixes and

svn commit: r339911 - head/sys/amd64/vmm/amd

2018-10-30 Thread Marcelo Araujo
Author: araujo Date: Tue Oct 30 10:02:23 2018 New Revision: 339911 URL: https://svnweb.freebsd.org/changeset/base/339911 Log: Emulate machine check related MSR_EXTFEATURES to allow guest OSes to boot on AMD FX Series. PR: 224476 Submitted by: Keita Uchida Reviewed by: rgri

svn commit: r339912 - head/lib/csu/tests

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 10:16:21 2018 New Revision: 339912 URL: https://svnweb.freebsd.org/changeset/base/339912 Log: Fix the location of the static keyword. MFC with: r339738 Sponsored by: DARPA, AFRL Modified: head/lib/csu/tests/init_test.c Modified: head/lib/csu/tests/i

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Michael Tuexen
> On 29. Oct 2018, at 22:08, Alex Richardson wrote: > > Author: arichardson > Date: Mon Oct 29 21:08:02 2018 > New Revision: 339876 > URL: https://svnweb.freebsd.org/changeset/base/339876 > > Log: > rtld: set obj->textsize correctly > > With lld-generated binaries the first PT_LOAD will usual

svn commit: r339913 - head/lib/csu/tests

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 11:19:47 2018 New Revision: 339913 URL: https://svnweb.freebsd.org/changeset/base/339913 Log: Disable the .preinit_array test in DSOs, ld.bfd fails to link objects with the section. MFC with: r339738 Sponsored by: DARPA, AFRL Modified: head/lib/csu

svn commit: r339914 - head/sys/powerpc/powermac

2018-10-30 Thread Michael Tuexen
Author: tuexen Date: Tue Oct 30 11:51:09 2018 New Revision: 339914 URL: https://svnweb.freebsd.org/changeset/base/339914 Log: Bump the number of fans supported from 8 to 12. The number of fans on a PowerMac7,3 with liquid cooling is 9. Reviewed by: andreast@ MFC after:

svn commit: r339915 - stable/12/tools/tools/netmap

2018-10-30 Thread Vincenzo Maffione
Author: vmaffione Date: Tue Oct 30 14:25:16 2018 New Revision: 339915 URL: https://svnweb.freebsd.org/changeset/base/339915 Log: MFC r339685 netmap: add man page for the vale-ctl program Added man page for vale-ctl program. Small fixes to vale-ctl, including the support for -m option

svn commit: r339916 - in head/lib/csu: . arm mips powerpc riscv sparc64 tests

2018-10-30 Thread Andrew Turner
Author: andrew Date: Tue Oct 30 14:44:12 2018 New Revision: 339916 URL: https://svnweb.freebsd.org/changeset/base/339916 Log: Build the csu tests on all architectures. The tests haven't been run them, but this is enough to build them so I can get feedback on if the various crt.h headers a

svn commit: r339917 - head/sys/kern

2018-10-30 Thread Eric van Gyzen
Author: vangyzen Date: Tue Oct 30 14:54:15 2018 New Revision: 339917 URL: https://svnweb.freebsd.org/changeset/base/339917 Log: Always stop the scheduler when entering kdb Set curthread->td_stopsched when entering kdb via any vector. Previously, it was only set when entering via panic, so

svn commit: r339918 - stable/12/sys/geom/eli

2018-10-30 Thread Xin LI
Author: delphij Date: Tue Oct 30 15:11:34 2018 New Revision: 339918 URL: https://svnweb.freebsd.org/changeset/base/339918 Log: Restore backward compatibility for "attach" verb. In r332361 and r333439, two new parameters were added to geli attach verb using gctl_get_paraml, which requires

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Alexander Richardson
On Tue, 30 Oct 2018 at 10:17, Michael Tuexen wrote: > > > On 29. Oct 2018, at 22:08, Alex Richardson wrote: > > > > Author: arichardson > > Date: Mon Oct 29 21:08:02 2018 > > New Revision: 339876 > > URL: https://svnweb.freebsd.org/changeset/base/339876 > > > > Log: > > rtld: set obj->textsize c

svn commit: r339919 - head/usr.sbin/nscd

2018-10-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 30 15:39:33 2018 New Revision: 339919 URL: https://svnweb.freebsd.org/changeset/base/339919 Log: Make "nscd -t" work. Reviewed by: des@ MFC after:2 weeks Sponsored by: Chalmers University of Technology Differential Revision:https://reviews.free

svn commit: r339920 - head/contrib/tzcode/stdtime

2018-10-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 30 15:43:06 2018 New Revision: 339920 URL: https://svnweb.freebsd.org/changeset/base/339920 Log: Remove useless call to access(2) from tzcode. Quoting OpenBSD: > Remove doaccess variable and access(2) call since this interfers with > applications like zdump(8)

svn commit: r339921 - head/contrib/tzcode/stdtime

2018-10-30 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 30 15:44:16 2018 New Revision: 339921 URL: https://svnweb.freebsd.org/changeset/base/339921 Log: Remove no longer relevant comment, as suggested by imp@. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/contrib/tzcode/stdtime/localtime.c Modif

svn commit: r339922 - in head: share/man/man5 share/mk sys/conf tools/build/options

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 15:46:30 2018 New Revision: 339922 URL: https://svnweb.freebsd.org/changeset/base/339922 Log: Introduce an EXPERIMENTAL option for both src.conf(5) and the kernel. In the last decade(s) we have seen both short term or long term projects committed to the tree wh

Re: svn commit: r339901 - head/sys/conf

2018-10-30 Thread Mark Johnston
On Tue, Oct 30, 2018 at 12:23:38AM +, John Baldwin wrote: > Author: jhb > Date: Tue Oct 30 00:23:37 2018 > New Revision: 339901 > URL: https://svnweb.freebsd.org/changeset/base/339901 > > Log: > Permit local kernel modules to be built as part of a kernel build. > > Add support for "loca

Re: svn commit: r339901 - head/sys/conf

2018-10-30 Thread Rodney W. Grimes
> On Tue, Oct 30, 2018 at 12:23:38AM +, John Baldwin wrote: > > Author: jhb > > Date: Tue Oct 30 00:23:37 2018 > > New Revision: 339901 > > URL: https://svnweb.freebsd.org/changeset/base/339901 > > > > Log: > > Permit local kernel modules to be built as part of a kernel build. > > > > A

Re: svn commit: r339917 - head/sys/kern

2018-10-30 Thread Andriy Gapon
On 30/10/2018 16:54, Eric van Gyzen wrote: > Author: vangyzen > Date: Tue Oct 30 14:54:15 2018 > New Revision: 339917 > URL: https://svnweb.freebsd.org/changeset/base/339917 > > Log: > Always stop the scheduler when entering kdb > > Set curthread->td_stopsched when entering kdb via any vect

Re: svn commit: r339901 - head/sys/conf

2018-10-30 Thread John Baldwin
On 10/30/18 8:55 AM, Rodney W. Grimes wrote: >> On Tue, Oct 30, 2018 at 12:23:38AM +, John Baldwin wrote: >>> Author: jhb >>> Date: Tue Oct 30 00:23:37 2018 >>> New Revision: 339901 >>> URL: https://svnweb.freebsd.org/changeset/base/339901 >>> >>> Log: >>> Permit local kernel modules to be bu

svn commit: r339923 - head/sys/compat/linuxkpi/common/include/linux

2018-10-30 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 30 16:32:52 2018 New Revision: 339923 URL: https://svnweb.freebsd.org/changeset/base/339923 Log: Implement __KERNEL_DIV_ROUND_UP() function macro in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:3 days Sponsored by: M

Re: svn commit: r339901 - head/sys/conf

2018-10-30 Thread John Baldwin
On 10/29/18 5:23 PM, John Baldwin wrote: > Author: jhb > Date: Tue Oct 30 00:23:37 2018 > New Revision: 339901 > URL: https://svnweb.freebsd.org/changeset/base/339901 > > Log: > Permit local kernel modules to be built as part of a kernel build. > > Add support for "local" modules. By defau

svn commit: r339924 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src modules/linuxkpi

2018-10-30 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 30 16:42:56 2018 New Revision: 339924 URL: https://svnweb.freebsd.org/changeset/base/339924 Log: Implement the dump_stack() function in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:3 days Sponsored by: Mellanox Techn

Re: svn commit: r339901 - head/sys/conf

2018-10-30 Thread Ian Lepore
On Tue, 2018-10-30 at 09:40 -0700, John Baldwin wrote: > On 10/29/18 5:23 PM, John Baldwin wrote: > > > > Author: jhb > > Date: Tue Oct 30 00:23:37 2018 > > New Revision: 339901 > > URL: https://svnweb.freebsd.org/changeset/base/339901 > > > > Log: > >   Permit local kernel modules to be built as

svn commit: r339925 - in head/sys: kern vm

2018-10-30 Thread Mark Johnston
Author: markj Date: Tue Oct 30 17:57:40 2018 New Revision: 339925 URL: https://svnweb.freebsd.org/changeset/base/339925 Log: Fix some problems that manifest when NUMA domain 0 is empty. - In uma_prealloc(), we need to check for an empty domain before the first allocation attempt, not af

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Konstantin Belousov
On Tue, Oct 30, 2018 at 03:32:40PM +, Alexander Richardson wrote: > On Tue, 30 Oct 2018 at 10:17, Michael Tuexen > wrote: > > > > > On 29. Oct 2018, at 22:08, Alex Richardson > > > wrote: > > > > > > Author: arichardson > > > Date: Mon Oct 29 21:08:02 2018 > > > New Revision: 339876 > > > UR

svn commit: r339926 - head/sys/conf

2018-10-30 Thread John Baldwin
Author: jhb Date: Tue Oct 30 18:20:34 2018 New Revision: 339926 URL: https://svnweb.freebsd.org/changeset/base/339926 Log: Only invoke 'ls' if the local modules directory exists. This avoids a spurious make warning if /usr/local/sys/modules doesn't exist. Submitted by: rgrimes Repo

svn commit: r339927 - in head: . share/man/man9 sys/dev/hwpmc sys/i386/i386 sys/kern sys/sys sys/vm sys/x86/iommu sys/x86/x86

2018-10-30 Thread Mark Johnston
== --- head/ObsoleteFiles.inc Tue Oct 30 18:20:34 2018(r339926) +++ head/ObsoleteFiles.inc Tue Oct 30 18:26:34 2018(r339927) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20181030

svn commit: r339928 - stable/11/sys/x86/isa

2018-10-30 Thread John Baldwin
Author: jhb Date: Tue Oct 30 19:10:41 2018 New Revision: 339928 URL: https://svnweb.freebsd.org/changeset/base/339928 Log: MFC 338148: Remove 'imen' global variable from atpic(4). In pre-SMPng, the global 'imen' was used to track mask state of the hardware interrupts and was aligned to th

svn commit: r339929 - in head: sbin/ifconfig sys/net sys/netinet sys/netinet6 usr.sbin/ndp usr.sbin/rtadvd

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 20:08:48 2018 New Revision: 339929 URL: https://svnweb.freebsd.org/changeset/base/339929 Log: Initial implementation of draft-ietf-6man-ipv6only-flag. This change defines the RA "6" (IPv6-Only) flag which routers may advertise, kernel logic to check if all rout

svn commit: r339930 - head/sys/net

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 20:45:15 2018 New Revision: 339930 URL: https://svnweb.freebsd.org/changeset/base/339930 Log: With more excessive use of modules, more kernel parts working with VIMAGE, and feature richness and global state increasing the 8k of vnet module space are no longer suff

svn commit: r339931 - head/sys/kern

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 20:51:03 2018 New Revision: 339931 URL: https://svnweb.freebsd.org/changeset/base/339931 Log: As a follow-up to r339930 and various reports implement logging in case we fail during module load because the pcpu or vnet module sections are full. We did return a pro

svn commit: r339932 - in stable: 10/sys/dev/pci 11/sys/dev/pci

2018-10-30 Thread John Baldwin
Author: jhb Date: Tue Oct 30 21:31:32 2018 New Revision: 339932 URL: https://svnweb.freebsd.org/changeset/base/339932 Log: MFC 338408: Don't directly dereference a user pointer in the VPD ioctl. The PCIOCLISTVPD ioctl on /dev/pci is used to fetch a list of VPD key-value pairs for a specif

svn commit: r339932 - in stable: 10/sys/dev/pci 11/sys/dev/pci

2018-10-30 Thread John Baldwin
Author: jhb Date: Tue Oct 30 21:31:32 2018 New Revision: 339932 URL: https://svnweb.freebsd.org/changeset/base/339932 Log: MFC 338408: Don't directly dereference a user pointer in the VPD ioctl. The PCIOCLISTVPD ioctl on /dev/pci is used to fetch a list of VPD key-value pairs for a specif

svn commit: r339933 - head/sys/kern

2018-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Oct 30 21:35:56 2018 New Revision: 339933 URL: https://svnweb.freebsd.org/changeset/base/339933 Log: Fix mips build after r339931. I erroneously thought that it was two 64bit platforms which use link_elf_obj.c. PR: 228854 Reported by: ci.f.o. MFC after

svn commit: r339934 - head/sys/vm

2018-10-30 Thread Mark Johnston
Author: markj Date: Tue Oct 30 22:40:40 2018 New Revision: 339934 URL: https://svnweb.freebsd.org/changeset/base/339934 Log: Revert r336984. It appears to be responsible for random segfaults observed when lots of paging activity is taking place, but the root cause is not yet understood.

svn commit: r339935 - stable/12/sys/vm

2018-10-30 Thread Mark Johnston
Author: markj Date: Tue Oct 30 23:09:04 2018 New Revision: 339935 URL: https://svnweb.freebsd.org/changeset/base/339935 Log: MFC r339934: Revert r336984. Approved by: re (kib) Modified: stable/12/sys/vm/vm_object.c Directory Properties: stable/12/ (props changed) Modified: stable

svn commit: r339936 - head/sys/amd64/vmm/amd

2018-10-30 Thread Marcelo Araujo
Author: araujo Date: Wed Oct 31 01:27:44 2018 New Revision: 339936 URL: https://svnweb.freebsd.org/changeset/base/339936 Log: Merge cases with upper block. This is a cosmetic change only to simplify code. Reported by: anish Sponsored by: iXsystems Inc. Modified: head/sys/amd64/vmm/a

svn commit: r339937 - stable/12/contrib/tzdata

2018-10-30 Thread Philip Paeps
Author: philip Date: Wed Oct 31 01:57:51 2018 New Revision: 339937 URL: https://svnweb.freebsd.org/changeset/base/339937 Log: MFC r339848: mport tzdata 2018g Approved by: re (kib) Modified: stable/12/contrib/tzdata/NEWS stable/12/contrib/tzdata/africa stable/12/contrib/tzdata/europe

svn commit: r339939 - in stable/12: share/man/man9 sys/kern sys/sys sys/vm sys/x86/acpica

2018-10-30 Thread Mark Johnston
Author: markj Date: Wed Oct 31 02:02:12 2018 New Revision: 339939 URL: https://svnweb.freebsd.org/changeset/base/339939 Log: MFC r339452, r339664: Create some global domainsets and refactor NUMA registration. Approved by: re (kib) Modified: stable/12/share/man/man9/domainset.9 stabl

svn commit: r339938 - stable/11/contrib/tzdata

2018-10-30 Thread Philip Paeps
Author: philip Date: Wed Oct 31 02:01:28 2018 New Revision: 339938 URL: https://svnweb.freebsd.org/changeset/base/339938 Log: MFC r339848: Import tzdata 2018g Modified: stable/11/contrib/tzdata/NEWS stable/11/contrib/tzdata/africa stable/11/contrib/tzdata/europe stable/11/contrib/tzdata

svn commit: r339940 - stable/10/contrib/tzdata

2018-10-30 Thread Philip Paeps
Author: philip Date: Wed Oct 31 02:02:41 2018 New Revision: 339940 URL: https://svnweb.freebsd.org/changeset/base/339940 Log: MFC r339848: Import tzdata 2018g Modified: stable/10/contrib/tzdata/NEWS stable/10/contrib/tzdata/africa stable/10/contrib/tzdata/europe stable/10/contrib/tzdata

svn commit: r339941 - in head/sbin: fsck_ffs fsdb

2018-10-30 Thread Kirk McKusick
Author: mckusick Date: Wed Oct 31 05:17:53 2018 New Revision: 339941 URL: https://svnweb.freebsd.org/changeset/base/339941 Log: In preparation for adding inode check-hashes, change the fsck_ffs inodirty() function to have a pointer to the inode being dirtied. No functional change (as for now

svn commit: r339942 - stable/10/sys/dev/hyperv/netvsc

2018-10-30 Thread Wei Hu
Author: whu Date: Wed Oct 31 06:24:07 2018 New Revision: 339942 URL: https://svnweb.freebsd.org/changeset/base/339942 Log: MFC: 339585 r339585: Do not drop UDP traffic when TXCSUM_IPV6 flag is on PR: 231797 Submitted by: whu Reviewed by: