svn commit: r279864 - head/cddl/contrib/opensolaris/common/ctf

2015-03-12 Thread Mark Johnston
Author: markj Date: Tue Mar 10 21:08:58 2015 New Revision: 279864 URL: https://svnweb.freebsd.org/changeset/base/279864 Log: CTF containers use the ctf_dtoldid field as a threshold type index which indicates the range of type indices which have been committed to the container by

svn commit: r279863 - head/sys/netinet

2015-03-12 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 10 21:05:17 2015 New Revision: 279863 URL: https://svnweb.freebsd.org/changeset/base/279863 Log: Unlock the stcb when using setsockopt() for the SCTP_PEER_ADDR_THLDS option. MFC after: 3 days Modified: head/sys/netinet/sctp_usrreq.c Modified:

svn commit: r279859 - in head: lib/libc/net sys/netinet

2015-03-12 Thread Michael Tuexen
Author: tuexen Date: Tue Mar 10 19:49:25 2015 New Revision: 279859 URL: https://svnweb.freebsd.org/changeset/base/279859 Log: Add a SCTP socket option to limit the cwnd for each path. MFC after: 1 month Modified: head/lib/libc/net/sctp_sys_calls.c head/sys/netinet/sctp.h

svn commit: r279891 - in head/sys: conf kern modules/mlxen net ofed/drivers/net/mlx4 sys

2015-03-12 Thread Hans Petter Selasky
Author: hselasky Date: Wed Mar 11 16:02:24 2015 New Revision: 279891 URL: https://svnweb.freebsd.org/changeset/base/279891 Log: Factor out mbuf hashing code from LAGG driver so that other network drivers can use it. This avoids some code duplication. Add missing default case to all switch

svn commit: r279905 - head

2015-03-12 Thread Warner Losh
Author: imp Date: Thu Mar 12 08:32:20 2015 New Revision: 279905 URL: https://svnweb.freebsd.org/changeset/base/279905 Log: It appears that xlint isn't used in the build process, so it certainly doesn't need to be a build tool. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r279853 - head/sys/powerpc/powermac

2015-03-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Mar 10 16:01:43 2015 New Revision: 279853 URL: https://svnweb.freebsd.org/changeset/base/279853 Log: Allow PowerMac systems to be booted from an FDT as well as Open Firmware. This is not complete yet: the gem(4) interface on my laptop seems to disappear from the

svn commit: r279906 - head/usr.bin

2015-03-12 Thread Warner Losh
Author: imp Date: Thu Mar 12 08:32:22 2015 New Revision: 279906 URL: https://svnweb.freebsd.org/changeset/base/279906 Log: These local variables are unused. gc them. Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile

svn commit: r279907 - head/usr.bin/xlint

2015-03-12 Thread Warner Losh
Author: imp Date: Thu Mar 12 08:32:24 2015 New Revision: 279907 URL: https://svnweb.freebsd.org/changeset/base/279907 Log: TARGET_* shouldn't be used here. Use MACHINE_* instead. Modified: head/usr.bin/xlint/Makefile.inc Modified: head/usr.bin/xlint/Makefile.inc

svn commit: r279908 - head

2015-03-12 Thread Ed Maste
Author: emaste Date: Thu Mar 12 08:40:32 2015 New Revision: 279908 URL: https://svnweb.freebsd.org/changeset/base/279908 Log: Provide automatic cross-binutils path if no BINUTILS_BOOTSTRAP The in-tree binutils does not support arm64, so will not work for the forthcoming FreeBSD arm64

svn commit: r279910 - head/sys/netpfil/pf

2015-03-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 12 08:57:24 2015 New Revision: 279910 URL: https://svnweb.freebsd.org/changeset/base/279910 Log: Reset mbuf pointer to NULL in fastroute case to indicate that mbuf was consumed by filter. This fixes several panics due to accessing to mbuf after free. Submitted

svn commit: r279909 - head/contrib/jemalloc/include/jemalloc

