svn commit: r320639 - releng/11.1/sys/kern

2017-07-03 Thread Konstantin Belousov
Author: kib Date: Tue Jul 4 05:37:58 2017 New Revision: 320639 URL: https://svnweb.freebsd.org/changeset/base/320639 Log: MFC r320422: Do not ignore an error from vm_mmap_object(). Approved by: re (delphij) Modified: releng/11.1/sys/kern/uipc_shm.c Directory Properties:

svn commit: r320638 - stable/11/sys/kern

2017-07-03 Thread Konstantin Belousov
Author: kib Date: Tue Jul 4 04:53:21 2017 New Revision: 320638 URL: https://svnweb.freebsd.org/changeset/base/320638 Log: MFC r320422: Do not ignore an error from vm_mmap_object(). Modified: stable/11/sys/kern/uipc_shm.c Directory Properties: stable/11/ (props changed) Modified:

Re: svn commit: r320222 - in stable/10: etc etc/cron.d etc/mtree etc/newsyslog.conf.d etc/pam.d etc/syslog.d tools/build/mk usr.sbin/cron/cron usr.sbin/cron/lib usr.sbin/syslogd

2017-07-03 Thread Ngie Cooper
On Jul 3, 2017, at 19:11, Rodney W. Grimes wrote: ... > I believe it WAS merged to 10, since that didnt get gated by a request > to RE@, can we please get the splitting of these files backed out > of the stable/10 branch? Please check again. It was backed

Re: svn commit: r320222 - in stable/10: etc etc/cron.d etc/mtree etc/newsyslog.conf.d etc/pam.d etc/syslog.d tools/build/mk usr.sbin/cron/cron usr.sbin/cron/lib usr.sbin/syslogd

2017-07-03 Thread Rodney W. Grimes
> On 6/22/17 4:02 AM, Ngie Cooper (yaneurabeya) wrote: > > > >> On Jun 22, 2017, at 00:35, John Baldwin wrote: > > > > ? > > > >> Please revert the breakout of the existing config files. I think that > >> splitting > >> up the conf files is too disruptive of a change (POLA)

svn commit: r320637 - in stable/10/sys: fs/nfs fs/nfsclient sys

2017-07-03 Thread Rick Macklem
Author: rmacklem Date: Tue Jul 4 01:28:17 2017 New Revision: 320637 URL: https://svnweb.freebsd.org/changeset/base/320637 Log: MFC: r320062, r320070, r320126 This is a partial merge of only the NFS changes and not the maxbcachebuf tunable. The NFS client changes make the code handle

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

2017-07-03 Thread Mark Johnston
Author: markj Date: Tue Jul 4 01:23:36 2017 New Revision: 320636 URL: https://svnweb.freebsd.org/changeset/base/320636 Log: Add some auxiliary types for device driver support. MFC after:1 week Modified: head/sys/compat/linuxkpi/common/include/linux/device.h

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

2017-07-03 Thread Mark Johnston
Author: markj Date: Tue Jul 4 01:05:20 2017 New Revision: 320635 URL: https://svnweb.freebsd.org/changeset/base/320635 Log: Add a field for the class code to struct pci_driver. Fill out some previously uninitialized fields as well. MFC after:1 week Modified:

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

2017-07-03 Thread Mark Johnston
Author: markj Date: Tue Jul 4 00:48:50 2017 New Revision: 320634 URL: https://svnweb.freebsd.org/changeset/base/320634 Log: Add some PCI class definitions. MFC after:1 week Modified: head/sys/compat/linuxkpi/common/include/linux/pci.h Modified:

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

2017-07-03 Thread Mark Johnston
Author: markj Date: Tue Jul 4 00:30:48 2017 New Revision: 320633 URL: https://svnweb.freebsd.org/changeset/base/320633 Log: Rename the "driver" field to "bsddriver" to avoid a name collision. MFC after:1 week Modified: head/sys/compat/linuxkpi/common/include/linux/pci.h

