svn commit: r307130 - head/sys/dev/smbus

2016-10-11 Thread Andriy Gapon
Author: avg Date: Wed Oct 12 06:58:01 2016 New Revision: 307130 URL: https://svnweb.freebsd.org/changeset/base/307130 Log: smbus: allow child devices to be added via hints This will allow to add slave drivers in the same fashion as for iicbus. Also, allow other code to add a child devi

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

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Oct 12 05:35:57 2016 New Revision: 307115 URL: https://svnweb.freebsd.org/changeset/base/307115 Log: Fix typo in comment Spotted by: loos Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c ===

svn commit: r307098 - head/sys/dev/usb/controller

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Oct 12 03:36:46 2016 New Revision: 307098 URL: https://svnweb.freebsd.org/changeset/base/307098 Log: Make BCM28x USB driver compatible with upstream device tree This should have been committed in r307093: resource allocation depends on source of the device tree. up

svn commit: r307095 - head/sys/contrib/vchiq/interface/vchiq_arm

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Oct 12 03:08:58 2016 New Revision: 307095 URL: https://svnweb.freebsd.org/changeset/base/307095 Log: Make VCHI driver compatible with upstream DT - Add compatibility string - Compensate difference in base address between our custom DTB and upstream one Modified:

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

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Oct 12 03:07:49 2016 New Revision: 307093 URL: https://svnweb.freebsd.org/changeset/base/307093 Log: Make BCM283x USB driver compatible with upstream DT - Make resource allocation logic depend on compatibility string to check what format of DTS node should be u

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

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Oct 12 03:06:05 2016 New Revision: 307092 URL: https://svnweb.freebsd.org/changeset/base/307092 Log: Make BCM2835 GPIO driver compatible with upstream DT - Add compatibility string - Make reserverd and read-only properties optional Modified: head/sys/arm/broadco

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

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Oct 12 03:03:55 2016 New Revision: 307091 URL: https://svnweb.freebsd.org/changeset/base/307091 Log: Add compatibility string from upstream DT Modified: head/sys/arm/broadcom/bcm2835/bcm2835_mbox.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_mbox.c ===

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

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Oct 12 03:03:05 2016 New Revision: 307089 URL: https://svnweb.freebsd.org/changeset/base/307089 Log: Make framebuffer driver compatible with upstream DT - Add compatibility string - Add simplebus as possible parent bus Modified: head/sys/arm/broadcom/bcm2835/bcm

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

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Oct 12 03:00:42 2016 New Revision: 307088 URL: https://svnweb.freebsd.org/changeset/base/307088 Log: Add compatible strings used in upstream dts files Modified: head/sys/arm/broadcom/bcm2835/bcm2835_bsc.c head/sys/arm/broadcom/bcm2835/bcm2835_dma.c head/sys/arm/bro

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

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Oct 12 02:58:27 2016 New Revision: 307087 URL: https://svnweb.freebsd.org/changeset/base/307087 Log: Make sure intc is attached before interrupt consumers If pass order is not specified devices are attached in the order they are defined in dts. Some interrupt consu

Re: svn commit: r307072 - in head/usr.sbin: . efivar

2016-10-11 Thread Warner Losh
On Tue, Oct 11, 2016 at 5:19 PM, Shawn Webb wrote: > On Tue, Oct 11, 2016 at 05:13:24PM -0600, Warner Losh wrote: >> On Tue, Oct 11, 2016 at 5:11 PM, Shawn Webb >> wrote: >> > On Tue, Oct 11, 2016 at 10:31:46PM +, Warner Losh wrote: >> >> Author: imp >> >> Date: Tue Oct 11 22:31:45 2016 >> >

Re: svn commit: r307083 - head/sys/netinet

2016-10-11 Thread Jonathan Looney
On Tue, Oct 11, 2016 at 10:30 PM, Jonathan T. Looney wrote: > Author: jtl > Date: Wed Oct 12 02:30:33 2016 > New Revision: 307083 > URL: https://svnweb.freebsd.org/changeset/base/307083 > > Log: > Currently, when tcp_input() receives a packet on a session that matches a > TCPCB, it checks (so

