svn commit: r354633 - head/usr.bin/netstat

2019-11-11 Thread Mike Karels
Author: karels Date: Tue Nov 12 01:03:08 2019 New Revision: 354633 URL: https://svnweb.freebsd.org/changeset/base/354633 Log: Fix netstat -gs with ip_mroute module and/or vnet The code for "netstat -gs -f inet" failed if the kernel namelist did not include the _mrtstat symbol. However, th

svn commit: r354632 - head/sys/ufs/ufs

2019-11-11 Thread Chuck Silvers
Author: chs Date: Tue Nov 12 00:32:33 2019 New Revision: 354632 URL: https://svnweb.freebsd.org/changeset/base/354632 Log: In ufs_dir_dd_ino(), always initialize *dd_vp since the caller expects it. Reviewed by: kib, mckusick Approved by: imp (mentor) Sponsored by: Netflix Modified:

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

2019-11-11 Thread Scott Long
Author: scottl Date: Mon Nov 11 22:18:05 2019 New Revision: 354631 URL: https://svnweb.freebsd.org/changeset/base/354631 Log: Add the text attribute for MDS_NO in the IA32_ARCH_CAP MSR. Modified: head/sys/x86/x86/identcpu.c Modified: head/sys/x86/x86/identcpu.c ==

Re: svn commit: r354458 - head/libexec/rc/rc.d

2019-11-11 Thread Edward Tomasz Napierala
On T1349, Ian Lepore wrote: > On Sun, 2019-11-10 at 16:08 +, Edward Tomasz Napierala wrote: > > On 1109T2049, Alexander Leidinger wrote: > > > Quoting Edward Tomasz Napierala (from Thu, 7 > > > Nov > > > 2019 18:15:24 + (UTC)): > > > > > > > Author: trasz > > > > Date: Thu Nov 7 18

Re: svn commit: r354458 - head/libexec/rc/rc.d

2019-11-11 Thread Edward Tomasz Napierała
On T2115, Alexander Leidinger wrote: > Quoting Edward Tomasz Napierała (from Sun, 10 Nov > 2019 20:25:04 +): > > > On 1110T1147, Conrad Meyer wrote: > > >> I am on board with making this stuff more “batteries included” and usable > >> by default, but just echoing the request for config

svn commit: r354630 - head/sys/amd64/amd64

2019-11-11 Thread Konstantin Belousov
Author: kib Date: Mon Nov 11 21:59:20 2019 New Revision: 354630 URL: https://svnweb.freebsd.org/changeset/base/354630 Log: amd64: Issue MFENCE on context switch on AMD CPUs when reusing address space. On some AMD CPUs, in particular, machines that do not implement CLFLUSHOPT but do provid

Re: svn commit: r354458 - head/libexec/rc/rc.d

2019-11-11 Thread Ian Lepore
On Sun, 2019-11-10 at 16:08 +, Edward Tomasz Napierala wrote: > On 1109T2049, Alexander Leidinger wrote: > > Quoting Edward Tomasz Napierala (from Thu, 7 > > Nov > > 2019 18:15:24 + (UTC)): > > > > > Author: trasz > > > Date: Thu Nov 7 18:15:24 2019 > > > New Revision: 354458 > > > URL

svn commit: r354629 - head/sys/kern

2019-11-11 Thread Mark Johnston
Author: markj Date: Mon Nov 11 20:44:30 2019 New Revision: 354629 URL: https://svnweb.freebsd.org/changeset/base/354629 Log: Fix handling of PIPE_EOF in the direct write path. Suppose a writing thread has pinned its pages and gone to sleep with pipe_map.cnt > 0. Suppose that the thread i

Re: svn commit: r354458 - head/libexec/rc/rc.d

2019-11-11 Thread Alexander Leidinger via svn-src-all
Quoting Edward Tomasz Napierała (from Sun, 10 Nov 2019 20:25:04 +): On 1110T1147, Conrad Meyer wrote: I am on board with making this stuff more “batteries included” and usable by default, but just echoing the request for configurable knobs (I don’t care about the defaults). My point

svn commit: r354628 - in stable/11: contrib/netbsd-tests/usr.bin/grep usr.bin/grep usr.bin/grep/tests

2019-11-11 Thread Kyle Evans
Author: kevans Date: Mon Nov 11 19:54:08 2019 New Revision: 354628 URL: https://svnweb.freebsd.org/changeset/base/354628 Log: MFC bsdgrep(1) fixes: r320414, r328559, r332805-r332806, r332809, r332832, r332850-r332852, r332856, r332858, r332876, r51, r334803, r334806-r334809, r334821, r33

svn commit: r354627 - head/sys/i386/i386

2019-11-11 Thread Andriy Gapon
Author: avg Date: Mon Nov 11 19:06:04 2019 New Revision: 354627 URL: https://svnweb.freebsd.org/changeset/base/354627 Log: db_nextframe/i386: reduce the number of special frame types This change removes TRAP_INTERRUPT and TRAP_TIMERINT frame types. Their names are a bit confusing: trap

Re: svn commit: r354598 - in stable: 11/contrib/libc++/include 11/sys/sys 12/contrib/libc++/include 12/sys/sys

2019-11-11 Thread Dimitry Andric
On 11 Nov 2019, at 11:30, Antoine Brodin wrote: > > On Mon, Nov 11, 2019 at 11:10 AM Dimitry Andric wrote: >> >> On 11 Nov 2019, at 10:29, Antoine Brodin wrote: >>> >>> On Mon, Nov 11, 2019 at 9:03 AM Antoine Brodin wrote: On Sun, Nov 10, 2019 at 7:41 PM Dimitry Andric wrote: >>>

svn commit: r354626 - in stable: 11/contrib/libc++/include 12/contrib/libc++/include

2019-11-11 Thread Dimitry Andric
Author: dim Date: Mon Nov 11 17:45:06 2019 New Revision: 354626 URL: https://svnweb.freebsd.org/changeset/base/354626 Log: MFC r354625: Merge commit 371ea70bb from llvm git (by Louis Dionne): [libc++] Harden usage of static_assert against C++03 In C++03, we emulate static_asse

svn commit: r354626 - in stable: 11/contrib/libc++/include 12/contrib/libc++/include

2019-11-11 Thread Dimitry Andric
Author: dim Date: Mon Nov 11 17:45:06 2019 New Revision: 354626 URL: https://svnweb.freebsd.org/changeset/base/354626 Log: MFC r354625: Merge commit 371ea70bb from llvm git (by Louis Dionne): [libc++] Harden usage of static_assert against C++03 In C++03, we emulate static_asse

svn commit: r354625 - head/contrib/libc++/include

2019-11-11 Thread Dimitry Andric
Author: dim Date: Mon Nov 11 17:41:56 2019 New Revision: 354625 URL: https://svnweb.freebsd.org/changeset/base/354625 Log: Merge commit 371ea70bb from llvm git (by Louis Dionne): [libc++] Harden usage of static_assert against C++03 In C++03, we emulate static_assert with a macro, a

svn commit: r354624 - head/usr.bin/tip/tip

2019-11-11 Thread Eric van Gyzen
Author: vangyzen Date: Mon Nov 11 17:41:52 2019 New Revision: 354624 URL: https://svnweb.freebsd.org/changeset/base/354624 Log: tip/cu: check for EOF on input on the local side If cu reads an EOF on the input side, it goes into a tight loop sending a garbage byte to the remote. With this

svn commit: r354622 - head/sys/cam/scsi

2019-11-11 Thread Warner Losh
Author: imp Date: Mon Nov 11 17:36:52 2019 New Revision: 354622 URL: https://svnweb.freebsd.org/changeset/base/354622 Log: Update the softc state of the da driver before releasing the CCB. There are contexts where releasing the ccb triggers dastart() to be run inline. When da was written,

svn commit: r354621 - head/sys/cam/scsi

2019-11-11 Thread Warner Losh
Author: imp Date: Mon Nov 11 17:36:47 2019 New Revision: 354621 URL: https://svnweb.freebsd.org/changeset/base/354621 Log: Require and enforce that dareprobe() has to be called with the periph lock held. Reviewed by: scottl, ken Differential Revision: https://reviews.freebsd.org/D22295

svn commit: r354620 - head/sys/cam/scsi

2019-11-11 Thread Warner Losh
Author: imp Date: Mon Nov 11 17:36:42 2019 New Revision: 354620 URL: https://svnweb.freebsd.org/changeset/base/354620 Log: Fix panic message to indicate right action that was improper. Reviewed by: scottl, ken Differential Revision: https://reviews.freebsd.org/D22295 Modified: head/sys

svn commit: r354623 - head/sys/cam/scsi

2019-11-11 Thread Warner Losh
Author: imp Date: Mon Nov 11 17:36:57 2019 New Revision: 354623 URL: https://svnweb.freebsd.org/changeset/base/354623 Log: Add asserts for some state transitions For the PROBEWP and PROBERC* states, add assertiosn that both the da device state is in the right state, as well as the ccb sta

svn commit: r354619 - head/sys/amd64/amd64

2019-11-11 Thread Andriy Gapon
Author: avg Date: Mon Nov 11 17:11:49 2019 New Revision: 354619 URL: https://svnweb.freebsd.org/changeset/base/354619 Log: db_nextframe/amd64: remove TRAP_INTERRUPT frame type Besides the confusing name, this type is effectively unused. In all cases where it could be set, the INTERRUPT ty

svn commit: r354618 - head/sys/vm

2019-11-11 Thread Doug Moore
Author: dougm Date: Mon Nov 11 16:59:49 2019 New Revision: 354618 URL: https://svnweb.freebsd.org/changeset/base/354618 Log: swap_pager_meta_free() frees allocated blocks in a way that exploits the sparsity of allocated blocks in a range, without issuing an "are you there?" query for every b

svn commit: r354617 - svnadmin/conf

2019-11-11 Thread Glen Barber
Author: gjb Date: Mon Nov 11 16:11:15 2019 New Revision: 354617 URL: https://svnweb.freebsd.org/changeset/base/354617 Log: Turn releng/12.1 over to so@. Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: svnadmin/conf/approvers Modified: svna

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

2019-11-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 11 15:28:27 2019 New Revision: 354616 URL: https://svnweb.freebsd.org/changeset/base/354616 Log: MFC r354335: Enable device class group attributes in the LinuxKPI. Bump the __FreeBSD_version to force recompilation of external kernel modules due to structur

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

2019-11-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 11 15:26:05 2019 New Revision: 354615 URL: https://svnweb.freebsd.org/changeset/base/354615 Log: MFC r351937: LinuxKPI: Improve sysfs support. - Add functions for creating and merging sysfs groups. - Add sysfs_streq function to compare strings ignoring new

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

2019-11-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 11 15:23:58 2019 New Revision: 354614 URL: https://svnweb.freebsd.org/changeset/base/354614 Log: MFC r351701: LinuxKPI: Add sysfs create/remove functions that handles multiple files in one call. Differential Revision:D21475 Modified: stable/11/sy

svn commit: r354613 - in stable/12/sys: compat/linuxkpi/common/include/linux sys

2019-11-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 11 14:56:22 2019 New Revision: 354613 URL: https://svnweb.freebsd.org/changeset/base/354613 Log: MFC r354335: Enable device class group attributes in the LinuxKPI. Bump the __FreeBSD_version to force recompilation of external kernel modules due to structur

svn commit: r354612 - stable/11/sys/dev/usb/controller

2019-11-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 11 14:51:56 2019 New Revision: 354612 URL: https://svnweb.freebsd.org/changeset/base/354612 Log: MFC r353273: Make control endpoint quirk for xhci(4) configurable. Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/usb/controller/xhci.c Direc

svn commit: r354611 - stable/12/sys/dev/usb/controller

2019-11-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 11 14:51:08 2019 New Revision: 354611 URL: https://svnweb.freebsd.org/changeset/base/354611 Log: MFC r353273: Make control endpoint quirk for xhci(4) configurable. Sponsored by: Mellanox Technologies Modified: stable/12/sys/dev/usb/controller/xhci.c Direc

svn commit: r354610 - stable/11/sys/net

2019-11-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 11 14:49:45 2019 New Revision: 354610 URL: https://svnweb.freebsd.org/changeset/base/354610 Log: MFC r353275: Compile time assert a valid subsystem for all VNET init and uninit functions. Using VNET init and uninit functions outside the given range has undefine

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

2019-11-11 Thread Renato Botelho
On 09/11/19 01:16, Gleb Smirnoff wrote: > Renato, > > can you please try out the attached patch? I upgraded to r354607 with the patch applied and the problem is now fixed. Thanks -- Renato Botelho ___ svn-src-all@freebsd.org mailing list https://lis

svn commit: r354609 - stable/12/sys/net

2019-11-11 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 11 14:41:05 2019 New Revision: 354609 URL: https://svnweb.freebsd.org/changeset/base/354609 Log: MFC r353275: Compile time assert a valid subsystem for all VNET init and uninit functions. Using VNET init and uninit functions outside the given range has undefine

svn commit: r354608 - stable/12/sys/dev/ksyms

2019-11-11 Thread Mark Johnston
Author: markj Date: Mon Nov 11 14:07:11 2019 New Revision: 354608 URL: https://svnweb.freebsd.org/changeset/base/354608 Log: MFC r353935, r354402: Set OBJ_NOSPLIT on the ksyms(4) VM object. Modified: stable/12/sys/dev/ksyms/ksyms.c Directory Properties: stable/12/ (props changed) Modif

Re: svn commit: r354598 - in stable: 11/contrib/libc++/include 11/sys/sys 12/contrib/libc++/include 12/sys/sys

2019-11-11 Thread Antoine Brodin
On Mon, Nov 11, 2019 at 11:10 AM Dimitry Andric wrote: > > On 11 Nov 2019, at 10:29, Antoine Brodin wrote: > > > > On Mon, Nov 11, 2019 at 9:03 AM Antoine Brodin wrote: > >> > >> On Sun, Nov 10, 2019 at 7:41 PM Dimitry Andric wrote: > >>> > >>> Author: dim > >>> Date: Sun Nov 10 18:41:13 2019 >

Re: svn commit: r354598 - in stable: 11/contrib/libc++/include 11/sys/sys 12/contrib/libc++/include 12/sys/sys

2019-11-11 Thread Dimitry Andric
On 11 Nov 2019, at 10:29, Antoine Brodin wrote: > > On Mon, Nov 11, 2019 at 9:03 AM Antoine Brodin wrote: >> >> On Sun, Nov 10, 2019 at 7:41 PM Dimitry Andric wrote: >>> >>> Author: dim >>> Date: Sun Nov 10 18:41:13 2019 >>> New Revision: 354598 >>> URL: https://svnweb.freebsd.org/changeset/b

Re: svn commit: r354598 - in stable: 11/contrib/libc++/include 11/sys/sys 12/contrib/libc++/include 12/sys/sys

2019-11-11 Thread Antoine Brodin
On Mon, Nov 11, 2019 at 9:03 AM Antoine Brodin wrote: > > On Sun, Nov 10, 2019 at 7:41 PM Dimitry Andric wrote: > > > > Author: dim > > Date: Sun Nov 10 18:41:13 2019 > > New Revision: 354598 > > URL: https://svnweb.freebsd.org/changeset/base/354598 > > > > Log: > > MFC r354460: > > > > Merge

Re: svn commit: r354598 - in stable: 11/contrib/libc++/include 11/sys/sys 12/contrib/libc++/include 12/sys/sys

2019-11-11 Thread Antoine Brodin
On Sun, Nov 10, 2019 at 7:41 PM Dimitry Andric wrote: > > Author: dim > Date: Sun Nov 10 18:41:13 2019 > New Revision: 354598 > URL: https://svnweb.freebsd.org/changeset/base/354598 > > Log: > MFC r354460: > > Merge commit e8316372b from llvm git (by Louis Dionne): > > [libc++] Add `__trun