svn commit: r339905 - stable/12/sys/dev/cxgbe

2018-10-29 Thread Navdeep Parhar
Author: np Date: Tue Oct 30 05:04:18 2018 New Revision: 339905 URL: https://svnweb.freebsd.org/changeset/base/339905 Log: MFC r339626: cxgbe(4): Use automatic cidx updates with ofld and ctrl queues. The bits that explicitly request cidx updates do not work reliably with all possible

svn commit: r339904 - in head: contrib/netbsd-tests/lib/libc/time lib/libc/tests

2018-10-29 Thread Yuri Pankov
Author: yuripv Date: Tue Oct 30 02:37:23 2018 New Revision: 339904 URL: https://svnweb.freebsd.org/changeset/base/339904 Log: Connect libc/tests/time to the build, adding test cases for strptime() issues fixed recently, and disabling the failing ones (mostly due to TZ parsing differences

svn commit: r339902 - head/sys/powerpc/mpc85xx

2018-10-29 Thread Justin Hibbits
Author: jhibbits Date: Tue Oct 30 00:47:40 2018 New Revision: 339902 URL: https://svnweb.freebsd.org/changeset/base/339902 Log: powerpc/mpc85xx: Reset the PCIe bus on attach It seems if a Radeon card is already initialized by u-boot, it won't be reinitialized by the kernel, and the DRM

svn commit: r339901 - head/sys/conf

2018-10-29 Thread John Baldwin
Author: jhb Date: Tue Oct 30 00:23:37 2018 New Revision: 339901 URL: https://svnweb.freebsd.org/changeset/base/339901 Log: Permit local kernel modules to be built as part of a kernel build. Add support for "local" modules. By default, these modules are located in LOCALBASE/sys/modules

svn commit: r339900 - head/sys/geom/concat

2018-10-29 Thread Mark Johnston
Author: markj Date: Tue Oct 30 00:22:14 2018 New Revision: 339900 URL: https://svnweb.freebsd.org/changeset/base/339900 Log: Have gconcat advertise delete support if one of its disks does. This follows the example set by other multi-disk GEOM classes. PR: 232676 Tested by:

svn commit: r339899 - head/sys/dev/acpica

2018-10-29 Thread John Baldwin
Author: jhb Date: Tue Oct 30 00:19:44 2018 New Revision: 339899 URL: https://svnweb.freebsd.org/changeset/base/339899 Log: Make battery emptying rate available as sysctl variable. Curiously, the in-kernel routines always use the design voltage to convert from mA to mW, but acpiconf in

svn commit: r339898 - head/lib/libc/amd64/sys

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Tue Oct 30 00:11:30 2018 New Revision: 339898 URL: https://svnweb.freebsd.org/changeset/base/339898 Log: Convert amd64_get/set_fs/gsbase to ifunc. Note that this is the first use of ifuncs in our userspace. Sponsored by: The FreeBSD Foundation MFC after:1 month

svn commit: r339897 - head/libexec/rtld-elf/amd64

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:59:26 2018 New Revision: 339897 URL: https://svnweb.freebsd.org/changeset/base/339897 Log: Remove rtld use of libc amd64_set_fsbase(). One less non-trivial dependency of rtld on libc. Also, amd64_set_fsbase() is to be converted to ifunc, which I do not

svn commit: r339896 - head/libexec/rtld-elf

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:56:39 2018 New Revision: 339896 URL: https://svnweb.freebsd.org/changeset/base/339896 Log: Initialize ifunc calling machinery earlier. In particular, do it before the first call to allocate_initial_tls(), which contains MD parts to set the initial thread'

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

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:52:31 2018 New Revision: 339895 URL: https://svnweb.freebsd.org/changeset/base/339895 Log: amd64: Use ifuncs to select suitable implementation of set_pcb_flags(). There is no reason to check for PCB_FULL_IRET if FSGSBASE instructions are not supported.

svn commit: r339894 - head/usr.bin/procstat

2018-10-29 Thread John Baldwin
Author: jhb Date: Mon Oct 29 23:48:20 2018 New Revision: 339894 URL: https://svnweb.freebsd.org/changeset/base/339894 Log: Teach procstat -x about the AT_EHDRFLAGS ELF auxiliary vector. Submitted by: Shawn Webb Reviewed by: brooks Obtained from:HardenedBSD

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

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:45:17 2018 New Revision: 339893 URL: https://svnweb.freebsd.org/changeset/base/339893 Log: Style. Wrap long lines, use +4 spaces for continuation indent. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