svn commit: r320632 - head/sys/dev/ena

2017-07-03 Thread Zbigniew Bodek
Author: zbb Date: Tue Jul 4 00:10:29 2017 New Revision: 320632 URL: https://svnweb.freebsd.org/changeset/base/320632 Log: Replace mbuf defragmentation with collapse Collapse should be more effective than defragmentation. Added missing declaration of ena_check_and_collapse_mbuf().

svn commit: r320631 - head/sys/dev/ena

2017-07-03 Thread Zbigniew Bodek
Author: zbb Date: Tue Jul 4 00:08:47 2017 New Revision: 320631 URL: https://svnweb.freebsd.org/changeset/base/320631 Log: Fix creation of dma tags and TSO settings TSO settings were not reflecting real HW capabilities. DMA tags were created with wrong window - high address was the

svn commit: r320630 - head/sys/dev/ena

2017-07-03 Thread Zbigniew Bodek
Author: zbb Date: Tue Jul 4 00:06:56 2017 New Revision: 320630 URL: https://svnweb.freebsd.org/changeset/base/320630 Log: Remove RX mtx from ENA driver RX lock is no longer required. There can only be one RX cleanup task running at a time, RX cleanup cannot be executed if interface is

svn commit: r320629 - head/sys/dev/ena

2017-07-03 Thread Zbigniew Bodek
Author: zbb Date: Tue Jul 4 00:04:31 2017 New Revision: 320629 URL: https://svnweb.freebsd.org/changeset/base/320629 Log: Call drbr_advance() before leaving TX routine If drbr_advance() is not called before doing cleanup and packet is already enqueued for sending (tx_info is holding

svn commit: r320628 - head/sys/dev/ena

2017-07-03 Thread Zbigniew Bodek
Author: zbb Date: Tue Jul 4 00:02:28 2017 New Revision: 320628 URL: https://svnweb.freebsd.org/changeset/base/320628 Log: Unmask all IO irqs after driver state is set as running If driver left MSI-x handlling routine because interface was put down, it is not unmasking IRQs, so any

svn commit: r320627 - head/sys/compat/linuxkpi/common/src

2017-07-03 Thread Mark Johnston
Author: markj Date: Tue Jul 4 00:02:06 2017 New Revision: 320627 URL: https://svnweb.freebsd.org/changeset/base/320627 Log: Hold the PCI device list lock when removing an element. MFC after:1 week Modified: head/sys/compat/linuxkpi/common/src/linux_pci.c Modified:

svn commit: r320626 - head/sys/dev/ena

2017-07-03 Thread Zbigniew Bodek
Author: zbb Date: Tue Jul 4 00:00:42 2017 New Revision: 320626 URL: https://svnweb.freebsd.org/changeset/base/320626 Log: Acquire locks before calling drbr_flush() It is required to hold lock that is associated with buffer ring before flushing drbr. Submitted by: Michal Krawczyk

svn commit: r320625 - head/sys/dev/ena

2017-07-03 Thread Zbigniew Bodek
Author: zbb Date: Mon Jul 3 23:59:11 2017 New Revision: 320625 URL: https://svnweb.freebsd.org/changeset/base/320625 Log: Add missing lock upon initialization of the interface Lack of this lock was causing crash if down was called in parallel with the initialization routine.

svn commit: r320624 - head/share/man/man4

2017-07-03 Thread Mark Johnston
Author: markj Date: Mon Jul 3 23:54:39 2017 New Revision: 320624 URL: https://svnweb.freebsd.org/changeset/base/320624 Log: Fix a few issues with the lockstat provider man page. - Address most of the post-commit comments on D11128.[1] - Reference the man pages for the lock types

svn commit: r320623 - in head/contrib/jemalloc: . doc include/jemalloc include/jemalloc/internal src