2015-03-12 Thread Ed Maste
Author: emaste Date: Thu Mar 12 08:52:00 2015 New Revision: 279909 URL: https://svnweb.freebsd.org/changeset/base/279909 Log: Add aarch64 (arm64) #define for jemalloc Sponsored by: The FreeBSD Foundation Modified: head/contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h Modified:

Re: svn commit: r279905 - head

2015-03-12 Thread Bruce Evans
On Thu, 12 Mar 2015, Warner Losh wrote: Log: It appears that xlint isn't used in the build process, so it certainly doesn't need to be a build tool. It does appear to be used for lint.7 and lint libraries, just like in 2002 when it was added to cross-tools. It never was a build-tool.

svn commit: r279913 - head/sys/geom/mirror

2015-03-12 Thread Alexander Motin
Author: mav Date: Thu Mar 12 10:20:53 2015 New Revision: 279913 URL: https://svnweb.freebsd.org/changeset/base/279913 Log: Fix couple BIO_DELETE bugs in geom_mirror. Do not report GEOM::candelete if none of providers support BIO_DELETE. If consumer still requests BIO_DELETE, report error

svn commit: r279916 - head/usr.sbin/autofs

2015-03-12 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 12 12:36:08 2015 New Revision: 279916 URL: https://svnweb.freebsd.org/changeset/base/279916 Log: Make automount -LL -o whatever present options in the same order as used by automountd(8). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

svn commit: r279919 - head/sys/dev/drm2

2015-03-12 Thread Jason A. Harmening
Author: jah Date: Thu Mar 12 14:18:36 2015 New Revision: 279919 URL: https://svnweb.freebsd.org/changeset/base/279919 Log: Using parent DMA tag in drm_pci_alloc(). This can allow drm2 devices to work with Intel DMAR enabled for the system, as long as DMAR is disabled for the drm2 device.

svn commit: r279920 - head/sys/net

2015-03-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 12 14:55:33 2015 New Revision: 279920 URL: https://svnweb.freebsd.org/changeset/base/279920 Log: Add if_input_default() method, that will be used for if_input initialization, when no input method specified before if_attach(). This prevents panics when if_input()

svn commit: r279943 - head/sys/dev/etherswitch/arswitch

2015-03-12 Thread Adrian Chadd
Author: adrian Date: Fri Mar 13 02:16:39 2015 New Revision: 279943 URL: https://svnweb.freebsd.org/changeset/base/279943 Log: Commit 802.1q configuration support for the AR8327. This is slightly different to the other switches - the VLAN table (VTU) programs in the vlan port mapping

svn commit: r279944 - head/sys/arm/include

2015-03-12 Thread Ed Maste
Author: emaste Date: Fri Mar 13 02:49:55 2015 New Revision: 279944 URL: https://svnweb.freebsd.org/changeset/base/279944 Log: Delete stray clause 3 and renumber. Modified: head/sys/arm/include/in_cksum.h Modified: head/sys/arm/include/in_cksum.h

svn commit: r279945 - head/contrib/bmake

2015-03-12 Thread Simon J. Gerraty
Author: sjg Date: Fri Mar 13 02:54:46 2015 New Revision: 279945 URL: https://svnweb.freebsd.org/changeset/base/279945 Log: Make sure that -- filemon is at start of a line, so that it is found as expected. Modified: head/contrib/bmake/meta.c Modified: head/contrib/bmake/meta.c

svn commit: r279946 - head/lib/libproc

2015-03-12 Thread Stanislav Sedov
Author: stas Date: Fri Mar 13 04:26:48 2015 New Revision: 279946 URL: https://svnweb.freebsd.org/changeset/base/279946 Log: Fix debug symbols loading in libproc: 0 is a valid file descriptor. Reported by: Chris Torek chris.to...@gmail.com Modified: head/lib/libproc/proc_sym.c

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

2015-03-12 Thread Alexander Motin
Author: mav Date: Thu Mar 12 16:19:18 2015 New Revision: 279927 URL: https://svnweb.freebsd.org/changeset/base/279927 Log: Make DIOCGATTR in device mode handle GEOM::candelete. MFC after:3 days Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c Modified:

svn commit: r279922 - head/sys/boot/amd64/efi

2015-03-12 Thread John Baldwin
Author: jhb Date: Thu Mar 12 15:20:05 2015 New Revision: 279922 URL: https://svnweb.freebsd.org/changeset/base/279922 Log: Revert r279381. The EFI loader needs to use a separate libstand that is compiled against the ABI EFI expects (specifically, no stack redzone) so it cannot share

svn commit: r279923 - head/sys/boot/amd64/efi

2015-03-12 Thread John Baldwin
Author: jhb Date: Thu Mar 12 15:25:22 2015 New Revision: 279923 URL: https://svnweb.freebsd.org/changeset/base/279923 Log: Fix 'make depend' by moving the LDSCRIPT dependency into DPADD. Sponsored by: Cisco Systems, Inc. Modified: head/sys/boot/amd64/efi/Makefile Modified:

svn commit: r279925 - head/share/examples/bhyve

2015-03-12 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 12 15:58:07 2015 New Revision: 279925 URL: https://svnweb.freebsd.org/changeset/base/279925 Log: Add -p parameter to list PCI device to pass through to the guest. Reviewed by: neel Modified: head/share/examples/bhyve/vmrun.sh Modified:

svn commit: r279928 - head/sys/powerpc/pseries

2015-03-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Mar 12 17:01:30 2015 New Revision: 279928 URL: https://svnweb.freebsd.org/changeset/base/279928 Log: The H_VIO_SIGNAL hypercall only enables interrupts for future received packets and does not schedule interrupts for any packets currently enqueued. Close two

svn commit: r279931 - head/lib/libstand

2015-03-12 Thread John Baldwin
Author: jhb Date: Thu Mar 12 17:10:04 2015 New Revision: 279931 URL: https://svnweb.freebsd.org/changeset/base/279931 Log: Spin the twiddle in dosfs to give visual feedback for disk I/O on FAT filesystems as is done for other filesystems in the loader. MFC after:1 week Modified:

svn commit: r279929 - head/sys/boot/amd64/efi

2015-03-12 Thread John Baldwin
Author: jhb Date: Thu Mar 12 17:07:24 2015 New Revision: 279929 URL: https://svnweb.freebsd.org/changeset/base/279929 Log: Allow the EFI loader to work with large kernels and/or modules (for example, a large mfsroot). Note that for EFI the kernel and modules (as well as other metadata

svn commit: r279935 - in head: sbin/geom/class/part sys/geom/part sys/sys

2015-03-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 12 18:51:31 2015 New Revision: 279935 URL: https://svnweb.freebsd.org/changeset/base/279935 Log: Add GUID and alias for Apple Core Storage partition. PR: 196241 MFC after:1 week Modified: head/sbin/geom/class/part/gpart.8

svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Mar 12 21:15:38 2015 New Revision: 279937 URL: https://svnweb.freebsd.org/changeset/base/279937 Log: Provide VSX context in ucontext(3) API. Modified: head/sys/powerpc/include/ucontext.h head/sys/powerpc/powerpc/exec_machdep.c Modified:

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-12 Thread Konstantin Belousov
On Thu, Mar 12, 2015 at 02:29:43PM -0700, Nathan Whitehorn wrote: On 03/12/15 14:22, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 09:15:39PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Mar 12 21:15:38 2015 New Revision: 279937 URL:

Re: svn commit: r279932 - head/sys/vm

2015-03-12 Thread Ryan Stone
On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore i...@freebsd.org wrote: Nullterminate strings returned via sysctl. PR: 195668 To quote the manpage: The *sbuf* family of functions allows one to safely allocate, construct and release bounded null-terminated strings in kernel

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-12 Thread Konstantin Belousov
On Thu, Mar 12, 2015 at 09:15:39PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Mar 12 21:15:38 2015 New Revision: 279937 URL: https://svnweb.freebsd.org/changeset/base/279937 Log: Provide VSX context in ucontext(3) API. Modified: head/sys/powerpc/include/ucontext.h

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-12 Thread Nathan Whitehorn
On 03/12/15 14:22, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 09:15:39PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Mar 12 21:15:38 2015 New Revision: 279937 URL: https://svnweb.freebsd.org/changeset/base/279937 Log: Provide VSX context in ucontext(3) API.