svn commit: r339892 - head/sys/sys

2018-10-29 Thread Konstantin Belousov
Author: kib Date: Mon Oct 29 23:43:17 2018 New Revision: 339892 URL: https://svnweb.freebsd.org/changeset/base/339892 Log: Clarify explanation of VFCF_SBDRY. Requested by: mckusick Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/sys/mount.h Modified:

svn commit: r339891 - head/sys/dev/cxgbe/iw_cxgbe

2018-10-29 Thread Navdeep Parhar
Author: np Date: Mon Oct 29 22:35:46 2018 New Revision: 339891 URL: https://svnweb.freebsd.org/changeset/base/339891 Log: cxgbe/iw_cxgbe: Install the socket upcall before calling soconnect to ensure that it always runs when soisconnected does. Submitted by: Krishnamraju Eraparaju @

svn commit: r339890 - head/sys/dev/cxgbe/crypto

2018-10-29 Thread John Baldwin
Author: jhb Date: Mon Oct 29 22:24:31 2018 New Revision: 339890 URL: https://svnweb.freebsd.org/changeset/base/339890 Log: Add support for "plain" (non-HMAC) SHA digests. MFC after:2 months Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/crypto/t4_crypto.c

svn commit: r339889 - head/share/man/man9

2018-10-29 Thread Gleb Smirnoff
Author: glebius Date: Mon Oct 29 22:10:52 2018 New Revision: 339889 URL: https://svnweb.freebsd.org/changeset/base/339889 Log: Add a note that epoch(9) may change, to untie our hands for any future MFCs. Modified: head/share/man/man9/epoch.9 Modified: head/share/man/man9/epoch.9

svn commit: r339888 - svnadmin/conf

2018-10-29 Thread Justin Hibbits
Author: jhibbits Date: Mon Oct 29 22:08:45 2018 New Revision: 339888 URL: https://svnweb.freebsd.org/changeset/base/339888 Log: Let luporl fly free. Keep up the good work! Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors

svn commit: r339886 - head/contrib/ofed/librdmacm/examples

2018-10-29 Thread Navdeep Parhar
Author: np Date: Mon Oct 29 21:46:05 2018 New Revision: 339886 URL: https://svnweb.freebsd.org/changeset/base/339886 Log: rping(1): Make sure the socket address defaults to something reasonable when running as the server. Submitted by: Krishnamraju Eraparaju @ Chelsio Reviewed by:

svn commit: r339887 - stable/9/sys/dev/bxe

2018-10-29 Thread David C Somayajulu
Author: davidcs Date: Mon Oct 29 21:46:12 2018 New Revision: 339887 URL: https://svnweb.freebsd.org/changeset/base/339887 Log: MFC r339366 Add support for Error Recovery Submitted by:vaishali.kulka...@cavium.com Modified: stable/9/sys/dev/bxe/bxe.c stable/9/sys/dev/bxe/bxe.h

svn commit: r339885 - stable/9/sys/dev/bxe

2018-10-29 Thread David C Somayajulu
Author: davidcs Date: Mon Oct 29 21:36:10 2018 New Revision: 339885 URL: https://svnweb.freebsd.org/changeset/base/339885 Log: MFC r338734 Fixed isses: State check before enqueuing transmit task in bxe_link_attn() routine. State check before invoking bxe_nic_unload in

svn commit: r339884 - stable/10/sys/dev/bxe

2018-10-29 Thread David C Somayajulu
Author: davidcs Date: Mon Oct 29 21:31:23 2018 New Revision: 339884 URL: https://svnweb.freebsd.org/changeset/base/339884 Log: MFC r339366 Add support for Error Recovery Submitted by:vaishali.kulka...@cavium.com Modified: stable/10/sys/dev/bxe/bxe.c stable/10/sys/dev/bxe/bxe.h

svn commit: r339883 - in head: share/man/man4 sys/netinet/netdump

2018-10-29 Thread Mark Johnston
Author: markj Date: Mon Oct 29 21:16:26 2018 New Revision: 339883 URL: https://svnweb.freebsd.org/changeset/base/339883 Log: Expose some netdump configuration parameters through sysctl. Reviewed by: cem MFC after:1 week Differential Revision:

svn commit: r339882 - stable/10/sys/dev/bxe

