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

2016-09-05 Thread Sepherosa Ziehau
Author: sephe Date: Tue Sep 6 04:37:53 2016 New Revision: 305455 URL: https://svnweb.freebsd.org/changeset/base/305455 Log: hyperv/hn: Avoid bit fields for LSOv2 setup. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7786

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

2016-09-05 Thread Sepherosa Ziehau
Author: sephe Date: Tue Sep 6 03:31:31 2016 New Revision: 305454 URL: https://svnweb.freebsd.org/changeset/base/305454 Log: hyperv/hn: Fix VLAN tag setup for outgoing VLAN packets. MFC after:1 week Sponsored by: Microsoft Differential Revision:

svn commit: r305453 - in head/sys: dev/hyperv/netvsc net

2016-09-05 Thread Sepherosa Ziehau
Author: sephe Date: Tue Sep 6 03:20:06 2016 New Revision: 305453 URL: https://svnweb.freebsd.org/changeset/base/305453 Log: hyperv/hn: Stringent RNDIS packet message length/offset check. While I'm here, use definition in net/rndis.h MFC after:1 week Sponsored by: Microsoft

Re: svn commit: r305331 - in head/sys/cddl/contrib/opensolaris/uts/common: fs/zfs fs/zfs/sys sys/fs

2016-09-05 Thread Cy Schubert
In message , Andriy Gapon wri tes: > On 05/09/2016 23:47, Andriy Gapon wrote: > > Alexander, > > > > I belive that this commit accidentally breaks the following scenario: > > zpool create tank /dev/xxx > > zpool destroy tank > > zpool create tank

svn commit: r305452 - stable/11/share/timedef

2016-09-05 Thread Kevin Lo
Author: kevlo Date: Tue Sep 6 01:10:51 2016 New Revision: 305452 URL: https://svnweb.freebsd.org/changeset/base/305452 Log: MFC r305265: Revert r304192 to fix short month names and replace %b with %_m in date_fmt for Chinese locales. As mentioned in the commit message of r289041,

svn commit: r305451 - head/contrib/netbsd-tests/lib/libc/rpc

2016-09-05 Thread Ngie Cooper
Author: ngie Date: Tue Sep 6 01:07:12 2016 New Revision: 305451 URL: https://svnweb.freebsd.org/changeset/base/305451 Log: Fix lib/libc/rpc test assumptions added in r305358 - Require root in the tcp/udp subtests (it's needed on FreeBSD when registering services). - Skip the tests

svn commit: r305450 - stable/9/contrib/one-true-awk

2016-09-05 Thread Andrey A. Chernov
Author: ache Date: Tue Sep 6 00:53:20 2016 New Revision: 305450 URL: https://svnweb.freebsd.org/changeset/base/305450 Log: MFC r305365 The bug: $ echo x | awk '/[[:cntrl:]]/' x The NUL character in cntrl class truncates the pattern, and an empty pattern matches anything. The

svn commit: r305449 - head/lib/libc/tests/db

2016-09-05 Thread Ngie Cooper
Author: ngie Date: Tue Sep 6 00:51:25 2016 New Revision: 305449 URL: https://svnweb.freebsd.org/changeset/base/305449 Log: Install h_db to unbreak some of the lib/libc/db testcases after r305358 MFC after:59 days X-MFC with: r305358 Reported by: Jenkins, rodrigc Sponsored

svn commit: r305448 - stable/11/contrib/one-true-awk

2016-09-05 Thread Andrey A. Chernov
Author: ache Date: Tue Sep 6 00:33:54 2016 New Revision: 305448 URL: https://svnweb.freebsd.org/changeset/base/305448 Log: MFC r305365 The bug: $ echo x | awk '/[[:cntrl:]]/' x The NUL character in cntrl class truncates the pattern, and an empty pattern matches anything. The

svn commit: r305447 - stable/10/contrib/one-true-awk

2016-09-05 Thread Andrey A. Chernov
Author: ache Date: Tue Sep 6 00:32:33 2016 New Revision: 305447 URL: https://svnweb.freebsd.org/changeset/base/305447 Log: MFC r305365 The bug: $ echo x | awk '/[[:cntrl:]]/' x The NUL character in cntrl class truncates the pattern, and an empty pattern matches anything. The

