svn commit: r306031 - head/contrib/netbsd-tests/fs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:28:57 2016 New Revision: 306031 URL: https://svnweb.freebsd.org/changeset/base/306031 Log: Port contrib/netbsd-tests/fs/h_funcs.subr to FreeBSD Use kldstat -m to determine whether or not a filesystem is loaded. This works well with tmpfs, ufs, and zfs

svn commit: r306033 - head/contrib/netbsd-tests/fs/tmpfs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:31:57 2016 New Revision: 306033 URL: https://svnweb.freebsd.org/changeset/base/306033 Log: Port sizes_test and statvfs_test to FreeBSD Similar to r306030, use a simpler method for getting the value of `hw.pagesize`, i.e. `sysctl -n hw.pagesize`. The awk

svn commit: r306026 - head/usr.bin/bsdiff/bspatch

2016-09-20 Thread Ed Maste
Author: emaste Date: Tue Sep 20 15:13:15 2016 New Revision: 306026 URL: https://svnweb.freebsd.org/changeset/base/306026 Log: bspatch: Remove backwards-compatibility sys/capability.h support bspatch previously included sys/capability.h or sys/capsicum.h based on __FreeBSD_version, as

Re: svn commit: r305988 - in head/sys: geom sys

2016-09-20 Thread Alan Somers
On Tue, Sep 20, 2016 at 10:23 AM, Alexander Motin wrote: > On 20.09.2016 09:20, Alan Somers wrote: >> On Mon, Sep 19, 2016 at 11:46 AM, Edward Tomasz Napierala >> wrote: >>> Author: trasz >>> Date: Mon Sep 19 17:46:15 2016 >>> New Revision: 305988 >>> URL:

svn commit: r306030 - head/contrib/netbsd-tests/fs/tmpfs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:27:34 2016 New Revision: 306030 URL: https://svnweb.freebsd.org/changeset/base/306030 Log: Port vnode_leak_test:main to FreeBSD Use a simpler way of dumping kern.maxvnodes, i.e. `sysctl -n kern.maxvnodes` The awk filtering method employed in NetBSD

Re: svn commit: r305988 - in head/sys: geom sys

2016-09-20 Thread Alan Somers
On Mon, Sep 19, 2016 at 11:46 AM, Edward Tomasz Napierala wrote: > Author: trasz > Date: Mon Sep 19 17:46:15 2016 > New Revision: 305988 > URL: https://svnweb.freebsd.org/changeset/base/305988 > > Log: > Remove unused bio_taskqueue(). > > MFC after:1 month > > Modified:

Re: svn commit: r305988 - in head/sys: geom sys

2016-09-20 Thread Ngie Cooper (yaneurabeya)
> On Sep 20, 2016, at 09:28, Alan Somers wrote: > > On Tue, Sep 20, 2016 at 10:23 AM, Alexander Motin wrote: >> On 20.09.2016 09:20, Alan Somers wrote: >>> On Mon, Sep 19, 2016 at 11:46 AM, Edward Tomasz Napierala >>> wrote:

svn commit: r306027 - head/share/man/man9

2016-09-20 Thread Warner Losh
Author: imp Date: Tue Sep 20 15:14:33 2016 New Revision: 306027 URL: https://svnweb.freebsd.org/changeset/base/306027 Log: Spell alphabetically correctly both in the commit message AND in the actual man page. Sigh. Submitted by: David A Bright and Pedro Giffuni Modified:

Re: svn commit: r305988 - in head/sys: geom sys

2016-09-20 Thread Alexander Motin
On 20.09.2016 09:20, Alan Somers wrote: > On Mon, Sep 19, 2016 at 11:46 AM, Edward Tomasz Napierala > wrote: >> Author: trasz >> Date: Mon Sep 19 17:46:15 2016 >> New Revision: 305988 >> URL: https://svnweb.freebsd.org/changeset/base/305988 >> >> Log: >> Remove unused

svn commit: r306029 - in head/libexec/atf: atf-check atf-sh

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:24:22 2016 New Revision: 306029 URL: https://svnweb.freebsd.org/changeset/base/306029 Log: Use SRCTOP instead of the longhand version for defining the path to contrib/atf MFC after:3 days Sponsored by: Dell EMC Isilon Modified:

svn commit: r306036 - head/contrib/netbsd-tests/fs/tmpfs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:37:02 2016 New Revision: 306036 URL: https://svnweb.freebsd.org/changeset/base/306036 Log: Port to mknod_test and readdir_test to FreeBSD The `mknod p` command doesn't exist on FreeBSD, like on NetBSD. Use mkfifo instead to create named pipes (FIFOs).

Re: svn commit: r305998 - in head/usr.bin: cmp indent tr

2016-09-20 Thread Bruce Evans
On Mon, 19 Sep 2016, John Baldwin wrote: On Monday, September 19, 2016 01:45:01 PM Ngie Cooper wrote: On Sep 19, 2016, at 1:43 PM, Conrad E. Meyer wrote: Log: Move sys/capsicum.h includes after types.h or param.h This is not actually documented or even implied in

Re: svn commit: r306012 - head/etc/autofs

2016-09-20 Thread Bruce Evans
On Tue, 20 Sep 2016, Edward Tomasz Napierala wrote: Log: Fix -media to not mount ufs with "async"; it doesn't make sense when there is softupdates. It does make sense when there isn't soft updates. With soft updates, it is silently ignored. However, I don't like changing the default.

Re: svn commit: r306012 - head/etc/autofs

2016-09-20 Thread Bruce Evans
On Tue, 20 Sep 2016, Edward Tomasz Napierala wrote: On 0920T1653, Bruce Evans wrote: On Tue, 20 Sep 2016, Edward Tomasz Napierala wrote: Log: Fix -media to not mount ufs with "async"; it doesn't make sense when there is softupdates. It does make sense when there isn't soft updates. With

Re: svn commit: r306012 - head/etc/autofs

2016-09-20 Thread Edward Tomasz Napierala
On 0920T1653, Bruce Evans wrote: > On Tue, 20 Sep 2016, Edward Tomasz Napierala wrote: > > > Log: > > Fix -media to not mount ufs with "async"; it doesn't make sense when > > there is softupdates. > > It does make sense when there isn't soft updates. With soft updates, it > is silently

svn commit: r306015 - head/sys/dev/hyperv/storvsc

2016-09-20 Thread Sepherosa Ziehau
Author: sephe Date: Tue Sep 20 08:52:45 2016 New Revision: 306015 URL: https://svnweb.freebsd.org/changeset/base/306015 Log: hyperv/storvsc: Fix SRB length setting. This fixes disk discovery issue on WS2008R2 Hyper-V, which plagued us since 10.2-release. Reported by: many MFC

svn commit: r306018 - head/sys/geom

2016-09-20 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 20 09:18:33 2016 New Revision: 306018 URL: https://svnweb.freebsd.org/changeset/base/306018 Log: Follow up r305988 by removing g_bio_run_task and related code. The g_io_schedule_up() gets its "if" condition swapped to make it more similar to g_io_schedule_down().

svn commit: r306019 - in head/sys/contrib/alpine-hal: . eth eth/eth

2016-09-20 Thread Wojciech Macek
Author: wma Date: Tue Sep 20 09:19:22 2016 New Revision: 306019 URL: https://svnweb.freebsd.org/changeset/base/306019 Log: Update Annapurna Alpine HAL alpine-hal SerDes file was omitted in the previous commit. Files added here. All unnecessary (old) files were also removed. Merge

svn commit: r306020 - in head/sys/amd64: amd64 include

2016-09-20 Thread Konstantin Belousov
Author: kib Date: Tue Sep 20 09:38:07 2016 New Revision: 306020 URL: https://svnweb.freebsd.org/changeset/base/306020 Log: Move pmap_p*e_index() inline functions from pmap.c to pmap.h. They are already used in minidump code. Sponsored by: The FreeBSD Foundation MFC after:1 week

Re: svn commit: r305968 - head/etc/autofs

2016-09-20 Thread Slawa Olhovchenkov
On Mon, Sep 19, 2016 at 10:19:04PM -0600, Warner Losh wrote: > For MSDOS it's one thing and likely helps. But for ufs it doesn't > help. Soft updates already does an excellent job at reducing wear and > all async does is give added danger of dataloss. Linux distros don't > matter for UFS because

svn commit: r306023 - head/contrib/openbsm/bin/auditdistd

2016-09-20 Thread Ed Maste
Author: emaste Date: Tue Sep 20 12:58:28 2016 New Revision: 306023 URL: https://svnweb.freebsd.org/changeset/base/306023 Log: auditdistd: update for sys/capability.h rename in r263232 Modified: head/contrib/openbsm/bin/auditdistd/sandbox.c Modified:

svn commit: r306024 - head/sys/dev/mrsas

2016-09-20 Thread Ed Maste
Author: emaste Date: Tue Sep 20 12:59:30 2016 New Revision: 306024 URL: https://svnweb.freebsd.org/changeset/base/306024 Log: mrsas: update for sys/capability.h rename in r263232 Modified: head/sys/dev/mrsas/mrsas_linux.c Modified: head/sys/dev/mrsas/mrsas_linux.c

svn commit: r306021 - in head/sys: arm/annapurna/alpine arm/conf arm64/conf boot/fdt/dts/arm conf

2016-09-20 Thread Wojciech Macek
Author: wma Date: Tue Sep 20 11:11:06 2016 New Revision: 306021 URL: https://svnweb.freebsd.org/changeset/base/306021 Log: Add driver for PCIe root complex on Annapurna Alpine platform. The driver subclasses pci-host-generic and additionally performs configuration of vendor-specific PCIe

svn commit: r306022 - head/sys/dev/hwpmc

2016-09-20 Thread Ed Maste
Author: emaste Date: Tue Sep 20 12:56:03 2016 New Revision: 306022 URL: https://svnweb.freebsd.org/changeset/base/306022 Log: hwpmc: remove sys/capability.h backwards compatibility The Capsicum header is installed as sys/capsicum.h in stable/10 as well. Modified:

Re: svn commit: r306031 - head/contrib/netbsd-tests/fs

2016-09-20 Thread Ngie Cooper (yaneurabeya)
> On Sep 20, 2016, at 09:28, Ngie Cooper wrote: > > Author: ngie > Date: Tue Sep 20 16:28:57 2016 > New Revision: 306031 > URL: https://svnweb.freebsd.org/changeset/base/306031 > > Log: > Port contrib/netbsd-tests/fs/h_funcs.subr to FreeBSD > > Use kldstat -m to determine

svn commit: r306038 - head/contrib/netbsd-tests/fs/tmpfs

2016-09-20 Thread Ngie Cooper
Author: ngie Date: Tue Sep 20 16:40:15 2016 New Revision: 306038 URL: https://svnweb.freebsd.org/changeset/base/306038 Log: Port vnd_test to FreeBSD Use mdmfs/mdconfig instead of vndconfig/newfs. vndconfig doesn't exist on FreeBSD. TODO: need to parameterize out the md(4) device as

svn commit: r306041 - head/sys/conf

2016-09-20 Thread Ed Maste
Author: emaste Date: Tue Sep 20 17:07:14 2016 New Revision: 306041 URL: https://svnweb.freebsd.org/changeset/base/306041 Log: Always pass -m to ld for converting binary files to kernel ELF objects This is in preparation for linking with LLVM's lld, which does not have a compiled-in

svn commit: r306049 - in head: share/man/man9 sys/dev/ath sys/dev/usb/wlan

