Re: svn commit: r277179 - in head/sys: dev/usb kern sys

2015-01-14 Thread Hans Petter Selasky
On 01/14/15 18:57, Andrey V. Elsukov wrote: On 14.01.2015 17:04, Hans Petter Selasky wrote: Author: hselasky Date: Wed Jan 14 14:04:29 2015 New Revision: 277179 URL: https://svnweb.freebsd.org/changeset/base/277179 Log: Add a kernel function to delist our kernel character devices, so that

svn commit: r277201 - head/contrib/compiler-rt/lib/sanitizer_common

2015-01-14 Thread Dimitry Andric
Author: dim Date: Wed Jan 14 22:37:11 2015 New Revision: 277201 URL: https://svnweb.freebsd.org/changeset/base/277201 Log: Remove the netinet/ip_compat.h include from one of the newly added sanitizer sources. It is apparently unnecessary, and causes trouble for people using

Re: svn commit: r277163 - head/sys/dev/cardbus

2015-01-14 Thread Warner Losh
On Jan 14, 2015, at 8:32 AM, Justin Hibbits chmeeed...@gmail.com wrote: On Wed, 14 Jan 2015 09:23:05 -0500 John Baldwin j...@freebsd.org wrote: On 1/14/15 12:41 AM, Warner Losh wrote: Author: imp Date: Wed Jan 14 05:41:31 2015 New Revision: 277163 URL:

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

2015-01-14 Thread Robert Watson
Author: rwatson Date: Wed Jan 14 23:44:00 2015 New Revision: 277203 URL: https://svnweb.freebsd.org/changeset/base/277203 Log: In order to support ongoing work to implement variable-size mbufs, and more generally make it easier to extend 'struct mbuf in the future', make a number of changes

svn commit: r277199 - in head/sys: fs/devfs kern

2015-01-14 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 14 22:07:13 2015 New Revision: 277199 URL: https://svnweb.freebsd.org/changeset/base/277199 Log: Avoid race with dev_rel() when using the recently added delist_dev() function. Make sure the character device structure doesn't go away until the end of the

svn commit: r277205 - in head: sys/boot/common sys/sys usr.sbin/kldxref

2015-01-14 Thread Warner Losh
Author: imp Date: Thu Jan 15 00:46:30 2015 New Revision: 277205 URL: https://svnweb.freebsd.org/changeset/base/277205 Log: Reserve and ignore the a new module metadata type MDT_PNP_INFO for associating an optional PNP hint table with this module. In the future, when these are added, these

svn commit: r277208 - head/sys/boot/fdt/dts/arm

2015-01-14 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jan 15 01:20:56 2015 New Revision: 277208 URL: https://svnweb.freebsd.org/changeset/base/277208 Log: Fix the PMIC node name to match the PMIC i2c address. Remove an extra blank line. No functional changes. MFC after:3 days Modified:

svn commit: r277206 - head/sys/arm/broadcom/bcm2835

2015-01-14 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jan 15 00:48:53 2015 New Revision: 277206 URL: https://svnweb.freebsd.org/changeset/base/277206 Log: Catch a few cases where we need to release memory resources on errors. Place parentheses around variables in macros. MFC after:3 days Modified:

svn commit: r277202 - head/contrib/ntp/ntpd

2015-01-14 Thread Hiren Panchasara
Author: hiren Date: Wed Jan 14 23:34:00 2015 New Revision: 277202 URL: https://svnweb.freebsd.org/changeset/base/277202 Log: ntpd tries to bind to IPv6 interfaces in 'tentative' state and fails as IPv6 is actually disabled. Fix it by making ntpd ignore such interfaces. Submitted by: ume

svn commit: r277207 - head/sys/arm/broadcom/bcm2835

2015-01-14 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jan 15 01:05:05 2015 New Revision: 277207 URL: https://svnweb.freebsd.org/changeset/base/277207 Log: Fix the C - K temperature conversion for the dev.cpu.0.temperature sysctl. Previous code was discarding the last digit. Remove the unused temperature conversion

Re: svn commit: r277199 - in head/sys: fs/devfs kern

2015-01-14 Thread Konstantin Belousov
On Wed, Jan 14, 2015 at 10:07:13PM +, Hans Petter Selasky wrote: Author: hselasky Date: Wed Jan 14 22:07:13 2015 New Revision: 277199 URL: https://svnweb.freebsd.org/changeset/base/277199 Log: Avoid race with dev_rel() when using the recently added delist_dev() function. Make sure

svn commit: r277209 - head/sys/arm/ti/cpsw

2015-01-14 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jan 15 02:22:52 2015 New Revision: 277209 URL: https://svnweb.freebsd.org/changeset/base/277209 Log: Fix cpsw(4) after r277203 which folded 'struct m_hdr' into 'struct mbuf'. While in theory this should have been a transparent change (and was for all other drivers),

Re: svn commit: r277163 - head/sys/dev/cardbus

2015-01-14 Thread Justin Hibbits
On Wed, 14 Jan 2015 09:23:05 -0500 John Baldwin j...@freebsd.org wrote: On 1/14/15 12:41 AM, Warner Losh wrote: Author: imp Date: Wed Jan 14 05:41:31 2015 New Revision: 277163 URL: https://svnweb.freebsd.org/changeset/base/277163 Log: Add a rather obnoxious warning if you don't