2017-07-03 Thread Jason Evans
Author: jasone Date: Mon Jul 3 23:27:57 2017 New Revision: 320623 URL: https://svnweb.freebsd.org/changeset/base/320623 Log: Update jemalloc to 5.0.1. Modified: head/contrib/jemalloc/ChangeLog head/contrib/jemalloc/VERSION head/contrib/jemalloc/doc/jemalloc.3

svn commit: r320622 - in stable/10/sys: kern sys

2017-07-03 Thread Alan Cox
Author: alc Date: Mon Jul 3 22:21:44 2017 New Revision: 320622 URL: https://svnweb.freebsd.org/changeset/base/320622 Log: MFC r319699 When allocating swap blocks, if the available number of free blocks in a subtree is already zero, then setting the "largest contiguous free block"

svn commit: r320621 - in stable/11/sys: kern sys

2017-07-03 Thread Alan Cox
Author: alc Date: Mon Jul 3 22:20:42 2017 New Revision: 320621 URL: https://svnweb.freebsd.org/changeset/base/320621 Log: MFC r319699 When allocating swap blocks, if the available number of free blocks in a subtree is already zero, then setting the "largest contiguous free block"

svn commit: r320620 - head/sys/dev/sdhci

2017-07-03 Thread Marius Strobl
Author: marius Date: Mon Jul 3 20:47:32 2017 New Revision: 320620 URL: https://svnweb.freebsd.org/changeset/base/320620 Log: Correct a typo in the comment part of r320577, later on copied into the commit message; as actually implemented, the intent is to retry up to 2 ms for controllers to

svn commit: r320619 - head/sys/kern

2017-07-03 Thread Konstantin Belousov
Author: kib Date: Mon Jul 3 20:44:01 2017 New Revision: 320619 URL: https://svnweb.freebsd.org/changeset/base/320619 Log: Resolve confusion between different error code spaces. The vm_map_fixed() and vm_map_stack() VM functions return Mach error codes. Convert them into errno values

svn commit: r320618 - head/etc/rc.d

2017-07-03 Thread Kristof Provost
Author: kp Date: Mon Jul 3 20:36:58 2017 New Revision: 320618 URL: https://svnweb.freebsd.org/changeset/base/320618 Log: Allow rtadvd and bsnmpd to run in vnet jails Both of these tools are usable in vnet jails, so allow them to run there. PR: 220431, 220432 Submitted by:

svn commit: r320617 - stable/10/sys/fs/nfs

2017-07-03 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 3 20:12:31 2017 New Revision: 320617 URL: https://svnweb.freebsd.org/changeset/base/320617 Log: MFC: r319882 Define NFS_MAXXDR as the upper bound on XDR overhead in an NFS RPC. This definition is a part of the maxiotune2 patch that will be committed

svn commit: r320616 - head/contrib/libpcap/bpf/net

2017-07-03 Thread Sean Bruno
Author: sbruno Date: Mon Jul 3 19:49:25 2017 New Revision: 320616 URL: https://svnweb.freebsd.org/changeset/base/320616 Log: Clear clang warning: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] Submitted by: Aaron Prieger

svn commit: r320615 - in stable/11/sys: fs/nfs fs/nfsclient kern sys

2017-07-03 Thread Rick Macklem
Author: rmacklem Date: Mon Jul 3 19:46:12 2017 New Revision: 320615 URL: https://svnweb.freebsd.org/changeset/base/320615 Log: MFC: r319882, r320062, r320070, r320126 Make MAXBCACHEBUF a tunable called vfs.maxbcachebuf. By making MAXBCACHEBUF a tunable, it can be increased to allow for

svn commit: r320614 - head/sys/netinet

2017-07-03 Thread Sean Bruno
Author: sbruno Date: Mon Jul 3 19:39:58 2017 New Revision: 320614 URL: https://svnweb.freebsd.org/changeset/base/320614 Log: Add a sysctl to toggle the use of the sockets LOWAT when calculating auto window growth Submitted by: j...@nitrology.com (Jason Wolfe) Reviewed by: gnn hiren