svn commit: r307083 - head/sys/netinet

2016-10-11 Thread Jonathan T. Looney
Author: jtl Date: Wed Oct 12 02:30:33 2016 New Revision: 307083 URL: https://svnweb.freebsd.org/changeset/base/307083 Log: Currently, when tcp_input() receives a packet on a session that matches a TCPCB, it checks (so->so_options & SO_ACCEPTCONN) to determine whether or not the socket is a l

svn commit: r307082 - in head: . sys/amd64/conf sys/arm/conf sys/arm64/conf sys/conf sys/i386/conf sys/mips/conf sys/modules/cc sys/modules/khelp sys/netinet sys/netinet/tcp_stacks sys/pc98/conf sy...

2016-10-11 Thread Jonathan T. Looney
Author: jtl Date: Wed Oct 12 02:16:42 2016 New Revision: 307082 URL: https://svnweb.freebsd.org/changeset/base/307082 Log: In the TCP stack, the hhook(9) framework provides hooks for kernel modules to add actions that run when a TCP frame is sent or received on a TCP session in the ESTABLISH

svn commit: r307078 - head/sys/net

2016-10-11 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 12 01:52:29 2016 New Revision: 307078 URL: https://svnweb.freebsd.org/changeset/base/307078 Log: ifnet: Use if_link_state snapshot to invoke ifnet_link_event So that everyone in this task have consistent view of link state. Reviewed by: ae MFC after:1

svn commit: r307076 - head/sys/kern

2016-10-11 Thread Ed Maste
Author: emaste Date: Wed Oct 12 00:56:49 2016 New Revision: 307076 URL: https://svnweb.freebsd.org/changeset/base/307076 Log: Use correct size type in do_setopt_accept_filter Submitted by: ect...@gmail.com Modified: head/sys/kern/uipc_accf.c Modified: head/sys/kern/uipc_accf.c =

svn commit: r307075 - head/share/mk

2016-10-11 Thread Jonathan Anderson
Author: jonathan Date: Wed Oct 12 00:42:46 2016 New Revision: 307075 URL: https://svnweb.freebsd.org/changeset/base/307075 Log: Extract suffix rules into bsd.suffixes[-posix].mk. Refactor make suffix rules into separate files (one for POSIX and one not), and rationalise the rules so that

Re: svn commit: r307072 - in head/usr.sbin: . efivar

2016-10-11 Thread Shawn Webb
On Tue, Oct 11, 2016 at 05:13:24PM -0600, Warner Losh wrote: > On Tue, Oct 11, 2016 at 5:11 PM, Shawn Webb > wrote: > > On Tue, Oct 11, 2016 at 10:31:46PM +, Warner Losh wrote: > >> Author: imp > >> Date: Tue Oct 11 22:31:45 2016 > >> New Revision: 307072 > >> URL: https://svnweb.freebsd.org/

Re: svn commit: r307072 - in head/usr.sbin: . efivar

2016-10-11 Thread Warner Losh
On Tue, Oct 11, 2016 at 5:11 PM, Shawn Webb wrote: > On Tue, Oct 11, 2016 at 10:31:46PM +, Warner Losh wrote: >> Author: imp >> Date: Tue Oct 11 22:31:45 2016 >> New Revision: 307072 >> URL: https://svnweb.freebsd.org/changeset/base/307072 >> >> Log: >> Add efivar(1) to manipulate EFI variab

Re: svn commit: r307072 - in head/usr.sbin: . efivar

2016-10-11 Thread Shawn Webb
On Tue, Oct 11, 2016 at 10:31:46PM +, Warner Losh wrote: > Author: imp > Date: Tue Oct 11 22:31:45 2016 > New Revision: 307072 > URL: https://svnweb.freebsd.org/changeset/base/307072 > > Log: > Add efivar(1) to manipulate EFI variables. It uses a similar command > line interface to the Lin

svn commit: r307074 - in head/sys: mips/include pc98/include powerpc/include riscv/include sparc64/include

