svn commit: r280008 - head/sys/dev/usb/net

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:40:33 2015 New Revision: 280008 URL: https://svnweb.freebsd.org/changeset/base/280008 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/dev/usb/net/usb_ethernet.c Modified: head/sys/dev/usb/net/usb_ethernet.c

svn commit: r280009 - head/sys/mips/rmi/dev/iic

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:40:51 2015 New Revision: 280009 URL: https://svnweb.freebsd.org/changeset/base/280009 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/mips/rmi/dev/iic/at24co2n.c Modified: head/sys/mips/rmi/dev/iic/at24co2n.c

svn commit: r280010 - head/sys/net80211

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:41:00 2015 New Revision: 280010 URL: https://svnweb.freebsd.org/changeset/base/280010 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/net80211/ieee80211_freebsd.c Modified: head/sys/net80211/ieee80211_freebsd.c

svn commit: r280007 - head/sys/xen/xenbus

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:40:24 2015 New Revision: 280007 URL: https://svnweb.freebsd.org/changeset/base/280007 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/xen/xenbus/xenbusb.c Modified: head/sys/xen/xenbus/xenbusb.c

svn commit: r280004 - head/usr.sbin/bhyve

2015-03-14 Thread Alexander Motin
Author: mav Date: Sat Mar 14 21:15:45 2015 New Revision: 280004 URL: https://svnweb.freebsd.org/changeset/base/280004 Log: Give block I/O interface multiple (8) execution threads. On parallel random I/O this allows better utilize wide storage pools. To not confuse prefetcher on linear

svn commit: r280011 - head/sys/dev/iscsi_initiator

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 22:32:15 2015 New Revision: 280011 URL: https://svnweb.freebsd.org/changeset/base/280011 Log: Use sysctl_handle_string() and the sbuf printf routines instead of large stack-allocated buffers and snprintf(). PR: 195668 Modified:

svn commit: r280015 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sun Mar 15 00:36:08 2015 New Revision: 280015 URL: https://svnweb.freebsd.org/changeset/base/280015 Log: Include the nulterm byte in the sysctl string. PR: 195668 Modified: head/sys/kern/kern_cons.c Modified: head/sys/kern/kern_cons.c

svn commit: r280006 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:40:01 2015 New Revision: 280006 URL: https://svnweb.freebsd.org/changeset/base/280006 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/kern/subr_bus.c head/sys/kern/subr_param.c Modified: head/sys/kern/subr_bus.c

svn commit: r280016 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sun Mar 15 00:39:18 2015 New Revision: 280016 URL: https://svnweb.freebsd.org/changeset/base/280016 Log: Add a nulterm byte to the returned sysctl string. PR: 195668 Modified: head/sys/kern/subr_prf.c Modified: head/sys/kern/subr_prf.c

svn commit: r280005 - head/sys/sys

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:38:51 2015 New Revision: 280005 URL: https://svnweb.freebsd.org/changeset/base/280005 Log: Define a convenience macro, SYSCTL_OUT_STR() for handling strings the standard way (including the nulterm byte in the data returned to userland). This augments the

svn commit: r280014 - head/sys/netinet

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 23:57:33 2015 New Revision: 280014 URL: https://svnweb.freebsd.org/changeset/base/280014 Log: Go back to using sbuf_new() with a preallocated large buffer, to avoid triggering an sbuf auto-drain copyout while holding a lock. Pointed out by: jhb

svn commit: r280012 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 23:16:12 2015 New Revision: 280012 URL: https://svnweb.freebsd.org/changeset/base/280012 Log: Use sbuf_printf() for sysctl strings instead of stack buffers and snprintf(). Modified: head/sys/kern/kern_et.c head/sys/kern/kern_tc.c Modified:

Re: svn commit: r279997 - head/sys/netinet

2015-03-14 Thread John Baldwin
On Saturday, March 14, 2015 06:11:25 PM Ian Lepore wrote: Author: ian Date: Sat Mar 14 18:11:24 2015 New Revision: 279997 URL: https://svnweb.freebsd.org/changeset/base/279997 Log: Use sbuf_new_for_sysctl() instead of plain sbuf_new() to ensure sysctl string returned to userland is

svn commit: r280013 - in head/sys/mips: nlm rmi

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 23:30:03 2015 New Revision: 280013 URL: https://svnweb.freebsd.org/changeset/base/280013 Log: Use sbuf_printf() for sysctl strings instead of static buffers and snprintf. Modified: head/sys/mips/nlm/cms.c head/sys/mips/rmi/fmn.c Modified:

Re: svn commit: r279997 - head/sys/netinet

2015-03-14 Thread Ian Lepore
On Sat, 2015-03-14 at 17:52 -0400, John Baldwin wrote: On Saturday, March 14, 2015 06:11:25 PM Ian Lepore wrote: Author: ian Date: Sat Mar 14 18:11:24 2015 New Revision: 279997 URL: https://svnweb.freebsd.org/changeset/base/279997 Log: Use sbuf_new_for_sysctl() instead of plain

svn commit: r279972 - head/sys/mips/conf

2015-03-14 Thread Adrian Chadd
Author: adrian Date: Sat Mar 14 07:59:54 2015 New Revision: 279972 URL: https://svnweb.freebsd.org/changeset/base/279972 Log: Add board support for the TP-Link TL-WR1043nd v2. This is a QCA9558 based design with on-chip 2GHz 3x3 11n wifi, AR8327N switch, 64MB RAM and 8MB flash. Of

svn commit: r279977 - head/usr.sbin/bhyve

2015-03-14 Thread Alexander Motin
Author: mav Date: Sat Mar 14 10:38:25 2015 New Revision: 279977 URL: https://svnweb.freebsd.org/changeset/base/279977 Log: Fix NOP and IDLE commands for virtual AHCI disks. MFC after:2 weeks Modified: head/usr.sbin/bhyve/pci_ahci.c Modified: head/usr.sbin/bhyve/pci_ahci.c

svn commit: r279975 - head/usr.sbin/bhyve

2015-03-14 Thread Alexander Motin
Author: mav Date: Sat Mar 14 08:45:54 2015 New Revision: 279975 URL: https://svnweb.freebsd.org/changeset/base/279975 Log: Improve NCQ errors reporting for virtual AHCI disks. While this implementation is still not perfect, previous was just broken. MFC after:2 weeks Modified:

svn commit: r279976 - head/usr.sbin/bhyve

2015-03-14 Thread Alexander Motin
Author: mav Date: Sat Mar 14 09:46:43 2015 New Revision: 279976 URL: https://svnweb.freebsd.org/changeset/base/279976 Log: Add support for NCQ variant of DSM TRIM for virtual AHCI disks. The code is not really tested yet due to lack of initiator support. Requested by: imp MFC after:

svn commit: r279973 - head/sys/mips/conf

2015-03-14 Thread Adrian Chadd
Author: adrian Date: Sat Mar 14 08:29:03 2015 New Revision: 279973 URL: https://svnweb.freebsd.org/changeset/base/279973 Log: Compile some modules - I'm going to eventually just compile all the modules, but these are a subset of things that are worth playing with in deployed APs. (ipfw

svn commit: r279979 - head/usr.sbin/bhyve

2015-03-14 Thread Alexander Motin
Author: mav Date: Sat Mar 14 12:18:26 2015 New Revision: 279979 URL: https://svnweb.freebsd.org/changeset/base/279979 Log: Slightly polish virtual AHCI CD reporting. MFC after:2 weeks Modified: head/usr.sbin/bhyve/pci_ahci.c Modified: head/usr.sbin/bhyve/pci_ahci.c

svn commit: r279980 - head/share/mk

2015-03-14 Thread Dimitry Andric
Author: dim Date: Sat Mar 14 12:29:44 2015 New Revision: 279980 URL: https://svnweb.freebsd.org/changeset/base/279980 Log: Allow relative pathnames in SRCS, so as to enable building software which includes more than one file with the same name, in different directories. For example,

svn commit: r279982 - head/sys/vm

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 13:00:37 2015 New Revision: 279982 URL: https://svnweb.freebsd.org/changeset/base/279982 Log: Revert r279932; this is going to be fixed in the sbuf code instead. PR: 195668 Modified: head/sys/vm/vm_phys.c head/sys/vm/vm_reserv.c Modified:

svn commit: r279983 - head/sys/dev/wbwd

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 13:02:08 2015 New Revision: 279983 URL: https://svnweb.freebsd.org/changeset/base/279983 Log: Revert r279933; this is going to be fixed in sbuf instead. PR: 195668 Modified: head/sys/dev/wbwd/wbwd.c Modified: head/sys/dev/wbwd/wbwd.c

svn commit: r279986 - head/sbin/restore

2015-03-14 Thread Jilles Tjoelker
Author: jilles Date: Sat Mar 14 13:45:43 2015 New Revision: 279986 URL: https://svnweb.freebsd.org/changeset/base/279986 Log: restore: Preserve timestamps to the nanosecond. The restore utility already knows the full-resolution timestamps, so the only thing to do is to stop converting

svn commit: r279981 - in head: contrib/compiler-rt/lib/builtins lib/libcompiler_rt

2015-03-14 Thread Dimitry Andric
Author: dim Date: Sat Mar 14 12:40:19 2015 New Revision: 279981 URL: https://svnweb.freebsd.org/changeset/base/279981 Log: Pull in r231965 from upstream compiler-rt trunk (by Jörg Sonnenberger): Refactor float to integer conversion to share the same code. 80bit Intel/PPC long double

svn commit: r279984 - head/sys/dev/cxgbe

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 13:04:39 2015 New Revision: 279984 URL: https://svnweb.freebsd.org/changeset/base/279984 Log: Revert r279934, r279938; this is going to be fixed in sbuf instead. PR: 195668 Modified: head/sys/dev/cxgbe/t4_l2t.c head/sys/dev/cxgbe/t4_main.c

svn commit: r279987 - head/usr.sbin/bhyve

2015-03-14 Thread Alexander Motin
Author: mav Date: Sat Mar 14 14:06:37 2015 New Revision: 279987 URL: https://svnweb.freebsd.org/changeset/base/279987 Log: Add checksums to identify data and NCQ command error log. MFC after:2 weeks Modified: head/usr.sbin/bhyve/pci_ahci.c Modified: head/usr.sbin/bhyve/pci_ahci.c

svn commit: r279994 - head/sys/conf

2015-03-14 Thread Dimitry Andric
Author: dim Date: Sat Mar 14 17:19:48 2015 New Revision: 279994 URL: https://svnweb.freebsd.org/changeset/base/279994 Log: Amend r277940, by also disabling -Wcast-qual warnings for a few specific aesni files on i386. Modified: head/sys/conf/files.i386 Modified: head/sys/conf/files.i386

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

2015-03-14 Thread Steven Hartland
Author: smh Date: Sat Mar 14 17:35:04 2015 New Revision: 279996 URL: https://svnweb.freebsd.org/changeset/base/279996 Log: Allow zvol_geom_worker to process BIO_DELETE's If zvol_geom_start is called with a BIO_DELETE from a thread which can sleep it queues it for later processing by the

svn commit: r279992 - in head: share/man/man9 sys/kern sys/sys

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 16:02:11 2015 New Revision: 279992 URL: https://svnweb.freebsd.org/changeset/base/279992 Log: Add a new flag, SBUF_INCLUDENUL, and new get/set/clear functions for flags. The SBUF_INCLUDENUL flag causes the nulterm byte at the end of the string to be counted

svn commit: r279993 - in head/sys: dev/cxgb dev/cxgbe kern vm

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 17:08:28 2015 New Revision: 279993 URL: https://svnweb.freebsd.org/changeset/base/279993 Log: Set the SBUF_INCLUDENUL flag in sbuf_new_for_sysctl() so that sysctl strings returned to userland include the nulterm byte. Some uses of sbuf_new_for_sysctl() write

svn commit: r279997 - head/sys/netinet

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 18:11:24 2015 New Revision: 279997 URL: https://svnweb.freebsd.org/changeset/base/279997 Log: Use sbuf_new_for_sysctl() instead of plain sbuf_new() to ensure sysctl string returned to userland is nulterminated. PR: 195668 Modified:

svn commit: r279999 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 18:42:30 2015 New Revision: 27 URL: https://svnweb.freebsd.org/changeset/base/27 Log: Use sbuf_new_for_sysctl() instead of plain sbuf_new() to ensure sysctl string returned to userland is nulterminated. PR: 195668 Modified:

svn commit: r280000 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 18:46:33 2015 New Revision: 28 URL: https://svnweb.freebsd.org/changeset/base/28 Log: Use sbuf_new_for_sysctl() instead of plain sbuf_new() to ensure sysctl string returned to userland is nulterminated. PR: 195668 Modified:

Re: svn commit: r279981 - in head: contrib/compiler-rt/lib/builtins lib/libcompiler_rt

2015-03-14 Thread Bruce Evans
On Sat, 14 Mar 2015, Dimitry Andric wrote: Log: ???Pull in r231965 from upstream compiler-rt trunk (by J??rg Sonnenberger): Refactor float to integer conversion to share the same code. 80bit Intel/PPC long double is excluded due to lacking support for the abstraction. Consistently