svn commit: r320613 - in head/sys: amd64/conf conf i386/conf

2017-07-03 Thread Sean Bruno
Author: sbruno Date: Mon Jul 3 19:33:50 2017 New Revision: 320613 URL: https://svnweb.freebsd.org/changeset/base/320613 Log: Garbage collect kernel option TWA_FLASH_FIRMWARE Submitted by: kevin.bowling0kev009.com Differential Revision:https://reviews.freebsd.org/D11387

svn commit: r320612 - in head/sys: arm/allwinner arm/allwinner/clkng conf

2017-07-03 Thread Emmanuel Vadot
Author: manu Date: Mon Jul 3 19:30:03 2017 New Revision: 320612 URL: https://svnweb.freebsd.org/changeset/base/320612 Log: allwinner: Add A64 ccung support Upstream DTS for A64 SoC doesn't provide a /clocks node as Linux switched to ccu-ng This commit adds the necessary bits to boot

Re: svn commit: r320579 - head/usr.bin/patch

2017-07-03 Thread Pedro Giffuni
On 7/3/2017 2:14 PM, Alexey Dokuchaev wrote: On Mon, Jul 03, 2017 at 01:35:25PM -0500, Pedro Giffuni wrote: On 7/3/2017 1:17 PM, Alexey Dokuchaev wrote: On Mon, Jul 03, 2017 at 10:42:15AM -0500, Pedro Giffuni wrote: On 07/02/17 21:53, Conrad Meyer wrote: Does this change the behavior of

svn commit: r320611 - head/sys/net

2017-07-03 Thread Sean Bruno
Author: sbruno Date: Mon Jul 3 19:23:45 2017 New Revision: 320611 URL: https://svnweb.freebsd.org/changeset/base/320611 Log: iflib - flib_busdma_load_mbuf_sg used isc_tx_maxsize as max semgent size. Submitted by: krzysztof.gala...@intel.com Differential Revision:

Re: svn commit: r320579 - head/usr.bin/patch

2017-07-03 Thread Alexey Dokuchaev
On Mon, Jul 03, 2017 at 01:35:25PM -0500, Pedro Giffuni wrote: > On 7/3/2017 1:17 PM, Alexey Dokuchaev wrote: > > On Mon, Jul 03, 2017 at 10:42:15AM -0500, Pedro Giffuni wrote: > >> On 07/02/17 21:53, Conrad Meyer wrote: > >>> Does this change the behavior of 'patch -p1' (for example) with 'git >

Re: svn commit: r320579 - head/usr.bin/patch

2017-07-03 Thread Pedro Giffuni
On 7/3/2017 1:17 PM, Alexey Dokuchaev wrote: On Mon, Jul 03, 2017 at 10:42:15AM -0500, Pedro Giffuni wrote: On 07/02/17 21:53, Conrad Meyer wrote: Does this change the behavior of 'patch -p1' (for example) with 'git diff' generated diffs? So patches that could be applied with -p1 before now

svn commit: r320609 - in head/sys: dev/bnxt net

2017-07-03 Thread Sean Bruno
Author: sbruno Date: Mon Jul 3 18:23:35 2017 New Revision: 320609 URL: https://svnweb.freebsd.org/changeset/base/320609 Log: bnxt(4) Enable LRO support, redux iflib - reset fl-ifl_fragidx to 0 on iflib_fl_bufs_free(). This caused the panic in em/igb when adding it to a bridge device.

svn commit: r320608 - releng/11.1/sys/cam

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 18:20:45 2017 New Revision: 320608 URL: https://svnweb.freebsd.org/changeset/base/320608 Log: Merge r320602 from stable/11 into releng/11.1: r320602 | ken | 2017-07-03 09:34:21 -0600

