svn commit: r318520 - head/sys/dev/xen/blkfront

2017-05-19 Thread Roger Pau Monné
Author: royger Date: Fri May 19 08:11:15 2017 New Revision: 318520 URL: https://svnweb.freebsd.org/changeset/base/318520 Log: xen/blkfront: correctly detach a disk with active users Call disk_gone when the backend switches to the "Closing" state and blkfront still has pending users. This

svn commit: r318521 - head/sys/dev/etherswitch/e6000sw

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:16:47 2017 New Revision: 318521 URL: https://svnweb.freebsd.org/changeset/base/318521 Log: Improve busy-wait loop during switch phy access in e6000sw Hitherto implementation of PHY polling resulted in a risk of an endless loop and very high occupation of th

svn commit: r318523 - head/sys/dev/xen/netfront

2017-05-19 Thread Roger Pau Monné
Author: royger Date: Fri May 19 08:19:51 2017 New Revision: 318523 URL: https://svnweb.freebsd.org/changeset/base/318523 Log: xen/netfront: don't drop the ring RX lock with inconsistent ring state Make sure the RX ring lock is only released when the state of the ring is consistent, or els

svn commit: r318522 - in head/sys: arm/mv dev/cesa

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:19:39 2017 New Revision: 318522 URL: https://svnweb.freebsd.org/changeset/base/318522 Log: Enable proper configuration of CESA MBUS windows For all Marvell devices, MBUS windows configuration is done in a common place. Only CESA was an exception, so move it

svn commit: r318524 - head/sys/dev/etherswitch/e6000sw

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:24:23 2017 New Revision: 318524 URL: https://svnweb.freebsd.org/changeset/base/318524 Log: Poll PHY status using internal e6000sw registers e6000sw family automatically reflects PHY status in each port's registers. Therefore it is not necessary to do a full

svn commit: r318525 - head/sys/arm/mv

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:25:40 2017 New Revision: 318525 URL: https://svnweb.freebsd.org/changeset/base/318525 Log: Fix MPIC mask/unmask Before the fix for single interrupt, both percpu and non-percpu routes were enabled/disable at the same time. Submitted by: Marcin Wojtas h

svn commit: r318526 - head/sys/arm/mv/armada38x

2017-05-19 Thread Wojciech Macek
Author: wma Date: Fri May 19 08:26:41 2017 New Revision: 318526 URL: https://svnweb.freebsd.org/changeset/base/318526 Log: Fix boot up on ARMADA38X uniprocessor variant Marvell Armada 380 is a uni-processor variant of the 38x SoC family. A function platform_mp_setmaxid() was setting a har

svn commit: r318527 - head/sys/netpfil/ipfw

2017-05-19 Thread Don Lewis
Author: truckman Date: Fri May 19 08:38:03 2017 New Revision: 318527 URL: https://svnweb.freebsd.org/changeset/base/318527 Log: Fix the queue delay estimation in PIE/FQ-PIE when the timestamp (TS) method is used. When packet timestamp is used, the "current_qdelay" keeps storing the last que

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

2017-05-19 Thread Michal Meloun
Author: mmel Date: Fri May 19 11:45:14 2017 New Revision: 318530 URL: https://svnweb.freebsd.org/changeset/base/318530 Log: Increase maximum text segment size. LLVM binaries are huge... MFC after:3 days Modified: head/sys/arm/include/vmparam.h Modified: head/sys/arm/include/vmpara

svn commit: r318531 - head/sys/dev/mlx4/mlx4_core

2017-05-19 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 19 12:22:48 2017 New Revision: 318531 URL: https://svnweb.freebsd.org/changeset/base/318531 Log: mlx4: Use the CQ quota for SRIOV when creating completion EQs When creating EQs to handle CQ completion events for the PF or for VFs, we create enough EQE entrie

svn commit: r318539 - head/lib/libthr/thread

2017-05-19 Thread Eric van Gyzen
Author: vangyzen Date: Fri May 19 13:04:05 2017 New Revision: 318539 URL: https://svnweb.freebsd.org/changeset/base/318539 Log: libthr: fix warnings at WARNS=6 Fix warnings about the following when WARNS=6 (which I will commit soon): - casting away const - no previous 'extern' declar

Re: svn commit: r318441 - in head/etc: . cron.d

2017-05-19 Thread John Baldwin
On Thursday, May 18, 2017 11:24:29 PM Baptiste Daroussin wrote: > On Thu, May 18, 2017 at 09:48:25AM -0700, John Baldwin wrote: > > On Thursday, May 18, 2017 03:09:32 PM Baptiste Daroussin wrote: > > > On Thu, May 18, 2017 at 02:56:31AM -0700, Rodney W. Grimes wrote: > > > > > Author: ngie > > > >

Re: svn commit: r318441 - in head/etc: . cron.d

2017-05-19 Thread Baptiste Daroussin
On Fri, May 19, 2017 at 09:17:23AM -0700, John Baldwin wrote: > On Thursday, May 18, 2017 11:24:29 PM Baptiste Daroussin wrote: > > On Thu, May 18, 2017 at 09:48:25AM -0700, John Baldwin wrote: > > > On Thursday, May 18, 2017 03:09:32 PM Baptiste Daroussin wrote: > > > > On Thu, May 18, 2017 at 02:

svn commit: r318545 - head/etc

2017-05-19 Thread Ngie Cooper
Author: ngie Date: Fri May 19 17:04:01 2017 New Revision: 318545 URL: https://svnweb.freebsd.org/changeset/base/318545 Log: Install {cron.d,newsyslog.conf.d,syslog.d} via `make distribution`, not `make install` I incorrectly started this pattern in r277541 with the opensm newsyslog.conf.d

svn commit: r318546 - in head: contrib/netbsd-tests/fs/tmpfs tests/sys/fs/tmpfs

2017-05-19 Thread Ngie Cooper
Author: ngie Date: Fri May 19 17:14:29 2017 New Revision: 318546 URL: https://svnweb.freebsd.org/changeset/base/318546 Log: sys/fs/tmpfs/vnd_test: make md(4) allocation dynamic The previous logic was flawed in the sense that it assumed that /dev/md3 was always available. This was a caveat

pkgbase and conf files (was Re: svn commit: r318441 - in head/etc: . cron.d)

2017-05-19 Thread John Baldwin
On Friday, May 19, 2017 06:33:55 PM Baptiste Daroussin wrote: > On Fri, May 19, 2017 at 09:17:23AM -0700, John Baldwin wrote: > > On Thursday, May 18, 2017 11:24:29 PM Baptiste Daroussin wrote: > > I think an upgrade won't bring the file back necessarily (etcupdate warns > > you > > that a removed

svn commit: r318548 - head/sys/fs/msdosfs

2017-05-19 Thread Ed Maste
Author: emaste Date: Fri May 19 18:13:41 2017 New Revision: 318548 URL: https://svnweb.freebsd.org/changeset/base/318548 Log: msdosfs: use C99 types General cleanup, for diff reduction with NetBSD and future use by FAT support in makefs. Submitted by: Siva Mahadevan Obtained from:

svn commit: r318550 - head/usr.sbin/devctl

2017-05-19 Thread Maxim Konovalov
Author: maxim Date: Fri May 19 20:02:32 2017 New Revision: 318550 URL: https://svnweb.freebsd.org/changeset/base/318550 Log: o Missed flag restored. PR: 219395 Submitted by: Tiwei Bie Modified: head/usr.sbin/devctl/devctl.8 Modified: head/usr.sbin/devctl/devctl.8 ===

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

2017-05-19 Thread John Baldwin
Author: jhb Date: Fri May 19 22:54:45 2017 New Revision: 318562 URL: https://svnweb.freebsd.org/changeset/base/318562 Log: Exclude ccr(4) from arm LINT since it excludes cxgbe(4). Modified: head/sys/arm/conf/NOTES Modified: head/sys/arm/conf/NOTES

svn commit: r318565 - head/usr.bin/grep

2017-05-19 Thread Ed Maste
Author: emaste Date: Sat May 20 00:42:47 2017 New Revision: 318565 URL: https://svnweb.freebsd.org/changeset/base/318565 Log: bsdgrep: fix segfault with --mmap r313948 partially fixed --mmap behavior but was incomplete. This commit generally reverts it and does it the more correct way- b

svn commit: r318566 - head/sys/net80211

2017-05-19 Thread Adrian Chadd
Author: adrian Date: Sat May 20 00:43:52 2017 New Revision: 318566 URL: https://svnweb.freebsd.org/changeset/base/318566 Log: [net80211] prepare for A-MSDU/A-MPDU offload crypto / sequence number checking. When doing AMSDU offload, the driver (for now!) presents 802.11 frames with the sa

svn commit: r318571 - in head: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2017-05-19 Thread Ed Maste
Author: emaste Date: Sat May 20 03:51:31 2017 New Revision: 318571 URL: https://svnweb.freebsd.org/changeset/base/318571 Log: bsdgrep: emit more than MAX_LINE_MATCHES per line We should not set an arbitrary cap on the number of matches on a line, and in any case MAX_LINE_MATCHES of 32 is