2016-09-20 Thread Andriy Voskoboinyk
Author: avos Date: Tue Sep 20 18:53:42 2016 New Revision: 306049 URL: https://svnweb.freebsd.org/changeset/base/306049 Log: net80211: remove IEEE80211_RADIOTAP_TSFT field from transmit definitions. This field may be used for received frames only. Differential Revision:

svn commit: r306046 - head/sys/netinet6

2016-09-20 Thread Mark Johnston
Author: markj Date: Tue Sep 20 18:08:17 2016 New Revision: 306046 URL: https://svnweb.freebsd.org/changeset/base/306046 Log: Reduce code duplication around NDP message handlers in icmp6_input(). No functional change intended. MFC after:2 weeks Modified:

svn commit: r306048 - head/etc/periodic/security

2016-09-20 Thread Alan Somers
Author: asomers Date: Tue Sep 20 18:47:33 2016 New Revision: 306048 URL: https://svnweb.freebsd.org/changeset/base/306048 Log: Fix periodic scripts when an NFS mount covers a local mount 100.chksetuid and 110.neggrpperm try to search through all UFS and ZFS filesystems. But their logic

Re: svn commit: r306010 - head/share/man/man9

2016-09-20 Thread Pedro Giffuni
On 19/09/2016 23:50, Warner Losh wrote: Author: imp Date: Tue Sep 20 04:50:53 2016 New Revision: 306010 URL: https://svnweb.freebsd.org/changeset/base/306010 Log: Document existing practice and be more clear about sys/foo.h files being alphabetical with sys/param.h or sys/types.h being

Re: svn commit: r306010 - head/share/man/man9

2016-09-20 Thread Conrad Meyer
On Tue, Sep 20, 2016 at 2:16 PM, Pedro Giffuni wrote: > s/alphebetially/alphabetically/ ? This was fixed in r306027. Best, Conrad ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To

svn commit: r306056 - head/usr.bin/elfdump

2016-09-20 Thread Ed Maste
Author: emaste Date: Tue Sep 20 21:38:12 2016 New Revision: 306056 URL: https://svnweb.freebsd.org/changeset/base/306056 Log: elfdump: limit STDIN to no rights rather than closing it Closing stdin/stdout/stderr is often a bad idea as a future open() can end up with its fd. Leave it open

svn commit: r306050 - head/sys/arm/ti/am335x

2016-09-20 Thread Luiz Otavio O Souza
Author: loos Date: Tue Sep 20 19:06:58 2016 New Revision: 306050 URL: https://svnweb.freebsd.org/changeset/base/306050 Log: If present, honor the USB port mode (host or peripheral) set on DTS, if not, keep the beaglebone defaults: USB0 -> peripheral/gadget, USB1 -> host. This is only a

svn commit: r306053 - head/sbin/dhclient

2016-09-20 Thread Conrad E. Meyer
Author: cem Date: Tue Sep 20 19:21:41 2016 New Revision: 306053 URL: https://svnweb.freebsd.org/changeset/base/306053 Log: dhclient(8): Enable numbered user class ID option By adding it to the option priorities table. PR: 184117 Submitted by: Lowell Gilbert Reported by:

svn commit: r306063 - head/sys/dev/cxgbe

2016-09-20 Thread Navdeep Parhar
Author: np Date: Wed Sep 21 00:50:22 2016 New Revision: 306063 URL: https://svnweb.freebsd.org/changeset/base/306063 Log: cxgbe(4): Setup congestion response for T6 rx queues. Modified: head/sys/dev/cxgbe/t4_netmap.c head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_netmap.c

svn commit: r306062 - head/sys/dev/cxgbe

2016-09-20 Thread Navdeep Parhar
Author: np Date: Wed Sep 21 00:46:08 2016 New Revision: 306062 URL: https://svnweb.freebsd.org/changeset/base/306062 Log: cxgbe(4): Show wcwr_stats for T6 cards. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c

svn commit: r306061 - head/sys/cam

2016-09-20 Thread Mark Johnston
Author: markj Date: Wed Sep 21 00:08:42 2016 New Revision: 306061 URL: https://svnweb.freebsd.org/changeset/base/306061 Log: Protect ccbq access with devq->send_mtx in the XPT_ABORT handler. Submitted by: Ryan Libby Reviewed by: mav MFC after:2 weeks Sponsored

svn commit: r306066 - head/sys/conf

2016-09-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 21 02:56:57 2016 New Revision: 306066 URL: https://svnweb.freebsd.org/changeset/base/306066 Log: Move ofw_cpu file to the main files conf file. There is nothing CPU specific here, and it's usable by both fdt and Open Firmware based systems. Rather than

svn commit: r306068 - head/sys/arm64/arm64

2016-09-20 Thread Wojciech Macek
Author: wma Date: Wed Sep 21 05:15:50 2016 New Revision: 306068 URL: https://svnweb.freebsd.org/changeset/base/306068 Log: Register GICv3 xref. This allows other drivers to retrieve interrupt parent node. Obtained from: Semihalf Submitted by: Michal Stanek

svn commit: r306065 - in head/sys: dev/ofw powerpc/ofw powerpc/powerpc

2016-09-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 21 02:28:39 2016 New Revision: 306065 URL: https://svnweb.freebsd.org/changeset/base/306065 Log: Add a ofw_parse_bootargs function, and use it for powerpc Summary: If the environment variable is set, U-boot adds a 'bootargs' property to /chosen. This is

svn commit: r306064 - head/sys/powerpc/mpc85xx

2016-09-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 21 02:27:23 2016 New Revision: 306064 URL: https://svnweb.freebsd.org/changeset/base/306064 Log: Add yet another QorIQ GPIO compat string. P1022 boards use the string "fsl,pq3-gpio", which seems to be common in Linux dts files. Modified:

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

2016-09-20 Thread Justin Hibbits
Author: jhibbits Date: Wed Sep 21 03:10:41 2016 New Revision: 306067 URL: https://svnweb.freebsd.org/changeset/base/306067 Log: Move ofw_parse_bootargs to the correct place. Also, create a static initial environment, so bootargs can be set from uboot. Modified:

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

2016-09-20 Thread Wojciech Macek
Author: wma Date: Wed Sep 21 05:33:18 2016 New Revision: 306070 URL: https://svnweb.freebsd.org/changeset/base/306070 Log: Add support for SPI-mapped MSI interrupts outside of GICv2m. SPI-mapped MSI interrupts coming from a controller other than GICv2m need to have their trigger and

svn commit: r306069 - head/sys/arm64/arm64

2016-09-20 Thread Wojciech Macek
Author: wma Date: Wed Sep 21 05:22:49 2016 New Revision: 306069 URL: https://svnweb.freebsd.org/changeset/base/306069 Log: Add support for SPI-mapped MSI interrupts in GICv3. PIC_SETUP_INTR implementation in GICv3 did not allow for setting up interrupts without included FDT

svn commit: r306071 - head/sys/kern

2016-09-20 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Sep 21 05:44:13 2016 New Revision: 306071 URL: https://svnweb.freebsd.org/changeset/base/306071 Log: Fix bug introduced with r302388, which could cause processes accessing automounted shares to hang with "vfs_busy" wchan. (As a workaround one can run 'automount

svn commit: r306072 - in head/sys/dev/hyperv: include vmbus

2016-09-20 Thread Sepherosa Ziehau
Author: sephe Date: Wed Sep 21 05:56:47 2016 New Revision: 306072 URL: https://svnweb.freebsd.org/changeset/base/306072 Log: hyperv/vmbus: Allow bufrings preallocation. The assumption that the channel is only opened upon synthetic device attach time no longer holds, e.g. Hyper-V network