svn commit: r279936 - head/sys/i386/isa

2015-03-12 Thread Konstantin Belousov
Author: kib Date: Thu Mar 12 20:14:48 2015 New Revision: 279936 URL: https://svnweb.freebsd.org/changeset/base/279936 Log: Remove write-only variable. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/i386/isa/npx.c Modified: head/sys/i386/isa/npx.c

svn commit: r279932 - head/sys/vm

2015-03-12 Thread Ian Lepore
Author: ian Date: Thu Mar 12 18:06:30 2015 New Revision: 279932 URL: https://svnweb.freebsd.org/changeset/base/279932 Log: Nullterminate strings returned via sysctl. PR: 195668 Modified: head/sys/vm/vm_phys.c head/sys/vm/vm_reserv.c Modified: head/sys/vm/vm_phys.c

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

2015-03-12 Thread Ian Lepore
Author: ian Date: Thu Mar 12 18:09:39 2015 New Revision: 279933 URL: https://svnweb.freebsd.org/changeset/base/279933 Log: Nullterminate strings returned via sysctl. PR: 195668 Modified: head/sys/dev/wbwd/wbwd.c Modified: head/sys/dev/wbwd/wbwd.c

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

2015-03-12 Thread Ian Lepore
Author: ian Date: Thu Mar 12 18:22:20 2015 New Revision: 279934 URL: https://svnweb.freebsd.org/changeset/base/279934 Log: Nullterminate strings returned via sysctl. PR: 195668 Modified: head/sys/dev/cxgbe/t4_l2t.c head/sys/dev/cxgbe/t4_main.c Modified:

svn commit: r279940 - in head/sys/powerpc: aim include pseries

2015-03-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Mar 13 00:08:58 2015 New Revision: 279940 URL: https://svnweb.freebsd.org/changeset/base/279940 Log: Deallocate any leftover page table entries in the LPAR at boot. This prevents contamination from a previous kernel (e.g. after shutdown -r). Modified:

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-12 Thread Nathan Whitehorn
On 03/12/15 14:35, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 02:29:43PM -0700, Nathan Whitehorn wrote: On 03/12/15 14:22, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 09:15:39PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Mar 12 21:15:38 2015 New Revision:

Re: svn commit: r279934 - head/sys/dev/cxgbe

2015-03-12 Thread Navdeep Parhar
On 03/12/2015 11:22, Ian Lepore wrote: Author: ian Date: Thu Mar 12 18:22:20 2015 New Revision: 279934 URL: https://svnweb.freebsd.org/changeset/base/279934 Log: Nullterminate strings returned via sysctl. PR: 195668 Modified: head/sys/dev/cxgbe/t4_l2t.c

svn commit: r279914 - head/usr.sbin/autofs

2015-03-12 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 12 12:14:11 2015 New Revision: 279914 URL: https://svnweb.freebsd.org/changeset/base/279914 Log: Options from auto_master must be appended to options from maps, not prepended. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

svn commit: r279915 - head/usr.sbin/autofs

2015-03-12 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 12 12:17:15 2015 New Revision: 279915 URL: https://svnweb.freebsd.org/changeset/base/279915 Log: Make concat() accept NULL arguments. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/autofs/automount.c

Re: svn commit: r279764 - head/sys/vm

2015-03-12 Thread Bruce Evans
On Tue, 10 Mar 2015, Gleb Smirnoff wrote: On Tue, Mar 10, 2015 at 12:18:13PM +0200, Konstantin Belousov wrote: K On Tue, Mar 10, 2015 at 01:01:41PM +0300, Gleb Smirnoff wrote: K On Sun, Mar 08, 2015 at 02:13:47AM +, Konstantin Belousov wrote: K K Author: kib K K Date: Sun Mar 8 02:13:46

