svn commit: r333159 - stable/11/sys/x86/x86

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 07:38:38 2018 New Revision: 333159 URL: https://svnweb.freebsd.org/changeset/base/333159 Log: MFC r332971: Ensure that cmci_monitor() is not executed in parallel. Modified: stable/11/sys/x86/x86/mca.c Directory Properties: stable/11/ (props changed)

svn commit: r333161 - stable/11/sys/x86/x86

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 07:42:47 2018 New Revision: 333161 URL: https://svnweb.freebsd.org/changeset/base/333161 Log: MFC r333002: Use CPUID leaf 0x15 to get TSC frequency when the calibration is disabled. Modified: stable/11/sys/x86/x86/tsc.c Directory Properties: stable/11/

svn commit: r333160 - stable/11/sys/x86/x86

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 07:40:04 2018 New Revision: 333160 URL: https://svnweb.freebsd.org/changeset/base/333160 Log: MFC r332972: Extend ap_boot_mtx scope to also cover mca_init(). Modified: stable/11/sys/x86/x86/mp_x86.c Directory Properties: stable/11/ (props changed)

svn commit: r333162 - in stable/11: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys tests/sys/kern

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 07:57:36 2018 New Revision: 333162 URL: https://svnweb.freebsd.org/changeset/base/333162 Log: MFC r332740: Add PROC_PDEATHSIG_SET to procctl interface. MFC r332825: Rename PROC_PDEATHSIG_SET -> PROC_PDEATHSIG_CTL. MFC r333067: Remove redundant pipe

svn commit: r333168 - stable/11/lib/libc/secure

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 08:26:59 2018 New Revision: 333168 URL: https://svnweb.freebsd.org/changeset/base/333168 Log: MFC r332940: Carefully update stack guard bytes inside __guard_setup(). Modified: stable/11/lib/libc/secure/stack_protector.c Directory Properties: stable/11/

svn commit: r333169 - in head/sys: dev/xen/gntdev xen

2018-05-02 Thread Roger Pau Monné
Author: royger Date: Wed May 2 10:19:17 2018 New Revision: 333169 URL: https://svnweb.freebsd.org/changeset/base/333169 Log: xen: fix gntdev Current interface to the gntdev in FreeBSD is wrong, and mostly worked out of luck before the PTI FreeBSD fixes, when kernel and user-space

svn commit: r333165 - stable/11/sys/x86/x86

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 08:16:38 2018 New Revision: 333165 URL: https://svnweb.freebsd.org/changeset/base/333165 Log: MFC r333025: Some style and minor code improvements for idle selection. Modified: stable/11/sys/x86/x86/cpu_machdep.c Directory Properties: stable/11/ (props

svn commit: r333170 - head/sys/x86/xen

2018-05-02 Thread Roger Pau Monné
Author: royger Date: Wed May 2 10:20:55 2018 New Revision: 333170 URL: https://svnweb.freebsd.org/changeset/base/333170 Log: xen: fix formatting of xen_init_ops No functional change Sponsored by: Citrix Systems R Modified: head/sys/x86/xen/pv.c Modified: head/sys/x86/xen/pv.c

svn commit: r333164 - stable/11/sys/x86/x86

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 08:12:25 2018 New Revision: 333164 URL: https://svnweb.freebsd.org/changeset/base/333164 Log: MFC r332973: Make the sysctl machdep.idle also a tunable. Modified: stable/11/sys/x86/x86/cpu_machdep.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r333166 - stable/11/sys/x86/x86

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 08:19:06 2018 New Revision: 333166 URL: https://svnweb.freebsd.org/changeset/base/333166 Log: MFC r333026: Handle Apollo Lake errata APL31. MFC r333034: Tweaks for r333026. Modified: stable/11/sys/x86/x86/cpu_machdep.c Directory Properties: stable/11/

svn commit: r333163 - stable/11/sys/x86/x86

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 08:00:57 2018 New Revision: 333163 URL: https://svnweb.freebsd.org/changeset/base/333163 Log: MFC r332934: Use relaxed atomics to access the monitor line. Modified: stable/11/sys/x86/x86/cpu_machdep.c Directory Properties: stable/11/ (props changed)

svn commit: r333167 - stable/11/sys/amd64/vmm

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 08:24:59 2018 New Revision: 333167 URL: https://svnweb.freebsd.org/changeset/base/333167 Log: MFC r332932: Correct undesirable interaction between caching of %cr4 in bhyve and invltlb_glob(). Modified: stable/11/sys/amd64/vmm/vmm_host.c Directory Properties:

svn commit: r333173 - in head: . share/man/man4 sys/conf sys/dev/ixgb sys/i386/conf sys/modules sys/modules/ixgb sys/netpfil/pf sys/sparc64/conf tools/kerneldoc/subsys tools/tools/tinybsd/conf/brid...

2018-05-02 Thread Sean Bruno
2 15:59:15 2018(r333173) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20180502: retire ixgb +OLD_FILES+=usr/share/man/man4/ixgb.4.gz # 20180501: retire lmc OLD_FILES+=usr/include/dev/lmc/if_lmc.h OLD_DIRS+=usr/include/dev/lmc Modified: head/UPDATING

Re: svn commit: r332770 - in head/sys: conf netinet netinet/tcp_stacks sys

2018-05-02 Thread hiren panchasara
On 05/01/18 at 05:11P, Warner Losh wrote: > On Tue, May 1, 2018 at 5:00 PM, Jonathan Looney wrote: > > > On Mon, Apr 30, 2018 at 3:16 AM, hiren panchasara < > > hi...@strugglingcoder.info> wrote: > > > > > > In my understanding, default stack currently cannot use this

svn commit: r333171 - in stable/11: share/man/man4 sys/dev/ixgb

2018-05-02 Thread Sean Bruno
Author: sbruno Date: Wed May 2 15:21:51 2018 New Revision: 333171 URL: https://svnweb.freebsd.org/changeset/base/333171 Log: MFC r333137: ixgb(4): Add deprecation notice for this old and busted 10GE adapter. This is a prequisite before we remove the driver from -current. Modified:

svn commit: r333172 - head/usr.bin/grep

2018-05-02 Thread Kyle Evans
Author: kevans Date: Wed May 2 15:45:31 2018 New Revision: 333172 URL: https://svnweb.freebsd.org/changeset/base/333172 Log: bsdgrep: Adjust a missed NLS reference that was invalidated by recent work Submitted by: Dan McGregor Modified: head/usr.bin/grep/util.c

svn commit: r333181 - stable/11/sbin/pfctl

2018-05-02 Thread Kristof Provost
Author: kp Date: Wed May 2 20:15:02 2018 New Revision: 333181 URL: https://svnweb.freebsd.org/changeset/base/333181 Log: MFC r333084: pfctl: Don't break connections on skipped interfaces on reload On reload we used to first flush everything, including the list of skipped

svn commit: r333183 - head/sys/fs/nfsserver

2018-05-02 Thread Rick Macklem
Author: rmacklem Date: Wed May 2 20:36:11 2018 New Revision: 333183 URL: https://svnweb.freebsd.org/changeset/base/333183 Log: Add two missing LIST_INIT()s. This patch adds two missing LIST_INIT()s. Found by inspection. In practice, these are currently no-ops, since the structure they

svn commit: r333175 - in head/sys: kern net netinet netinet6 sys

2018-05-02 Thread Stephen Hurd
Author: shurd Date: Wed May 2 19:36:29 2018 New Revision: 333175 URL: https://svnweb.freebsd.org/changeset/base/333175 Log: Separate list manipulation locking from state change in multicast Multicast incorrectly calls in to drivers with a mutex held causing drivers to have to go through

Re: svn commit: r333174 - head/sys/amd64/vmm/io

2018-05-02 Thread Peter Grehan
That places the MFC right before the optional 11.2 Beta3, I would rather see this "low risk" change merged before May 11th, the code freeze date and Beta1, if it is desired in 11.2, for maximal test exposure. Sure, that can be done. later, Peter.

svn commit: r333176 - head/usr.sbin/traceroute6

2018-05-02 Thread Michael Tuexen
Author: tuexen Date: Wed May 2 19:36:46 2018 New Revision: 333176 URL: https://svnweb.freebsd.org/changeset/base/333176 Log: Fix in the documentation that the default hop limit is not 30, but the value of the sysctl variable net.inet6.ip6.hlim. This is true since

svn commit: r333178 - head/sys/netinet

2018-05-02 Thread Michael Tuexen
Author: tuexen Date: Wed May 2 20:04:31 2018 New Revision: 333178 URL: https://svnweb.freebsd.org/changeset/base/333178 Log: SImplify the call to tcp_drop(), since the handling of soft error is also done in tcp_drop(). No functional change. Sponsored by: Netflix, Inc. Modified:

svn commit: r333177 - head/sys/arm/broadcom/bcm2835

2018-05-02 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed May 2 20:04:25 2018 New Revision: 333177 URL: https://svnweb.freebsd.org/changeset/base/333177 Log: Unbreak RaspberryPi 2 boot after r332839 r332839 changed number of cells per interrupt for local_intc from 1 to 2 to pass type of IRQ. Driver expected only 1 cell

svn commit: r333182 - head/sys/dev/mlx5/mlx5_en

2018-05-02 Thread Konstantin Belousov
Author: kib Date: Wed May 2 20:22:03 2018 New Revision: 333182 URL: https://svnweb.freebsd.org/changeset/base/333182 Log: mlx5en: Always allow VLAN id 0. According to the 802.1Q-2014 9.6 VLAN Tag Control Information, VID value 0 means that there is no VLAN tag assigned to the packet,

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

2018-05-02 Thread Alexander Motin
Author: mav Date: Wed May 2 20:13:03 2018 New Revision: 333180 URL: https://svnweb.freebsd.org/changeset/base/333180 Log: Fix LOR between controller and queue locks. Admin pass-through requests took controller lock before the queue lock, but in case of request submission to a failed

Re: svn commit: r333174 - head/sys/amd64/vmm/io

