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 an

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 generat

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. RP

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 Delete

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 la

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 going

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: head/s

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: 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: head/sys/i386/i386/sys

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: head/sys/amd64/am

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: head/sys/i386/i386/sys_m

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 bnx

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 for the powerpc64/

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: Netflix > > Modified

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. Retir

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: 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:

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 ===

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: >>> > Author: manu >>> > Date: Wed Sep 27 09:39:16 2017 >>> > New Revision: 324054 >>

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: 324054 >> > URL: https://svnweb.freebsd.org/changeset/base/324

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: > > vfs_export: Simplify vfs_export_lookup

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 directly return NULL. >

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: head/sys/netinet/sctp_i

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: head/

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 con

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 c

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 SYSINIT(

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 dt_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 do

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: head/sys/amd

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 legitimate

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: head/sys/amd64/amd64/sys_machde

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: head/sys/amd64/amd64/sys_machd

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: head

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 cont

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 se

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: head/s

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. M