Re: svn commit: r282280 - in head/sys/dev: e1000 ixgbe ixl

2015-05-04 Thread Gleb Smirnoff
John, On Mon, May 04, 2015 at 04:01:28PM -0400, John Baldwin wrote: J> > Your answer seems quite orthogonal to my question. I reread it couple of times, J> > but still can't figure out how exactly do you prefet to fetch per-queue stats. J> > Can you please explain in more detail? J> J> struct

Re: svn commit: r281551 - in head/sys: compat/freebsd32 compat/linprocfs kern sys

2015-05-04 Thread Peter Wemm
On Wednesday, April 15, 2015 09:13:11 AM Edward Tomasz Napierala wrote: > Author: trasz > Date: Wed Apr 15 09:13:11 2015 > New Revision: 281551 > URL: https://svnweb.freebsd.org/changeset/base/281551 > > Log: > Rewrite linprocfs_domtab() as a wrapper around kern_getfsstat(). This > adds missin

svn commit: r282448 - head/sys/compat/freebsd32

2015-05-04 Thread Peter Wemm
Author: peter Date: Tue May 5 05:14:12 2015 New Revision: 282448 URL: https://svnweb.freebsd.org/changeset/base/282448 Log: Fix an error in r281551, part of the getfsstat() / kern_getfsstat() rework. The number of entries was supposed to be returned to the user, not used as a scratch varia

svn commit: r282447 - head/sys/dev/pccbb

2015-05-04 Thread Warner Losh
Author: imp Date: Tue May 5 04:23:55 2015 New Revision: 282447 URL: https://svnweb.freebsd.org/changeset/base/282447 Log: Add some data found in TI's application note "SCPA035: PCI1510 Implementation Guide" about default values. Modified: head/sys/dev/pccbb/pccbb_pci.c Modified: head/sys/

svn commit: r282446 - head/sys/dev/pccbb

2015-05-04 Thread Warner Losh
Author: imp Date: Tue May 5 04:13:48 2015 New Revision: 282446 URL: https://svnweb.freebsd.org/changeset/base/282446 Log: When dealing with the TI12XX family of parts, we sometimes need to initialize the MFUNC registers. Our old test of assuming that if this register is set at all is not qu

svn commit: r282443 - head/usr.sbin/bsdinstall/scripts

2015-05-04 Thread Allan Jude
Author: allanjude (doc committer) Date: Tue May 5 03:08:49 2015 New Revision: 282443 URL: https://svnweb.freebsd.org/changeset/base/282443 Log: Add a sanity check to the swap size in zfsboot of bsdinstall Loop until the user enters a valid size (>100mb or 0) Differential Revision:

svn commit: r282442 - head/sys/arm/conf

2015-05-04 Thread Luiz Otavio O Souza
Author: loos Date: Tue May 5 01:45:38 2015 New Revision: 282442 URL: https://svnweb.freebsd.org/changeset/base/282442 Log: Now that DMA works, enable the audio driver on RPi 2. Modified: head/sys/arm/conf/RPI2 Modified: head/sys/arm/conf/RPI2

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

2015-05-04 Thread Luiz Otavio O Souza
Author: loos Date: Tue May 5 00:27:55 2015 New Revision: 282441 URL: https://svnweb.freebsd.org/changeset/base/282441 Log: Enable DMA for sdhci on RPi 2 (BCM2836). Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c ===

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

2015-05-04 Thread Luiz Otavio O Souza
Author: loos Date: Tue May 5 00:19:04 2015 New Revision: 282440 URL: https://svnweb.freebsd.org/changeset/base/282440 Log: Fix DMA on RPi 2. BCM2836 has a different base address for peripherals. Obtained from:netbsd Modified: head/sys/arm/broadcom/bcm2835/bcm2835_vcbus.h M

svn commit: r282439 - head/usr.bin/checknr

2015-05-04 Thread Baptiste Daroussin
Author: bapt Date: Mon May 4 22:27:55 2015 New Revision: 282439 URL: https://svnweb.freebsd.org/changeset/base/282439 Log: Remove limitation on input lines by using getline(3) Modified: head/usr.bin/checknr/checknr.1 head/usr.bin/checknr/checknr.c Modified: head/usr.bin/checknr/checknr.1

svn commit: r282438 - head/usr.bin/checknr

2015-05-04 Thread Baptiste Daroussin
Author: bapt Date: Mon May 4 22:18:58 2015 New Revision: 282438 URL: https://svnweb.freebsd.org/changeset/base/282438 Log: Extend the list of known nroff/troff commands Obtained from:heirloom doctools Modified: head/usr.bin/checknr/checknr.c Modified: head/usr.bin/checknr/check

svn commit: r282437 - head/usr.bin/checknr

