svn commit: r323207 - stable/11/sys/dev/xen/netfront

2017-09-06 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 06:51:52 2017 New Revision: 323207 URL: https://svnweb.freebsd.org/changeset/base/323207 Log: MFC r320517: netfront.c: avoid gcc variably-modified warning Modified: stable/11/sys/dev/xen/netfront/netfront.c Directory Properties: stable/11/ (props

svn commit: r323208 - stable/11/sys/dev/hptmv

2017-09-06 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 06:57:18 2017 New Revision: 323208 URL: https://svnweb.freebsd.org/changeset/base/323208 Log: MFC r320714: hptmv: avoid gcc variably-modified warning Modified: stable/11/sys/dev/hptmv/vdevice.h Directory Properties: stable/11/ (props changed)

svn commit: r323212 - stable/11/sys/dev/ixgbe

2017-09-06 Thread Konstantin Belousov
Author: kib Date: Wed Sep 6 07:09:59 2017 New Revision: 323212 URL: https://svnweb.freebsd.org/changeset/base/323212 Log: MFC r323024: Only make the if_ix module depend on netmap when netmap is configured. Modified: stable/11/sys/dev/ixgbe/if_ix.c Directory Properties: stable/11/

svn commit: r323209 - stable/11/sys/vm

2017-09-06 Thread Konstantin Belousov
Author: kib Date: Wed Sep 6 07:04:29 2017 New Revision: 323209 URL: https://svnweb.freebsd.org/changeset/base/323209 Log: MFC r323017: Make the swap_pager_full variable static. PR: 221356 Modified: stable/11/sys/vm/swap_pager.c stable/11/sys/vm/swap_pager.h Directory Properties:

svn commit: r323210 - stable/11/sys/vm

2017-09-06 Thread Konstantin Belousov
Author: kib Date: Wed Sep 6 07:06:58 2017 New Revision: 323210 URL: https://svnweb.freebsd.org/changeset/base/323210 Log: MFC r323018: Adjust interface of swapon_check_swzone() to its actual usage. PR: 221356 Modified: stable/11/sys/vm/swap_pager.c Directory Properties:

svn commit: r323211 - stable/11/sys/dev/ixl

2017-09-06 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 07:08:52 2017 New Revision: 323211 URL: https://svnweb.freebsd.org/changeset/base/323211 Log: MFC r320977: ixl: gcc build errors Modified: stable/11/sys/dev/ixl/i40e_prototype.h stable/11/sys/dev/ixl/if_ixlv.c stable/11/sys/dev/ixl/ixl.h

svn commit: r323213 - in stable/11/sys: dev/qlnx/qlnxe modules/qlnx modules/qlnx/qlnxe

2017-09-06 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 07:15:21 2017 New Revision: 323213 URL: https://svnweb.freebsd.org/changeset/base/323213 Log: MFC r321106: qlnx: gcc build errors Modified: stable/11/sys/dev/qlnx/qlnxe/ecore_hw.h stable/11/sys/dev/qlnx/qlnxe/qlnx_ioctl.c

svn commit: r323215 - in head/sys/dev: mpr mps

2017-09-06 Thread Scott Long
Author: scottl Date: Wed Sep 6 09:19:54 2017 New Revision: 323215 URL: https://svnweb.freebsd.org/changeset/base/323215 Log: Checkpoint the next phase in debug message cleanup, this time focusing on error recovery messages. Sponsored by: Netflix Modified: head/sys/dev/mpr/mpr_sas.c

svn commit: r323214 - stable/11/sys/compat/linuxkpi/common/include/linux

2017-09-06 Thread Ryan Libby
Author: rlibby Date: Wed Sep 6 07:19:22 2017 New Revision: 323214 URL: https://svnweb.freebsd.org/changeset/base/323214 Log: MFC r321376: linuxkpi compiler.h: avoid gcc -Wunused-value in dummy expressions Modified: stable/11/sys/compat/linuxkpi/common/include/linux/compiler.h

svn commit: r323216 - stable/11/sys/netipsec

2017-09-06 Thread Andrey V. Elsukov
Author: ae Date: Wed Sep 6 10:21:28 2017 New Revision: 323216 URL: https://svnweb.freebsd.org/changeset/base/323216 Log: MFC r323086: Fix possible double releasing for SA reference. This is missing part of r318734. When crypto subsystem returns error the xform code handles an

svn commit: r323217 - head/sys/x86/pci

2017-09-06 Thread Konstantin Belousov
Author: kib Date: Wed Sep 6 11:47:59 2017 New Revision: 323217 URL: https://svnweb.freebsd.org/changeset/base/323217 Log: Fix typos. Stop claiming that two children are created. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/x86/pci/qpi.c Modified:

svn commit: r323218 - in stable/11: share/man/man4 sys/conf sys/dev/mlx5/mlx5_ib sys/modules sys/modules/mlx5ib

2017-09-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 6 13:10:33 2017 New Revision: 323218 URL: https://svnweb.freebsd.org/changeset/base/323218 Log: MFC r322810 and r322830: Add new mlx5ib(4) driver to the kernel source tree which supports Remote DMA over Converged Ethernet, RoCE, for the ConnectX-4 series of

svn commit: r323219 - in head/sys: net netinet

2017-09-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 6 13:56:18 2017 New Revision: 323219 URL: https://svnweb.freebsd.org/changeset/base/323219 Log: Add support for generic backpressure indicator for ratelimited transmit queues aswell as non-ratelimited ones. Add the required structure bits in order to

svn commit: r323220 - in head/sys/dev/usb: . quirk

2017-09-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 6 13:59:57 2017 New Revision: 323220 URL: https://svnweb.freebsd.org/changeset/base/323220 Log: Add new USB quirk. PR: 221775 MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r323222 - head/share/misc

2017-09-06 Thread Stephen Hurd
Author: shurd Date: Wed Sep 6 15:07:53 2017 New Revision: 323222 URL: https://svnweb.freebsd.org/changeset/base/323222 Log: Add myself and mentorship status to committers files I failed to do this when I got my ports bit, so do them both in one commit. Reviewed by: sbruno (mentor)

svn commit: r323238 - vendor/llvm/llvm-release_500-r312559

2017-09-06 Thread Dimitry Andric
Author: dim Date: Wed Sep 6 20:52:26 2017 New Revision: 323238 URL: https://svnweb.freebsd.org/changeset/base/323238 Log: Tag llvm 5.0.0 release r312559. Added: vendor/llvm/llvm-release_500-r312559/ - copied from r323237, vendor/llvm/dist/

svn commit: r323237 - vendor/llvm/dist/lib/Target/X86

2017-09-06 Thread Dimitry Andric
Author: dim Date: Wed Sep 6 20:52:23 2017 New Revision: 323237 URL: https://svnweb.freebsd.org/changeset/base/323237 Log: Vendor import of llvm 5.0.0 release r312559: https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_500/final@312559 Modified:

svn commit: r323239 - vendor/clang/dist/lib/Basic

2017-09-06 Thread Dimitry Andric
Author: dim Date: Wed Sep 6 20:55:03 2017 New Revision: 323239 URL: https://svnweb.freebsd.org/changeset/base/323239 Log: Vendor import of clang 5.0.0 release r312559: https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_500/final@312559 Modified: vendor/clang/dist/lib/Basic/Version.cpp

svn commit: r323241 - vendor/compiler-rt/compiler-rt-release_500-r312559

2017-09-06 Thread Dimitry Andric
Author: dim Date: Wed Sep 6 20:55:27 2017 New Revision: 323241 URL: https://svnweb.freebsd.org/changeset/base/323241 Log: Tag compiler-rt 5.0.0 release r312559. Added: vendor/compiler-rt/compiler-rt-release_500-r312559/ - copied from r323240, vendor/compiler-rt/dist/

svn commit: r323240 - vendor/clang/clang-release_500-r312559

2017-09-06 Thread Dimitry Andric
Author: dim Date: Wed Sep 6 20:55:06 2017 New Revision: 323240 URL: https://svnweb.freebsd.org/changeset/base/323240 Log: Tag clang 5.0.0 release r312559. Added: vendor/clang/clang-release_500-r312559/ - copied from r323239, vendor/clang/dist/

svn commit: r323233 - head/sys/dev/bnxt

2017-09-06 Thread Stephen Hurd
Author: shurd Date: Wed Sep 6 20:19:30 2017 New Revision: 323233 URL: https://svnweb.freebsd.org/changeset/base/323233 Log: bnxt: Update firmware header file with the latest one hsi_struct_def.h file contains all firmware (HWRM) data struct's, updated that with the latest one which was

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

2017-09-06 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 6 20:28:18 2017 New Revision: 323234 URL: https://svnweb.freebsd.org/changeset/base/323234 Log: Start annotating global _padalign locks with __exclusive_cache_line While these locks are guarnteed to not share their respective cache lines, their current

svn commit: r323236 - in head/sys: kern security/audit

2017-09-06 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 6 20:33:33 2017 New Revision: 323236 URL: https://svnweb.freebsd.org/changeset/base/323236 Log: Sprinkle __read_frequently on few obvious places. Note that some of annotated variables should probably change their types to something smaller, preferably

svn commit: r323235 - in head/sys: conf sys

2017-09-06 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 6 20:32:49 2017 New Revision: 323235 URL: https://svnweb.freebsd.org/changeset/base/323235 Log: Introduce __read_frequently While __read_mostly groups variables together, their placement is not specified. In particular 2 frequently used variables can end up in

svn commit: r323231 - stable/10/sys/contrib/ipfilter/netinet

2017-09-06 Thread Cy Schubert
Author: cy Date: Wed Sep 6 20:01:19 2017 New Revision: 323231 URL: https://svnweb.freebsd.org/changeset/base/323231 Log: MFC r322073: Fix matchcing of NATed ICMP queries (resolving NATed MTU discovery). Approved by: re (kib) Modified:

svn commit: r323232 - head/sys/dev/bnxt

2017-09-06 Thread Stephen Hurd
Author: shurd Date: Wed Sep 6 20:14:34 2017 New Revision: 323232 URL: https://svnweb.freebsd.org/changeset/base/323232 Log: bnxt: Use correct firmware call for number of queues supported 1) Based on the suggestion from firmware team, derive scctx->isc_ntxqsets_max &

svn commit: r323243 - vendor/lld/lld-release_500-r312559

2017-09-06 Thread Dimitry Andric
Author: dim Date: Wed Sep 6 20:56:44 2017 New Revision: 323243 URL: https://svnweb.freebsd.org/changeset/base/323243 Log: Tag lld 5.0.0 release r312559. Added: vendor/lld/lld-release_500-r312559/ - copied from r323242, vendor/lld/dist/ ___

svn commit: r323242 - vendor/libc++/libc++-release_500-r312559

2017-09-06 Thread Dimitry Andric
Author: dim Date: Wed Sep 6 20:56:24 2017 New Revision: 323242 URL: https://svnweb.freebsd.org/changeset/base/323242 Log: Tag libc++ 5.0.0 release r312559. Added: vendor/libc++/libc++-release_500-r312559/ - copied from r323241, vendor/libc++/dist/

svn commit: r323244 - vendor/lldb/lldb-release_500-r312559

2017-09-06 Thread Dimitry Andric
Author: dim Date: Wed Sep 6 20:57:44 2017 New Revision: 323244 URL: https://svnweb.freebsd.org/changeset/base/323244 Log: Tag lldb 5.0.0 release r312559. Added: vendor/lldb/lldb-release_500-r312559/ - copied from r323243, vendor/lldb/dist/

Re: svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-09-06 Thread Maxim Sobolev
Alan, I doubt SO_BINTIME / SO_TIMESTAMP ever worked in that scenario. The reason for that is size/layout of the bintime (and other structs) is different on amd64 as compared to i386 and I don't see any conversion going on in the freebsd32_recvmsg(). i386 x86_64 sizeof(timeval)

Re: svn commit: r323081 - stable/10/sys/conf

2017-09-06 Thread Marius Strobl
On Wed, Sep 06, 2017 at 08:08:54PM +0300, Slawa Olhovchenkov wrote: > On Fri, Sep 01, 2017 at 12:16:03AM +, Marius Strobl wrote: > > > Author: marius > > Date: Fri Sep 1 00:16:03 2017 > > New Revision: 323081 > > URL: https://svnweb.freebsd.org/changeset/base/323081 > > > > Log: > >

svn commit: r323251 - head/sys/dev/bhnd/cores/usb

2017-09-06 Thread Landon J. Fuller
Author: landonf Date: Wed Sep 6 23:43:20 2017 New Revision: 323251 URL: https://svnweb.freebsd.org/changeset/base/323251 Log: bhnd: Remove unsupported USB core IDs from the bhnd_usb device table. This resolves a SoC reset triggered by attempting to attach to the BCM5365's USB 1.1

svn commit: r323252 - head/libexec/getty

2017-09-06 Thread David Bright
Author: dab Date: Thu Sep 7 00:20:17 2017 New Revision: 323252 URL: https://svnweb.freebsd.org/changeset/base/323252 Log: Add a new getty/gettytab capability to generate an initial message dynamically. This modification adds a new gettytab(5) option (iM) to specify a program to run

Re: svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-09-06 Thread Maxim Sobolev
No problem, it also suggests somebody seriously interested in the 32-bit emulation might find entertaining running regression tests both natively and in the i386->amd64 mode comparing results, it could bring some interesting corner cases and pitfalls of the compat/freebsd32 to light. I've also

Re: svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-09-06 Thread Alan Somers
Cool. Thanks for looking into it. On Wed, Sep 6, 2017 at 3:15 PM, Maxim Sobolev wrote: > Alan, I doubt SO_BINTIME / SO_TIMESTAMP ever worked in that scenario. The > reason for that is size/layout of the bintime (and other structs) is > different on amd64 as compared to i386

svn commit: r323246 - head/sys/dev/vxge/vxgehal

2017-09-06 Thread Mateusz Guzik
Author: mjg Date: Wed Sep 6 21:38:07 2017 New Revision: 323246 URL: https://svnweb.freebsd.org/changeset/base/323246 Log: vxge: plug void casts from memcpy/memzero calls Most of places using them did not have the cast in the first place. No functional changes. MFC after:1

svn commit: r323245 - in head: contrib/llvm/lib/Target/X86 contrib/llvm/tools/clang/lib/Basic lib/clang/include/clang/Basic lib/clang/include/lld/Config lib/clang/include/llvm/Support

2017-09-06 Thread Dimitry Andric
Author: dim Date: Wed Sep 6 21:21:13 2017 New Revision: 323245 URL: https://svnweb.freebsd.org/changeset/base/323245 Log: Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to 5.0.0 release (upstream r312559). Release notes for llvm, clang and lld will be available

svn commit: r323227 - head/lib/libproc

2017-09-06 Thread Mark Johnston
Author: markj Date: Wed Sep 6 16:24:34 2017 New Revision: 323227 URL: https://svnweb.freebsd.org/changeset/base/323227 Log: Avoid keeping a dangling pointer when the mappings array is resized. Sponsored by: Dell EMC Isilon Modified: head/lib/libproc/_libproc.h

svn commit: r323228 - head/bin/ps

2017-09-06 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Sep 6 16:34:42 2017 New Revision: 323228 URL: https://svnweb.freebsd.org/changeset/base/323228 Log: Make ps(1) flag processes in capsicum(4) capability mode with "C". Obtained from:CheriBSD MFC after:2 weeks Sponsored by: DARPA, AFRL Modified:

svn commit: r323221 - head/sys/net

2017-09-06 Thread Navdeep Parhar
Author: np Date: Wed Sep 6 14:36:35 2017 New Revision: 323221 URL: https://svnweb.freebsd.org/changeset/base/323221 Log: Make LACP based lagg work with interfaces (like 100Gbps and 25Gbps) that report extended media types. lacp_aggregator_bandwidth() uses the media to determine the

Re: svn commit: r323208 - stable/11/sys/dev/hptmv

2017-09-06 Thread Ryan Libby
On Tue, Sep 5, 2017 at 11:57 PM, Ryan Libby wrote: > Author: rlibby > Date: Wed Sep 6 06:57:18 2017 > New Revision: 323208 > URL: https://svnweb.freebsd.org/changeset/base/323208 > > Log: > MFC r320714: > > hptmv: avoid gcc variably-modified warning > PR: 211540 >

svn commit: r323224 - head/sys/vm

2017-09-06 Thread Konstantin Belousov
Author: kib Date: Wed Sep 6 16:16:11 2017 New Revision: 323224 URL: https://svnweb.freebsd.org/changeset/base/323224 Log: In swp_pager_meta_build(), handle a race with other thread allocating swapblk for our index while we dropped the object lock. Noted by: jeff Reviewed by: alc,

svn commit: r323225 - head/bin/ps

2017-09-06 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Sep 6 16:18:06 2017 New Revision: 323225 URL: https://svnweb.freebsd.org/changeset/base/323225 Log: Reflect realtime and idle priorities in ps(1) state flags, same like we do for the usual nice values. It could be argued that they should use another set of

svn commit: r323223 - in stable/10: share/man/man4 sys/conf sys/dev/mlx5/mlx5_ib sys/modules sys/modules/mlx5ib

2017-09-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Sep 6 15:33:23 2017 New Revision: 323223 URL: https://svnweb.freebsd.org/changeset/base/323223 Log: MFC r322810 and r322830: Add new mlx5ib(4) driver to the kernel source tree which supports Remote DMA over Converged Ethernet, RoCE, for the ConnectX-4 series of

svn commit: r323226 - head/sys/vm

2017-09-06 Thread Konstantin Belousov
Author: kib Date: Wed Sep 6 16:18:53 2017 New Revision: 323226 URL: https://svnweb.freebsd.org/changeset/base/323226 Log: Do not leak empty swblk. In swp_pager_meta_build(), if the requested operation results in freeing the last swap pointer in the swblk, free the trie node. Other

Re: svn commit: r323081 - stable/10/sys/conf

2017-09-06 Thread Slawa Olhovchenkov
On Fri, Sep 01, 2017 at 12:16:03AM +, Marius Strobl wrote: > Author: marius > Date: Fri Sep 1 00:16:03 2017 > New Revision: 323081 > URL: https://svnweb.freebsd.org/changeset/base/323081 > > Log: > Update stable/10 to BETA3 in preparation for 10.4-BETA3 builds. > > Approved by:

svn commit: r323229 - head/lib/libpmc

2017-09-06 Thread Konstantin Belousov
Author: kib Date: Wed Sep 6 17:14:23 2017 New Revision: 323229 URL: https://svnweb.freebsd.org/changeset/base/323229 Log: Minor style changes to make forthcoming code stand out less. Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after:2 weeks X-Differential

svn commit: r323230 - in head: lib/libpmc sys/dev/hwpmc

2017-09-06 Thread Konstantin Belousov
Author: kib Date: Wed Sep 6 17:19:48 2017 New Revision: 323230 URL: https://svnweb.freebsd.org/changeset/base/323230 Log: Skylake server core PMC support for hwpmc(4). Reviewed by: emaste Sponsored by: The FreeBSD Foundation Hardware provided by: Intel MFC after:2 weeks