2016-10-11 Thread Warner Losh
Author: imp Date: Tue Oct 11 22:54:29 2016 New Revision: 307074 URL: https://svnweb.freebsd.org/changeset/base/307074 Log: Include stubs even on the platforms we don't support so libsysdecode continues to build. Added: head/sys/mips/include/efi.h - copied, changed from r307073, head/sy

svn commit: r307072 - in head/usr.sbin: . efivar

2016-10-11 Thread Warner Losh
Author: imp Date: Tue Oct 11 22:31:45 2016 New Revision: 307072 URL: https://svnweb.freebsd.org/changeset/base/307072 Log: Add efivar(1) to manipulate EFI variables. It uses a similar command line interface to the Linux program, as well as adding a number of useful features to make using it

svn commit: r307073 - head/sys/modules/bwn

2016-10-11 Thread Warner Losh
Author: imp Date: Tue Oct 11 22:32:12 2016 New Revision: 307073 URL: https://svnweb.freebsd.org/changeset/base/307073 Log: Properly include the 802.11n PHY support files when the BWM_GPL_PHY option is included. Remove the comment suggesting that people uncomment things because it is OBE. Mo

svn commit: r307071 - in head: lib lib/libefi lib/libefivar share/mk

2016-10-11 Thread Warner Losh
Author: imp Date: Tue Oct 11 22:30:41 2016 New Revision: 307071 URL: https://svnweb.freebsd.org/changeset/base/307071 Log: Create libefivar library. This library aims to provide the same API as the GPL'd version of this library. It implements the common Linux API for programatically manipula

svn commit: r307070 - in head/sys: amd64/amd64 conf dev/efidev i386/include modules/efirt sys

2016-10-11 Thread Warner Losh
Author: imp Date: Tue Oct 11 22:24:30 2016 New Revision: 307070 URL: https://svnweb.freebsd.org/changeset/base/307070 Log: Create /dev/efidev to provide an ioctl interface to userland. It supports userland interfaces to UEFI Runtime Services. This is indended to the the MI portion of EFI Ru

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

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Oct 11 21:40:15 2016 New Revision: 307068 URL: https://svnweb.freebsd.org/changeset/base/307068 Log: Make Rapsberry Pi watchdog driver compatible with upstream DTS - Fix compatibility strings - Compensate the difference in base address for our custom DTS and

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

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Oct 11 21:37:34 2016 New Revision: 307067 URL: https://svnweb.freebsd.org/changeset/base/307067 Log: Make intc driver compatible with upstream DTS - Fix compatibility strings - Properly decode upstream's two-cell interrupt specs. Our home-made dts does not ha

svn commit: r307066 - in head/lib/msun: . src

2016-10-11 Thread Ruslan Bukin
Author: br Date: Tue Oct 11 20:31:59 2016 New Revision: 307066 URL: https://svnweb.freebsd.org/changeset/base/307066 Log: Don't use fmaxl/fminl on platforms with no long double support, use fmax/fmin instead. This fixes fmaxmin test failure on MIPS64. Reviewed by: emaste Sponsored

svn commit: r307064 - head/sys/vm

2016-10-11 Thread Konstantin Belousov
Author: kib Date: Tue Oct 11 18:09:37 2016 New Revision: 307064 URL: https://svnweb.freebsd.org/changeset/base/307064 Log: When downgrading exclusively busied page to shared-busy state, wakeup waiters. Otherwise, owners of the shared-busy state are left blocked and might get into a deadlock

svn commit: r307062 - head/sys/net

2016-10-11 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 11 17:41:13 2016 New Revision: 307062 URL: https://svnweb.freebsd.org/changeset/base/307062 Log: Make LLTABLE list lock private for if_llatbl.c Rename lock and macros to reflect that it protects V_lltables list. Modified: head/sys/net/if_llatbl.c head/sys/net/i

svn commit: r307060 - head/usr.bin/truss

2016-10-11 Thread John Baldwin
Author: jhb Date: Tue Oct 11 17:11:17 2016 New Revision: 307060 URL: https://svnweb.freebsd.org/changeset/base/307060 Log: Fix printf format warning. Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c ==

svn commit: r307059 - head/sys/kern

2016-10-11 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Oct 11 17:00:29 2016 New Revision: 307059 URL: https://svnweb.freebsd.org/changeset/base/307059 Log: INTRNG - fix MSI/MSIX release path Use isrc in attached MSI data structure instead of using map's isrc directly. map's isrc is set to NULL on IRQ deactivation whi

svn commit: r307044 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2016-10-11 Thread George V. Neville-Neil
Author: gnn Date: Tue Oct 11 16:12:12 2016 New Revision: 307044 URL: https://svnweb.freebsd.org/changeset/base/307044 Log: Corrected non-portable reuse of va_list in dt_printf() Submitted by: Graeme Jenkinson Reviewed by: markj MFC after:2 weeks Sponsored by: DARPA, AFRL Differ

svn commit: r307043 - head

2016-10-11 Thread Konstantin Belousov
Author: kib Date: Tue Oct 11 15:55:45 2016 New Revision: 307043 URL: https://svnweb.freebsd.org/changeset/base/307043 Log: Remove mqtest{3,4} from the obsoleted list. Reported by: O. Hartmann Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/ObsoleteFiles.inc

Re: svn commit: r307042 - head/sys/cam

2016-10-11 Thread Ngie Cooper (yaneurabeya)
> On Oct 11, 2016, at 8:27 AM, Alexander Motin wrote: > > Author: mav > Date: Tue Oct 11 15:27:39 2016 > New Revision: 307042 > URL: https://svnweb.freebsd.org/changeset/base/307042 > > Log: > Fix copy/paste bug in r306747. > > Submitted by:emaste, pfg > MFC after: 3 days Also, C

svn commit: r307042 - head/sys/cam

2016-10-11 Thread Alexander Motin
Author: mav Date: Tue Oct 11 15:27:39 2016 New Revision: 307042 URL: https://svnweb.freebsd.org/changeset/base/307042 Log: Fix copy/paste bug in r306747. Submitted by: emaste, pfg MFC after:3 days Modified: head/sys/cam/cam_compat.c Modified: head/sys/cam/cam_compat.c

svn commit: r307041 - head/sys/kern

2016-10-11 Thread Sean Bruno
Author: sbruno Date: Tue Oct 11 14:08:53 2016 New Revision: 307041 URL: https://svnweb.freebsd.org/changeset/base/307041 Log: Fix bug where malloc(.., M_NOWAIT) return value is not checked, Change to M_WAITOK and move outside the mutex Submitted by: shurd Reviewed by: mm...@nextbsd.org

svn commit: r307040 - head/release/doc/share/xml

2016-10-11 Thread Ed Maste
Author: emaste Date: Tue Oct 11 13:30:39 2016 New Revision: 307040 URL: https://svnweb.freebsd.org/changeset/base/307040 Log: Add Cavium sponsor entity Modified: head/release/doc/share/xml/sponsor.ent Modified: head/release/doc/share/xml/sponsor.ent ==

svn commit: r307038 - head/sys/dev/sfxge/common

2016-10-11 Thread Andrew Rybchenko
Author: arybchik Date: Tue Oct 11 13:08:48 2016 New Revision: 307038 URL: https://svnweb.freebsd.org/changeset/base/307038 Log: sfxge(4): update external port mapping for Medford Extend the mapping table for external port numbering to support port modes which output to the second external

svn commit: r307037 - head/lib/libc/gen

2016-10-11 Thread Konstantin Belousov
Author: kib Date: Tue Oct 11 11:46:02 2016 New Revision: 307037 URL: https://svnweb.freebsd.org/changeset/base/307037 Log: Correct indent. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/lib/libc/gen/recvmmsg.c Modified: head/lib/libc/gen/recvmmsg.c ==

svn commit: r307036 - head/lib/libc/gen

2016-10-11 Thread Konstantin Belousov
Author: kib Date: Tue Oct 11 11:45:12 2016 New Revision: 307036 URL: https://svnweb.freebsd.org/changeset/base/307036 Log: Fill msg_len for the initial element of msgvec. Submitted by: Daniel Salzman MFC after:3 days Modified: head/lib/libc/gen/recvmmsg.c Modified: head/lib/libc/