Re: svn commit: r320579 - head/usr.bin/patch

2017-07-03 Thread Alexey Dokuchaev
On Mon, Jul 03, 2017 at 10:42:15AM -0500, Pedro Giffuni wrote: > On 07/02/17 21:53, Conrad Meyer wrote: > > Does this change the behavior of 'patch -p1' (for example) with 'git > > diff' generated diffs? So patches that could be applied with -p1 > > before now need to be applied with -p0? Or is

svn commit: r320607 - releng/11.1/sys/cam/scsi

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 18:07:09 2017 New Revision: 320607 URL: https://svnweb.freebsd.org/changeset/base/320607 Log: Merge r320600 from stable/11 into releng/11.1: r320600 | ken | 2017-07-03 09:10:16 -0600

svn commit: r320606 - head/sys/arm/arm

2017-07-03 Thread Emmanuel Vadot
Author: manu Date: Mon Jul 3 18:01:58 2017 New Revision: 320606 URL: https://svnweb.freebsd.org/changeset/base/320606 Log: arm: gic: Change GIC_DEBUG_SPURIOUS to TUNABLE On armv6 default to 1 if INVARIANTS is set On arm64 always default to 0 Discussed with: andrew, ian, mmel

Re: svn commit: r320579 - head/usr.bin/patch

2017-07-03 Thread Joerg Sonnenberger
On Mon, Jul 03, 2017 at 10:42:15AM -0500, Pedro Giffuni wrote: > IMHO, the (new) BSD patch behavior is somewhat more natural in the sense > that no one asked git to add a prefix to the path so it makes sense to > ignore it. Recent GNU patch does support many git-specific features that we > don't.

svn commit: r320605 - in stable/11/sys: cddl/compat/opensolaris/sys compat/linprocfs fs/tmpfs sys vm

2017-07-03 Thread Mark Johnston
Author: markj Date: Mon Jul 3 16:40:05 2017 New Revision: 320605 URL: https://svnweb.freebsd.org/changeset/base/320605 Log: MFC r309017 (partially): Omit v_cache_count when computing the number of free pages, since its value is always 0. Modified:

svn commit: r320604 - in head: share/man/man4 sys/dev/isp

2017-07-03 Thread Alexander Motin
Author: mav Date: Mon Jul 3 15:56:45 2017 New Revision: 320604 URL: https://svnweb.freebsd.org/changeset/base/320604 Log: Switch fabric scans from GID_FT to GID_PT+GFF_ID/GFT_ID. Instead of using GID_FT SNS request to get list of registered FCP ports, use GID_PT to get list of all

svn commit: r320603 - head/bin/ed

2017-07-03 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jul 3 15:54:44 2017 New Revision: 320603 URL: https://svnweb.freebsd.org/changeset/base/320603 Log: ed(1): Allow the omission of one address in (.,.) and (.;.) address ranges With this patch, ",n" is an abbreviation for "1,n", ";n" abbreviates ".;n". The "n," and

Re: svn commit: r320579 - head/usr.bin/patch

2017-07-03 Thread Pedro Giffuni
Hello; On 07/02/17 21:53, Conrad Meyer wrote: Hi Pedro, Does this change the behavior of 'patch -p1' (for example) with 'git diff' generated diffs? So patches that could be applied with -p1 before now need to be applied with -p0? Or is this a different mode of patch? Thanks for pointing

svn commit: r320601 - stable/10/sys/cam

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 15:34:19 2017 New Revision: 320601 URL: https://svnweb.freebsd.org/changeset/base/320601 Log: MFC r320421: r320421 | ken | 2017-06-27 13:26:02 -0600 (Tue, 27 Jun 2017) | 37 lines

svn commit: r320602 - stable/11/sys/cam

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 15:34:21 2017 New Revision: 320602 URL: https://svnweb.freebsd.org/changeset/base/320602 Log: MFC r320421: r320421 | ken | 2017-06-27 13:26:02 -0600 (Tue, 27 Jun 2017) | 37 lines