2015-05-04 Thread Baptiste Daroussin
Author: bapt Date: Mon May 4 22:05:12 2015 New Revision: 282437 URL: https://svnweb.freebsd.org/changeset/base/282437 Log: Take from heirloom's doctools version of checknr(1) some cosmetic fixes This helps working on synchronising both tools Modified: head/usr.bin/checknr/checknr.c Modifi

svn commit: r282436 - in head: contrib/tcpdump sbin/ping usr.bin/kdump

2015-05-04 Thread Brooks Davis
Author: brooks Date: Mon May 4 21:44:51 2015 New Revision: 282436 URL: https://svnweb.freebsd.org/changeset/base/282436 Log: Remove "capability mode sandbox enabled" messages. These messages serve little purpose and break some consumers. PR: 199855 Differential Revision:

svn commit: r282435 - head/release

2015-05-04 Thread Glen Barber
Author: gjb Date: Mon May 4 21:34:19 2015 New Revision: 282435 URL: https://svnweb.freebsd.org/changeset/base/282435 Log: Remove a debugging line that snuck in with r282419. Pointyhat:gjb MFC after:3 days X-MFC-With: r282419 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r282434 - in head: contrib/openresolv sbin/resolvconf

2015-05-04 Thread Glen Barber
Author: gjb Date: Mon May 4 21:07:20 2015 New Revision: 282434 URL: https://svnweb.freebsd.org/changeset/base/282434 Log: MFV r225523, r282431: r225523 (hrs): Import openresolv-3.4.4. r282431: Import openresolv-3.7.0. PR: 199854 Submitted by: y...@rawbw.com M

Re: svn commit: r282280 - in head/sys/dev: e1000 ixgbe ixl

2015-05-04 Thread Slawa Olhovchenkov
On Mon, May 04, 2015 at 04:01:28PM -0400, John Baldwin wrote: > On Monday, May 04, 2015 09:51:25 PM Gleb Smirnoff wrote: > > John, > > > > On Mon, May 04, 2015 at 09:58:49AM -0400, John Baldwin wrote: > > J> > J> > J> So the importaing thing here is that if_get_counter() is still > > doing > >

svn commit: r282433 - head/sys/arm/conf

2015-05-04 Thread Luiz Otavio O Souza
Author: loos Date: Mon May 4 20:59:23 2015 New Revision: 282433 URL: https://svnweb.freebsd.org/changeset/base/282433 Log: In preparation for the next cycle of official ARM images, add ARM_NEW_PMAP to supported kernels. This is a temporary solution and should be reverted when ARM_NEW_PMA

svn commit: r282430 - in head/sys: conf dev/nand

2015-05-04 Thread Justin Hibbits
Author: jhibbits Date: Mon May 4 20:36:00 2015 New Revision: 282430 URL: https://svnweb.freebsd.org/changeset/base/282430 Log: Implement a driver for the PowerPC-base RouterBoard (RB333/600/800/1100) Summary: This has been tested on the RB800, but should work on the RB333, RB600, and R

Re: svn commit: r282280 - in head/sys/dev: e1000 ixgbe ixl

2015-05-04 Thread John Baldwin
On Monday, May 04, 2015 09:51:25 PM Gleb Smirnoff wrote: > John, > > On Mon, May 04, 2015 at 09:58:49AM -0400, John Baldwin wrote: > J> > J> > J> So the importaing thing here is that if_get_counter() is still > doing > J> > J> > J> per-ifnet stats. The stat you underlined above is per-queue >

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

2015-05-04 Thread Alexander Motin
Author: mav Date: Mon May 4 19:55:01 2015 New Revision: 282429 URL: https://svnweb.freebsd.org/changeset/base/282429 Log: Implement in-order execution of non-NCQ commands. Using status updates in r282364, block queue on BSY, DRQ or ERR bits set. This can be a performance penalization for

Re: svn commit: r282280 - in head/sys/dev: e1000 ixgbe ixl

2015-05-04 Thread Gleb Smirnoff
John, On Mon, May 04, 2015 at 09:58:49AM -0400, John Baldwin wrote: J> > J> > J> So the importaing thing here is that if_get_counter() is still doing J> > J> > J> per-ifnet stats. The stat you underlined above is per-queue instead. J> > J> > J> We well need more explicitly knowledge of queues

svn commit: r282426 - head/sys/vm

2015-05-04 Thread Gleb Smirnoff
Author: glebius Date: Mon May 4 18:49:25 2015 New Revision: 282426 URL: https://svnweb.freebsd.org/changeset/base/282426 Log: Fix arithmetical bug in vnode_pager_haspage(). The check against object size should be done not with the number of pages in the first block, but with the overall nu

svn commit: r282425 - in head/usr.bin/soelim: . tests

2015-05-04 Thread Baptiste Daroussin
Author: bapt Date: Mon May 4 18:20:31 2015 New Revision: 282425 URL: https://svnweb.freebsd.org/changeset/base/282425 Log: Parse filename until first space then print the rest of the line after file inclusion This is the same behaviour of heirloom's soelim Added: head/usr.bin/soelim/t

svn commit: r282424 - in head/sys: dev/usb/serial kern sys

2015-05-04 Thread Ian Lepore
Author: ian Date: Mon May 4 17:59:39 2015 New Revision: 282424 URL: https://svnweb.freebsd.org/changeset/base/282424 Log: Implement a mechanism for making changes in the kernel<->driver PPS interface without breaking ABI or API compatibility with existing drivers. The existing data struc

Re: svn commit: r282423 - head

2015-05-04 Thread Bryan Drewery
head/ObsoleteFiles.incMon May 4 17:01:51 2015 (r282423) > @@ -39,7 +39,6 @@ > # done > > # 20150504 > -OLD_FILES+=etc/libmap32.conf > OLD_LIBS+=usr/lib32/private/libatf-c++.so.2 > OLD_LIBS+=usr/lib32/private/libbsdstat.so.1 > OLD_LIBS+=usr/lib32/private/libheimipcs.

Re: svn commit: r282423 - head

2015-05-04 Thread John Baldwin
On Monday, May 04, 2015 05:01:51 PM Baptiste Daroussin wrote: > Author: bapt > Date: Mon May 4 17:01:51 2015 > New Revision: 282423 > URL: https://svnweb.freebsd.org/changeset/base/282423 > > Log: > Do not remove libmap32.conf in make delete-old as it may remove user > modified > version by

svn commit: r282423 - head

2015-05-04 Thread Baptiste Daroussin
== --- head/ObsoleteFiles.inc Mon May 4 16:59:09 2015(r282422) +++ head/ObsoleteFiles.inc Mon May 4 17:01:51 2015(r282423) @@ -39,7 +39,6 @@ # done # 20150504 -OLD_FILES+=etc/libmap32.conf

svn commit: r282422 - head/share/mk

2015-05-04 Thread Baptiste Daroussin
Author: bapt Date: Mon May 4 16:59:09 2015 New Revision: 282422 URL: https://svnweb.freebsd.org/changeset/base/282422 Log: Style fix Reported by: bdrewery Modified: head/share/mk/src.libnames.mk Modified: head/share/mk/src.libnames.mk ==

Re: svn commit: r282421 - in head: . etc

2015-05-04 Thread Bryan Drewery
head/ObsoleteFiles.incMon May 4 16:28:54 2015(r282420) > +++ head/ObsoleteFiles.incMon May 4 16:34:08 2015(r282421) > @@ -39,6 +39,7 @@ > # done > > # 20150504 > +OLD_FILES+=etc/libmap32.conf This seems dangerous. I think only files no longer useful in

Re: svn commit: r282420 - in head: . etc/mtree lib/libevent lib/libucl share/mk

2015-05-04 Thread Bryan Drewery
On 5/4/2015 11:28 AM, Baptiste Daroussin wrote: > +LIBATF_C=$(DESTDIR)$(LIBDIR)/libprivateatf-c.a > +LIBATF_CXX= $(DESTDIR)$(LIBDIR)/libprivateatf-c++.a > +LDADD_atf_c= -lprivateatf-c > +LDADD_atf_cxx= -lprivateatf-c++ > + > +.for _l in ${_PRIVATELIBS} > +LIB${_l:tu}?=${DESTDIR}$

Re: svn commit: r282318 - in head: . gnu/usr.bin/groff/src/preproc tools/build/mk usr.bin usr.bin/soelim usr.bin/soeliminate

2015-05-04 Thread Baptiste Daroussin
On Mon, May 04, 2015 at 11:39:10AM -0500, Bryan Drewery wrote: > On 5/1/2015 3:08 PM, Baptiste Daroussin wrote: > > Author: bapt > > Date: Fri May 1 20:08:25 2015 > > New Revision: 282318 > > URL: https://svnweb.freebsd.org/changeset/base/282318 > > > > Log: > > Replace groff's soelim by soelim

Re: svn commit: r282318 - in head: . gnu/usr.bin/groff/src/preproc tools/build/mk usr.bin usr.bin/soelim usr.bin/soeliminate

2015-05-04 Thread Bryan Drewery
On 5/1/2015 3:08 PM, Baptiste Daroussin wrote: > Author: bapt > Date: Fri May 1 20:08:25 2015 > New Revision: 282318 > URL: https://svnweb.freebsd.org/changeset/base/282318 > > Log: > Replace groff's soelim by soeliminate(1) renamed soelim(1) > > Added: > head/usr.bin/soelim/ > - copied

svn commit: r282421 - in head: . etc

2015-05-04 Thread Baptiste Daroussin
== --- head/ObsoleteFiles.inc Mon May 4 16:28:54 2015(r282420) +++ head/ObsoleteFiles.inc Mon May 4 16:34:08 2015(r282421) @@ -39,6 +39,7 @@ # done # 20150504 +OLD_FILES+=etc/libmap32.conf OLD_LIBS+=usr

svn commit: r282420 - in head: . etc/mtree lib/libevent lib/libucl share/mk

2015-05-04 Thread Baptiste Daroussin
/ObsoleteFiles.inc Mon May 4 16:28:54 2015(r282420) @@ -38,6 +38,29 @@ # xargs -n1 | sort | uniq -d; # done +# 20150504 +OLD_LIBS+=usr/lib32/private/libatf-c++.so.2 +OLD_LIBS+=usr/lib32/private/libbsdstat.so.1 +OLD_LIBS+=usr/lib32/private/libheimipcs.so.11 +OLD_LIBS+=usr/lib32/private

Re: svn commit: r282280 - in head/sys/dev: e1000 ixgbe ixl

2015-05-04 Thread John Baldwin
On Saturday, May 02, 2015 10:10:00 PM Gleb Smirnoff wrote: > On Fri, May 01, 2015 at 10:47:43AM -0400, John Baldwin wrote: > J> > J> > While you are here, let me remind you about this plan: > J> > J> > > J> > J> > > https://lists.freebsd.org/pipermail/svn-src-head/2014-October/063575.html > J> >

svn commit: r282419 - head/release

2015-05-04 Thread Glen Barber
Author: gjb Date: Mon May 4 15:04:39 2015 New Revision: 282419 URL: https://svnweb.freebsd.org/changeset/base/282419 Log: Add logic to detect if the net/bsdec2-image-upload port needs to be installed. [1] For the cw-ec2-portinstall and ec2ami targets, touch the .TARGET file after compl

svn commit: r282418 - head/sys/arm/arm

2015-05-04 Thread Ian Lepore
Author: ian Date: Mon May 4 14:55:21 2015 New Revision: 282418 URL: https://svnweb.freebsd.org/changeset/base/282418 Log: On an icache sync by address/len, round the length up if the operation spans a cacheline boundary. PR: 199740 Submitted by: Juergen Weiss Modified: he

svn commit: r282417 - head/lib/libc/sys

2015-05-04 Thread John Baldwin
Author: jhb Date: Mon May 4 14:47:00 2015 New Revision: 282417 URL: https://svnweb.freebsd.org/changeset/base/282417 Log: Various updates to the ftruncate(2) documentation: - Note that ftruncate(2) can operate on shared memory objects and cross reference shm_open(2). - Note that ftrunca

svn commit: r282416 - head/lib/libc/sys

2015-05-04 Thread John Baldwin
Author: jhb Date: Mon May 4 14:23:31 2015 New Revision: 282416 URL: https://svnweb.freebsd.org/changeset/base/282416 Log: Partially revert r255486, the first argument to socketpair() is a socket domain, not a file descriptor. Use 'domain' instead of the original 'd' for this argument to ma

Re: svn commit: r282415 - head/usr.sbin/ntp

2015-05-04 Thread Konstantin Belousov
On Mon, May 04, 2015 at 12:42:53PM +, Cy Schubert wrote: > Author: cy > Date: Mon May 4 12:42:52 2015 > New Revision: 282415 > URL: https://svnweb.freebsd.org/changeset/base/282415 > > Log: > Restore CPU dependent compile time conditionals. > > MFC after: 1 month (with r281143 and r28

Re: svn commit: r282415 - head/usr.sbin/ntp

2015-05-04 Thread Ian Lepore
On Mon, 2015-05-04 at 12:42 +, Cy Schubert wrote: > Author: cy > Date: Mon May 4 12:42:52 2015 > New Revision: 282415 > URL: https://svnweb.freebsd.org/changeset/base/282415 > > Log: > Restore CPU dependent compile time conditionals. > > MFC after: 1 month (with r281143 and r282408) >

svn commit: r282415 - head/usr.sbin/ntp

2015-05-04 Thread Cy Schubert
Author: cy Date: Mon May 4 12:42:52 2015 New Revision: 282415 URL: https://svnweb.freebsd.org/changeset/base/282415 Log: Restore CPU dependent compile time conditionals. MFC after:1 month (with r281143 and r282408) Modified: head/usr.sbin/ntp/config.h Modified: head/usr.sbin/ntp/co