svn commit: r260184 - head/sys/dev/usb/controller

2014-01-02 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jan 2 08:02:57 2014 New Revision: 260184 URL: http://svnweb.freebsd.org/changeset/base/260184 Log: Minor correction for the XHCI reset logic. MFC after:1 week Found by: Horse Ma Modified: head/sys/dev/usb/controller/xhci.c Modified: head/sys/dev/us

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

2014-01-02 Thread Xin LI
Author: delphij Date: Thu Jan 2 08:10:35 2014 New Revision: 260185 URL: http://svnweb.freebsd.org/changeset/base/260185 Log: MFV r260155: When we encounter an I/O error on a piece of metadata while deleting a file system or zvol, we don't update the bptree_entry_phys_t's bookmark. Thi

svn commit: r260186 - head/sys/netgraph/netflow

2014-01-02 Thread Xin LI
Author: delphij Date: Thu Jan 2 08:39:47 2014 New Revision: 260186 URL: http://svnweb.freebsd.org/changeset/base/260186 Log: Fix !INET6 build for various platforms. Modified: head/sys/netgraph/netflow/netflow.c Modified: head/sys/netgraph/netflow/netflow.c ==

svn commit: r260187 - in head/sys: netinet netinet6

2014-01-02 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 2 08:40:37 2014 New Revision: 260187 URL: http://svnweb.freebsd.org/changeset/base/260187 Log: lla_lookup() does modification only when LLE_CREATE is specified. Thus we can use IF_AFDATA_RLOCK() instead of IF_AFDATA_LOCK() when doing lla_lookup() without LLE_CREATE

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Pawel Jakub Dawidek
On Wed, Jan 01, 2014 at 11:16:22PM -0800, Stanislav Sedov wrote: > > On Sep 4, 2013, at 5:09 PM, Pawel Jakub Dawidek wrote: > > > This commit also breaks compatibility with some existing Capsicum system > > calls, > > but I see no other way to do that. This should be fine as Capsicum is still

svn commit: r260188 - head/sys/netinet

2014-01-02 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 2 10:18:39 2014 New Revision: 260188 URL: http://svnweb.freebsd.org/changeset/base/260188 Log: Fix regression from r249894. Now we pass "gw" as argument to if_output method, thus for multicast case we need it to point at "dst". PR: 185395 Submitt

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Alfred Perlstein
On 1/2/14 1:33 AM, Pawel Jakub Dawidek wrote: On Wed, Jan 01, 2014 at 11:16:22PM -0800, Stanislav Sedov wrote: On Sep 4, 2013, at 5:09 PM, Pawel Jakub Dawidek wrote: This commit also breaks compatibility with some existing Capsicum system calls, but I see no other way to do that. This sh

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Pawel Jakub Dawidek
On Thu, Jan 02, 2014 at 02:28:57AM -0800, Alfred Perlstein wrote: > On 1/2/14 1:33 AM, Pawel Jakub Dawidek wrote: > > On Wed, Jan 01, 2014 at 11:16:22PM -0800, Stanislav Sedov wrote: > >> On Sep 4, 2013, at 5:09 PM, Pawel Jakub Dawidek wrote: > >> > >>> This commit also breaks compatibility with

Re: svn commit: r260165 - head/sys/dev/ahci

2014-01-02 Thread Zbigniew Bodek
On 01.01.2014 21:32, Konstantin Belousov wrote: > On Wed, Jan 01, 2014 at 08:26:08PM +, Zbigniew Bodek wrote: >> Author: zbb Date: Wed Jan 1 20:26:08 2014 New Revision: 260165 >> URL: http://svnweb.freebsd.org/changeset/base/260165 >> >> Log: Use only mapped BIOs on ARM >> >> Using unmapped

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Alfred Perlstein
On 1/2/14 2:49 AM, Pawel Jakub Dawidek wrote: On Thu, Jan 02, 2014 at 02:28:57AM -0800, Alfred Perlstein wrote: On 1/2/14 1:33 AM, Pawel Jakub Dawidek wrote: On Wed, Jan 01, 2014 at 11:16:22PM -0800, Stanislav Sedov wrote: On Sep 4, 2013, at 5:09 PM, Pawel Jakub Dawidek wrote: This commi

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

2014-01-02 Thread Peter Jeremy
On 2014-Jan-02 10:18:40 +, Gleb Smirnoff wrote: >Log: > Fix regression from r249894. Now we pass "gw" as argument to if_output > method, thus for multicast case we need it to point at "dst". > > PR: 185395 > Submitted by:ae Thank you for that. I'd gotten as far as work

svn commit: r260189 - head/sys/dev/ahci

2014-01-02 Thread Zbigniew Bodek
Author: zbb Date: Thu Jan 2 11:24:04 2014 New Revision: 260189 URL: http://svnweb.freebsd.org/changeset/base/260189 Log: Revert r260165: Proper configuration of unmapped_buf_allowed should be used To avoid failures in bus_dmamap_sync() on ARM unmapped_buf_allowed should be set to 0. Henc

Re: svn commit: r260073 - in head/contrib/gcc: . cp

2014-01-02 Thread Andreas Tobler
Hi Pedro, Happy new Year! On 30.12.13 03:52, Pedro F. Giffuni wrote: > Author: pfg > Date: Mon Dec 30 02:52:43 2013 > New Revision: 260073 > URL: http://svnweb.freebsd.org/changeset/base/260073 > > Log: > gcc: small diff reduction wrt gcc43 and Apple GCC. > > Obtained from: gcc 4.3 (

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Stanislav Sedov
On Jan 2, 2014, at 3:01 AM, Alfred Perlstein wrote: > Well I agree strongly with what you are doing except the part where 9.x jails > and earlier are broken because of this change. > > It seems like there is a way out and you agree. Perhaps since the cap fits > in the spare area we can make

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Konstantin Belousov
On Thu, Jan 02, 2014 at 11:49:04AM +0100, Pawel Jakub Dawidek wrote: > On Thu, Jan 02, 2014 at 02:28:57AM -0800, Alfred Perlstein wrote: > > On 1/2/14 1:33 AM, Pawel Jakub Dawidek wrote: > > > On Wed, Jan 01, 2014 at 11:16:22PM -0800, Stanislav Sedov wrote: > > >> On Sep 4, 2013, at 5:09 PM, Pawel

svn commit: r260194 - in head/contrib/gcc: . cp

2014-01-02 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jan 2 13:53:53 2014 New Revision: 260194 URL: http://svnweb.freebsd.org/changeset/base/260194 Log: Revert r260073; small diff reduction wrt gcc43 and Apple GCC. Unfortunately this causes ICE on powerpc and sparc64. Reducing these differences against upstream is n

Re: svn commit: r260073 - in head/contrib/gcc: . cp

2014-01-02 Thread Pedro Giffuni
On 02.01.2014 06:25, Andreas Tobler wrote: Hi Pedro, Happy new Year! On 30.12.13 03:52, Pedro F. Giffuni wrote: Author: pfg Date: Mon Dec 30 02:52:43 2013 New Revision: 260073 URL: http://svnweb.freebsd.org/changeset/base/260073 Log: gcc: small diff reduction wrt gcc43 and Apple GCC.

svn commit: r260204 - head/sys/amd64/amd64

2014-01-02 Thread Konstantin Belousov
Author: kib Date: Thu Jan 2 18:49:05 2014 New Revision: 260204 URL: http://svnweb.freebsd.org/changeset/base/260204 Log: Assert that accounting for the pmap resident pages does not underflow. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/

svn commit: r260205 - head/sys/amd64/amd64

2014-01-02 Thread Konstantin Belousov
Author: kib Date: Thu Jan 2 18:50:52 2014 New Revision: 260205 URL: http://svnweb.freebsd.org/changeset/base/260205 Log: Update the description for pmap_remove_pages() to match the modern times [1]. Assert that the pmap passed to pmap_remove_pages() is only active on current CPU. Subm

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread John-Mark Gurney
Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 15:13 +0200: > > > Afaik you could just remove the "spare" and steal 2 or 4 entries from > > > _kf_ispare until it is sorted. > > > > Yes, this would work for current cap_rights_t structure, at least for > > i386 and amd64, but would

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Alfred Perlstein
On 1/2/14, 11:14 AM, John-Mark Gurney wrote: Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 15:13 +0200: Afaik you could just remove the "spare" and steal 2 or 4 entries from _kf_ispare until it is sorted. Yes, this would work for current cap_rights_t structure, at least for i3

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Konstantin Belousov
On Thu, Jan 02, 2014 at 11:14:20AM -0800, John-Mark Gurney wrote: > Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 15:13 +0200: > > > > Afaik you could just remove the "spare" and steal 2 or 4 entries from > > > > _kf_ispare until it is sorted. > > > > > > Yes, this would work for

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Konstantin Belousov
On Thu, Jan 02, 2014 at 11:23:55AM -0800, Alfred Perlstein wrote: > > On 1/2/14, 11:14 AM, John-Mark Gurney wrote: > > Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 15:13 +0200: > Afaik you could just remove the "spare" and steal 2 or 4 entries from > _kf_ispare until it

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Alfred Perlstein
On 1/2/14, 11:34 AM, Konstantin Belousov wrote: On Thu, Jan 02, 2014 at 11:23:55AM -0800, Alfred Perlstein wrote: On 1/2/14, 11:14 AM, John-Mark Gurney wrote: Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 15:13 +0200: Afaik you could just remove the "spare" and steal 2 or 4 e

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread John-Mark Gurney
Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 21:26 +0200: > On Thu, Jan 02, 2014 at 11:14:20AM -0800, John-Mark Gurney wrote: > > Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 15:13 +0200: > > > > > Afaik you could just remove the "spare" and steal 2 or 4 entries

Re: svn commit: r260163 - head/sys/dev/ahci

2014-01-02 Thread John Baldwin
On Wednesday, January 01, 2014 3:18:03 pm Zbigniew Bodek wrote: > Author: zbb > Date: Wed Jan 1 20:18:03 2014 > New Revision: 260163 > URL: http://svnweb.freebsd.org/changeset/base/260163 > > Log: > Do not attach to PCI bridges in AHCI driver > > Some vendors use the same VID:PID combinati

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread John Baldwin
On Thursday, January 02, 2014 2:59:35 pm John-Mark Gurney wrote: > Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 21:26 +0200: > > On Thu, Jan 02, 2014 at 11:14:20AM -0800, John-Mark Gurney wrote: > > > Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 15:13 > > > +020

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

2014-01-02 Thread John Baldwin
Author: jhb Date: Thu Jan 2 21:26:59 2014 New Revision: 260206 URL: http://svnweb.freebsd.org/changeset/base/260206 Log: Rework the DSDT generation code a bit to generate more accurate info about LPC devices. Among other things, the LPC serial ports now appear as ACPI devices. - Move the

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Konstantin Belousov
On Thu, Jan 02, 2014 at 11:59:35AM -0800, John-Mark Gurney wrote: > Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 21:26 +0200: > > On Thu, Jan 02, 2014 at 11:14:20AM -0800, John-Mark Gurney wrote: > > > Konstantin Belousov wrote this message on Thu, Jan 02, 2014 at 15:13 > > > +02

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Pawel Jakub Dawidek
On Thu, Jan 02, 2014 at 03:13:08PM +0200, Konstantin Belousov wrote: > On Thu, Jan 02, 2014 at 11:49:04AM +0100, Pawel Jakub Dawidek wrote: > > I don't plan to provide alternative way to fetch the cap stuff. Well, I > > implemented libnv, which can be used to reimplement how we fetch all > > data l

svn commit: r260207 - head/sys/net

2014-01-02 Thread George V. Neville-Neil
Author: gnn Date: Thu Jan 2 21:30:59 2014 New Revision: 260207 URL: http://svnweb.freebsd.org/changeset/base/260207 Log: Convert #defines to enums so that the values are visible in the debugger. Requested by: gibbs MFC after:2 weeks Modified: head/sys/net/sff8472.h Modified: head

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Pawel Jakub Dawidek
On Thu, Jan 02, 2014 at 10:27:57PM +0100, Pawel Jakub Dawidek wrote: > I'll leave it for re@ to decide. Proposed patch: http://people.freebsd.org/~pjd/patches/sys_user.h.patch -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Konstantin Belousov
On Thu, Jan 02, 2014 at 10:27:58PM +0100, Pawel Jakub Dawidek wrote: > On Thu, Jan 02, 2014 at 03:13:08PM +0200, Konstantin Belousov wrote: > > On Thu, Jan 02, 2014 at 11:49:04AM +0100, Pawel Jakub Dawidek wrote: > > > I don't plan to provide alternative way to fetch the cap stuff. Well, I > > > im

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Julian Elischer
On 1/2/14, 8:34 PM, Konstantin Belousov wrote: On Thu, Jan 02, 2014 at 11:23:55AM -0800, Alfred Perlstein wrote: Of course the problem is that when we move to (ASN.1/libnv/ctf/YAML/JSON/XML/etc) we will break ABI compatibility too, or introduce tons of compatibility code that will rot... I agr

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Julian Elischer
On 1/2/14, 10:27 PM, Pawel Jakub Dawidek wrote: I also think that breaking ABI on unused interfaces can be fine too. We don't support ABI compatibility with FreeBSD 1, no matter how close we are, and we had this discussion in the past. actually, we do.. I have run FreebSD 1 binaries as recentl

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