2018-10-29 Thread David C Somayajulu
Author: davidcs Date: Mon Oct 29 21:14:48 2018 New Revision: 339882 URL: https://svnweb.freebsd.org/changeset/base/339882 Log: MFC r338734 Fixed isses: State check before enqueuing transmit task in bxe_link_attn() routine. State check before invoking bxe_nic_unload in

svn commit: r339879 - in head/libexec/rtld-elf: . riscv

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:28 2018 New Revision: 339879 URL: https://svnweb.freebsd.org/changeset/base/339879 Log: rtld-elf: fix more warnings to allow compiling with WARNS=6 Reviewed By: kib Approved By: brooks (mentor) Differential Revision:

svn commit: r339881 - stable/11/sys/dev/bxe

2018-10-29 Thread David C Somayajulu
Author: davidcs Date: Mon Oct 29 21:09:39 2018 New Revision: 339881 URL: https://svnweb.freebsd.org/changeset/base/339881 Log: MFC r339366 Add support for Error Recovery Submitted by:vaishali.kulka...@cavium.com Modified: stable/11/sys/dev/bxe/bxe.c stable/11/sys/dev/bxe/bxe.h

svn commit: r339878 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:19 2018 New Revision: 339878 URL: https://svnweb.freebsd.org/changeset/base/339878 Log: rtld-elf: compile with WANRS=4 warnings other than -Wcast-align Reviewed By: kib Approved By: brooks (mentor) Differential Revision:

svn commit: r339880 - head/lib/libpmc/pmu-events

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:34 2018 New Revision: 339880 URL: https://svnweb.freebsd.org/changeset/base/339880 Log: Fix get_maxfds() in jevents If RLIM_INFINITY == -1ULL (such as on macOS) the min() call will result in a value of less than 1 being returned. This causes

svn commit: r339877 - head/libexec/rtld-elf

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:11 2018 New Revision: 339877 URL: https://svnweb.freebsd.org/changeset/base/339877 Log: rtld-elf: make it compile with WARNS=3 Reviewed By: kib Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D17150 Modified:

svn commit: r339876 - head/libexec/rtld-elf

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:02 2018 New Revision: 339876 URL: https://svnweb.freebsd.org/changeset/base/339876 Log: rtld: set obj->textsize correctly With lld-generated binaries the first PT_LOAD will usually be a read-only segment unless you pass --no-rosegment. For those

svn commit: r339875 - head/release

2018-10-29 Thread Glen Barber
Author: gjb Date: Mon Oct 29 21:03:43 2018 New Revision: 339875 URL: https://svnweb.freebsd.org/changeset/base/339875 Log: Pass _BRANCH in the reldoc target to ensure the correct src branch is used when generating the hardware.html page. MFC after:3 days MFC before: 12.0-BETA3

svn commit: r339874 - stable/11/sys/dev/bxe

2018-10-29 Thread David C Somayajulu
Author: davidcs Date: Mon Oct 29 21:00:16 2018 New Revision: 339874 URL: https://svnweb.freebsd.org/changeset/base/339874 Log: MFC r338734 Fixed isses: State check before enqueuing transmit task in bxe_link_attn() routine. State check before invoking bxe_nic_unload in

svn commit: r339873 - head/release

2018-10-29 Thread Glen Barber
Author: gjb Date: Mon Oct 29 20:53:05 2018 New Revision: 339873 URL: https://svnweb.freebsd.org/changeset/base/339873 Log: Set OPTIONS_UNSET in the argument list to env(1), and add AVAHI to the list. This fixes the textproc/docproj build seemingly following FLAVORS being added.

Re: svn commit: r339826 - in head: sys/amd64/vmm/intel usr.sbin/bhyve

2018-10-29 Thread Yuri Pankov
John Baldwin wrote: > On 10/27/18 2:24 PM, Yuri Pankov wrote: >> Author: yuripv >> Date: Sat Oct 27 21:24:28 2018 >> New Revision: 339826 >> URL: https://svnweb.freebsd.org/changeset/base/339826 >> >> Log: >> Provide basic descriptions for VMX exit reason (from "Intel 64 and IA-32 >>

Re: svn commit: r339826 - in head: sys/amd64/vmm/intel usr.sbin/bhyve

2018-10-29 Thread John Baldwin
On 10/27/18 2:24 PM, Yuri Pankov wrote: > Author: yuripv > Date: Sat Oct 27 21:24:28 2018 > New Revision: 339826 > URL: https://svnweb.freebsd.org/changeset/base/339826 > > Log: > Provide basic descriptions for VMX exit reason (from "Intel 64 and IA-32 > Architectures Software Developer’s

svn commit: r339872 - in stable/11/sys: amd64/include i386/include x86/include

2018-10-29 Thread John Baldwin
Author: jhb Date: Mon Oct 29 20:21:10 2018 New Revision: 339872 URL: https://svnweb.freebsd.org/changeset/base/339872 Log: MFC 338101: Merge amd64 and i386 headers. Added: stable/11/sys/x86/include/intr_machdep.h - copied, changed from r338101, head/sys/x86/include/intr_machdep.h

svn commit: r339871 - stable/12/share/man/man4

2018-10-29 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 29 20:08:19 2018 New Revision: 339871 URL: https://svnweb.freebsd.org/changeset/base/339871 Log: MFC r339869,r339870: Remove empty line. Reported by: gjb@ Approved by: re (gjb@) Modified: stable/12/share/man/man4/sctp.4 Directory Properties:

svn commit: r339870 - head/share/man/man4

2018-10-29 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 29 19:25:30 2018 New Revision: 339870 URL: https://svnweb.freebsd.org/changeset/base/339870 Log: Insert a .El line accidently committed in r339869. Reported by: gjb@ MFC after:3 days Modified: head/share/man/man4/sctp.4 Modified:

svn commit: r339869 - head/share/man/man4

2018-10-29 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 29 19:14:56 2018 New Revision: 339869 URL: https://svnweb.freebsd.org/changeset/base/339869 Log: Fix a nit Reported by: gjb@ MFC after:3 days Modified: head/share/man/man4/sctp.4 Modified: head/share/man/man4/sctp.4

svn commit: r339868 - head/sys/compat/linuxkpi/common/include/linux

2018-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 19:02:36 2018 New Revision: 339868 URL: https://svnweb.freebsd.org/changeset/base/339868 Log: Implement dma_pool_zalloc() in the LinuxKPI. Submitted by: Johannes Lundberg MFC after:3 days Sponsored by: Mellanox Technologies

svn commit: r339867 - in stable/12: share/man/man4 sys/netinet

2018-10-29 Thread Michael Tuexen
Author: tuexen Date: Mon Oct 29 19:01:47 2018 New Revision: 339867 URL: https://svnweb.freebsd.org/changeset/base/339867 Log: MFC r339791: Add initial descriptions for SCTP related MIB variable. This work was mostly done by Marie-Helene Kvello-Aune. Approved by: re (gjb)

svn commit: r339866 - head/lib/csu/common

2018-10-29 Thread Andrew Turner
Author: andrew Date: Mon Oct 29 17:55:26 2018 New Revision: 339866 URL: https://svnweb.freebsd.org/changeset/base/339866 Log: Make the .ctors, .dtors, and .jcr markers as static. They shouldn't be accessible from out of the files they are defined in. MFC with: r339738 Sponsored by:

svn commit: r339865 - head/etc/mtree

2018-10-29 Thread Andrew Turner
Author: andrew Date: Mon Oct 29 17:13:12 2018 New Revision: 339865 URL: https://svnweb.freebsd.org/changeset/base/339865 Log: Include the csu test directories in BSD.tests.dist MFC with: r339738 Sponsored by: DARPA, AFRL Modified: head/etc/mtree/BSD.tests.dist Modified:

svn commit: r339864 - head/lib/csu/tests

2018-10-29 Thread Andrew Turner
Author: andrew Date: Mon Oct 29 17:03:20 2018 New Revision: 339864 URL: https://svnweb.freebsd.org/changeset/base/339864 Log: Check __dso_handle is NULL in non-DSO objects. It should only be non-NULL when accessed from a shared object. MFC with: r339738 Sponsored by: DARPA, AFRL

svn commit: r339863 - stable/11/sys/dev/hyperv/netvsc

2018-10-29 Thread Wei Hu
Author: whu Date: Mon Oct 29 15:12:15 2018 New Revision: 339863 URL: https://svnweb.freebsd.org/changeset/base/339863 Log: MFC: 339585 r339585: Do not drop UDP traffic when TXCSUM_IPV6 flag is on PR: 231797 Submitted by: whu

svn commit: r339862 - stable/11/sys/sys

