svn commit: r321761 - stable/10/sys/dev/hyperv/netvsc

2017-07-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 31 06:53:43 2017 New Revision: 321761 URL: https://svnweb.freebsd.org/changeset/base/321761 Log: MFC 321409 hyperv/hn: Ignore LINK_SPEED_CHANGE status. This status will be reported if the backend NIC is wireless; it's not useful. Due to the hi

svn commit: r321760 - stable/10/sys/net

2017-07-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 31 06:40:09 2017 New Revision: 321760 URL: https://svnweb.freebsd.org/changeset/base/321760 Log: MFC 321408 rndis: Add LINK_SPEED_CHANGE status Reviewed by:hselasky Sponsored by: Microsoft Differential Revision: https://reviews.fre

svn commit: r321759 - stable/10/sys/dev/hyperv/netvsc

2017-07-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 31 06:27:43 2017 New Revision: 321759 URL: https://svnweb.freebsd.org/changeset/base/321759 Log: MFC 321407 hyperv/hn: Export VF list and VF-HN mapping The VF-HN map will be used later on to implement "transparent VF". Sponsored by: Micros

Re: svn commit: r321605 - head/contrib/ipfilter

2017-07-30 Thread Cy Schubert
In message <201707310527.v6v5rdrj004...@slippy.cwsent.com>, Cy Schubert writes: > Cy Schubert writes: > > In message <59e80a44-d9de-5081-9eda-f068188b8...@delphij.net>, Xin Li > > writes: > > > On 7/26/17 23:26, Cy Schubert wrote: > > > > Author: cy > > > > Date: Thu Jul 27 06:26:15 2017 > > > >

Re: svn commit: r321605 - head/contrib/ipfilter

2017-07-30 Thread Cy Schubert
Cy Schubert writes: > In message <59e80a44-d9de-5081-9eda-f068188b8...@delphij.net>, Xin Li > writes: > > On 7/26/17 23:26, Cy Schubert wrote: > > > Author: cy > > > Date: Thu Jul 27 06:26:15 2017 > > > New Revision: 321605 > > > URL: https://svnweb.freebsd.org/changeset/base/321605 > > >=20 > > >

Re: svn commit: r321605 - head/contrib/ipfilter

2017-07-30 Thread Cy Schubert
In message <59e80a44-d9de-5081-9eda-f068188b8...@delphij.net>, Xin Li writes: > On 7/26/17 23:26, Cy Schubert wrote: > > Author: cy > > Date: Thu Jul 27 06:26:15 2017 > > New Revision: 321605 > > URL: https://svnweb.freebsd.org/changeset/base/321605 > >=20 > > Log: > > As in r315225, discard 307

svn commit: r321755 - in stable/10: contrib/atf/atf-sh libexec/atf/atf-sh

2017-07-30 Thread Ngie Cooper
Author: ngie Date: Mon Jul 31 03:59:07 2017 New Revision: 321755 URL: https://svnweb.freebsd.org/changeset/base/321755 Log: MFC r320491: atf-sh(3): document atf_init_test_cases(3) fully The function was missing from the NAME/SYNOPSIS sections. Add a manpage link to complete the docum

svn commit: r321754 - in stable/11: contrib/atf/atf-sh libexec/atf/atf-sh

2017-07-30 Thread Ngie Cooper
Author: ngie Date: Mon Jul 31 03:58:58 2017 New Revision: 321754 URL: https://svnweb.freebsd.org/changeset/base/321754 Log: MFC r320491: atf-sh(3): document atf_init_test_cases(3) fully The function was missing from the NAME/SYNOPSIS sections. Add a manpage link to complete the docum

svn commit: r321753 - in stable/10/share/examples/tests/tests: atf plain

2017-07-30 Thread Ngie Cooper
Author: ngie Date: Mon Jul 31 03:57:45 2017 New Revision: 321753 URL: https://svnweb.freebsd.org/changeset/base/321753 Log: MFC Note: ${FILES} documentation change omitted since r299094 will not be MFCed to ^/stable/10 . MFC r320442: share/examples/tests/{atf,plain}

svn commit: r321752 - stable/10/sys/net

2017-07-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 31 03:49:08 2017 New Revision: 321752 URL: https://svnweb.freebsd.org/changeset/base/321752 Log: MFC 321406 ethernet: Add ethernet interface attached event and devctl notification. ifnet_arrival_event may not be adequate under certain situation; e.g.

Re: svn commit: r321605 - head/contrib/ipfilter

2017-07-30 Thread Xin Li
On 7/26/17 23:26, Cy Schubert wrote: > Author: cy > Date: Thu Jul 27 06:26:15 2017 > New Revision: 321605 > URL: https://svnweb.freebsd.org/changeset/base/321605 > > Log: > As in r315225, discard 3072 bytes of RC4 bytestream instead of 1024. > > PR: 217920 > Submitted by:

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

2017-07-30 Thread Ian Lepore
Author: ian Date: Mon Jul 31 03:19:16 2017 New Revision: 321751 URL: https://svnweb.freebsd.org/changeset/base/321751 Log: Remove now-unused variable. Modified: head/sys/dev/iicbus/ds1307.c Modified: head/sys/dev/iicbus/ds1307.c ===

svn commit: r321750 - stable/11/sys/dev/hyperv/netvsc

2017-07-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 31 03:04:39 2017 New Revision: 321750 URL: https://svnweb.freebsd.org/changeset/base/321750 Log: MFC 321409 hyperv/hn: Ignore LINK_SPEED_CHANGE status. This status will be reported if the backend NIC is wireless; it's not useful. Due to the hi

svn commit: r321749 - stable/11/sys/net

2017-07-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 31 02:57:39 2017 New Revision: 321749 URL: https://svnweb.freebsd.org/changeset/base/321749 Log: MFC 321408 rndis: Add LINK_SPEED_CHANGE status Reviewed by:hselasky Sponsored by: Microsoft Differential Revision: https://reviews.fre

svn commit: r321748 - stable/11/sys/dev/hyperv/netvsc

2017-07-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 31 02:48:18 2017 New Revision: 321748 URL: https://svnweb.freebsd.org/changeset/base/321748 Log: MFC 321407 hyperv/hn: Export VF list and VF-HN mapping The VF-HN map will be used later on to implement "transparent VF". Sponsored by: Micros

svn commit: r321747 - stable/11/sys/net

2017-07-30 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jul 31 02:33:49 2017 New Revision: 321747 URL: https://svnweb.freebsd.org/changeset/base/321747 Log: MFC 321406 ethernet: Add ethernet interface attached event and devctl notification. ifnet_arrival_event may not be adequate under certain situation; e.g.

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

2017-07-30 Thread Ian Lepore
Author: ian Date: Mon Jul 31 01:36:51 2017 New Revision: 321746 URL: https://svnweb.freebsd.org/changeset/base/321746 Log: Use the new clock_schedule() to arrange for clock_settime() to be called at the right time to keep the RTC hardware time in sync, instead of using pause_sbt() to sleep u

svn commit: r321745 - in head/sys: kern sys

2017-07-30 Thread Ian Lepore
Author: ian Date: Mon Jul 31 01:18:21 2017 New Revision: 321745 URL: https://svnweb.freebsd.org/changeset/base/321745 Log: Add clock_schedule(), a feature that allows realtime clock drivers to request that their clock_settime() methods be called at a given offset from top-of-second. This ad

svn commit: r321744 - head/sys/kern

2017-07-30 Thread Mark Johnston
Author: markj Date: Mon Jul 31 00:59:28 2017 New Revision: 321744 URL: https://svnweb.freebsd.org/changeset/base/321744 Log: Correct the predicates on which lockstat:::{thread,spin}-spin fire. In particular, they should fire only if the lock was owned by another thread when we first attem

svn commit: r321743 - in head: share/man/man9 sys/kern sys/sys

2017-07-30 Thread Ian Lepore
Author: ian Date: Mon Jul 31 00:54:50 2017 New Revision: 321743 URL: https://svnweb.freebsd.org/changeset/base/321743 Log: Add taskqueue_enqueue_timeout_sbt(), because sometimes you want more control over the scheduling precision than 'ticks' can offer, and because sometimes you're already w

svn commit: r321742 - stable/10/sys/dev/ksyms

2017-07-30 Thread Mark Johnston
Author: markj Date: Mon Jul 31 00:41:05 2017 New Revision: 321742 URL: https://svnweb.freebsd.org/changeset/base/321742 Log: MFC r321640: Fix style bugs in ksyms.c. Modified: stable/10/sys/dev/ksyms/ksyms.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/ks

svn commit: r321741 - stable/11/sys/dev/ksyms

2017-07-30 Thread Mark Johnston
Author: markj Date: Mon Jul 31 00:40:14 2017 New Revision: 321741 URL: https://svnweb.freebsd.org/changeset/base/321741 Log: MFC r321640: Fix style bugs in ksyms.c. Modified: stable/11/sys/dev/ksyms/ksyms.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/ks

svn commit: r321740 - stable/10/sys/dev/ksyms

2017-07-30 Thread Mark Johnston
Author: markj Date: Mon Jul 31 00:39:22 2017 New Revision: 321740 URL: https://svnweb.freebsd.org/changeset/base/321740 Log: MFC r321639: Restrict permissions on /dev/ksyms to 0400. Modified: stable/10/sys/dev/ksyms/ksyms.c Directory Properties: stable/10/ (props changed) Modified: sta

