svn commit: r324342 - in head: . sys/sys

2017-10-05 Thread Warner Losh
: ** SPECIAL WARNING: ** +20171005: + The arm port has split armv6 into armv6 and armv7. armv7 is now + a valid TARGET_ARCH/MACHINE_ARCH setting. + 20171003: When building multiple kernels using KERNCONF, non-existent KERNCONF files will produce

svn commit: r324341 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/broadcom/bcm2835 arm/conf arm/freescale/imx arm/freescale/vybrid arm/mv arm/mv/armad...

2017-10-05 Thread Warner Losh
Author: imp Date: Thu Oct 5 23:01:50 2017 New Revision: 324341 URL: https://svnweb.freebsd.org/changeset/base/324341 Log: Tag all armv7 kernels as such in their machine config line. Transition all boards that support arm cortex CPUs to armv7. This leaves two armv6 kernels in the tree.

svn commit: r324340 - in head: . gnu/usr.bin/binutils/as gnu/usr.bin/cc lib/clang lib/libc lib/libc/arm lib/libc/arm/aeabi lib/libc/arm/gen lib/libc/sys lib/libcompiler_rt lib/msun/arm release shar...

2017-10-05 Thread Warner Losh
Author: imp Date: Thu Oct 5 23:01:33 2017 New Revision: 324340 URL: https://svnweb.freebsd.org/changeset/base/324340 Log: Support armv7 builds for userland Make armv7 as a new MACHINE_ARCH. Copy all the places we do armv6 and add armv7 as basically an alias. clang appears to

svn commit: r324338 - head/release/doc

2017-10-05 Thread Glen Barber
Author: gjb Date: Thu Oct 5 20:54:31 2017 New Revision: 324338 URL: https://svnweb.freebsd.org/changeset/base/324338 Log: Remove release-related documentation from the base repository, moved to the doc repository (see revisions r51045:r51061). Sponsored by: The FreeBSD Foundation

svn commit: r324336 - in head/sys/fs: nfs nfsclient

2017-10-05 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 5 20:10:40 2017 New Revision: 324336 URL: https://svnweb.freebsd.org/changeset/base/324336 Log: Add Flex File Layout support to the NFSv4.1 pNFS client. This patch adds support for the Flexible File Layout to the pNFS client. Although the patch is rather

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

2017-10-05 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 5 19:18:02 2017 New Revision: 324335 URL: https://svnweb.freebsd.org/changeset/base/324335 Log: locks: take the number of readers into account when waiting Previous code would always spin once before checking the lock. But a lock with e.g. 6 readers is not

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 19:11:25 2017 New Revision: 324334 URL: https://svnweb.freebsd.org/changeset/base/324334 Log: Use ANSI C declarations. Reviewed by: bde Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/i386/i386/sys_machdep.c Modified:

svn commit: r324333 - stable/9/sys/dev/qlxgbe

2017-10-05 Thread David C Somayajulu
Author: davidcs Date: Thu Oct 5 19:03:50 2017 New Revision: 324333 URL: https://svnweb.freebsd.org/changeset/base/324333 Log: MFC r324065 Tx Ring Shadow Consumer Index Register needs to be cleared prior to passing it's physical address to the FW during Tx Create Context. Modified:

svn commit: r324332 - stable/9/sys/dev/qlxgbe

2017-10-05 Thread David C Somayajulu
Author: davidcs Date: Thu Oct 5 19:01:47 2017 New Revision: 324332 URL: https://svnweb.freebsd.org/changeset/base/324332 Log: MFC r324026 Fix delete all multicast addresses Submitted by: anand.kh...@cavium.com Modified: stable/9/sys/dev/qlxgbe/ql_glbl.h

svn commit: r324331 - head/release

2017-10-05 Thread Glen Barber
Author: gjb Date: Thu Oct 5 19:00:22 2017 New Revision: 324331 URL: https://svnweb.freebsd.org/changeset/base/324331 Log: Fix the 'reldoc' target, following doc commit r51047. Sponsored by: The FreeBSD Foundation Modified: head/release/Makefile Modified: head/release/Makefile

