svn commit: r302292 - head/sys/sys

2016-06-29 Thread Wojciech Macek
Author: wma Date: Thu Jun 30 05:18:37 2016 New Revision: 302292 URL: https://svnweb.freebsd.org/changeset/base/302292 Log: ARM, ARM64: Workaround for buf_ring reordering This patch offers a workaround to buf_ring reordering visible on armv7 and armv8. This is supposed to be

svn commit: r302291 - head/sys/arm64/include

2016-06-29 Thread Wojciech Macek
Author: wma Date: Thu Jun 30 04:58:19 2016 New Revision: 302291 URL: https://svnweb.freebsd.org/changeset/base/302291 Log: ARM64: fix DMAP calculation Use arithmetic operators instead of logical. This fixes DMAP ranges calculation for ThunderX Dual Socket. Obtained from:

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

2016-06-29 Thread Cy Schubert
In message <201606300132.u5u1wcua093...@repo.freebsd.org>, "Bjoern A. Zeeb" wri tes: > Author: bz > Date: Thu Jun 30 01:32:12 2016 > New Revision: 302289 > URL: https://svnweb.freebsd.org/changeset/base/302289 > > Log: > Remove unused global variables as well as unused memory > allocations

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

2016-06-29 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 30 01:33:14 2016 New Revision: 302290 URL: https://svnweb.freebsd.org/changeset/base/302290 Log: Move the ipfw_log_bpf() calls from global module initialisation to per-VNET initialisation and virtualise the interface cloning to allow a dedicated ipfw log interface

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

2016-06-29 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 30 01:32:12 2016 New Revision: 302289 URL: https://svnweb.freebsd.org/changeset/base/302289 Log: Remove unused global variables as well as unused memory allocations from ipfilter in preparation for VNET support. Suggested by: cy (see D7000) Sponsored

Re: svn commit: r302288 - head/release/tools

2016-06-29 Thread Colin Percival
On 06/29/16 17:01, Bryan Drewery wrote: > On 6/29/2016 4:56 PM, Colin Percival wrote: >> Author: cperciva >> Date: Wed Jun 29 23:56:24 2016 >> New Revision: 302288 >> URL: https://svnweb.freebsd.org/changeset/base/302288 >> >> Log: >> Enable indirect segment I/Os by default in the Xen blkfront

Re: svn commit: r302288 - head/release/tools

2016-06-29 Thread Bryan Drewery
On 6/29/2016 4:56 PM, Colin Percival wrote: > Author: cperciva > Date: Wed Jun 29 23:56:24 2016 > New Revision: 302288 > URL: https://svnweb.freebsd.org/changeset/base/302288 > > Log: > Enable indirect segment I/Os by default in the Xen blkfront driver when > running on EC2. Due to

svn commit: r302288 - head/release/tools

2016-06-29 Thread Colin Percival
Author: cperciva Date: Wed Jun 29 23:56:24 2016 New Revision: 302288 URL: https://svnweb.freebsd.org/changeset/base/302288 Log: Enable indirect segment I/Os by default in the Xen blkfront driver when running on EC2. Due to improvements in EC2, the performance penalty which was present on

svn commit: r302287 - head/sys/mips/malta

2016-06-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Jun 29 23:33:44 2016 New Revision: 302287 URL: https://svnweb.freebsd.org/changeset/base/302287 Log: Fixed FreeBSD/mips MALTA support for QEMU Recource management functions in GT PCI controller driver treated memory/IO resources as KSEG1 addresses, later during

svn commit: r302286 - head/contrib/bmake

2016-06-29 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 29 22:54:01 2016 New Revision: 302286 URL: https://svnweb.freebsd.org/changeset/base/302286 Log: Flush every line when using meta mode and no -j or with -B. Otherwise the output is buffered and it appears that make is stuck on something long-running. This

svn commit: r302285 - head/sys/modules/aic7xxx/ahd

2016-06-29 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 29 22:39:22 2016 New Revision: 302285 URL: https://svnweb.freebsd.org/changeset/base/302285 Log: WITH_META_MODE: Avoid false-positive error due to missing .meta with build commands. Sponsored by: EMC / Isilon Storage Division Approved by: re (blanket,

Re: svn commit: r302252 - head/sys/kern

2016-06-29 Thread Konstantin Belousov
On Thu, Jun 30, 2016 at 05:47:39AM +1000, Bruce Evans wrote: > On Wed, 29 Jun 2016, Konstantin Belousov wrote: > > > On Wed, Jun 29, 2016 at 05:54:43PM +0300, Konstantin Belousov wrote: > >> This is a reply to two mails in one, both for r302251 and r302252 threads. > > After removing the

Re: svn commit: r302252 - head/sys/kern

2016-06-29 Thread Bruce Evans
On Wed, 29 Jun 2016, Konstantin Belousov wrote: On Wed, Jun 29, 2016 at 05:54:43PM +0300, Konstantin Belousov wrote: This is a reply to two mails in one, both for r302251 and r302252 threads. Reply to your second reply. On Wed, Jun 29, 2016 at 05:58:05PM +1000, Bruce Evans wrote: On Tue,

svn commit: r302284 - head/sys/geom/uzip

2016-06-29 Thread Maxim Sobolev
Author: sobomax Date: Wed Jun 29 18:19:05 2016 New Revision: 302284 URL: https://svnweb.freebsd.org/changeset/base/302284 Log: 1.Improve handling around last compressed block of the file, which is necessary because CLOOP format lacks explicit EOF or length, so that in the presence of

svn commit: r302283 - head/sys/net80211

2016-06-29 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jun 29 17:25:46 2016 New Revision: 302283 URL: https://svnweb.freebsd.org/changeset/base/302283 Log: net80211: fix LOR/deadlock in ieee80211_ff_node_cleanup(). Add new lock for stageq (part of ieee80211_superg structure) and ni_tx_superg (part of ieee80211_node

Re: svn commit: r302283 - head/sys/net80211

2016-06-29 Thread Bryan Drewery
On 6/29/16 10:25 AM, Andriy Voskoboinyk wrote: > NOTE: Since this change breaks KBI, all wireless drivers need to be > recompiled. __FreeBSD_version should probably be bumped in sys/sys/param.h -- Regards, Bryan Drewery ___ svn-src-all@freebsd.org

svn commit: r302282 - head/share/mk

2016-06-29 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 29 16:45:01 2016 New Revision: 302282 URL: https://svnweb.freebsd.org/changeset/base/302282 Log: Don't warn about needing filemon for makeman. r287879 wasn't quite enough here since Makefile.inc1 is running 'make -C release -V VERSION' and hitting the

svn commit: r302281 - head/sys/cam/scsi

2016-06-29 Thread Sean Bruno
Author: sbruno Date: Wed Jun 29 16:41:37 2016 New Revision: 302281 URL: https://svnweb.freebsd.org/changeset/base/302281 Log: Correct PERSISTENT RESERVE OUT command and populate scsi_cmd->length. PR: 202625 Submitted by: niakr...@gmail.com Reviewed by: scottl kenm Approved by: re

svn commit: r302280 - head/sys/powerpc/powerpc

2016-06-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 29 16:34:56 2016 New Revision: 302280 URL: https://svnweb.freebsd.org/changeset/base/302280 Log: Fix fat-fingering: #if AIM should have been #ifdef AIM to avoid failures on Book-E kernels. Approved by: re (gjb) Pointy hat to:nwhitehorn

Re: svn commit: r302252 - head/sys/kern

2016-06-29 Thread Konstantin Belousov
On Wed, Jun 29, 2016 at 05:54:43PM +0300, Konstantin Belousov wrote: > This is a reply to two mails in one, both for r302251 and r302252 threads. > > On Wed, Jun 29, 2016 at 05:58:05PM +1000, Bruce Evans wrote: > > On Tue, 28 Jun 2016, Konstantin Belousov wrote: > > > > > Log: > > > Do not use

Re: svn commit: r302252 - head/sys/kern

2016-06-29 Thread Konstantin Belousov
This is a reply to two mails in one, both for r302251 and r302252 threads. On Wed, Jun 29, 2016 at 05:58:05PM +1000, Bruce Evans wrote: > On Tue, 28 Jun 2016, Konstantin Belousov wrote: > > > Log: > > Do not use Giant to prevent parallel calls to CLOCK_SETTIME(). Use > > private mtx in

svn commit: r302279 - in head/sys/powerpc: aim powerpc

2016-06-29 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jun 29 14:40:43 2016 New Revision: 302279 URL: https://svnweb.freebsd.org/changeset/base/302279 Log: Do not rely on firmware having pre-enabled the MMU in a reasonable way for late boot: enable it explicitly after installing the page tables. If booting from an

svn commit: r302278 - head/lib/libcxxrt

2016-06-29 Thread Ed Maste
Author: emaste Date: Wed Jun 29 11:48:42 2016 New Revision: 302278 URL: https://svnweb.freebsd.org/changeset/base/302278 Log: libcxxrt: correct mangled "typeinfo name" symbols in Version.map r260553 added missing C++ typinfos to libcxxrt's version script. It appears that a number of

svn commit: r302276 - stable/9/lib/libusb

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 11:06:13 2016 New Revision: 302276 URL: https://svnweb.freebsd.org/changeset/base/302276 Log: MFC r301956, r301957, r301964, r301966, r301968, r301969, r302080, r302125 and r302171: Added multiple new LibUSB v1.0 API functions. Streams support is

svn commit: r302275 - stable/10/lib/libusb

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:58:36 2016 New Revision: 302275 URL: https://svnweb.freebsd.org/changeset/base/302275 Log: MFC r301956, r301957, r301964, r301966, r301968, r301969, r302080, r302125 and r302171: Added multiple new LibUSB v1.0 API functions. Refer to the

svn commit: r302274 - stable/8/lib/libusb

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:47:44 2016 New Revision: 302274 URL: https://svnweb.freebsd.org/changeset/base/302274 Log: MFC r301842: Implement code to stop all USB endpoints before executing a USB device reset command, alternate setting command or set configuration command. Else

svn commit: r302273 - stable/9/lib/libusb

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:46:10 2016 New Revision: 302273 URL: https://svnweb.freebsd.org/changeset/base/302273 Log: MFC r301842: Implement code to stop all USB endpoints before executing a USB device reset command, alternate setting command or set configuration command. Else

svn commit: r302272 - stable/10/lib/libusb

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:43:31 2016 New Revision: 302272 URL: https://svnweb.freebsd.org/changeset/base/302272 Log: MFC r301842: Implement code to stop all USB endpoints before executing a USB device reset command, alternate setting command or set configuration command. Else

svn commit: r302271 - stable/10/sys/ofed/include/linux

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:40:34 2016 New Revision: 302271 URL: https://svnweb.freebsd.org/changeset/base/302271 Log: MFC r301544: Fallback to arc4rand() in the LinuxKPI when read_random() returns zero. This can happen for virtual machines. Sponsored by: Mellanox Technologies

svn commit: r302270 - in stable/10/sys/dev/mlx5: . mlx5_core mlx5_en

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:33:11 2016 New Revision: 302270 URL: https://svnweb.freebsd.org/changeset/base/302270 Log: MFC r301545: Add SR-IOV guest support to the mlx5en driver. This patch adds the missing pieces needed for device setup using the mlx5en driver inside a

svn commit: r302269 - stable/10/sys/dev/mlx5/mlx5_core

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:29:52 2016 New Revision: 302269 URL: https://svnweb.freebsd.org/changeset/base/302269 Log: MFC r302139: Use correct Q-counter output array. Sponsored by: Mellanox Technologies Modified: stable/10/sys/dev/mlx5/mlx5_core/mlx5_vport.c Directory

svn commit: r302268 - stable/8/sys/dev/usb/controller

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:25:32 2016 New Revision: 302268 URL: https://svnweb.freebsd.org/changeset/base/302268 Log: MFC r302076: Update the definition for number of scratch pages to match the latest version of the XHCI specification. Make sure the code can handle the maximum

svn commit: r302267 - stable/9/sys/dev/usb/controller

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:23:19 2016 New Revision: 302267 URL: https://svnweb.freebsd.org/changeset/base/302267 Log: MFC r302076: Update the definition for number of scratch pages to match the latest version of the XHCI specification. Make sure the code can handle the maximum

svn commit: r302266 - stable/10/sys/dev/usb/controller

2016-06-29 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 29 10:21:45 2016 New Revision: 302266 URL: https://svnweb.freebsd.org/changeset/base/302266 Log: MFC r302076: Update the definition for number of scratch pages to match the latest version of the XHCI specification. Make sure the code can handle the maximum

Re: svn commit: r302252 - head/sys/kern

2016-06-29 Thread Bruce Evans
On Tue, 28 Jun 2016, Konstantin Belousov wrote: Log: Currently the ntptime code and resettodr() are Giant-locked. In particular, the Giant is supposed to protect against parallel ntp_adjtime(2) invocations. But, for instance, sys_ntp_adjtime() does copyout(9) under Giant and then examines

Re: svn commit: r302251 - head/sys/kern

2016-06-29 Thread Bruce Evans
On Tue, 28 Jun 2016, Konstantin Belousov wrote: Log: Do not use Giant to prevent parallel calls to CLOCK_SETTIME(). Use private mtx in resettodr(), no implementation of CLOCK_SETTIME() is allowed to sleep. Thanks. As you know, clock locking is still quite broken. The most obvious bugs

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

2016-06-29 Thread Steven Hartland
Author: smh Date: Wed Jun 29 07:55:45 2016 New Revision: 302265 URL: https://svnweb.freebsd.org/changeset/base/302265 Log: Allow ZFS ARC min / max to be tuned at runtime Prior to this change ZFS ARC min / max could only be changed using boot time tunables, this allows the values to be

svn commit: r302264 - in vendor/libarchive/dist: . build/cmake libarchive libarchive/test libarchive_fe

2016-06-29 Thread Martin Matuska
Author: mm Date: Wed Jun 29 07:00:15 2016 New Revision: 302264 URL: https://svnweb.freebsd.org/changeset/base/302264 Log: Update vendor/libarchive to git 084ef320b8fc62e3fd3acb762fe6175d48d7829c Vendor issues fixed: #686: Correctly grow buffer in

svn commit: r302263 - in head/sys/dev/cxgbe: . tom

2016-06-29 Thread Navdeep Parhar
Author: np Date: Wed Jun 29 06:55:30 2016 New Revision: 302263 URL: https://svnweb.freebsd.org/changeset/base/302263 Log: cxgbe(4): Do not bring up an interface when IFCAP_TOE is enabled on it. The interface's queues are functional after VI_INIT_DONE (which is short of interface-up) and

svn commit: r302262 - in head/sys/dev/usb: . quirk

2016-06-29 Thread Conrad E. Meyer
Author: cem Date: Wed Jun 29 06:42:20 2016 New Revision: 302262 URL: https://svnweb.freebsd.org/changeset/base/302262 Log: USB: Add Garmin FR230 device quirk (broken INQUIRY) PR: 210544 Reviewed by: hps Approved by: re Modified: head/sys/dev/usb/quirk/usb_quirk.c

svn commit: r302261 - vendor/expat/2.2.0

2016-06-29 Thread Xin LI
Author: delphij Date: Wed Jun 29 06:25:23 2016 New Revision: 302261 URL: https://svnweb.freebsd.org/changeset/base/302261 Log: Tag expat 2.2.0. Added: vendor/expat/2.2.0/ - copied from r302260, vendor/expat/dist/ ___ svn-src-all@freebsd.org

svn commit: r302260 - in vendor/expat/dist: . doc examples lib tests tests/benchmark xmlwf

2016-06-29 Thread Xin LI
Author: delphij Date: Wed Jun 29 06:24:30 2016 New Revision: 302260 URL: https://svnweb.freebsd.org/changeset/base/302260 Log: Vendor import of expat 2.2.0 (trimmed). Added: vendor/expat/dist/configure.ac vendor/expat/dist/doc/xmlwf.xml - copied, changed from r302259,

svn commit: r302259 - stable/10/sys/compat/linux

2016-06-29 Thread Dmitry Chagin
Author: dchagin Date: Wed Jun 29 06:04:45 2016 New Revision: 302259 URL: https://svnweb.freebsd.org/changeset/base/302259 Log: MFC r302213: Fix a bug introduced in r283433. [1] Remove unneeded sockaddr conversion before kern_recvit() call as the from argument is used to record