2014-01-02 Thread Adrian Chadd
Author: adrian Date: Thu Jan 2 23:23:33 2014 New Revision: 260210 URL: http://svnweb.freebsd.org/changeset/base/260210 Log: Add an option to enable or disable the small RX packet copying that is done to improve performance of small frames. When doing RX packing, the RX copying isn't nece

svn commit: r260212 - head/sys/dev/nand

2014-01-02 Thread Warner Losh
Author: imp Date: Fri Jan 3 00:17:52 2014 New Revision: 260212 URL: http://svnweb.freebsd.org/changeset/base/260212 Log: The HOT-E HL201 has 128MB Samsung SLC NAND, ID it properly. Modified: head/sys/dev/nand/nand_id.c Modified: head/sys/dev/nand/nand_id.c ==

svn commit: r260214 - head/sys/dev/nand

2014-01-02 Thread Warner Losh
Author: imp Date: Fri Jan 3 00:26:56 2014 New Revision: 260214 URL: http://svnweb.freebsd.org/changeset/base/260214 Log: Fill in some more info about the (somewhat old) Samsung parts I have here... Modified: head/sys/dev/nand/nand_id.c Modified: head/sys/dev/nand/nand_id.c ===

svn commit: r260217 - in head/sys: netinet netinet6

2014-01-02 Thread Andrey V. Elsukov
Author: ae Date: Fri Jan 3 02:32:05 2014 New Revision: 260217 URL: http://svnweb.freebsd.org/changeset/base/260217 Log: Add IF_AFDATA_WLOCK_ASSERT() in case lla_lookup() is called with LLE_CREATE flag. MFC after:1 week Modified: head/sys/netinet/in.c head/sys/netinet6/in6.c Mod

svn commit: r260218 - head/sys/netinet6

2014-01-02 Thread Andrey V. Elsukov
Author: ae Date: Fri Jan 3 02:40:56 2014 New Revision: 260218 URL: http://svnweb.freebsd.org/changeset/base/260218 Log: Use pointer to struct sockaddr_in6 in lla_lookup() call. This prevents from triggering KASSERT in in6_lltable_lookup. Modified: head/sys/netinet6/in6_src.c Modified: hea

Re: svn commit: r255219 - in head: contrib/tcpdump lib/libc lib/libc/capability lib/libc/include lib/libc/sys lib/libprocstat sbin/dhclient sbin/hastd sys/amd64/linux32 sys/bsm sys/cddl/compat/opensol

2014-01-02 Thread Stanislav Sedov
On Jan 2, 2014, at 1:27 PM, Pawel Jakub Dawidek wrote: > I personally don't consider it so awful and critical as you do, clearly, > but I do recognize it as a problem. I'm happy to consume spares, which > should fix compatibility with older releases at the cost of breaking > compatibility with 1

svn commit: r260219 - in head: share/man/man4 sys/dev/usb sys/dev/usb/wlan

2014-01-02 Thread Kevin Lo
Author: kevlo Date: Fri Jan 3 06:01:05 2014 New Revision: 260219 URL: http://svnweb.freebsd.org/changeset/base/260219 Log: Add support for the MediaTek/Ralink RT3593 chipset. Committed over the ZyXEL NWD2705 on amd64 with WPA. Modified: head/share/man/man4/run.4 head/sys/dev/usb/usbdevs

svn commit: r260220 - head/etc/devd

2014-01-02 Thread Kevin Lo
Author: kevlo Date: Fri Jan 3 06:02:08 2014 New Revision: 260220 URL: http://svnweb.freebsd.org/changeset/base/260220 Log: Regen. Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf == --- head/etc/dev