Re: svn commit: r277163 - head/sys/dev/cardbus

2015-01-14 Thread John Baldwin
On 1/14/15 12:41 AM, Warner Losh wrote: Author: imp Date: Wed Jan 14 05:41:31 2015 New Revision: 277163 URL: https://svnweb.freebsd.org/changeset/base/277163 Log: Add a rather obnoxious warning if you don't have NEW_PCIB defined since it's a total crap shoot if things will work.

svn commit: r277181 - head/contrib/elftoolchain/elfcopy

2015-01-14 Thread Ed Maste
Author: emaste Date: Wed Jan 14 14:49:58 2015 New Revision: 277181 URL: https://svnweb.freebsd.org/changeset/base/277181 Log: elfcopy: Avoid divide-by-0 on section alignment 0 According to ELF ABI, alignment 0 and 1 has the same meaning: the section has no alignment constraints. PR:

Re: svn commit: r277199 - in head/sys: fs/devfs kern

2015-01-14 Thread Hans Petter Selasky
On 01/15/15 04:31, Konstantin Belousov wrote: On Wed, Jan 14, 2015 at 10:07:13PM +, Hans Petter Selasky wrote: Author: hselasky Date: Wed Jan 14 22:07:13 2015 New Revision: 277199 URL: https://svnweb.freebsd.org/changeset/base/277199 Log: Avoid race with dev_rel() when using the

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

2015-01-14 Thread Alexander Motin
Author: mav Date: Wed Jan 14 16:22:00 2015 New Revision: 277185 URL: https://svnweb.freebsd.org/changeset/base/277185 Log: Fix overflow bug from r248577, turning 30s TRIM timeout into ~4s. MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/trim_map.c

Re: svn commit: r277179 - in head/sys: dev/usb kern sys

2015-01-14 Thread Andrey V. Elsukov
On 14.01.2015 17:04, Hans Petter Selasky wrote: Author: hselasky Date: Wed Jan 14 14:04:29 2015 New Revision: 277179 URL: https://svnweb.freebsd.org/changeset/base/277179 Log: Add a kernel function to delist our kernel character devices, so that the device name can be re-used right

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

2015-01-14 Thread Alexander Motin
Author: mav Date: Wed Jan 14 09:39:57 2015 New Revision: 277169 URL: https://svnweb.freebsd.org/changeset/base/277169 Log: Reimplement TRIM throttling added in r248577. Previous throttling implementation approached problem from the wrong side. It significantly limited useful delaying of

svn commit: r277179 - in head/sys: dev/usb kern sys

2015-01-14 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jan 14 14:04:29 2015 New Revision: 277179 URL: https://svnweb.freebsd.org/changeset/base/277179 Log: Add a kernel function to delist our kernel character devices, so that the device name can be re-used right away in case we are destroying the character devices in

svn commit: r277172 - head/usr.sbin/fstyp

2015-01-14 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jan 14 11:26:03 2015 New Revision: 277172 URL: https://svnweb.freebsd.org/changeset/base/277172 Log: Improve wording. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/fstyp/fstyp.8 Modified: head/usr.sbin/fstyp/fstyp.8

svn commit: r277175 - head/share/man/man7

2015-01-14 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jan 14 11:53:41 2015 New Revision: 277175 URL: https://svnweb.freebsd.org/changeset/base/277175 Log: Mention /net in hier(7). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/share/man/man7/hier.7 Modified: head/share/man/man7/hier.7

svn commit: r277171 - head/etc

2015-01-14 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jan 14 11:18:45 2015 New Revision: 277171 URL: https://svnweb.freebsd.org/changeset/base/277171 Log: Use newly added GEOM notifications to discard autofs caches. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/etc/devd.conf Modified:

svn commit: r277170 - in head: sbin/devd sys/geom

2015-01-14 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jan 14 11:15:57 2015 New Revision: 277170 URL: https://svnweb.freebsd.org/changeset/base/277170 Log: Add devd(8) notifications for creation and destruction of GEOM devices. Differential Revision:https://reviews.freebsd.org/D1211 MFC after:1 month

svn commit: r277177 - in head: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin usr.sbin/pmcstudy

2015-01-14 Thread Randall Stewart
Author: rrs Date: Wed Jan 14 12:46:58 2015 New Revision: 277177 URL: https://svnweb.freebsd.org/changeset/base/277177 Log: Update the hwpmc driver to have the new type HASWELL_XEON. Also go back through HASWELL, IVY_BRIDGE, IVY_BRIDGE_XEON and SANDY_BRIDGE to straighten out all the missing

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

2015-01-14 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 14 12:46:38 2015 New Revision: 277176 URL: https://svnweb.freebsd.org/changeset/base/277176 Log: Clean some dead code. Modified: head/sys/dev/mii/mii.c head/sys/dev/mii/mii_physubr.c head/sys/dev/mii/miivar.h Modified: head/sys/dev/mii/mii.c

svn commit: r277178 - head/sys/sys

2015-01-14 Thread Ed Schouten
Author: ed Date: Wed Jan 14 13:03:03 2015 New Revision: 277178 URL: https://svnweb.freebsd.org/changeset/base/277178 Log: Make sure CAP_BINDAT and CAP_CONNECTAT are part of CAP_ALL0. This makes sure that file descriptors of opened directories will actually get these capabilities. Without