2018-05-02 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: grehan > Date: Wed May 2 17:41:00 2018 > New Revision: 333174 > URL: https://svnweb.freebsd.org/changeset/base/333174 > > Log: > Use PCI power-mgmt to reset a device if FLR fails. > > A large number of devices don't support PCIe FLR,

svn commit: r333174 - head/sys/amd64/vmm/io

2018-05-02 Thread Peter Grehan
Author: grehan Date: Wed May 2 17:41:00 2018 New Revision: 333174 URL: https://svnweb.freebsd.org/changeset/base/333174 Log: Use PCI power-mgmt to reset a device if FLR fails. A large number of devices don't support PCIe FLR, in particular graphics adapters. Use PCI power management to

svn commit: r333184 - head/sys/fs/nfsserver

2018-05-02 Thread Rick Macklem
Author: rmacklem Date: Wed May 2 21:29:42 2018 New Revision: 333184 URL: https://svnweb.freebsd.org/changeset/base/333184 Log: Revert r333183, since I am not sure that just initializing the list is the correct thing to do and that is already done without this commit. Modified:

svn commit: r333185 - in head: . sys/modules/ixgb

2018-05-02 Thread Sean Bruno
/ObsoleteFiles.inc Wed May 2 21:29:42 2018(r333184) +++ head/ObsoleteFiles.inc Wed May 2 21:32:20 2018(r333185) @@ -39,6 +39,7 @@ # done # 20180502: retire ixgb +OLD_FILES+=usr/share/man/man4/if_ixgb.4.gz OLD_FILES+=usr/share/man/man4/ixgb.4.gz # 20180501: retire lmc

svn commit: r333186 - head/sys/netinet6

2018-05-02 Thread Michael Tuexen
Author: tuexen Date: Wed May 2 22:11:16 2018 New Revision: 333186 URL: https://svnweb.freebsd.org/changeset/base/333186 Log: Send an ICMPv6 PacketTooBig message in case of forwading a packet which is too big for the outgoing interface and no firewall is involed. This problem was introduced

svn commit: r333187 - stable/10/sbin/pfctl

2018-05-02 Thread Kristof Provost
Author: kp Date: Wed May 2 22:36:10 2018 New Revision: 333187 URL: https://svnweb.freebsd.org/changeset/base/333187 Log: MFC r333084: pfctl: Don't break connections on skipped interfaces on reload On reload we used to first flush everything, including the list of skipped

svn commit: r333188 - head/share/mk

2018-05-02 Thread Ed Maste
Author: emaste Date: Wed May 2 23:43:33 2018 New Revision: 333188 URL: https://svnweb.freebsd.org/changeset/base/333188 Log: Build lld as long as we have a C++11 host compiler As with Clang, build our toolchain components by default when the host compiler is capable of doing so, to make

svn commit: r333189 - head/etc

2018-05-02 Thread Eitan Adler
Author: eadler Date: Thu May 3 00:57:19 2018 New Revision: 333189 URL: https://svnweb.freebsd.org/changeset/base/333189 Log: [etc] Update newsyslog.conf default comment Remove line about allowed flags. It was missing 'pRTY' and is duplicative of the man page. It didn't describe the

svn commit: r333190 - head/sys/arm/mv

2018-05-02 Thread Marcin Wojtas
Author: mw Date: Thu May 3 01:10:41 2018 New Revision: 333190 URL: https://svnweb.freebsd.org/changeset/base/333190 Log: Fix SoC identification issue on Marvell platforms Marvell SoC identification function was called by SYSINIT on all armv7 platforms, which brakes platforms other than

svn commit: r333191 - head/sys/arm/conf

2018-05-02 Thread Marcin Wojtas
Author: mw Date: Thu May 3 01:23:42 2018 New Revision: 333191 URL: https://svnweb.freebsd.org/changeset/base/333191 Log: Add Marvell ArmadaXP and Armada38X to GENERIC config Include source files and drivers for Marvell ArmadaXP and Armada38X in GENERIC kernel config. Submitted by:

svn commit: r333192 - head/lib/libc/sys

2018-05-02 Thread Kyle Evans
Author: kevans Date: Thu May 3 02:42:13 2018 New Revision: 333192 URL: https://svnweb.freebsd.org/changeset/base/333192 Log: fcntl(2): Vaguely document that ENOTTY is possible, with light examples Reported by: vs (2006, FreeBSD 6.1-BETA3) Reported by: me (2018, angry debugging

svn commit: r333193 - head/usr.bin/grep

2018-05-02 Thread Kyle Evans
Author: kevans Date: Thu May 3 02:56:13 2018 New Revision: 333193 URL: https://svnweb.freebsd.org/changeset/base/333193 Log: zgrep(1): Note that -r/-R are not currently supported. This is better behavior than just silently doing the wrong thing. We do not currently have plans to support

Re: svn commit: r333192 - head/lib/libc/sys

2018-05-02 Thread Kyle Evans
On Wed, May 2, 2018 at 9:42 PM, Kyle Evans wrote: > Author: kevans > Date: Thu May 3 02:42:13 2018 > New Revision: 333192 > URL: https://svnweb.freebsd.org/changeset/base/333192 > > Log: > fcntl(2): Vaguely document that ENOTTY is possible, with light examples > >