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

2016-09-23 Thread Justin Hibbits
Author: jhibbits Date: Sat Sep 24 05:27:12 2016 New Revision: 306288 URL: https://svnweb.freebsd.org/changeset/base/306288 Log: Fix ds1307 probing 'compat' can never be NULL, because the compatible check loop ends when compat->ocd_str is NULL. This causes ds1307 to attach to any

svn commit: r306287 - in head/sys: dev/bhnd dev/bhnd/bcma dev/bhnd/cores/pmu dev/bhnd/cores/usb dev/bhnd/siba modules/bhnd/bcma modules/bhnd/siba

2016-09-23 Thread Landon J. Fuller
Author: landonf Date: Sat Sep 24 04:08:16 2016 New Revision: 306287 URL: https://svnweb.freebsd.org/changeset/base/306287 Log: bhnd(4): Implement common API for IOST/IOCTL register access and core reset - Added bhnd(4) bus APIs for per-core ioctl/iost register access. - Updated

svn commit: r306286 - head/sys/dev/iwm

2016-09-23 Thread Adrian Chadd
Author: adrian Date: Sat Sep 24 01:21:42 2016 New Revision: 306286 URL: https://svnweb.freebsd.org/changeset/base/306286 Log: [iwm] fix default antenna selection a bit; fix 5GHz rate control handling. * Don't do the antenna switching when setting up the rate table - we don't take into

svn commit: r306285 - head/sys/netinet6

2016-09-23 Thread Mark Johnston
Author: markj Date: Sat Sep 24 01:14:25 2016 New Revision: 306285 URL: https://svnweb.freebsd.org/changeset/base/306285 Log: Rename ndpr_refcnt to ndpr_addrcnt. This field counts derived addresses and is not a true refcount for prefix objects, so the previous name was misleading.

Re: svn commit: r306284 - head/sys/dev/bxe

2016-09-23 Thread hiren panchasara
On 09/23/16 at 11:18P, David C Somayajulu wrote: > Author: davidcs > Date: Fri Sep 23 23:18:54 2016 > New Revision: 306284 > URL: https://svnweb.freebsd.org/changeset/base/306284 > > Log: > Fixes for issues under high workloads David, It is really useful to have details about said issues in

svn commit: r306284 - head/sys/dev/bxe

2016-09-23 Thread David C Somayajulu
Author: davidcs Date: Fri Sep 23 23:18:54 2016 New Revision: 306284 URL: https://svnweb.freebsd.org/changeset/base/306284 Log: Fixes for issues under high workloads MFC after:5 days Modified: head/sys/dev/bxe/bxe.c head/sys/dev/bxe/bxe.h head/sys/dev/bxe/bxe_stats.h Modified:

Re: svn commit: r306272 - head/sys/sys

2016-09-23 Thread Mateusz Guzik
On Fri, Sep 23, 2016 at 10:38:05PM +0200, Andreas Tobler wrote: > On 23.09.16 22:03, Mateusz Guzik wrote: > >On Fri, Sep 23, 2016 at 09:59:32PM +0200, Andreas Tobler wrote: > >>On 23.09.16 18:47, Mateusz Guzik wrote: > >>>Author: mjg > >>>Date: Fri Sep 23 16:47:12 2016 > >>>New Revision: 306272 >

svn commit: r306282 - head/sys/compat/cloudabi

2016-09-23 Thread Mateusz Guzik
Author: mjg Date: Fri Sep 23 23:08:23 2016 New Revision: 306282 URL: https://svnweb.freebsd.org/changeset/base/306282 Log: cloudabi: use fget_cap instead of hand-rolling capability read This has a side effect of unbreaking the build after r306272. Discussed with: ed

svn commit: r306281 - in head: targets/pseudo/userland usr.bin/proccontrol