svn commit: r321739 - stable/11/sys/dev/ksyms

2017-07-30 Thread Mark Johnston
Author: markj Date: Mon Jul 31 00:35:21 2017 New Revision: 321739 URL: https://svnweb.freebsd.org/changeset/base/321739 Log: MFC r321639: Restrict permissions on /dev/ksyms to 0400. Modified: stable/11/sys/dev/ksyms/ksyms.c Directory Properties: stable/11/ (props changed) Modified: sta

svn commit: r321738 - stable/11/sbin/savecore

2017-07-30 Thread Mark Johnston
Author: markj Date: Mon Jul 31 00:34:36 2017 New Revision: 321738 URL: https://svnweb.freebsd.org/changeset/base/321738 Log: MFC r321437: Fix style and wrap lines to 80 columns in savecore.c. Modified: stable/11/sbin/savecore/savecore.c Directory Properties: stable/11/ (props changed)

svn commit: r321737 - head/sys/dev/mpr

2017-07-30 Thread Scott Long
Author: scottl Date: Mon Jul 31 00:05:49 2017 New Revision: 321737 URL: https://svnweb.freebsd.org/changeset/base/321737 Log: Don't re-parse PCI IDs in order to set card-specific flags, use the flags field in the PCIID table. Modified: head/sys/dev/mpr/mpr_pci.c Modified: head/sys/

svn commit: r321736 - head/share/man/man4

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Mon Jul 31 00:03:42 2017 New Revision: 321736 URL: https://svnweb.freebsd.org/changeset/base/321736 Log: rtwn(4): refresh manpage - Remove 'if_rtwn_load="YES"' line from loader.conf; the module was renamed in r319733 + it will be loaded automatically as a dependency.

svn commit: r321735 - in head/sys/dev/rtwn: . usb

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 23:35:21 2017 New Revision: 321735 URL: https://svnweb.freebsd.org/changeset/base/321735 Log: rtwn_usb: add support for fragmented Rx. Since device can pass multiple frames in a single payload temporary Rx buffer was big enough to hold all of them; now the dr

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

2017-07-30 Thread Ed Maste
Author: emaste Date: Sun Jul 30 23:15:30 2017 New Revision: 321734 URL: https://svnweb.freebsd.org/changeset/base/321734 Log: bsdinstall: default to UEFI-only boot on arm64 Reviewed by: allanjude Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D

svn commit: r321733 - in head/sys/dev: mpr mps

2017-07-30 Thread Scott Long
Author: scottl Date: Sun Jul 30 22:34:24 2017 New Revision: 321733 URL: https://svnweb.freebsd.org/changeset/base/321733 Log: Change from using underbar function names to normal function names for the informational print functions. Collapse the debug API a bit to be more generic and not req

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

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 22:17:08 2017 New Revision: 321732 URL: https://svnweb.freebsd.org/changeset/base/321732 Log: zyd: code cleanup + drop unneeded cast. No functional change intended. Modified: head/sys/dev/usb/wlan/if_zyd.c Modified: head/sys/dev/usb/wlan/if_zyd.c ==

svn commit: r321730 - in head/sys: amd64/amd64 i386/i386

2017-07-30 Thread Konstantin Belousov
Author: kib Date: Sun Jul 30 21:52:22 2017 New Revision: 321730 URL: https://svnweb.freebsd.org/changeset/base/321730 Log: Remove unused symbols. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/amd64/amd64/genassym.c head/sys/i386/i386/genassym.c Modifie

svn commit: r321729 - head/sys/dev/rtwn/rtl8188e

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 21:50:45 2017 New Revision: 321729 URL: https://svnweb.freebsd.org/changeset/base/321729 Log: rtwn: drop unnecessary / wrong conversion. The 'chan' field occupies only one byte. Modified: head/sys/dev/rtwn/rtl8188e/r88e_rx.c Modified: head/sys/dev/rtwn/rtl8

svn commit: r321728 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2017-07-30 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 30 21:24:20 2017 New Revision: 321728 URL: https://svnweb.freebsd.org/changeset/base/321728 Log: Avoid using [LINUX_]SHAREDPAGE constant directly in the vdso code. This is needed for https://reviews.freebsd.org/D11780. Reported by: kib@ Modified: head/sys

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

2017-07-30 Thread Ian Lepore
Author: ian Date: Sun Jul 30 19:58:31 2017 New Revision: 321727 URL: https://svnweb.freebsd.org/changeset/base/321727 Log: Fix AM/PM mode handling. The bits to mask off in the hours register changes between 12/24 hour mode. Also fix conversion between 12 and 24 hour mode. It's not as easy

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

2017-07-30 Thread Ian Lepore
Author: ian Date: Sun Jul 30 18:46:38 2017 New Revision: 321726 URL: https://svnweb.freebsd.org/changeset/base/321726 Log: Bugfixes and enhancements... Don't enable the oscillator when it is found to be stopped at init time, just let the first setting of valid time start it. But still re

svn commit: r321725 - stable/10/sys/net80211

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 18:38:05 2017 New Revision: 321725 URL: https://svnweb.freebsd.org/changeset/base/321725 Log: MFC r321401: net80211: do not allow to unload rate control module if it is still in use. Keep 'nrefs' counter up-to-date, so 'kldunload wlan_amrr' with 1+ active w

svn commit: r321724 - stable/11/sys/net80211

2017-07-30 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jul 30 18:29:28 2017 New Revision: 321724 URL: https://svnweb.freebsd.org/changeset/base/321724 Log: MFC r321401: net80211: do not allow to unload rate control module if it is still in use. Keep 'nrefs' counter up-to-date, so 'kldunload wlan_amrr' with 1+ active w

svn commit: r321723 - in head: contrib/llvm/include/llvm/CodeGen/GlobalISel contrib/llvm/include/llvm/Support contrib/llvm/include/llvm/Transforms/Utils contrib/llvm/lib/CodeGen contrib/llvm/lib/Co...

2017-07-30 Thread Dimitry Andric
Author: dim Date: Sun Jul 30 18:01:34 2017 New Revision: 321723 URL: https://svnweb.freebsd.org/changeset/base/321723 Log: Upgrade our copies of clang, llvm, lld and lldb to r309439 from the upstream release_50 branch. This is just after upstream's 5.0.0-rc1. MFC after:2 months X-M

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

2017-07-30 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jul 30 16:45:28 2017 New Revision: 321722 URL: https://svnweb.freebsd.org/changeset/base/321722 Log: Properly range check length of parsed information elements in RSU driver. Found by: Ilja van Sprundel MFC after:3 days Sponsored by:

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

2017-07-30 Thread Ian Lepore
Author: ian Date: Sun Jul 30 16:17:06 2017 New Revision: 321721 URL: https://svnweb.freebsd.org/changeset/base/321721 Log: Switch from using iic_transfer() to iicdev_readfrom/writeto(), mostly so that transfers will be done with proper ownership of the bus. No behavioral changes. Modified:

svn commit: r321720 - head/sys/dev/ichwd

2017-07-30 Thread Alexander Motin
Author: mav Date: Sun Jul 30 15:19:07 2017 New Revision: 321720 URL: https://svnweb.freebsd.org/changeset/base/321720 Log: Attach ichwd(4) only to ISA bus of the LPC bridge. Resource allocation for parent device does not look good by itself, but attempt to allocate them for unrelated devi

svn commit: r321719 - head/contrib/llvm/tools/clang/lib/Lex

2017-07-30 Thread Dimitry Andric
Author: dim Date: Sun Jul 30 11:50:16 2017 New Revision: 321719 URL: https://svnweb.freebsd.org/changeset/base/321719 Log: Pull in r309503 from upstream clang trunk (by Richard Smith): PR33902: Invalidate line number cache when adding more text to existing buffer. This led to c

svn commit: r321718 - stable/10/sys/vm

2017-07-30 Thread Konstantin Belousov
Author: kib Date: Sun Jul 30 10:49:13 2017 New Revision: 321718 URL: https://svnweb.freebsd.org/changeset/base/321718 Log: Restore layout of struct vm_map_entry after r321717, same as was done in r320889 for stable/11. Sponsored by: The FreeBSD Foundation Modified: stable/10/sys/vm/vm_

svn commit: r321717 - in stable/10: lib/libc/sys sys/sys sys/vm

2017-07-30 Thread Konstantin Belousov
Author: kib Date: Sun Jul 30 10:36:20 2017 New Revision: 321717 URL: https://svnweb.freebsd.org/changeset/base/321717 Log: Merge MAP_GUARD. MFC r316687 (by markj), r320314, r320317, r320338, r320339, r320344, r320430, r320560 (by alc), r320801, r320843, r321173, r321230. Tested by:

svn commit: r321716 - stable/11/sys/fs/fdescfs

2017-07-30 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 30 08:02:06 2017 New Revision: 321716 URL: https://svnweb.freebsd.org/changeset/base/321716 Log: MFC r320837: Style(9). Whitespace. Modified: stable/11/sys/fs/fdescfs/fdesc_vnops.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys

svn commit: r321715 - stable/11/sys/fs/fdescfs

2017-07-30 Thread Dmitry Chagin
Author: dchagin Date: Sun Jul 30 08:00:54 2017 New Revision: 321715 URL: https://svnweb.freebsd.org/changeset/base/321715 Log: MFC r320836: Eliminate bogus casts. Modified: stable/11/sys/fs/fdescfs/fdesc_vnops.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sy