svn commit: r304979 - head/sys/dev/hyperv/netvsc

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 05:35:35 2016 New Revision: 304979 URL: https://svnweb.freebsd.org/changeset/base/304979 Log: hyperv/hn: Switch to new RNDIS set for RSS parameters. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r304976 - head/sys/dev/hyperv/netvsc

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 05:08:53 2016 New Revision: 304976 URL: https://svnweb.freebsd.org/changeset/base/304976 Log: hyperv/hn: Fix # of channels setting, if RSS is not available. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r304975 - head/sys/dev/hyperv/netvsc

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 04:54:13 2016 New Revision: 304975 URL: https://svnweb.freebsd.org/changeset/base/304975 Log: hyperv/hn: Switch to new RNDIS query for RSS capabilities extraction. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r304973 - head/sys/dev/hyperv/netvsc

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 04:44:24 2016 New Revision: 304973 URL: https://svnweb.freebsd.org/changeset/base/304973 Log: hyperv/hn: Switch to new RNDIS query for link status extraction. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r304972 - head/sys/dev/hyperv/netvsc

2016-08-28 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 29 03:22:56 2016 New Revision: 304972 URL: https://svnweb.freebsd.org/changeset/base/304972 Log: hyperv/hn: Add definition for NDIS media state. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7652

svn commit: r304971 - head/sys/dev/mfi

2016-08-28 Thread John Baldwin
Author: jhb Date: Mon Aug 29 01:59:18 2016 New Revision: 304971 URL: https://svnweb.freebsd.org/changeset/base/304971 Log: Add missing array subscript. This fixes a tautological pointer comparison warning, but would also a real bug for a platform where bus_dmamap_unload of a static

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-28 Thread John Baldwin
On Sunday, August 28, 2016 04:52:10 AM Konstantin Belousov wrote: > On Sun, Aug 28, 2016 at 04:25:46AM +0300, Andrey Chernov wrote: > > On 28.08.2016 4:15, Konstantin Belousov wrote: > > >> POSIX: "No function in this volume of POSIX.1-2008 shall set errno to > > >> zero." > > > I am quite

Re: svn commit: r304963 - in head/sys/dev/bhnd: . bcma siba

2016-08-28 Thread Adrian Chadd
Heh. Make a free function too. ;) On Aug 28, 2016 12:34 PM, "Landon J. Fuller" wrote: > Author: landonf > Date: Sun Aug 28 19:34:22 2016 > New Revision: 304963 > URL: https://svnweb.freebsd.org/changeset/base/304963 > > Log: > bhnd(4): Add a bhnd bus method for fetching

svn commit: r304970 - in head/sys/dev: ofw uart

2016-08-28 Thread Justin Hibbits
Author: jhibbits Date: Sun Aug 28 21:31:21 2016 New Revision: 304970 URL: https://svnweb.freebsd.org/changeset/base/304970 Log: Check all compatible strings on uart devices in powerpc Summary: Some device trees put "fsl,ns16650" first in the compatible list. This causes the probe code

svn commit: r304969 - head/sbin/hastd

2016-08-28 Thread Dimitry Andric
Author: dim Date: Sun Aug 28 21:26:11 2016 New Revision: 304969 URL: https://svnweb.freebsd.org/changeset/base/304969 Log: Define hastd's STRICT_ALIGN macro in a defined and portable way. MFC after:3 days Modified: head/sbin/hastd/lzf.h Modified: head/sbin/hastd/lzf.h

svn commit: r304967 - in head/sys/dev/bhnd: . siba

2016-08-28 Thread Landon J. Fuller
Author: landonf Date: Sun Aug 28 20:39:53 2016 New Revision: 304967 URL: https://svnweb.freebsd.org/changeset/base/304967 Log: bhnd(4): Apply the siba chipid ncore fixup in bhnd_read_chipid(), ensuring that bhndb et al are always operating on a valid core count. Approved by: adrian

svn commit: r304966 - head/sys/boot/i386/libi386

2016-08-28 Thread Peter Wemm
Author: peter Date: Sun Aug 28 20:39:33 2016 New Revision: 304966 URL: https://svnweb.freebsd.org/changeset/base/304966 Log: The read-ahead code from r298230 made it likely the boot code would read beyond the end of disk. r298900 added code to prevent this. Some BIOSes cause significant

Re: svn commit: r304953 - head/sys/contrib/ipfilter/netinet

2016-08-28 Thread Dimitry Andric
On 28 Aug 2016, at 18:27, Ngie Cooper (yaneurabeya) wrote: > >> On Aug 28, 2016, at 4:51 AM, Dimitry Andric wrote: >> >> Author: dim >> Date: Sun Aug 28 11:51:46 2016 >> New Revision: 304953 >> URL: https://svnweb.freebsd.org/changeset/base/304953 >>

svn commit: r304964 - in head: contrib/ipfilter sys/contrib/ipfilter/netinet

2016-08-28 Thread Dimitry Andric
Author: dim Date: Sun Aug 28 19:35:29 2016 New Revision: 304964 URL: https://svnweb.freebsd.org/changeset/base/304964 Log: Follow-up to r304953, in which I broke the build: apparently the SOLARIS macro is defined in lots of different places in ipfilter, so replace all of the nonportable

svn commit: r304963 - in head/sys/dev/bhnd: . bcma siba

2016-08-28 Thread Landon J. Fuller
Author: landonf Date: Sun Aug 28 19:34:22 2016 New Revision: 304963 URL: https://svnweb.freebsd.org/changeset/base/304963 Log: bhnd(4): Add a bhnd bus method for fetching the device's core table. This will allow us to perform bhndb(4) bridge configuration based on the identified

svn commit: r304962 - head/sys/ddb

2016-08-28 Thread Bruce Evans
Author: bde Date: Sun Aug 28 19:33:09 2016 New Revision: 304962 URL: https://svnweb.freebsd.org/changeset/base/304962 Log: Expand error messages: print symbol names, parentheses and shift tokens, and negative shift counts. Fix error messages: print "Division" instead of "Divide"; print

Re: svn commit: r304895 - head/usr.bin/netstat

2016-08-28 Thread Bruce Evans
On Sun, 28 Aug 2016, hiren panchasara wrote: On 08/27/16 at 11:06P, Bruce Evans wrote: Log: Fix build without INET6 and with gcc. A function definition was ifdefed for INET6, but its protototype was not, and gcc detects the error. Modified: head/usr.bin/netstat/route.c Thanks for

Re: svn commit: r304895 - head/usr.bin/netstat

2016-08-28 Thread hiren panchasara
On 08/27/16 at 11:06P, Bruce Evans wrote: > Author: bde > Date: Sat Aug 27 11:06:06 2016 > New Revision: 304895 > URL: https://svnweb.freebsd.org/changeset/base/304895 > > Log: > Fix build without INET6 and with gcc. A function definition was ifdefed > for INET6, but its protototype was not,

svn commit: r304959 - head/sys/contrib/ipfilter/netinet

2016-08-28 Thread Konstantin Belousov
Author: kib Date: Sun Aug 28 18:10:29 2016 New Revision: 304959 URL: https://svnweb.freebsd.org/changeset/base/304959 Log: Complete r304953. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/contrib/ipfilter/netinet/ip_log.c Modified:

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-28 Thread Slawa Olhovchenkov
On Sun, Aug 28, 2016 at 10:20:08AM -0700, Adrian Chadd wrote: > * the rtalloc1_fib thing - that's odd, because it shouldn't be > contending there unless there's some temporary redirect that's been > learnt. What's the routing table look like on your machine? I Remember > investigating the rtentry

Re: svn commit: r304912 - head/sys/sys

2016-08-28 Thread Adrian Chadd
Thanks! -a On 28 August 2016 at 00:40, Mariusz Zaborski wrote: > Eh, sorry. > Fixed in the @304952. > > On 28 August 2016 at 06:17, Adrian Chadd wrote: >> ... >> >> ===> lib/libnv (obj,all,install) >> In file included from >>

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-28 Thread Adrian Chadd
Hi, There are some no brainers here so far(tm): working from the bottom up: * yeah, the ixgbe locking is a bit silly. Kip's work with iflib and converting ixgbe to use that instead of its own locking for managing things should remove the bottom two locks * the rtalloc1_fib thing - that's odd,