2016-09-23 Thread Bryan Drewery
Author: bdrewery Date: Fri Sep 23 22:46:19 2016 New Revision: 306281 URL: https://svnweb.freebsd.org/changeset/base/306281 Log: DIRDEPS_BUILD: Connect new directories. Sponsored by: Dell EMC Isilon Added: head/usr.bin/proccontrol/Makefile.depend (contents, props changed) Modified:

Re: svn commit: r305353 - in head/sys/boot: i386 i386/boot0 i386/boot2 i386/btx/btx i386/btx/btxldr i386/cdboot i386/gptboot i386/gptzfsboot i386/mbr i386/pmbr i386/pxeldr i386/zfsboot pc98 pc98/boot0

2016-09-23 Thread Allan Jude
On 09/03/16 11:26 AM, Warner Losh wrote: > Author: imp > Date: Sat Sep 3 15:26:28 2016 > New Revision: 305353 > URL: https://svnweb.freebsd.org/changeset/base/305353 > > Log: > Don't use -N to set the OMAGIC with data and text writeable and data > not page aligned. To do this, use the ld

svn commit: r306279 - in head/sys/geom: bde concat gate journal linux_lvm mirror mountver raid3 shsec stripe vinum virstor

2016-09-23 Thread Alexander Motin
Author: mav Date: Fri Sep 23 21:29:40 2016 New Revision: 306279 URL: https://svnweb.freebsd.org/changeset/base/306279 Log: Use g_wither_provider() where applicable. It is just a helper function combining G_PF_WITHER setting with g_orphan_provider(). Modified: head/sys/geom/bde/g_bde.c

Re: svn commit: r306272 - head/sys/sys

2016-09-23 Thread Andreas Tobler
On 23.09.16 22:03, Mateusz Guzik wrote: On Fri, Sep 23, 2016 at 09:59:32PM +0200, Andreas Tobler wrote: On 23.09.16 18:47, Mateusz Guzik wrote: Author: mjg Date: Fri Sep 23 16:47:12 2016 New Revision: 306272 URL: https://svnweb.freebsd.org/changeset/base/306272 Log: fd: hide fd_modified

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

2016-09-23 Thread Navdeep Parhar
Author: np Date: Fri Sep 23 20:03:28 2016 New Revision: 306277 URL: https://svnweb.freebsd.org/changeset/base/306277 Log: cxgbe(4): Make the location/length of all descriptor rings available in the sysctl MIB. Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c

Re: svn commit: r306272 - head/sys/sys

2016-09-23 Thread Mateusz Guzik
On Fri, Sep 23, 2016 at 09:59:32PM +0200, Andreas Tobler wrote: > On 23.09.16 18:47, Mateusz Guzik wrote: > >Author: mjg > >Date: Fri Sep 23 16:47:12 2016 > >New Revision: 306272 > >URL: https://svnweb.freebsd.org/changeset/base/306272 > > > >Log: > > fd: hide fd_modified under CAPABILITIES > > >

Re: svn commit: r306272 - head/sys/sys

2016-09-23 Thread Andreas Tobler
On 23.09.16 18:47, Mateusz Guzik wrote: Author: mjg Date: Fri Sep 23 16:47:12 2016 New Revision: 306272 URL: https://svnweb.freebsd.org/changeset/base/306272 Log: fd: hide fd_modified under CAPABILITIES It has no use without it and is now less error prone. Modified:

svn commit: r306276 - in head: sbin/mount_msdosfs sys/fs/msdosfs sys/sys

2016-09-23 Thread Alan Somers
Author: asomers Date: Fri Sep 23 19:05:07 2016 New Revision: 306276 URL: https://svnweb.freebsd.org/changeset/base/306276 Log: Mount msdosfs with longnames support by default. The old behavior depended on the FAT version and on what files were in the root directory. "mount_msdosfs -o

svn commit: r306275 - head/sys/dev/usb/input

2016-09-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Sep 23 18:55:32 2016 New Revision: 306275 URL: https://svnweb.freebsd.org/changeset/base/306275 Log: Do not perform extra check for NULL, evdev_free can handle NULL value Submitted by: Vladimir Kondratiev Modified: head/sys/dev/usb/input/ukbd.c

svn commit: r306274 - head/sys/dev/evdev

2016-09-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Sep 23 18:54:08 2016 New Revision: 306274 URL: https://svnweb.freebsd.org/changeset/base/306274 Log: Handle NULL argument in evdev_free Add check for evdev argument of evdev_free being NULL. This is valid value and should not cause crash. In this case evdev_free

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

2016-09-23 Thread Navdeep Parhar
Author: np Date: Fri Sep 23 17:24:06 2016 New Revision: 306273 URL: https://svnweb.freebsd.org/changeset/base/306273 Log: cxgbe(4): Fix netmap with T6, which doesn't encapsulate SGE_EGR_UPDATE message inside a FW_MSG. The base NIC already deals with updates in either form. Sponsored

svn commit: r306272 - head/sys/sys

2016-09-23 Thread Mateusz Guzik
Author: mjg Date: Fri Sep 23 16:47:12 2016 New Revision: 306272 URL: https://svnweb.freebsd.org/changeset/base/306272 Log: fd: hide fd_modified under CAPABILITIES It has no use without it and is now less error prone. Modified: head/sys/sys/filedesc.h Modified: head/sys/sys/filedesc.h

svn commit: r306268 - head/sys/arm/broadcom/bcm2835

2016-09-23 Thread Andrew Turner
Author: andrew Date: Fri Sep 23 15:28:15 2016 New Revision: 306268 URL: https://svnweb.freebsd.org/changeset/base/306268 Log: Also implement platform_cpu_reset on bcm2836 Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c

svn commit: r306267 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/at91 arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/lpc arm/nvidia/...

2016-09-23 Thread Andrew Turner
Author: andrew Date: Fri Sep 23 14:11:23 2016 New Revision: 306267 URL: https://svnweb.freebsd.org/changeset/base/306267 Log: Restrict where we need to define fdt_fixup_table to just PowerPC and Marvell. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/allwinner/a10_common.c

svn commit: r306266 - head/lib/libcompiler_rt

2016-09-23 Thread Ed Maste
Author: emaste Date: Fri Sep 23 13:23:52 2016 New Revision: 306266 URL: https://svnweb.freebsd.org/changeset/base/306266 Log: libcompiler_rt: use ${SRCTOP} for the top of the FreeBSD tree Modified: head/lib/libcompiler_rt/Makefile Modified: head/lib/libcompiler_rt/Makefile

svn commit: r306265 - head/share/mk

2016-09-23 Thread Ed Maste
Author: emaste Date: Fri Sep 23 13:21:29 2016 New Revision: 306265 URL: https://svnweb.freebsd.org/changeset/base/306265 Log: Force LLVM_LIBUNWIND off if we don't have a C++11 compiler Tested by:bde Differential Revision:https://reviews.freebsd.org/D7746 Modified:

svn commit: r306264 - in head/sys/boot/efi/loader/arch: amd64 i386

2016-09-23 Thread Ed Maste
Author: emaste Date: Fri Sep 23 13:18:59 2016 New Revision: 306264 URL: https://svnweb.freebsd.org/changeset/base/306264 Log: Use 32-bit value for .text padding, for linker portability GNU ld interprets the padding value as a variable-length byte string, while GNU gold and LLVM lld

svn commit: r306263 - in head/sys/arm: allwinner arm broadcom/bcm2835 freescale/imx nvidia/tegra124 qemu ti

2016-09-23 Thread Andrew Turner
Author: andrew Date: Fri Sep 23 13:08:15 2016 New Revision: 306263 URL: https://svnweb.freebsd.org/changeset/base/306263 Log: Move cpu_reset to be a platform method to allow multiple implementations. Reviewed by: mmel Sponsored by: ABT Systems Ltd Differential Revision:

svn commit: r306262 - in head/sys/arm: allwinner altera/socfpga amlogic/aml8726 annapurna/alpine arm broadcom/bcm2835 freescale/imx freescale/vybrid include mv nvidia/tegra124 qemu rockchip samsung...

2016-09-23 Thread Andrew Turner
Author: andrew Date: Fri Sep 23 12:38:05 2016 New Revision: 306262 URL: https://svnweb.freebsd.org/changeset/base/306262 Log: Remove bus_dma_get_range and bus_dma_get_range_nb on armv6. We only need this on a few earlier arm SoCs. Reviewed by: manu (earlier version) Sponsored by: ABT

svn commit: r306261 - in head/usr.bin: . proccontrol

2016-09-23 Thread Konstantin Belousov
Author: kib Date: Fri Sep 23 12:34:54 2016 New Revision: 306261 URL: https://svnweb.freebsd.org/changeset/base/306261 Log: Provide proccontrol(1), an utility to control processes behaviour, related to procctl(2). Sponsored by: The FreeBSD Foundation MFC after:1 week Added:

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

2016-09-23 Thread Konstantin Belousov
Author: kib Date: Fri Sep 23 12:32:20 2016 New Revision: 306260 URL: https://svnweb.freebsd.org/changeset/base/306260 Log: Add the foundation copyrights to procctl kernel sources. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/kern_procctl.c

svn commit: r306257 - head/lib/libc/sys

2016-09-23 Thread Konstantin Belousov
Author: kib Date: Fri Sep 23 09:26:40 2016 New Revision: 306257 URL: https://svnweb.freebsd.org/changeset/base/306257 Log: Document r306081, i.e. procctl(PROC_TRAPCAP) and sysctl kern.trap_enocap. Reviewed by: cem Sponsored by: The FreeBSD Foundation MFC after:1 week

svn commit: r306232 - head/sys/kern

2016-09-23 Thread Mariusz Zaborski
Author: oshogbo Date: Fri Sep 23 08:13:46 2016 New Revision: 306232 URL: https://svnweb.freebsd.org/changeset/base/306232 Log: fd: fix up fget_cap If the kernel is not compiled with the CAPABILITIES kernel options fget_unlocked doesn't return the sequence number so fd_modify will

svn commit: r306231 - head/tests/etc/rc.d

2016-09-23 Thread Ruslan Bukin
Author: br Date: Fri Sep 23 07:51:01 2016 New Revision: 306231 URL: https://svnweb.freebsd.org/changeset/base/306231 Log: Check if IPv6 supported before running the test, skip otherwise. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/tests/etc/rc.d/routing_test.sh

Re: svn commit: r306174 - in head/sys: compat/cloudabi compat/linux kern netinet sys

2016-09-23 Thread Ruslan Bukin
Hi It is booting fine with patch. Thanks! Ruslan On Fri, Sep 23, 2016 at 12:34:40AM +0200, Mariusz Zaborski wrote: > Thanks, I was able to reproduce that :) > I attached the patch. Could you please confirm that it fix the problem? > > Thank you and sorry for inconveniences, > Mariusz > > On

svn commit: r306228 - head/sys/fs/cuse

2016-09-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 23 07:41:23 2016 New Revision: 306228 URL: https://svnweb.freebsd.org/changeset/base/306228 Log: Prevent cuse4bsd.ko and cuse.ko from loading at the same time by declaring support for the cuse4bsd interface in cuse.ko. Found by: Sergey V. Dyatko

svn commit: r306226 - head/sys/kern

2016-09-23 Thread Mateusz Guzik
Author: mjg Date: Fri Sep 23 06:51:46 2016 New Revision: 306226 URL: https://svnweb.freebsd.org/changeset/base/306226 Log: fd: fix up fgetvp_rights after r306184 fget_cap_locked returns a referenced file, but the fgetvp_rights does not need it. Instead, due to the filedesc lock being