Re: svn commit: r322810 - in head: share/man/man4 sys/conf sys/dev/mlx5/mlx5_ib sys/modules sys/modules/mlx5ib

2017-08-24 Thread Hans Petter Selasky
On 08/24/17 02:04, Ed Maste wrote: On 23 August 2017 at 08:09, Hans Petter Selasky wrote: Author: hselasky Date: Wed Aug 23 12:09:37 2017 New Revision: 322810 URL: https://svnweb.freebsd.org/changeset/base/322810 Log: Add new mlx5ib(4) driver to the kernel source tree which supports Remo

svn commit: r322830 - head/sys/dev/mlx5/mlx5_ib

2017-08-24 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 24 08:09:42 2017 New Revision: 322830 URL: https://svnweb.freebsd.org/changeset/base/322830 Log: Compile fixes for LINT on 32-bit platforms. MFC after:2 weeks Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_ib/mlx5

svn commit: r322831 - head/bin/pkill

2017-08-24 Thread Lawrence Stewart
Author: lstewart Date: Thu Aug 24 08:20:23 2017 New Revision: 322831 URL: https://svnweb.freebsd.org/changeset/base/322831 Log: Only emit the trailing new line added in r322613 when not operating in quiet mode. Reported by: pho MFC after:1 week X-MFC-with: r322210 Modified:

svn commit: r322832 - head/sys/amd64/vmm/intel

2017-08-24 Thread Konstantin Belousov
Author: kib Date: Thu Aug 24 10:49:53 2017 New Revision: 322832 URL: https://svnweb.freebsd.org/changeset/base/322832 Log: Save KGSBASE in pcb before overriding it with the guest value. Reported by: lwhsu, mjoras Discussed with: jhb Sponsored by: The FreeBSD Foundation MFC afte

svn commit: r322833 - head/sys/x86/x86

2017-08-24 Thread Konstantin Belousov
Author: kib Date: Thu Aug 24 10:57:34 2017 New Revision: 322833 URL: https://svnweb.freebsd.org/changeset/base/322833 Log: Stop masking FSGSBASE and SMEP features under monitors. Not enabling FSGSBASE in %cr4 does not prevent reporting of the feature by the CPUID instruction (blame Int*l)

Re: svn commit: r322763 - head/lib/libc/amd64/sys

2017-08-24 Thread Ed Maste
On 23 August 2017 at 21:45, Shawn Webb wrote: > On Mon, Aug 21, 2017 at 05:39:13PM +, Konstantin Belousov wrote: >> Author: kib >> Date: Mon Aug 21 17:39:12 2017 >> New Revision: 322763 >> URL: https://svnweb.freebsd.org/changeset/base/322763 >> ... > > Hey kib, > > This commit breaks booting

svn commit: r322836 - head/sys/kern

2017-08-24 Thread Conrad Meyer
Author: cem Date: Thu Aug 24 15:12:16 2017 New Revision: 322836 URL: https://svnweb.freebsd.org/changeset/base/322836 Log: Merge print_lockchain and print_sleepchain When debugging a deadlock, it is useful to follow the full chain of locks as far as possible. Reviewed by: jhb Spon

svn commit: r322852 - head/sys/dev/qlnx/qlnxe

2017-08-24 Thread David C Somayajulu
Author: davidcs Date: Thu Aug 24 19:09:42 2017 New Revision: 322852 URL: https://svnweb.freebsd.org/changeset/base/322852 Log: Fix qlnx_tso_check() so that every window of (ETH_TX_LSO_WINDOW_BDS_NUM - nbds_in_hdr) has atleast ETH_TX_LSO_WINDOW_MIN_LEN bytes MFC after:5 days Modified:

svn commit: r322853 - in head: share/man/man4 sys/kern

2017-08-24 Thread Conrad Meyer
Author: cem Date: Thu Aug 24 19:16:25 2017 New Revision: 322853 URL: https://svnweb.freebsd.org/changeset/base/322853 Log: Remove unused declaration and update ddb.4 A follow-up to r322836. Warnings for the unused declaration were breaking some second tier architectures, but did not

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

2017-08-24 Thread Alan Somers
On Wed, Aug 9, 2017 at 1:05 AM, Bruce Evans wrote: > On Tue, 8 Aug 2017, Alan Somers wrote: > >> Log: >> Make p1003_1b.aio_listio_max a tunable >> >> p1003_1b.aio_listio_max is now a tunable. Its value is reflected in the >> sysctl of the same name, and the sysconf(3) variable _SC_AIO_LISTIO_MA

svn commit: r322854 - in head/cddl: contrib/opensolaris/lib/libzfs/common usr.sbin/zfsd

2017-08-24 Thread Alan Somers
Author: asomers Date: Thu Aug 24 19:48:41 2017 New Revision: 322854 URL: https://svnweb.freebsd.org/changeset/base/322854 Log: zfsd(8): Close a race condition when onlining a disk paritition When inserting a partitioned disk, devfs and geom will announce the whole disk before they announc

svn commit: r322855 - in head: contrib/compiler-rt/lib/builtins/arm contrib/compiler-rt/lib/esan contrib/compiler-rt/lib/profile contrib/llvm/include/llvm/CodeGen contrib/llvm/lib/CodeGen/Selection...

2017-08-24 Thread Dimitry Andric
Author: dim Date: Thu Aug 24 20:19:27 2017 New Revision: 322855 URL: https://svnweb.freebsd.org/changeset/base/322855 Log: Upgrade our copies of clang, llvm, lldb and compiler-rt to r311606 from the upstream release_50 branch. As of this version, lib/msun's trig test should also work corr

svn commit: r322856 - head/sys/kern

2017-08-24 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 24 20:49:19 2017 New Revision: 322856 URL: https://svnweb.freebsd.org/changeset/base/322856 Log: Third take on the r319685 and r320480. Actually allow for call soisconnected() via soisdisconnected(), and in the earlier unlock earlier to avoid lock recursion.

svn commit: r322858 - head/tools/regression/sockets/accf_data_attach

2017-08-24 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 24 20:52:02 2017 New Revision: 322858 URL: https://svnweb.freebsd.org/changeset/base/322858 Log: Add a test case for a connection on accept queue that is reset before it is accepted. In that case accept(2) shall return ECONNABORTED. Accept filters provide help

svn commit: r322863 - head/sys/cam

2017-08-24 Thread Warner Losh
Author: imp Date: Thu Aug 24 22:11:10 2017 New Revision: 322863 URL: https://svnweb.freebsd.org/changeset/base/322863 Log: Expand the latency tracking array from 1.024s to 8.192s to help track extreme outliers from dodgy drives. Adjust comments to reflect this, and make sure that the number

svn commit: r322862 - head/sys/cam

2017-08-24 Thread Warner Losh
Author: imp Date: Thu Aug 24 22:10:58 2017 New Revision: 322862 URL: https://svnweb.freebsd.org/changeset/base/322862 Log: Fix 32-bit overflow on latency measurements o Allow I/O scheduler to gather times on 32-bit systems. We do this by shifting the sbintime_t over by 8 bits and trunc

svn commit: r322865 - head/sys/dev/ixgbe

2017-08-24 Thread Eric Joyner
Author: erj Date: Thu Aug 24 22:56:22 2017 New Revision: 322865 URL: https://svnweb.freebsd.org/changeset/base/322865 Log: ixv(4): Add more robust mailbox API negotiation The previous update to the driver to 3.2.12-k changed the VF's API version to 1.2, but did not let the VF fall back to

svn commit: r322866 - head/sys/net

2017-08-24 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 24 23:08:12 2017 New Revision: 322866 URL: https://svnweb.freebsd.org/changeset/base/322866 Log: Garbage collect RT_NORTREF, which is no longer in use after FLOWTABLE removal. Modified: head/sys/net/route.h Modified: head/sys/net/route.h

Re: svn commit: r322866 - head/sys/net

2017-08-24 Thread Gleb Smirnoff
Hi, On Thu, Aug 24, 2017 at 11:08:12PM +, Gleb Smirnoff wrote: T> Log: T> Garbage collect RT_NORTREF, which is no longer in use after FLOWTABLE removal. T> T> Modified: T> head/sys/net/route.h T> T> Modified: head/sys/net/route.h T> ===

svn commit: r322868 - head/etc/periodic/security

2017-08-24 Thread Alan Somers
Author: asomers Date: Fri Aug 25 00:28:56 2017 New Revision: 322868 URL: https://svnweb.freebsd.org/changeset/base/322868 Log: Fix 100.chksetuid and 110.neggrpperm for mountpoints with spaces Also, fix them for mountpoints with tabs. PR: 48325 Reported by: pgu...@kallisys.

svn commit: r322869 - head/sys/dev/syscons

2017-08-24 Thread Bruce Evans
Author: bde Date: Fri Aug 25 02:37:32 2017 New Revision: 322869 URL: https://svnweb.freebsd.org/changeset/base/322869 Log: Fix missing switching of the terminal emulator when switching the terminal state for kernel console output. r56043 in 2000 added many complications to support dynamic

svn commit: r322870 - head/sys/dev/syscons

2017-08-24 Thread Bruce Evans
Author: bde Date: Fri Aug 25 02:41:01 2017 New Revision: 322870 URL: https://svnweb.freebsd.org/changeset/base/322870 Log: Oops, the previous commit was missing 1 line. Modified: head/sys/dev/syscons/syscons.c Modified: head/sys/dev/syscons/syscons.c =

svn commit: r322872 - head/sys/dev/nvme

2017-08-24 Thread Warner Losh
Author: imp Date: Fri Aug 25 03:15:18 2017 New Revision: 322872 URL: https://svnweb.freebsd.org/changeset/base/322872 Log: Enable bus mastering on the device before resetting the device. The card has to do PCIe transactions to complete the reset process, but can't do them, per the PCIe spec,

Re: svn commit: r306512 - in head/sys: kern sys

2017-08-24 Thread Bryan Drewery
On 9/30/2016 10:27 AM, Mateusz Guzik wrote: > Author: mjg > Date: Fri Sep 30 17:27:17 2016 > New Revision: 306512 > URL: https://svnweb.freebsd.org/changeset/base/306512 > > Log: > vfs: batch free vnodes in per-mnt lists > > Previously free vnodes would always by directly returned to the gl

svn commit: r322874 - head/sys/dev/nvme

2017-08-24 Thread Warner Losh
Author: imp Date: Fri Aug 25 04:05:53 2017 New Revision: 322874 URL: https://svnweb.freebsd.org/changeset/base/322874 Log: Sanity check sizes Add compile time sanity checks to make sure that packed structures are the proper size, typically as defined in the NVMe standard. Modified: hea

svn commit: r322875 - head/sys/dev/nvme

2017-08-24 Thread Warner Losh
Author: imp Date: Fri Aug 25 04:33:06 2017 New Revision: 322875 URL: https://svnweb.freebsd.org/changeset/base/322875 Log: Use _Static_assert These files are compiled in userland too, so we can't use sys/systm.h and rely on CTASSERT. Switch to using _Static_assert instead. MFC After:

Re: svn commit: r322875 - head/sys/dev/nvme

2017-08-24 Thread Mark Millard
> Author: imp > Date: Fri Aug 25 04:33:06 2017 > New Revision: 322875 > URL: > https://svnweb.freebsd.org/changeset/base/322875 > > > Log: > Use _Static_assert > > These files are compiled in userland too, so we can't use sys/systm.h > and rely on CTASSERT. Switch to using _Static_asser

Re: svn commit: r322872 - head/sys/dev/nvme

2017-08-24 Thread Andriy Gapon
On 25/08/2017 06:15, Warner Losh wrote: > Author: imp > Date: Fri Aug 25 03:15:18 2017 > New Revision: 322872 > URL: https://svnweb.freebsd.org/changeset/base/322872 > > Log: > Enable bus mastering on the device before resetting the device. The > card has to do PCIe transactions to complete th