Re: svn commit: r304953 - head/sys/contrib/ipfilter/netinet

2016-08-28 Thread Ngie Cooper (yaneurabeya)
> On Aug 28, 2016, at 4:51 AM, Dimitry Andric wrote: > > Author: dim > Date: Sun Aug 28 11:51:46 2016 > New Revision: 304953 > URL: https://svnweb.freebsd.org/changeset/base/304953 > > Log: > Define ipfilter's SOLARIS macro in a defined and portable way. > > Reviewed by:

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

2016-08-28 Thread Bruce Evans
Author: bde Date: Sun Aug 28 15:23:44 2016 New Revision: 304958 URL: https://svnweb.freebsd.org/changeset/base/304958 Log: Fix vm86 initialization, part 1 of 2 and a half. Early use of vm86 depends on the PIC being reset to mask interrupts, but r286667 moved PIC initialization to after

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

2016-08-28 Thread Bruce Evans
Author: bde Date: Sun Aug 28 14:03:25 2016 New Revision: 304957 URL: https://svnweb.freebsd.org/changeset/base/304957 Log: Fix vm86 initialization, part 1 of 2 and a half. vm86 uses the tss, but r273995 moved tss initialization to after where it may be first used, just because tss_esp0

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-28 Thread Slawa Olhovchenkov
On Sat, Aug 27, 2016 at 07:05:01PM -0700, Adrian Chadd wrote: > On 26 August 2016 at 17:46, Slawa Olhovchenkov wrote: > > On Fri, Aug 26, 2016 at 04:55:34PM -0700, Adrian Chadd wrote: > > > >> Hi, > >> > >> I use the kernel lock profiling debugging, > > > > I am already have

Re: svn commit: r304928 - in head/lib/libc: amd64/sys i386/sys sys

2016-08-28 Thread Andrey Chernov
On 28.08.2016 8:28, Bruce Evans wrote: >> How hard it will be to bring ptrace() to what C99 expects? Perhaps now >> time is suited well to change some obsoleted things. > > This should be safe to change, since portable applications like gdb can't > assume that the implemementation clobbers errno

svn commit: r304956 - head/sys/modules

2016-08-28 Thread Bjoern A. Zeeb
Author: bz Date: Sun Aug 28 12:05:34 2016 New Revision: 304956 URL: https://svnweb.freebsd.org/changeset/base/304956 Log: Back out r304907, Ed had fixed it apparently earlier in the cloudabi* subdirectories. Reported by: np Modified: head/sys/modules/Makefile Modified:

svn commit: r304953 - head/sys/contrib/ipfilter/netinet

2016-08-28 Thread Dimitry Andric
Author: dim Date: Sun Aug 28 11:51:46 2016 New Revision: 304953 URL: https://svnweb.freebsd.org/changeset/base/304953 Log: Define ipfilter's SOLARIS macro in a defined and portable way. Reviewed by: cy MFC after:3 days Differential Revision: https://reviews.freebsd.org/D7671

Re: svn commit: r304912 - head/sys/sys

2016-08-28 Thread Mariusz Zaborski
Eh, sorry. Fixed in the @304952. On 28 August 2016 at 06:17, Adrian Chadd wrote: > ... > > ===> lib/libnv (obj,all,install) > In file included from > /usr/home/adrian/work/freebsd/head-embedded/src/lib/libnv/../../sys/contrib/libnv/cnvlist.c:49:0: >

svn commit: r304952 - head/sys/sys

2016-08-28 Thread Mariusz Zaborski
Author: oshogbo Date: Sun Aug 28 07:40:11 2016 New Revision: 304952 URL: https://svnweb.freebsd.org/changeset/base/304952 Log: Remove duplicated declaration. Reported by: adrian@ Modified: head/sys/sys/cnv.h Modified: head/sys/sys/cnv.h