svn commit: r305446 - in stable/11/sys: kern vm

2016-09-05 Thread Alan Cox
Author: alc Date: Mon Sep 5 23:56:27 2016 New Revision: 305446 URL: https://svnweb.freebsd.org/changeset/base/305446 Log: MFC r304102 Eliminate unneeded vm_page_xbusy() and vm_page_xunbusy() operations when neither vm_pager_has_page() nor vm_pager_get_pages() is called. Modified:

svn commit: r305445 - head/sys/dev/iscsi

2016-09-05 Thread Navdeep Parhar
Author: np Date: Mon Sep 5 23:12:24 2016 New Revision: 305445 URL: https://svnweb.freebsd.org/changeset/base/305445 Log: Fix send/recv limit mixup. Modified: head/sys/dev/iscsi/iscsi.c Modified: head/sys/dev/iscsi/iscsi.c

svn commit: r305444 - in head/sys/dev: bhnd bhnd/bcma bhnd/bhndb bhnd/cores/pmu bhnd/siba bwn

2016-09-05 Thread Landon J. Fuller
Author: landonf Date: Mon Sep 5 22:11:46 2016 New Revision: 305444 URL: https://svnweb.freebsd.org/changeset/base/305444 Log: bhnd(4): Implement backplane interrupt handling. This adds bhnd(4) bus-level support for querying backplane interrupt vector routing, and delegating

svn commit: r305443 - head/sys/dev/bwn

2016-09-05 Thread Landon J. Fuller
Author: landonf Date: Mon Sep 5 21:55:27 2016 New Revision: 305443 URL: https://svnweb.freebsd.org/changeset/base/305443 Log: bwn(4): ignore BCM4321's unpopulated USB11 host controller core. Broadcom Intensi-fi chipsets provided a common set of IP cores; on PCI/PCIe devices, the USB11

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

2016-09-05 Thread John Baldwin
On Monday, September 05, 2016 11:09:17 AM Mark Johnston wrote: > On Mon, Sep 05, 2016 at 10:30:24AM -0700, John Baldwin wrote: > > On Sunday, September 04, 2016 12:29:49 AM Mark Johnston wrote: > > > Author: markj > > > Date: Sun Sep 4 00:29:48 2016 > > > New Revision: 305368 > > > URL:

svn commit: r305442 - head/sys/dev/bhnd

2016-09-05 Thread Landon J. Fuller
Author: landonf Date: Mon Sep 5 21:48:16 2016 New Revision: 305442 URL: https://svnweb.freebsd.org/changeset/base/305442 Log: bhnd(4): Add device classes for USB host/dev/dual-mode controller cores. Approved by: adrian (mentor, implicit) Modified: head/sys/dev/bhnd/bhnd_subr.c

svn commit: r305441 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 21:25:45 2016 New Revision: 305441 URL: https://svnweb.freebsd.org/changeset/base/305441 Log: MFC r304509 if_emac: Before generating a random MAC address, try using the SID rootkey to generate one. This is was U-Boot does to generate a random MAC so we end

Re: svn commit: r305331 - in head/sys/cddl/contrib/opensolaris/uts/common: fs/zfs fs/zfs/sys sys/fs

2016-09-05 Thread Andriy Gapon
On 05/09/2016 23:47, Andriy Gapon wrote: > Alexander, > > I belive that this commit accidentally breaks the following scenario: > zpool create tank /dev/xxx > zpool destroy tank > zpool create tank /dev/xxx > > It seems that vdev_geom code is unaware of SPA_LOAD_CREATE state and it would > try

svn commit: r305440 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 21:11:27 2016 New Revision: 305440 URL: https://svnweb.freebsd.org/changeset/base/305440 Log: MFC r303087 Add support for the SID (Security ID Module) on Allwinner A10 and A20. The rootkey is burnt at production and can't be changed, thus is can be used as

Re: svn commit: r305331 - in head/sys/cddl/contrib/opensolaris/uts/common: fs/zfs fs/zfs/sys sys/fs

2016-09-05 Thread Andriy Gapon
On 05/09/2016 23:47, Andriy Gapon wrote: > Alexander, > > I belive that this commit accidentally breaks the following scenario: > zpool create tank /dev/xxx > zpool destroy tank > zpool create tank /dev/xxx > > It seems that vdev_geom code is unaware of SPA_LOAD_CREATE state and it would > try

Re: svn commit: r305331 - in head/sys/cddl/contrib/opensolaris/uts/common: fs/zfs fs/zfs/sys sys/fs

2016-09-05 Thread Andriy Gapon
On 03/09/2016 13:04, Alexander Motin wrote: > Author: mav > Date: Sat Sep 3 10:04:37 2016 > New Revision: 305331 > URL: https://svnweb.freebsd.org/changeset/base/305331 > > Log: > MFV r304155: 7090 zfs should improve allocation order and throttle > allocations > >

svn commit: r305439 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:46:45 2016 New Revision: 305439 URL: https://svnweb.freebsd.org/changeset/base/305439 Log: MFC r304290,r304649 r304290: Only set pud settings if this is a pullup or pulldown configuration. This removes the need to set the MMC pins with pullups in our

svn commit: r305438 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:34:15 2016 New Revision: 305438 URL: https://svnweb.freebsd.org/changeset/base/305438 Log: MFC r304289 a10_gpio_get_function now returns the whole function not only GPIO_INPUT/GPIO_OUTPUT. a10_gpio_get_pud now returns the whole pud not only

svn commit: r305437 - stable/11/sys/arm/allwinner/a20

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:29:04 2016 New Revision: 305437 URL: https://svnweb.freebsd.org/changeset/base/305437 Log: MFC r303186 PC5 doesn't have mmc2 function. Modified: stable/11/sys/arm/allwinner/a20/a20_padconf.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r305436 - in stable/11/sys: arm/allwinner arm/allwinner/a13 arm/allwinner/clk arm/conf conf

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:17:18 2016 New Revision: 305436 URL: https://svnweb.freebsd.org/changeset/base/305436 Log: MFC r302472 Add support for Allwinner A13. Reviewed by: jmcneill Relnotes: yes Differential Revision:https://reviews.freebsd.org/D6809 Added:

svn commit: r305435 - stable/11/sys/arm/allwinner

2016-09-05 Thread Emmanuel Vadot
Author: manu Date: Mon Sep 5 20:07:03 2016 New Revision: 305435 URL: https://svnweb.freebsd.org/changeset/base/305435 Log: MFC r302470 Check that the pin function exists before setting it. This is needed for Allwinner A13 which has gpio pins with only "out" function. Modified:

svn commit: r305434 - head/sys/dev/usb/wlan

2016-09-05 Thread Andriy Voskoboinyk
Author: avos Date: Mon Sep 5 19:42:35 2016 New Revision: 305434 URL: https://svnweb.freebsd.org/changeset/base/305434 Log: rum: do not restart device when protmode / rtsthreshold is changed. Modified: head/sys/dev/usb/wlan/if_rum.c Modified: head/sys/dev/usb/wlan/if_rum.c

svn commit: r305433 - head/sys/dev/cxgbe/tom

2016-09-05 Thread Navdeep Parhar
Author: np Date: Mon Sep 5 19:37:47 2016 New Revision: 305433 URL: https://svnweb.freebsd.org/changeset/base/305433 Log: cxgbe/t4_tom: toepcb should be all-zero on allocation because the code that cleans up on failure assumes that non-NULL values indicate initialized items. Sponsored

svn commit: r305432 - in head/sys/arm/ti: am335x cpsw

2016-09-05 Thread Luiz Otavio O Souza
Author: loos Date: Mon Sep 5 18:42:21 2016 New Revision: 305432 URL: https://svnweb.freebsd.org/changeset/base/305432 Log: Revert r305119, move the control module register data to am335x_scm.h and fix if_cpsw.c to include the correct header. Discussed with: bz Modified:

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

2016-09-05 Thread Mark Johnston
On Mon, Sep 05, 2016 at 10:30:24AM -0700, John Baldwin wrote: > On Sunday, September 04, 2016 12:29:49 AM Mark Johnston wrote: > > Author: markj > > Date: Sun Sep 4 00:29:48 2016 > > New Revision: 305368 > > URL: https://svnweb.freebsd.org/changeset/base/305368 > > > > Log: > > Micro-optimize

