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 head/sys/compat/linuxkp

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: head/sys/compat/lin

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: head/sys/compat/linuxkpi/common/inclu

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 head/sys/c

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(). Su

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 sam

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 no

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 poin

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 reques

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: head/sys/compat/l

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. Submitt

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 supporte

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 head/contrib/jemalloc/incl

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 bef

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: 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 Reviewed by:

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 S

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 Modified

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 on

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 'pa

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:https://reviews.f

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.

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 t

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 Modifi

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 Nx_Por

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 "n

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 thi

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. - Use

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 Netherlands KvK-nr.: 62051717 __

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: