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: 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: head

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 suppor

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: head/sys/dev/usb/quirk/us

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 speed

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: 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 indicator

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 swa

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 head/lib/libproc/proc_rt

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: hea

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 revisi

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 Differ

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 & scctx->isc_nrxqset

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 r

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 placement

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: 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 bit-sized.

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)

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 here

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 and I don't see any c

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 wee

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 mad

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 control

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 that

svn commit: r323253 - head/cddl/lib/libdtrace

2017-09-06 Thread George V. Neville-Neil
Author: gnn Date: Thu Sep 7 03:05:16 2017 New Revision: 323253 URL: https://svnweb.freebsd.org/changeset/base/323253 Log: Add D definitions for the named values in socket.h Reviewed by: markj MFC after:1 week Differential Revision:https://reviews.freebsd.org/D12241 Added:

svn commit: r323254 - head/sys/compat/freebsd32

2017-09-06 Thread Maxim Sobolev
Author: sobomax Date: Thu Sep 7 04:29:57 2017 New Revision: 323254 URL: https://svnweb.freebsd.org/changeset/base/323254 Log: In the recvmsg32() system call iterate over returned structure(s) and convert any messages of types SCM_BINTIME, SCM_TIMESTAMP, SCM_REALTIME and SCM_MONOTONIC from 6