2018-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 14:37:27 2018 New Revision: 339862 URL: https://svnweb.freebsd.org/changeset/base/339862 Log: MFC r339600: Make sure returned value is checked and assert a valid refcount. While at it fix a print: Unsigned types cannot be negative. Reviewed by:

svn commit: r339861 - in head/sys: kern sys

2018-10-29 Thread Stephen Hurd
Author: shurd Date: Mon Oct 29 14:36:03 2018 New Revision: 339861 URL: https://svnweb.freebsd.org/changeset/base/339861 Log: Drain grouptaskqueue of the gtask before detaching it. taskqgroup_detach() would remove the task even if it was running or enqueued, which could lead to panics

svn commit: r339860 - stable/12/sys/sys

2018-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 14:06:20 2018 New Revision: 339860 URL: https://svnweb.freebsd.org/changeset/base/339860 Log: MFC r339600: Make sure returned value is checked and assert a valid refcount. While at it fix a print: Unsigned types cannot be negative. Reviewed by:

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

2018-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 13:17:41 2018 New Revision: 339859 URL: https://svnweb.freebsd.org/changeset/base/339859 Log: MFC r339588: Resolve deadlock between epoch(9) and various network interface SX-locks, during if_purgeaddrs(), by not allowing to hold the epoch read lock over

svn commit: r339858 - in stable/10: share/man/man4 sys/ddb

2018-10-29 Thread Andriy Gapon
Author: avg Date: Mon Oct 29 12:48:30 2018 New Revision: 339858 URL: https://svnweb.freebsd.org/changeset/base/339858 Log: MFC r337528: add an option for ddb ps command to print process arguments Sponsored by: Panzura Modified: stable/10/share/man/man4/ddb.4 stable/10/sys/ddb/db_ps.c

svn commit: r339857 - in stable/11: share/man/man4 sys/ddb

2018-10-29 Thread Andriy Gapon
Author: avg Date: Mon Oct 29 12:47:15 2018 New Revision: 339857 URL: https://svnweb.freebsd.org/changeset/base/339857 Log: MFC r337528: add an option for ddb ps command to print process arguments Sponsored by: Panzura Modified: stable/11/share/man/man4/ddb.4 stable/11/sys/ddb/db_ps.c

svn commit: r339856 - stable/10/sys/ddb

2018-10-29 Thread Andriy Gapon
Author: avg Date: Mon Oct 29 12:45:08 2018 New Revision: 339856 URL: https://svnweb.freebsd.org/changeset/base/339856 Log: MFC r303648: Fix ddb "show proc" to show full arguments PR: 200052 Modified: stable/10/sys/ddb/db_ps.c Directory Properties: stable/10/ (props

svn commit: r339855 - stable/11/sys/ddb

2018-10-29 Thread Andriy Gapon
Author: avg Date: Mon Oct 29 12:41:49 2018 New Revision: 339855 URL: https://svnweb.freebsd.org/changeset/base/339855 Log: MFC r303648: Fix ddb "show proc" to show full arguments PR: 200052 Modified: stable/11/sys/ddb/db_ps.c Directory Properties: stable/11/ (props

svn commit: r339854 - stable/9/sys/dev/usb/serial

2018-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 12:13:05 2018 New Revision: 339854 URL: https://svnweb.freebsd.org/changeset/base/339854 Log: MFC r339587: Added support for formula-based arbitrary baud rates, in contrast to the current fixed values, which enables use of rates above 1 Mbps. Improved the

svn commit: r339853 - stable/10/sys/dev/usb/serial

2018-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 12:11:27 2018 New Revision: 339853 URL: https://svnweb.freebsd.org/changeset/base/339853 Log: MFC r339587: Added support for formula-based arbitrary baud rates, in contrast to the current fixed values, which enables use of rates above 1 Mbps. Improved the

svn commit: r339852 - stable/11/sys/dev/usb/serial

2018-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 12:10:06 2018 New Revision: 339852 URL: https://svnweb.freebsd.org/changeset/base/339852 Log: MFC r339587: Added support for formula-based arbitrary baud rates, in contrast to the current fixed values, which enables use of rates above 1 Mbps. Improved the

svn commit: r339851 - stable/12/sys/dev/usb/serial

2018-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Mon Oct 29 12:08:15 2018 New Revision: 339851 URL: https://svnweb.freebsd.org/changeset/base/339851 Log: MFC r339587: Added support for formula-based arbitrary baud rates, in contrast to the current fixed values, which enables use of rates above 1 Mbps. Improved the