svn commit: r324329 - stable/10/sys/dev/qlxgbe

2017-10-05 Thread David C Somayajulu
Author: davidcs Date: Thu Oct 5 18:58:24 2017 New Revision: 324329 URL: https://svnweb.freebsd.org/changeset/base/324329 Log: MFC r324065 Tx Ring Shadow Consumer Index Register needs to be cleared prior to passing it's physical address to the FW during Tx Create Context. Modified:

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 18:58:28 2017 New Revision: 324330 URL: https://svnweb.freebsd.org/changeset/base/324330 Log: Correct format specifiers in the debug code. Style. Requested by: bde Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

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

2017-10-05 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 5 18:51:48 2017 New Revision: 324328 URL: https://svnweb.freebsd.org/changeset/base/324328 Log: amd64: remove unused variable from pmap_delayed_invl_genp Reported by: gcc MFC after:1 week Modified: head/sys/amd64/amd64/pmap.c Modified:

svn commit: r324327 - stable/10/sys/dev/qlxgbe

2017-10-05 Thread David C Somayajulu
Author: davidcs Date: Thu Oct 5 18:51:32 2017 New Revision: 324327 URL: https://svnweb.freebsd.org/changeset/base/324327 Log: MFC r324026 Fix delete all multicast addresses Submitted by:anand.kh...@cavium.com Modified: stable/10/sys/dev/qlxgbe/ql_glbl.h

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 18:42:13 2017 New Revision: 324326 URL: https://svnweb.freebsd.org/changeset/base/324326 Log: Style. Reviewed by: bde Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/i386/i386/sys_machdep.c Modified:

svn commit: r324325 - stable/11/sys/dev/qlxgbe

2017-10-05 Thread David C Somayajulu
Author: davidcs Date: Thu Oct 5 18:38:42 2017 New Revision: 324325 URL: https://svnweb.freebsd.org/changeset/base/324325 Log: MFC r324065 Tx Ring Shadow Consumer Index Register needs to be cleared prior to passing it's physical address to the FW during Tx Create Context. Modified:

svn commit: r324324 - stable/11/sys/dev/qlxgbe

2017-10-05 Thread David C Somayajulu
Author: davidcs Date: Thu Oct 5 18:33:56 2017 New Revision: 324324 URL: https://svnweb.freebsd.org/changeset/base/324324 Log: MFC r324026 Fix delete all multicast addresses Submitted by:anand.kh...@cavium.com Modified: stable/11/sys/dev/qlxgbe/ql_glbl.h

svn commit: r324323 - head/sys/dev/bnxt

2017-10-05 Thread Stephen Hurd
Author: shurd Date: Thu Oct 5 17:52:38 2017 New Revision: 324323 URL: https://svnweb.freebsd.org/changeset/base/324323 Log: bnxt: fix intermittent VLAN issues bnxt_init() is invokes Function Reset (bnxt_hwrm_func_reset) and thus FW configuration for VLANs get erased. To fix this, in

Re: svn commit: r324178 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua

2017-10-05 Thread Ed Maste
On 5 October 2017 at 08:29, Andriy Gapon wrote: > > Now I see where I tripped. The code built fine on sparc64 and powerpc does > not > build ZFS at all and powerpc64 (with char unsigned) kept failing. > > I am going to commit a platform independent fix soon. Thanks! And sorry

svn commit: r324322 - stable/11/usr.sbin/tcpdump/tcpdump

2017-10-05 Thread Gordon Tetlow
Author: gordon Date: Thu Oct 5 17:02:21 2017 New Revision: 324322 URL: https://svnweb.freebsd.org/changeset/base/324322 Log: MFC r323709: Revert tcpdump to using the source manpage instead of having a copy here. This helps future maintainability of tcpdump so we don't forget to update

Re: svn commit: r324319 - head/sys/conf

2017-10-05 Thread Warner Losh
On Oct 5, 2017 9:44 AM, "Hans Petter Selasky" wrote: On 10/05/17 18:40, Warner Losh wrote: > Author: imp > Date: Thu Oct 5 16:40:50 2017 > New Revision: 324319 > URL: https://svnweb.freebsd.org/changeset/base/324319 > > Log: >Document KERNBUILDDIR. > Sponsored by:

svn commit: r324321 - head/sys/boot

2017-10-05 Thread Warner Losh
Author: imp Date: Thu Oct 5 16:48:05 2017 New Revision: 324321 URL: https://svnweb.freebsd.org/changeset/base/324321 Log: This README file was quite relevant for FreeBSD 3 or 4. However, the information in this file is now somewhat dated, or is present mostly correct in the man pages.

Re: svn commit: r324319 - head/sys/conf

2017-10-05 Thread Hans Petter Selasky
On 10/05/17 18:40, Warner Losh wrote: Author: imp Date: Thu Oct 5 16:40:50 2017 New Revision: 324319 URL: https://svnweb.freebsd.org/changeset/base/324319 Log: Document KERNBUILDDIR. Sponsored by: Netflix Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk

svn commit: r324319 - head/sys/conf

2017-10-05 Thread Warner Losh
Author: imp Date: Thu Oct 5 16:40:50 2017 New Revision: 324319 URL: https://svnweb.freebsd.org/changeset/base/324319 Log: Document KERNBUILDDIR. Sponsored by: Netflix Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk

svn commit: r324320 - in head: lib/libcuse sys/fs/cuse

2017-10-05 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 5 16:42:02 2017 New Revision: 324320 URL: https://svnweb.freebsd.org/changeset/base/324320 Log: Add support for new cuse(3) error code, CUSE_ERR_NO_DEVICE. This error code is useful when emulating Linux input event devices from userspace. PR:

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

2017-10-05 Thread Guy Yur
On 5 October 2017 at 18:41, Guy Yur wrote: > On 5 October 2017 at 18:10, Emmanuel Vadot wrote: >> On Thu, 5 Oct 2017 17:17:48 +0300 >> Guy Yur wrote: >> >>> On 27 September 2017 at 12:39, Emmanuel Vadot wrote: >>> >

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

2017-10-05 Thread Guy Yur
On 5 October 2017 at 18:10, Emmanuel Vadot wrote: > On Thu, 5 Oct 2017 17:17:48 +0300 > Guy Yur wrote: > >> On 27 September 2017 at 12:39, Emmanuel Vadot wrote: >> > Author: manu >> > Date: Wed Sep 27 09:39:16 2017 >> > New Revision:

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

2017-10-05 Thread Emmanuel Vadot
On Thu, 5 Oct 2017 17:17:48 +0300 Guy Yur wrote: > On 27 September 2017 at 12:39, Emmanuel Vadot wrote: > > Author: manu > > Date: Wed Sep 27 09:39:16 2017 > > New Revision: 324054 > > URL: https://svnweb.freebsd.org/changeset/base/324054 > > > > Log: > >

svn commit: r324318 - in head/sys: dev/bnxt dev/e1000 kern net

2017-10-05 Thread Stephen Hurd
Author: shurd Date: Thu Oct 5 14:43:30 2017 New Revision: 324318 URL: https://svnweb.freebsd.org/changeset/base/324318 Log: Fix "taskqgroup_attach: setaffinity failed: 3" with iflib drivers Improved logging added in r323879 exposed an error during attach. We need the irq, not the rid to

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

2017-10-05 Thread Guy Yur
On 27 September 2017 at 12:39, Emmanuel Vadot wrote: > Author: manu > Date: Wed Sep 27 09:39:16 2017 > New Revision: 324054 > URL: https://svnweb.freebsd.org/changeset/base/324054 > > Log: > vfs_export: Simplify vfs_export_lookup > > If the filesystem is not exported

svn commit: r324317 - head/sys/netinet

2017-10-05 Thread Michael Tuexen
Author: tuexen Date: Thu Oct 5 13:29:54 2017 New Revision: 324317 URL: https://svnweb.freebsd.org/changeset/base/324317 Log: Ensure that the accept ABORT chunks with the T-bit set only the a non-zero matching peer tag is provided. MFC after:1 week Modified:

svn commit: r324316 - head/sys/dev/hyperv/netvsc

2017-10-05 Thread Sepherosa Ziehau
Author: sephe Date: Thu Oct 5 13:22:14 2017 New Revision: 324316 URL: https://svnweb.freebsd.org/changeset/base/324316 Log: hyperv/hn: Fix options RSS building Reported by: np MFC after:1 week Sponsored by: Microsoft Modified: head/sys/dev/hyperv/netvsc/if_hn.c Modified:

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 13:12:59 2017 New Revision: 324315 URL: https://svnweb.freebsd.org/changeset/base/324315 Log: Ensure that after sucessfull i386_set_ldt() call, other threads can use LDT segments immediately. If the i386_set_ldt() call created a first LDT descriptor (and

svn commit: r324314 - head/sys/kern

2017-10-05 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 5 13:01:18 2017 New Revision: 324314 URL: https://svnweb.freebsd.org/changeset/base/324314 Log: locks: partially tidy up waiting on readers spin first instant of instantly re-readoing and don't re-read after spinning is finished - the state is already known.

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 12:50:03 2017 New Revision: 324313 URL: https://svnweb.freebsd.org/changeset/base/324313 Log: Avoid a race betweem freeing LDT and context switches. cpu_switch.S uses curproc->p_md.md_ldt value as the flag indicating presence of the process LDT. The flag is

svn commit: r324312 - head/etc/devd

2017-10-05 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 12:38:26 2017 New Revision: 324312 URL: https://svnweb.freebsd.org/changeset/base/324312 Log: fix the misleading log facility used in devd/zfs.conf In general, the "kern" facility is reserved for the kernel use only. If a program specifies that facility, then

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

2017-10-05 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 12:32:14 2017 New Revision: 324311 URL: https://svnweb.freebsd.org/changeset/base/324311 Log: sysctl-s in a module should be accessible only when the module is initialized A sysctl can have a custom handler that may access data that is initialized via

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 12:29:34 2017 New Revision: 324310 URL: https://svnweb.freebsd.org/changeset/base/324310 Log: Improve amd64_get_ldt(). Provide consistent snapshot of the requested descriptors by preventing other threads from modifying LDT while we fetch the data, lock

svn commit: r324309 - head/sys/cddl/compat/opensolaris/kern

2017-10-05 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 12:25:18 2017 New Revision: 324309 URL: https://svnweb.freebsd.org/changeset/base/324309 Log: remove heuristic error detection from ddi_strto*() Zero, _MIN and _MAX values can result from valid conversions. They don't necessarily imply any error. Since we

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 12:19:55 2017 New Revision: 324308 URL: https://svnweb.freebsd.org/changeset/base/324308 Log: Minor style fix. Requested by: bde Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/amd64/amd64/sys_machdep.c Modified:

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 12:16:45 2017 New Revision: 324307 URL: https://svnweb.freebsd.org/changeset/base/324307 Log: Complete r323772 on amd64. Compilers are allowed to combine plain reads into group operations, e.g. 64bit element copies of one array into another can be

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 12:07:38 2017 New Revision: 324306 URL: https://svnweb.freebsd.org/changeset/base/324306 Log: Use ANSI C declaration for amd64_get_ldt(). Reviewed by: bde Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 12:01:39 2017 New Revision: 324305 URL: https://svnweb.freebsd.org/changeset/base/324305 Log: Correct format specifiers in the debug code. Requested by: bde Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 11:56:04 2017 New Revision: 324304 URL: https://svnweb.freebsd.org/changeset/base/324304 Log: Remove useless comments. Requested by: bde Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/amd64/amd64/sys_machdep.c Modified:

svn commit: r324303 - in head/sys/amd64: amd64 include

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 11:50:01 2017 New Revision: 324303 URL: https://svnweb.freebsd.org/changeset/base/324303 Log: On amd64, mark the set_user_ldt() function as static. On i386, the function is used from the context switch code and needs to be accessible externally. Amd64 MD

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 11:36:55 2017 New Revision: 324302 URL: https://svnweb.freebsd.org/changeset/base/324302 Log: Reduce default max_ldt_segment value to 512. This makes the LDT to use only one page with default settings, avoiding the need to find contigous 2 pages in KVA. It

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

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 11:34:51 2017 New Revision: 324301 URL: https://svnweb.freebsd.org/changeset/base/324301 Log: Update comment to note that we skip LDT reload for kthreads as well. Noted by: bde Sponsored by: The FreeBSD Foundation MFC after:3 days Modified:

svn commit: r324300 - stable/11/sys/i386/i386

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 11:01:19 2017 New Revision: 324300 URL: https://svnweb.freebsd.org/changeset/base/324300 Log: MFC r324080: Zero segment registers which contained invalid usermode selectors, when returning to kernel. Modified: stable/11/sys/i386/i386/exception.s

svn commit: r324299 - in stable/11/sys/i386: i386 include

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 11:00:04 2017 New Revision: 324299 URL: https://svnweb.freebsd.org/changeset/base/324299 Log: MFC r324079: Do not return from interrupt using the POP_FRAME;iret instruction sequence, always jump to doreti. Modified: stable/11/sys/i386/i386/apic_vector.s

svn commit: r324298 - stable/11

2017-10-05 Thread Konstantin Belousov
Author: kib Date: Thu Oct 5 10:47:04 2017 New Revision: 324298 URL: https://svnweb.freebsd.org/changeset/base/324298 Log: MFC r323722,324078: Record merge of r323722 and its revert r324078. Modified: Directory Properties: stable/11/ (props changed)

svn commit: r324297 - stable/11/usr.sbin/diskinfo

2017-10-05 Thread Alexander Motin
Author: mav Date: Thu Oct 5 10:24:34 2017 New Revision: 324297 URL: https://svnweb.freebsd.org/changeset/base/324297 Log: MFC r324086: Alike to ZFS disable cache flush after first ENOTSUP error. Modified: stable/11/usr.sbin/diskinfo/diskinfo.c Directory Properties: stable/11/ (props

svn commit: r324296 - in head: share/man/man4 sys/dev/cxgbe

2017-10-05 Thread Navdeep Parhar
Author: np Date: Thu Oct 5 07:18:16 2017 New Revision: 324296 URL: https://svnweb.freebsd.org/changeset/base/324296 Log: cxgbe(4): Provide knobs to set the holdoff parameters of TOE rx queues separately from NIC rx queues instead of using the same parameters for both types of queues.

svn commit: r324295 - in stable/10/sys: cddl/compat/opensolaris/kern kern

2017-10-05 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 07:16:31 2017 New Revision: 324295 URL: https://svnweb.freebsd.org/changeset/base/324295 Log: MFC r323578,r323769: dounmount: do not release the mount point's reference on the covered vnode As long as mnt_ref is not zero there can be a consumer that might try

svn commit: r324293 - in stable/11/sys: cddl/compat/opensolaris/kern kern

2017-10-05 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 06:54:25 2017 New Revision: 324293 URL: https://svnweb.freebsd.org/changeset/base/324293 Log: MFC r323578,r323769: dounmount: do not release the mount point's reference on the covered vnode As long as mnt_ref is not zero there can be a consumer that might try

svn commit: r324292 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua

2017-10-05 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 06:39:57 2017 New Revision: 324292 URL: https://svnweb.freebsd.org/changeset/base/324292 Log: really unbreak kernel builds on sparc64 and powerpc64 after r324163, ZFS Channel Programs This commit also reverts r324178 that did not fix the problem on powerpc64

Re: svn commit: r324178 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua

2017-10-05 Thread Andriy Gapon
On 04/10/2017 23:29, Andriy Gapon wrote: > On 04/10/2017 23:08, Ed Maste wrote: >> On 1 October 2017 at 22:12, Andriy Gapon wrote: >>> >>> Author: avg >>> Date: Sun Oct 1 20:12:30 2017 >>> New Revision: 324178 >>> URL: https://svnweb.freebsd.org/changeset/base/324178 >>> >>>