Re: svn commit: r279932 - head/sys/vm

2015-03-12 Thread Ian Lepore
On Thu, 2015-03-12 at 17:02 -0400, Ryan Stone wrote: On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore i...@freebsd.org wrote: Nullterminate strings returned via sysctl. PR: 195668 To quote the manpage: The *sbuf* family of functions allows one to safely allocate,

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

2015-03-12 Thread Ian Lepore
Author: ian Date: Thu Mar 12 23:31:29 2015 New Revision: 279938 URL: https://svnweb.freebsd.org/changeset/base/279938 Log: Fix a paste-o, sb is already a pointer in this one. Modified: head/sys/dev/cxgbe/t4_l2t.c Modified: head/sys/dev/cxgbe/t4_l2t.c

Re: svn commit: r279934 - head/sys/dev/cxgbe

2015-03-12 Thread Ian Lepore
On Thu, 2015-03-12 at 15:54 -0700, Navdeep Parhar wrote: On 03/12/2015 11:22, Ian Lepore wrote: Author: ian Date: Thu Mar 12 18:22:20 2015 New Revision: 279934 URL: https://svnweb.freebsd.org/changeset/base/279934 Log: Nullterminate strings returned via sysctl. PR:

svn commit: r279939 - head/sys/dev/hwpmc

2015-03-12 Thread Ryan Stone
Author: rstone Date: Thu Mar 12 23:44:28 2015 New Revision: 279939 URL: https://svnweb.freebsd.org/changeset/base/279939 Log: hwpmc: Fix event number to match enum name Differential revision:https://reviews.freebsd.org/D1592 Reviewed by: Joseph Kong MFC after:1 month

svn commit: r279941 - head/sys/dev/mii

2015-03-12 Thread Pyun YongHyeon
Author: yongari Date: Fri Mar 13 01:16:14 2015 New Revision: 279941 URL: https://svnweb.freebsd.org/changeset/base/279941 Log: Restore auto MDIX for RTL8211B and newer revision PHYs which was broken in r279903. Reported by: john feith . com Modified: head/sys/dev/mii/rgephy.c

svn commit: r279903 - head/sys/dev/mii

2015-03-12 Thread Pyun YongHyeon
Author: yongari Date: Thu Mar 12 07:05:28 2015 New Revision: 279903 URL: https://svnweb.freebsd.org/changeset/base/279903 Log: Add RTL8211F gigabit PHY support. PR: 197265 MFC after:2 weeks Modified: head/sys/dev/mii/rgephy.c head/sys/dev/mii/rgephyreg.h Modified:

svn commit: r279901 - head/usr.sbin/freebsd-update

2015-03-12 Thread Kris Moore
Author: kmoore (ports committer) Date: Thu Mar 12 06:41:01 2015 New Revision: 279901 URL: https://svnweb.freebsd.org/changeset/base/279901 Log: - Include commas in valid file-name chars freebsd-update will support Approved by: cperciva Modified:

svn commit: r279902 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/iio include/dt-bindings/pinctrl include/dt-bindings/regulator include/dt-bindings/reset include/dt-bindi...

2015-03-12 Thread Warner Losh
Author: imp Date: Thu Mar 12 06:43:58 2015 New Revision: 279902 URL: https://svnweb.freebsd.org/changeset/base/279902 Log: File names with commas in them cause issues for freebsd-update. We don't actually use these files at the moment, so eliminate them until we actually do. In the mean

svn commit: r279854 - head/sys/dev/usb/input

2015-03-12 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 10 16:06:07 2015 New Revision: 279854 URL: https://svnweb.freebsd.org/changeset/base/279854 Log: Lock softc before clearing bits. Found by: Dmitry Luhtionov dmitryluhtio...@gmail.com MFC after:1 week Modified: head/sys/dev/usb/input/uhid.c