svn commit: r305430 - head/contrib/gcclibs/libcpp

2016-09-05 Thread Dimitry Andric
Author: dim Date: Mon Sep 5 18:02:37 2016 New Revision: 305430 URL: https://svnweb.freebsd.org/changeset/base/305430 Log: Define libcpp's HAVE_DESIGNATED_INITIALIZERS in a defined and portable way. MFC after:3 days Modified: head/contrib/gcclibs/libcpp/system.h Modified:

svn commit: r305429 - in stable/9/usr.sbin/cron: cron crontab

2016-09-05 Thread Ed Maste
Author: emaste Date: Mon Sep 5 17:56:52 2016 New Revision: 305429 URL: https://svnweb.freebsd.org/changeset/base/305429 Log: MFC r305269: cron: use existing maximum username constant MAXLOGNAME Previously cron had its own maximum username length limit, which was smaller than the

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

2016-09-05 Thread John Baldwin
On Sunday, September 04, 2016 12:29:49 AM Mark Johnston wrote: > Author: markj > Date: Sun Sep 4 00:29:48 2016 > New Revision: 305368 > URL: https://svnweb.freebsd.org/changeset/base/305368 > > Log: > Micro-optimize sleepq_signal(). > > Lift a comparison out of the loop that finds the

svn commit: r305427 - in releng/11.0/usr.sbin/cron: cron crontab

2016-09-05 Thread Ed Maste
Author: emaste Date: Mon Sep 5 16:43:57 2016 New Revision: 305427 URL: https://svnweb.freebsd.org/changeset/base/305427 Log: MFS r305423: cron: use existing maximum username constant MAXLOGNAME Previously cron had its own maximum username length limit, which was smaller than the

svn commit: r305426 - in head/sys: dev/bhnd/cores/usb mips/broadcom mips/conf

2016-09-05 Thread Michael Zhilin
Author: mizhka Date: Mon Sep 5 16:06:52 2016 New Revision: 305426 URL: https://svnweb.freebsd.org/changeset/base/305426 Log: [BHND/USB] Port of EHCI/OHCI support from ZRouter This patch adds driver implementation for BHND USB core. Driver has been imported from ZRouter project with

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

2016-09-05 Thread Mark Johnston
Author: markj Date: Mon Sep 5 16:04:40 2016 New Revision: 305425 URL: https://svnweb.freebsd.org/changeset/base/305425 Log: Remove an unreachable return state from ARM's minidumpsys(). Submitted by: Dominik Ermel MFC after:3 days Differential Revision:

svn commit: r305424 - in stable/10/usr.sbin/cron: cron crontab

2016-09-05 Thread Ed Maste
Author: emaste Date: Mon Sep 5 15:50:40 2016 New Revision: 305424 URL: https://svnweb.freebsd.org/changeset/base/305424 Log: MFC r305269: cron: use existing maximum username constant MAXLOGNAME Previously cron had its own maximum username length limit, which was smaller than the

svn commit: r305423 - in stable/11/usr.sbin/cron: cron crontab

2016-09-05 Thread Ed Maste
Author: emaste Date: Mon Sep 5 15:43:22 2016 New Revision: 305423 URL: https://svnweb.freebsd.org/changeset/base/305423 Log: MFC r305269: cron: use existing maximum username constant MAXLOGNAME Previously cron had its own maximum username length limit, which was smaller than the

svn commit: r305422 - in head: contrib/libarchive contrib/libarchive/libarchive contrib/libarchive/libarchive/test lib/libarchive

2016-09-05 Thread Martin Matuska
Author: mm Date: Mon Sep 5 15:40:41 2016 New Revision: 305422 URL: https://svnweb.freebsd.org/changeset/base/305422 Log: MFV r305420: Sync libarchive with vendor Vendor issues fixed: PR #777: Multiple bugfixes for setup_acls() This includes a bugfix for a bug that caused ACLs not

svn commit: r305421 - in head/sys: dev/usb dev/usb/template sys

2016-09-05 Thread Hans Petter Selasky
Author: hselasky Date: Mon Sep 5 15:35:58 2016 New Revision: 305421 URL: https://svnweb.freebsd.org/changeset/base/305421 Log: Resolve deadlock between device_detach() and usbd_do_request_flags() by reviving the SX control request lock and refining which lock protects the common scratch

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

2016-09-05 Thread Martin Matuska
Author: mm Date: Mon Sep 5 15:20:55 2016 New Revision: 305420 URL: https://svnweb.freebsd.org/changeset/base/305420 Log: Update vendor/libarchive to git b4099917d6893ed77af24caff1156e044ebd4fa5 Vendor issues fixed: PR #777: Multiple bugfixes for setup_acls() This fixes a bug that

svn commit: r305419 - in head/sys/arm: allwinner conf

2016-09-05 Thread Jared McNeill
Author: jmcneill Date: Mon Sep 5 13:45:45 2016 New Revision: 305419 URL: https://svnweb.freebsd.org/changeset/base/305419 Log: Add sy8106a to Allwinner kernel. This regulator is used to control VDD_CPUX and is connected to R_TWI on some H3-based Orange Pi boards. Modified:

svn commit: r305418 - head/sys/dev/iicbus

2016-09-05 Thread Jared McNeill
Author: jmcneill Date: Mon Sep 5 13:39:54 2016 New Revision: 305418 URL: https://svnweb.freebsd.org/changeset/base/305418 Log: Add driver for Silergy Corp. SY8106A buck regulator. Added: head/sys/dev/iicbus/sy8106a.c (contents, props changed) Added: head/sys/dev/iicbus/sy8106a.c

svn commit: r305417 - head/sys/arm/allwinner/clk

2016-09-05 Thread Jared McNeill
Author: jmcneill Date: Mon Sep 5 12:36:54 2016 New Revision: 305417 URL: https://svnweb.freebsd.org/changeset/base/305417 Log: Add support for Allwinner H3 PLL_CPUX. The H3 PLL_CPUX register looks exactly like the one found in A23, but we need to follow a specific protocol when making

svn commit: r305416 - in head/sys/arm/allwinner: . clk

2016-09-05 Thread Jared McNeill
Author: jmcneill Date: Mon Sep 5 11:05:14 2016 New Revision: 305416 URL: https://svnweb.freebsd.org/changeset/base/305416 Log: Add support for the Allwinner H3 Thermal Sensor Controller. The H3 embeds a single thermal sensor located in the CPU. Modified:

svn commit: r305415 - head/usr.sbin/bsdinstall/partedit

2016-09-05 Thread Wojciech Macek
Author: wma Date: Mon Sep 5 08:42:36 2016 New Revision: 305415 URL: https://svnweb.freebsd.org/changeset/base/305415 Log: bsdinstall: add warning when unsupported partition is modified Right now is possible to modify bootable partition type to non-bootable type without getting warning

svn commit: r305414 - in head: contrib/top usr.bin/top

2016-09-05 Thread Dag-Erling Smørgrav
Author: des Date: Mon Sep 5 08:27:04 2016 New Revision: 305414 URL: https://svnweb.freebsd.org/changeset/base/305414 Log: Add a toggle to display the approximate amount of swap used by each process. We don't *quite* pull that number out of our backside, as the actual number is difficult

svn commit: r305413 - head/lib/libc/stdio

2016-09-05 Thread Andrey A. Chernov
Author: ache Date: Mon Sep 5 06:46:04 2016 New Revision: 305413 URL: https://svnweb.freebsd.org/changeset/base/305413 Log: Fix error handling. MFC after: 3 days Modified: head/lib/libc/stdio/fgets.c Modified: head/lib/libc/stdio/fgets.c

svn commit: r305412 - head/lib/libc/stdio

2016-09-05 Thread Andrey A. Chernov
Author: ache Date: Mon Sep 5 06:10:51 2016 New Revision: 305412 URL: https://svnweb.freebsd.org/changeset/base/305412 Log: Fix n == 1 case. Here should be no physical read (fill buffer) attempt (we read n - 1 chars with the room for NUL, see fgets()), and no NULL return. MFC after: