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

2017-03-23 Thread Ngie Cooper
Author: ngie Date: Thu Mar 23 07:36:38 2017 New Revision: 315829 URL: https://svnweb.freebsd.org/changeset/base/315829 Log: Try polishing up iflib manpages a bit (basically all the low hanging fruit) igor: - Fix typos. - Delete trailing whitespace. manlint: - Use .Fo/.Fc/.Fa when

Re: svn commit: r315701 - in head/sys: amd64/cloudabi32 amd64/cloudabi64 arm/cloudabi32 arm64/cloudabi64 i386/cloudabi32

2017-03-23 Thread Ed Schouten
Hi Kostik, 2017-03-23 0:00 GMT+01:00 Konstantin Belousov : > On Wed, Mar 22, 2017 at 03:16:24PM +0100, Ed Schouten wrote: >> Similarly, I seem to remember CloudABI's brandinfos set compat_3_brand >> for a similar reason: it seems to be required by imgact_elf.c. Would >> we also want to change that

svn commit: r315843 - head/sys/arm/nvidia

2017-03-23 Thread Michal Meloun
Author: mmel Date: Thu Mar 23 08:15:11 2017 New Revision: 315843 URL: https://svnweb.freebsd.org/changeset/base/315843 Log: Revert r315800, it was committed with invalid (unsaved) commit log. Modified: head/sys/arm/nvidia/tegra_sdhci.c Modified: head/sys/arm/nvidia/tegra_sdhci.c

svn commit: r315845 - head/sys/arm/nvidia

2017-03-23 Thread Michal Meloun
Author: mmel Date: Thu Mar 23 08:16:53 2017 New Revision: 315845 URL: https://svnweb.freebsd.org/changeset/base/315845 Log: Restore original (pre r315760) naming for Tegra SDHCI device. Newbus handles multiple equally named device classes without problems, so there is no reason to use sli

svn commit: r315850 - head/sys/boot/forth

2017-03-23 Thread Dag-Erling Smørgrav
Author: des Date: Thu Mar 23 08:34:30 2017 New Revision: 315850 URL: https://svnweb.freebsd.org/changeset/base/315850 Log: The original author abused Nd (one-line description, used by makewhatis) for its side effect of producing an en-dash. This broke whatis with newer versions of mdocml.

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

2017-03-23 Thread Andriy Gapon
Author: avg Date: Thu Mar 23 08:57:04 2017 New Revision: 315851 URL: https://svnweb.freebsd.org/changeset/base/315851 Log: move thread switch tracing from mi_switch to sched_switch This is done so that the thread state changes during the switch are not confused with the thread state chang

svn commit: r315852 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-03-23 Thread Andriy Gapon
Author: avg Date: Thu Mar 23 08:59:17 2017 New Revision: 315852 URL: https://svnweb.freebsd.org/changeset/base/315852 Log: zfs: add zio_buf_alloc_nowait and use it in vdev_queue_aggregate This way we can avoid blocking the whole queue in the low memory situations. It's better to sacrific

Re: svn commit: r315701 - in head/sys: amd64/cloudabi32 amd64/cloudabi64 arm/cloudabi32 arm64/cloudabi64 i386/cloudabi32

2017-03-23 Thread Konstantin Belousov
On Thu, Mar 23, 2017 at 08:43:20AM +0100, Ed Schouten wrote: > Hi Kostik, > > 2017-03-23 0:00 GMT+01:00 Konstantin Belousov : > > On Wed, Mar 22, 2017 at 03:16:24PM +0100, Ed Schouten wrote: > >> Similarly, I seem to remember CloudABI's brandinfos set compat_3_brand > >> for a similar reason: it s

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

2017-03-23 Thread Andriy Gapon
Author: avg Date: Thu Mar 23 09:13:21 2017 New Revision: 315853 URL: https://svnweb.freebsd.org/changeset/base/315853 Log: zfs_putpages: use TXG_WAIT Explicit looping using TXG_NOWAIT is more verbose and may harm performance under heavy load because of multiple waits. MFC after:1

svn commit: r315856 - in head/sys/compat/linuxkpi/common: include/linux src

2017-03-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 23 10:48:10 2017 New Revision: 315856 URL: https://svnweb.freebsd.org/changeset/base/315856 Log: Add support for ratelimited printouts in the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linu

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

2017-03-23 Thread Alexander Motin
Author: mav Date: Thu Mar 23 10:50:45 2017 New Revision: 315857 URL: https://svnweb.freebsd.org/changeset/base/315857 Log: Remove "UNMAPPED" messages printed on da periph attach. I think this message is not very useful for end user. Also its formatting does not match other messages print

Re: svn commit: r315850 - head/sys/boot/forth

2017-03-23 Thread Bruce Evans
On Thu, 23 Mar 2017, [UTF-8] Dag-Erling Sm??rgrav wrote: Log: The original author abused Nd (one-line description, used by makewhatis) for its side effect of producing an en-dash. This broke whatis with newer versions of mdocml. Use \(en instead. Nd (or is it mumble-dash?) is broken for a

svn commit: r315858 - head/sys/dev/aacraid

2017-03-23 Thread Andriy Gapon
Author: avg Date: Thu Mar 23 11:59:17 2017 New Revision: 315858 URL: https://svnweb.freebsd.org/changeset/base/315858 Log: aacraid: rework r315083 for a clean build with and without AACRAID_DEBUG r315083 essentially reverted r263954 which was made for a good reason, but didn't take into a

Re: svn commit: r315701 - in head/sys: amd64/cloudabi32 amd64/cloudabi64 arm/cloudabi32 arm64/cloudabi64 i386/cloudabi32

2017-03-23 Thread Konstantin Belousov
On Thu, Mar 23, 2017 at 08:43:20AM +0100, Ed Schouten wrote: > Thanks! I just gave the patch a try, but the comparison added to > imgact_elf.c now causes the brandinfo to be skipped entirely. Attached > is a patch that does work for me. > > Index: sys/kern/imgact_elf.c > ==

svn commit: r315859 - head/sys/compat/linuxkpi/common/include/asm

2017-03-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 23 13:28:16 2017 New Revision: 315859 URL: https://svnweb.freebsd.org/changeset/base/315859 Log: Function macros are preferred in the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/com

svn commit: r315860 - head/sys/kern

2017-03-23 Thread Ed Schouten
Author: ed Date: Thu Mar 23 14:09:45 2017 New Revision: 315860 URL: https://svnweb.freebsd.org/changeset/base/315860 Log: Don't require the presence of the compat_3_brand. The existing ELF image activator requires the brandinfo to provide such a string unconditionally, even if the executa

svn commit: r315861 - in head/sys: amd64/cloudabi32 amd64/cloudabi64 arm/cloudabi32 arm64/cloudabi64 i386/cloudabi32

2017-03-23 Thread Ed Schouten
Author: ed Date: Thu Mar 23 14:12:21 2017 New Revision: 315861 URL: https://svnweb.freebsd.org/changeset/base/315861 Log: Stop providing the compat_3_brand. As of r315860, the ELF image activator works fine for CloudABI without it. Reviewed by: kib MFC after:2 weeks Modified:

svn commit: r315862 - head/lib/libcasper/libcasper

2017-03-23 Thread Robert Watson
Author: rwatson Date: Thu Mar 23 14:35:21 2017 New Revision: 315862 URL: https://svnweb.freebsd.org/changeset/base/315862 Log: In libcasper, prefer to send a function index or service name over the IPC channel to a zygote process, rather than sending a function pointer or service pointer. T

Re: svn commit: r315856 - in head/sys/compat/linuxkpi/common: include/linux src

2017-03-23 Thread Conrad Meyer
On Thu, Mar 23, 2017 at 3:48 AM, Hans Petter Selasky wrote: > Author: hselasky > Date: Thu Mar 23 10:48:10 2017 > New Revision: 315856 > URL: https://svnweb.freebsd.org/changeset/base/315856 > > Log: > Add support for ratelimited printouts in the LinuxKPI. > > ... --- head/sys/compat/linuxkpi/c

Re: svn commit: r315856 - in head/sys/compat/linuxkpi/common: include/linux src

2017-03-23 Thread Hans Petter Selasky
On 03/23/17 16:21, Conrad Meyer wrote: Hi Hans, Is there any reason to use this hand-rolled thing to limit ratelimited logging instead of ppsratecheck()? I can convert the code into using ppsratecheck(). I wasn't aware about that function. --HPS ___

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

2017-03-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 23 16:01:51 2017 New Revision: 315863 URL: https://svnweb.freebsd.org/changeset/base/315863 Log: Add proper error checking for the string to number conversion functions in the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologi

svn commit: r315864 - in head/sys/compat/linuxkpi/common: include/linux src

2017-03-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 23 16:23:55 2017 New Revision: 315864 URL: https://svnweb.freebsd.org/changeset/base/315864 Log: Use ppsratecheck() for ratelimiting in the LinuxKPI. Suggested by: cem @ MFC after:1 week Sponsored by: Mellanox Technologies Modi

Re: svn commit: r315850 - head/sys/boot/forth

2017-03-23 Thread Conrad Meyer
On Thu, Mar 23, 2017 at 4:21 AM, Bruce Evans wrote: > On Thu, 23 Mar 2017, [UTF-8] Dag-Erling Smørgrav wrote: > >> Log: >> The original author abused Nd (one-line description, used by makewhatis) >> for its side effect of producing an en-dash. This broke whatis with >> newer versions of mdocml

Re: svn commit: r315773 - head/sbin/devd

2017-03-23 Thread Roman Divacky
On Thu, Mar 23, 2017 at 02:36:51AM +, Warner Losh wrote: > Author: imp > Date: Thu Mar 23 02:36:51 2017 > New Revision: 315773 > URL: https://svnweb.freebsd.org/changeset/base/315773 > > Log: > Implement quote escaping. String values may now contain " if you > it is preceded by \. > >

svn commit: r315866 - in head/sys: dev/bhnd/nvram mips/broadcom

2017-03-23 Thread Landon J. Fuller
Author: landonf Date: Thu Mar 23 19:29:12 2017 New Revision: 315866 URL: https://svnweb.freebsd.org/changeset/base/315866 Log: [mips/broadcom]: Early boot NVRAM support Add support for early boot access to NVRAM variables, using a new bhnd_nvram_data_getvar_direct() API to support zero-al

Re: svn commit: r315773 - head/sbin/devd

2017-03-23 Thread Ian Lepore
On Thu, 2017-03-23 at 19:58 +0100, Roman Divacky wrote: > On Thu, Mar 23, 2017 at 02:36:51AM +, Warner Losh wrote: > > > > Author: imp > > Date: Thu Mar 23 02:36:51 2017 > > New Revision: 315773 > > URL: https://svnweb.freebsd.org/changeset/base/315773 > > > > Log: > >   Implement quote escap

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

2017-03-23 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 23 19:54:41 2017 New Revision: 315867 URL: https://svnweb.freebsd.org/changeset/base/315867 Log: Remove Solaris 2.6 syscalls selector. Discussed with: kib Modified: head/sys/i386/i386/machdep.c Modified: head/sys/i386/i386/machdep.c ==

svn commit: r315869 - head/sys/dev/isp

2017-03-23 Thread Alexander Motin
Author: mav Date: Thu Mar 23 21:11:55 2017 New Revision: 315869 URL: https://svnweb.freebsd.org/changeset/base/315869 Log: Remove write-only crn field from struct isp_pcmd. MFC after:2 weeks Modified: head/sys/dev/isp/isp_freebsd.c head/sys/dev/isp/isp_freebsd.h Modified: head/sys

svn commit: r315870 - head/sys/dev/isp

2017-03-23 Thread Alexander Motin
Author: mav Date: Thu Mar 23 21:18:10 2017 New Revision: 315870 URL: https://svnweb.freebsd.org/changeset/base/315870 Log: isp field in struct isp_pcmd is also unused. MFC after:2 weeks Modified: head/sys/dev/isp/isp_freebsd.h Modified: head/sys/dev/isp/isp_freebsd.h ===

Re: svn commit: r315653 - in head: lib/libstand sys/boot/common sys/boot/i386/libi386

2017-03-23 Thread Kurt Lidl
On 3/21/17 11:53 AM, Toomas Soome wrote: On 21. märts 2017, at 17:15, Ian Lepore wrote: On Tue, 2017-03-21 at 15:35 +0300, Slawa Olhovchenkov wrote: On Mon, Mar 20, 2017 at 10:20:17PM +, Toomas Soome wrote: Author: tsoome Date: Mon Mar 20 22:20:17 2017 New Revision: 315653 URL: https:

svn commit: r315871 - in head: contrib/ntp contrib/ntp/adjtimed contrib/ntp/clockstuff contrib/ntp/html contrib/ntp/include contrib/ntp/include/isc contrib/ntp/kernel contrib/ntp/kernel/sys contrib...

2017-03-23 Thread Xin LI
Author: delphij Date: Thu Mar 23 22:06:06 2017 New Revision: 315871 URL: https://svnweb.freebsd.org/changeset/base/315871 Log: MFV r315791: ntp 4.2.8p10. Added: head/contrib/ntp/sntp/harden/ - copied from r315791, vendor/ntp/dist/sntp/harden/ head/contrib/ntp/sntp/m4/ntp_harden.m4

svn commit: r315872 - head/sys/dev/bhnd/bcma

2017-03-23 Thread Landon J. Fuller
Author: landonf Date: Thu Mar 23 22:12:14 2017 New Revision: 315872 URL: https://svnweb.freebsd.org/changeset/base/315872 Log: Add a workaround for the BCM4706's dangling core region EROM entries. Approved by: adrian (mentor, implicit) Modified: head/sys/dev/bhnd/bcma/bcma_erom.c Modif

svn commit: r315873 - head/sys/dev/bhnd/cores/chipc

2017-03-23 Thread Landon J. Fuller
Author: landonf Date: Thu Mar 23 22:14:08 2017 New Revision: 315873 URL: https://svnweb.freebsd.org/changeset/base/315873 Log: Add Northstar/BCM4706 core ID for ChipCommon. Approved by: adrian (mentor, implicit) Modified: head/sys/dev/bhnd/cores/chipc/chipc.c Modified: head/sys/dev/bhn

Re: svn commit: r315653 - in head: lib/libstand sys/boot/common sys/boot/i386/libi386

2017-03-23 Thread Rodney W. Grimes
> On 3/21/17 11:53 AM, Toomas Soome wrote: > > > >> On 21. m?rts 2017, at 17:15, Ian Lepore wrote: > >> > >> On Tue, 2017-03-21 at 15:35 +0300, Slawa Olhovchenkov wrote: > >>> On Mon, Mar 20, 2017 at 10:20:17PM +, Toomas Soome wrote: > >>> > > Author: tsoome > Date: Mon Mar 20 2

svn commit: r315876 - in head: contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar contrib/libarchive/tar/test contrib/libarchive/test_utils lib/libarchive lib/l...

2017-03-23 Thread Martin Matuska
Author: mm Date: Fri Mar 24 00:02:12 2017 New Revision: 315876 URL: https://svnweb.freebsd.org/changeset/base/315876 Log: MFV r315875: Sync libarchive with vendor. Vendor changes (FreeBSD-related): - store extended attributes with extattr_set_link() if no fd is provided - add extended

svn commit: r315877 - head/sys/net

2017-03-23 Thread Ermal Luçi
Author: eri Date: Fri Mar 24 00:55:16 2017 New Revision: 315877 URL: https://svnweb.freebsd.org/changeset/base/315877 Log: Correct handling of ALTQ with epair(4) interfaces but presenting that ALTQ(9) is supported. Approved by: ae MFC after:2 weeks Modified: head/sys/net/if_epair

svn commit: r315878 - head/sys/dev/xen/netback

2017-03-23 Thread Kevin Lo
Author: kevlo Date: Fri Mar 24 01:23:07 2017 New Revision: 315878 URL: https://svnweb.freebsd.org/changeset/base/315878 Log: Don't initialize if_output to ether_output(), ether_ifattach() does it for us already. While here, remove NOTYET code since if_watchdog is no longer used. Review

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

2017-03-23 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 24 01:30:18 2017 New Revision: 315879 URL: https://svnweb.freebsd.org/changeset/base/315879 Log: Switch qoriq_gpio over to using ofw_bus_search_compatible This will make it easier to add more compatibility strings in the future, if necessary. Modified: he

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

2017-03-23 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 24 01:52:10 2017 New Revision: 315880 URL: https://svnweb.freebsd.org/changeset/base/315880 Log: Don't bother checking core version We already constrain by SoC, so there's no need to check the core version, too. Modified: head/sys/powerpc/mpc85xx/mpc85xx_g

Re: svn commit: r315773 - head/sbin/devd

2017-03-23 Thread Cy Schubert
In message <1490297671.58015.102.ca...@freebsd.org>, Ian Lepore writes: > On Thu, 2017-03-23 at 19:58 +0100, Roman Divacky wrote: > > On Thu, Mar 23, 2017 at 02:36:51AM +, Warner Losh wrote: > > > > > > Author: imp > > > Date: Thu Mar 23 02:36:51 2017 > > > New Revision: 315773 > > > URL: http