svn commit: r320600 - stable/11/sys/cam/scsi

2017-07-03 Thread Kenneth D. Merry
Author: ken Date: Mon Jul 3 15:10:16 2017 New Revision: 320600 URL: https://svnweb.freebsd.org/changeset/base/320600 Log: MFC r320420: r320420 | ken | 2017-06-27 11:55:25 -0600 (Tue, 27 Jun 2017) | 25 lines

svn commit: r320599 - head/release/scripts

2017-07-03 Thread Glen Barber
Author: gjb Date: Mon Jul 3 14:31:38 2017 New Revision: 320599 URL: https://svnweb.freebsd.org/changeset/base/320599 Log: Fix Vagrant image upload after recent API changes. - Update ATLAS_UPLOAD_URL to avoid various regular expressions from failing to match due to redirections. -

Re: svn commit: r320595 - in head/sys: amd64/linux amd64/linux32 i386/linux

2017-07-03 Thread Ed Schouten
Hi there, 2017-07-03 12:24 GMT+02:00 Dmitry Chagin : > + .compat_3_brand = "Linux", I suspect that you can safely remove this line. It's only intended to match a field in ELF headers that is/was BSD specific. -- Ed Schouten Nuxi, 's-Hertogenbosch, the

svn commit: r320598 - releng/11.1/sys/sys

2017-07-03 Thread Glen Barber
Author: gjb Date: Mon Jul 3 13:46:58 2017 New Revision: 320598 URL: https://svnweb.freebsd.org/changeset/base/320598 Log: MFS11 r320596: MFC r320488: Correct the branch naming convention in param.h. While here, consistently use upper-case 'X' to represent the version number.

svn commit: r320596 - in stable: 10/sys/sys 11/sys/sys

2017-07-03 Thread Glen Barber
Author: gjb Date: Mon Jul 3 13:02:21 2017 New Revision: 320596 URL: https://svnweb.freebsd.org/changeset/base/320596 Log: MFC r320488: Correct the branch naming convention in param.h. While here, consistently use upper-case 'X' to represent the version number. Sponsored by: The

svn commit: r320596 - in stable: 10/sys/sys 11/sys/sys

2017-07-03 Thread Glen Barber
Author: gjb Date: Mon Jul 3 13:02:21 2017 New Revision: 320596 URL: https://svnweb.freebsd.org/changeset/base/320596 Log: MFC r320488: Correct the branch naming convention in param.h. While here, consistently use upper-case 'X' to represent the version number. Sponsored by: The

svn commit: r320595 - in head/sys: amd64/linux amd64/linux32 i386/linux

2017-07-03 Thread Dmitry Chagin
Author: dchagin Date: Mon Jul 3 10:24:49 2017 New Revision: 320595 URL: https://svnweb.freebsd.org/changeset/base/320595 Log: Add support for musl consumers to the Linuxulator. PR: 213809 Submitted by: Yonas Yanfa Reported by: Yonas Yanfa MFC after:1 week Relnotes:

svn commit: r320594 - in releng/11.1/sys/netpfil/ipfw: nat64 nptv6 pmod

2017-07-03 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 3 10:10:04 2017 New Revision: 320594 URL: https://svnweb.freebsd.org/changeset/base/320594 Log: Merge from stable/11 r320593: Fix IPv6 extension header parsing. The length field doesn't include the first 8 octets. Obtained from: Yandex LLC

svn commit: r320593 - in stable/11/sys/netpfil/ipfw: nat64 nptv6 pmod

2017-07-03 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 3 08:53:22 2017 New Revision: 320593 URL: https://svnweb.freebsd.org/changeset/base/320593 Log: MFC r320479: Fix IPv6 extension header parsing. The length field doesn't include the first 8 octets. Obtained from: Yandex LLC Modified: