svn commit: r300713 - in head/sys: conf dev/spibus

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 07:02:20 2016 New Revision: 300713 URL: https://svnweb.freebsd.org/changeset/base/300713 Log: [spigen] add initial spigen driver from green@ This is a simple ioctl and mmap API to issue SPI transactions from userland. It's useful for simple devices (eg spi

svn commit: r300714 - head/contrib/top

2016-05-26 Thread Garrett Cooper
Author: ngie Date: Thu May 26 07:09:42 2016 New Revision: 300714 URL: https://svnweb.freebsd.org/changeset/base/300714 Log: The readme provides a high-level overview of how to upgrade top(1). Differential Revision: https://reviews.freebsd.org/D6493 MFC after: 1 week Reviewed By: ngie

Re: svn commit: r300714 - head/contrib/top

2016-05-26 Thread Ngie Cooper (yaneurabeya)
> On May 26, 2016, at 00:09, Garrett Cooper wrote: > > Author: ngie > Date: Thu May 26 07:09:42 2016 > New Revision: 300714 > URL: https://svnweb.freebsd.org/changeset/base/300714 > > Log: The summary should have also said: Add compat/top/FREEBSD-upgrade > The readme provides a high-level o

svn commit: r300715 - in head/sys: conf dev/gpio modules/gpio/gpiospi

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 07:20:33 2016 New Revision: 300715 URL: https://svnweb.freebsd.org/changeset/base/300715 Log: [gpiospi] add initial gpio SPI bit bang driver. Submitted by: ray Obtained from:zrouter Added: head/sys/dev/gpio/gpiospi.c (contents, props changed)

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

2016-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 26 08:41:55 2016 New Revision: 300718 URL: https://svnweb.freebsd.org/changeset/base/300718 Log: Add support for boolean sysctl's. Because the size of bool can be implementation defined, make a bool sysctl handler which handle bools. Userspace sees the bools

svn commit: r300719 - head/sys/compat/linuxkpi/common/include/linux

2016-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 26 08:44:11 2016 New Revision: 300719 URL: https://svnweb.freebsd.org/changeset/base/300719 Log: Add support for boolean module parameters in the LinuxKPI. Requested by: kmacy @ Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common

svn commit: r300720 - head/sys/compat/linuxkpi/common/include/linux

2016-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 26 08:47:06 2016 New Revision: 300720 URL: https://svnweb.freebsd.org/changeset/base/300720 Log: Add more module parameter macros to the LinuxKPI. Obtained from:kmacy @ Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common/

svn commit: r300721 - head/sys/compat/linuxkpi/common/include/linux

2016-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 26 09:04:14 2016 New Revision: 300721 URL: https://svnweb.freebsd.org/changeset/base/300721 Log: Add support for runtime modifiable module parameters in the LinuxKPI. Linux module parameters have a permissions value. If any write bits are set we are allowed

svn commit: r300722 - head/sys/x86/x86

2016-05-26 Thread Konstantin Belousov
Author: kib Date: Thu May 26 09:09:11 2016 New Revision: 300722 URL: https://svnweb.freebsd.org/changeset/base/300722 Log: Only calibrate ICR read loop when not in x2APIC mode. Run-time switching between LAPIC modes is not supported, and there is no need to wait for IPI ack in x2APIC mode.

svn commit: r300723 - in head/sys: dev/iser modules/iser

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 09:49:29 2016 New Revision: 300723 URL: https://svnweb.freebsd.org/changeset/base/300723 Log: Bring in the Mellanox implementation of iSER (iSCSI over RDMA) initiator, written by Sagi Grimberg and Max Gurtovoy . This code comes from https://github.com/sag

svn commit: r300724 - head/sys/dev/iser

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 09:53:24 2016 New Revision: 300724 URL: https://svnweb.freebsd.org/changeset/base/300724 Log: The taskqueue_enqueue_fast() was removed in r296272. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iser/iser_verbs.c Modifie

svn commit: r300725 - head/sys/compat/linuxkpi/common/include/asm

2016-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 26 10:03:22 2016 New Revision: 300725 URL: https://svnweb.freebsd.org/changeset/base/300725 Log: Define ATOMIC_LONG_INIT() in the LinuxKPI. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/

svn commit: r300726 - head/sys/riscv/include

2016-05-26 Thread Ruslan Bukin
Author: br Date: Thu May 26 10:03:30 2016 New Revision: 300726 URL: https://svnweb.freebsd.org/changeset/base/300726 Log: Increase the size and alignment of the setjmp buffer. This is required for future CPU extentions. Reviewed by: brooks Sponsored by: DARPA, AFRL Sponsored by: HEIF

svn commit: r300727 - head/sys/dev/iser

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 10:30:03 2016 New Revision: 300727 URL: https://svnweb.freebsd.org/changeset/base/300727 Log: Make iser(4) buildable again by adjusting it for the recent changes in ICL interface. - the ordering of parameters to icl_conn_task_setup is different, so that

svn commit: r300728 - in head/sys: arm/allwinner dev/usb/controller

2016-05-26 Thread Jared McNeill
Author: jmcneill Date: Thu May 26 10:50:39 2016 New Revision: 300728 URL: https://svnweb.freebsd.org/changeset/base/300728 Log: Enable USB PHY regulators when requested by the host controller driver. Previously the USB PHY driver would enable all regulators at attach time. This prevented

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

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 10:55:19 2016 New Revision: 300729 URL: https://svnweb.freebsd.org/changeset/base/300729 Log: wpi: refresh manpage. Reflect all recent changes in the manpage: - add adhoc-demo and hostap into list of supported modes; add few examples for them; - mention e

svn commit: r300731 - head/sys/netinet

2016-05-26 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 26 11:10:31 2016 New Revision: 300731 URL: https://svnweb.freebsd.org/changeset/base/300731 Log: Use optimised complexity safe sorting routine instead of the kernel's "qsort()". The kernel's "qsort()" routine can in worst case spend O(N*N) amount of compar

svn commit: r300732 - head/sys/dev/iwn

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 11:12:36 2016 New Revision: 300732 URL: https://svnweb.freebsd.org/changeset/base/300732 Log: iwn: add watchdog for scanning. Restart device if scanning was not done in time. Tested by:da...@catwhisker.org PR: 209198 Differential Revis

svn commit: r300733 - head/sys/netinet

2016-05-26 Thread Michael Tuexen
Author: tuexen Date: Thu May 26 11:38:26 2016 New Revision: 300733 URL: https://svnweb.freebsd.org/changeset/base/300733 Log: Make struct sctp_paddrthlds compliant to RFC 7829. Modified: head/sys/netinet/sctp_uio.h head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sctp_uio.h ==

svn commit: r300734 - head/sys/dev/iser

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 11:40:07 2016 New Revision: 300734 URL: https://svnweb.freebsd.org/changeset/base/300734 Log: Fix crash on removal of an unconnected iSER session. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iser/icl_iser.c Modified:

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

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 11:58:36 2016 New Revision: 300735 URL: https://svnweb.freebsd.org/changeset/base/300735 Log: bsdinstall: unbreak static address assignment for wired networks. This fixes regression introduced in r298946 (fixes static address assignment for wireless networks)

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

2016-05-26 Thread Ed Schouten
Hi Hans, 2016-05-26 13:10 GMT+02:00 Hans Petter Selasky : > Use optimised complexity safe sorting routine instead of the kernel's > "qsort()". Cool! Thanks for working on this! > The custom sorting routine takes advantage of that the sorting key is > only 64 bits. Based on set and cleare

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

2016-05-26 Thread Hans Petter Selasky
On 05/26/16 14:10, Ed Schouten wrote: Hi Hans, 2016-05-26 13:10 GMT+02:00 Hans Petter Selasky : Use optimised complexity safe sorting routine instead of the kernel's "qsort()". Cool! Thanks for working on this! The custom sorting routine takes advantage of that the sorting key is on

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

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 12:43:15 2016 New Revision: 300737 URL: https://svnweb.freebsd.org/changeset/base/300737 Log: Add a special case for iSER data tranfers. Obtained from:Mellanox Technologies MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: hea

svn commit: r300738 - in head: sbin/ifconfig sys/net80211

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 13:14:08 2016 New Revision: 300738 URL: https://svnweb.freebsd.org/changeset/base/300738 Log: ifconfig: set by default FCC regulatory domain for wireless interfaces. Change default regulatory domain from DEBUG (no limitations; exposes all device channels) to

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

2016-05-26 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 26 13:19:44 2016 New Revision: 300739 URL: https://svnweb.freebsd.org/changeset/base/300739 Log: sfxge(4): correct parenthesis location in if coundition Found by lint on illumos. Submitted by: Garrett D'Amore Sponsored by: Solarflare Communications

svn commit: r300741 - head/usr.bin/ar

2016-05-26 Thread Ed Schouten
Author: ed Date: Thu May 26 13:49:40 2016 New Revision: 300741 URL: https://svnweb.freebsd.org/changeset/base/300741 Log: Make code compile when basename() is POSIX compliant. In addition to the previous change I made to ar.c, pull in another basename() related fix. This change is similar

Re: svn commit: r300741 - head/usr.bin/ar

2016-05-26 Thread Ed Maste
On 26 May 2016 at 09:49, Ed Schouten wrote: > This change is similar to the one made to the > ELF Toolchain version of ar, with the difference that the ELF Toolchain > version lacks error handling for the strdup() call. As an aside, I plan to migrate to the ELF Tool Chain version of brandel

svn commit: r300744 - head/sys/dev/rtwn

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 14:17:57 2016 New Revision: 300744 URL: https://svnweb.freebsd.org/changeset/base/300744 Log: rtwn: replace hardcoded rate indices with their names (similar to r289758). - Use macros to define rate indices; don't hardcode them in code. - Add method for 'rate'

svn commit: r300745 - head/usr.bin/iscsictl

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 14:19:24 2016 New Revision: 300745 URL: https://svnweb.freebsd.org/changeset/base/300745 Log: Make iscsictl(8) actually report non-zero status on errors. The "failed" is negative, because the error returned from calls to ioctl(2) is negative. MFC after:

svn commit: r300746 - head/usr.bin/iscsictl

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 14:21:02 2016 New Revision: 300746 URL: https://svnweb.freebsd.org/changeset/base/300746 Log: Do libxo cleanup even in case of errors. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/iscsictl/iscsictl.c Modified: head/us

svn commit: r300747 - head/usr.sbin/extattr

2016-05-26 Thread Alan Somers
Author: asomers Date: Thu May 26 14:26:49 2016 New Revision: 300747 URL: https://svnweb.freebsd.org/changeset/base/300747 Log: rmextattr(8) man page clarifications regarding -qq Reviewed by: ngie MFC after:6 days X-MFC-With: 299085 Sponsored by: Spectra Logic Corp Differentia

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

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 15:05:37 2016 New Revision: 300748 URL: https://svnweb.freebsd.org/changeset/base/300748 Log: run: switch to ieee80211_add_channel_list_*() - Use device's channel list instead of default one (from ieee80211_init_channels()). - Add ic_getradiocaps() method.

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

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 15:12:54 2016 New Revision: 300749 URL: https://svnweb.freebsd.org/changeset/base/300749 Log: ural: switch to ieee80211_add_channel_list_*() - Use device's channel list instead of default one (+ 12, 13 and 14 2GHz channels). - Add ic_getradiocaps() method.

svn commit: r300750 - in head/sys/dev: extres/regulator gpio

2016-05-26 Thread Ian Lepore
Author: ian Date: Thu May 26 15:45:36 2016 New Revision: 300750 URL: https://svnweb.freebsd.org/changeset/base/300750 Log: Rename gpiobus_map_pin() to gpiobus_acquire_pin(), to better reflect the fact that the caller is requesting exclusive use of the pin, and also to better match the invers

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

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 15:56:27 2016 New Revision: 300751 URL: https://svnweb.freebsd.org/changeset/base/300751 Log: zyd: switch to ieee80211_add_channel_list_*() - Use device's channel list instead of default one (adds 12, 13 and 14 2GHz channels). - Add ic_getradiocaps() method

svn commit: r300752 - head/sys/dev/ral

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 16:05:19 2016 New Revision: 300752 URL: https://svnweb.freebsd.org/changeset/base/300752 Log: ral: switch to ieee80211_add_channel_list_*() - Use device's channel list instead of default one (from ieee80211_init_channels()). - Add ic_getradiocaps() method.

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

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 16:15:10 2016 New Revision: 300753 URL: https://svnweb.freebsd.org/changeset/base/300753 Log: urtw: switch to ieee80211_add_channel_list_2ghz(). - Use device's channel list instead of default one (from ieee80211_init_channels()). - Add ic_getradiocaps() met

svn commit: r300754 - in head/sys/dev: rtwn urtwn usb/wlan

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 16:39:11 2016 New Revision: 300754 URL: https://svnweb.freebsd.org/changeset/base/300754 Log: urtwn, rtwn, rsu: switch to ieee80211_add_channel_list_2ghz(). - Use device's channel list instead of default one (from ieee80211_init_channels()); adds 12 - 14 2GHz

svn commit: r300755 - head/sys/dev/bwi

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 16:48:20 2016 New Revision: 300755 URL: https://svnweb.freebsd.org/changeset/base/300755 Log: bwi: switch to ieee80211_add_channel_list_2ghz(). - Use device's channel list instead of default one (from ieee80211_init_channels()); adds 12 - 14 2GHz channels.

svn commit: r300756 - head/sys/vm

2016-05-26 Thread Konstantin Belousov
Author: kib Date: Thu May 26 16:51:38 2016 New Revision: 300756 URL: https://svnweb.freebsd.org/changeset/base/300756 Log: Style changes to some most outrageous violations in vm_object_collapse(). Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: h

svn commit: r300757 - head/sys/dev/ofw

2016-05-26 Thread Ian Lepore
Author: ian Date: Thu May 26 16:53:50 2016 New Revision: 300757 URL: https://svnweb.freebsd.org/changeset/base/300757 Log: Fix a typo in a comment. Modified: head/sys/dev/ofw/ofw_bus_subr.h Modified: head/sys/dev/ofw/ofw_bus_subr.h

svn commit: r300758 - head/sys/vm

2016-05-26 Thread Konstantin Belousov
Author: kib Date: Thu May 26 16:59:29 2016 New Revision: 300758 URL: https://svnweb.freebsd.org/changeset/base/300758 Log: Prevent parallel object collapses. Both vm_object_collapse_scan() and swap_pager_copy() might unlock the object, which allows the parallel collapse to execute. Besides

svn commit: r300759 - head/sys/dev/ral

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 17:06:43 2016 New Revision: 300759 URL: https://svnweb.freebsd.org/changeset/base/300759 Log: ral: add missing ic_getradiocaps() assignment. Modified: head/sys/dev/ral/rt2661.c Modified: head/sys/dev/ral/rt2661.c =

Re: svn commit: r300557 - head/usr.sbin/apmd

2016-05-26 Thread Jilles Tjoelker
On Tue, May 24, 2016 at 08:52:32AM -0700, John Baldwin wrote: > On Monday, May 23, 2016 09:24:41 PM Alan Somers wrote: > > On Mon, May 23, 2016 at 9:15 PM, Peter Wemm wrote: > > > Author: peter > > > Date: Tue May 24 03:15:46 2016 > > > New Revision: 300557 > > > URL: https://svnweb.freebsd.org/c

svn commit: r300760 - head/sys/dev/siba

2016-05-26 Thread Adrian Chadd
Author: adrian Date: Thu May 26 18:01:03 2016 New Revision: 300760 URL: https://svnweb.freebsd.org/changeset/base/300760 Log: [siba] use the generic bus methods where appropriate. Submitted by: jhibbits Differential Revision:https://reviews.freebsd.org/D802 Modified: head/sys/d

Re: svn commit: r300557 - head/usr.sbin/apmd

2016-05-26 Thread Peter Wemm
On Thursday, May 26, 2016 07:54:20 PM Jilles Tjoelker wrote: > On Tue, May 24, 2016 at 08:52:32AM -0700, John Baldwin wrote: > > On Monday, May 23, 2016 09:24:41 PM Alan Somers wrote: > > > On Mon, May 23, 2016 at 9:15 PM, Peter Wemm wrote: > > > > Author: peter > > > > Date: Tue May 24 03:15:46 2

svn commit: r300761 - head/release

2016-05-26 Thread Glen Barber
Author: gjb Date: Thu May 26 18:24:00 2016 New Revision: 300761 URL: https://svnweb.freebsd.org/changeset/base/300761 Log: Disconnect the AZURE target from the CLOUDWARE list. Microsoft has graciously overtaken publication of FreeBSD on Azure since 10.3-RELEASE. Many thanks to Micros

svn commit: r300762 - head/release

2016-05-26 Thread Glen Barber
Author: gjb Date: Thu May 26 18:26:44 2016 New Revision: 300762 URL: https://svnweb.freebsd.org/changeset/base/300762 Log: Disconnect the OPENSTACK target from the CLOUDWARE list. This was reported to not work as expected, and feedback following the report was never received. In addition

Re: svn commit: r299393 - in head: . share/mk

2016-05-26 Thread John Baldwin
On Wednesday, May 25, 2016 03:27:07 PM Hans Petter Selasky wrote: > On 05/11/16 00:32, John Baldwin wrote: > > Author: jhb > > Date: Tue May 10 22:32:23 2016 > > New Revision: 299393 > > URL: https://svnweb.freebsd.org/changeset/base/299393 > > > > Log: > > Change the default installation directo

svn commit: r300763 - head/share/mk

2016-05-26 Thread John Baldwin
Author: jhb Date: Thu May 26 18:28:10 2016 New Revision: 300763 URL: https://svnweb.freebsd.org/changeset/base/300763 Log: Update default KMODDIR in comment after r299393. Submitted by: hselasky Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own.mk ==

svn commit: r300764 - head/sys/netinet

2016-05-26 Thread John Baldwin
Author: jhb Date: Thu May 26 18:35:37 2016 New Revision: 300764 URL: https://svnweb.freebsd.org/changeset/base/300764 Log: Don't reuse the source mbuf in tcp_respond() if it is not writable. Not all mbufs passed up from device drivers are M_WRITABLE(). In particular, the Chelsio T4/T5 dr

svn commit: r300767 - head/release

2016-05-26 Thread Glen Barber
Author: gjb Date: Thu May 26 18:48:37 2016 New Revision: 300767 URL: https://svnweb.freebsd.org/changeset/base/300767 Log: Remove the cw*-install target. All operations are performed on the original output file, and nothing is ever done with the copied file (as in, no modifications and/

svn commit: r300768 - head/release

2016-05-26 Thread Glen Barber
Author: gjb Date: Thu May 26 18:50:57 2016 New Revision: 300768 URL: https://svnweb.freebsd.org/changeset/base/300768 Log: Update a commented line to replace recently-removed images with images that are published. Sponsored by: The FreeBSD Foundation Modified: head/release/release.conf

svn commit: r300769 - head/sys/arm/ti

2016-05-26 Thread Luiz Otavio O Souza
Author: loos Date: Thu May 26 18:52:26 2016 New Revision: 300769 URL: https://svnweb.freebsd.org/changeset/base/300769 Log: Only do the touch screen setup when the 'ti,wires' property is present. While here fix a typo in a debug message. Modified: head/sys/arm/ti/ti_adc.c Modified: head

svn commit: r300770 - in head: . contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src contrib/libc++/src/include contrib/libc++/src/support lib/l...

2016-05-26 Thread Dimitry Andric
Author: dim Date: Thu May 26 18:52:49 2016 New Revision: 300770 URL: https://svnweb.freebsd.org/changeset/base/300770 Log: Update libc++ to 3.8.0. Excerpted list of fixes (with upstream revision numbers): r242679 Implement the plugin-based version of std::search. There are no s

svn commit: r300771 - head/sys/netgraph/netflow

2016-05-26 Thread Jung-uk Kim
Author: jkim Date: Thu May 26 18:57:26 2016 New Revision: 300771 URL: https://svnweb.freebsd.org/changeset/base/300771 Log: Use bit_count(3) instead of four bitcount32() calls. Reviewed by: asomers, ngie Differential Revision:https://reviews.freebsd.org/D6543 Modified: head/sy

svn commit: r300772 - head/sys/netgraph/netflow

2016-05-26 Thread Jung-uk Kim
Author: jkim Date: Thu May 26 19:17:51 2016 New Revision: 300772 URL: https://svnweb.freebsd.org/changeset/base/300772 Log: Fix style(9). Modified: head/sys/netgraph/netflow/netflow.c Modified: head/sys/netgraph/netflow/netflow.c ==

svn commit: r300773 - in head/sys: crypto crypto/aesni crypto/sha2 crypto/siphash kern sys

2016-05-26 Thread Conrad E. Meyer
Author: cem Date: Thu May 26 19:29:29 2016 New Revision: 300773 URL: https://svnweb.freebsd.org/changeset/base/300773 Log: crypto routines: Hint minimum buffer sizes to the compiler Use the C99 'static' keyword to hint to the compiler IVs and output digest sizes. The keyword informs the

Re: svn commit: r300773 - in head/sys: crypto crypto/aesni crypto/sha2 crypto/siphash kern sys

2016-05-26 Thread Glen Barber
On Thu, May 26, 2016 at 07:29:29PM +, Conrad E. Meyer wrote: > Author: cem > Date: Thu May 26 19:29:29 2016 > New Revision: 300773 > URL: https://svnweb.freebsd.org/changeset/base/300773 > > Log: > crypto routines: Hint minimum buffer sizes to the compiler > > Use the C99 'static' keywo

svn commit: r300774 - head/sys/sys

2016-05-26 Thread Conrad E. Meyer
Author: cem Date: Thu May 26 20:37:49 2016 New Revision: 300774 URL: https://svnweb.freebsd.org/changeset/base/300774 Log: Ifndef KERNEL the userspace-only routines in sys/md[45].h A follow-up to r300773. Nothing in the kernel uses those definitions, but apparently libmd includes the sys

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

2016-05-26 Thread Jung-uk Kim
On 05/26/16 04:37 PM, Conrad E. Meyer wrote: > Author: cem > Date: Thu May 26 20:37:49 2016 > New Revision: 300774 > URL: https://svnweb.freebsd.org/changeset/base/300774 > > Log: > Ifndef KERNEL the userspace-only routines in sys/md[45].h > > A follow-up to r300773. Nothing in the kernel

svn commit: r300775 - head/lib/libc/stdlib

2016-05-26 Thread Ed Schouten
Author: ed Date: Thu May 26 20:55:15 2016 New Revision: 300775 URL: https://svnweb.freebsd.org/changeset/base/300775 Log: Let l64a() properly null terminate its result. Though the buffer used by l64a() is initialized with null bytes, repetetive calls may end up having trailing garbage of

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

2016-05-26 Thread Gleb Smirnoff
On Mon, May 23, 2016 at 10:31:54AM +, Hans Petter Selasky wrote: H> Author: hselasky H> Date: Mon May 23 10:31:54 2016 H> New Revision: 300489 H> URL: https://svnweb.freebsd.org/changeset/base/300489 H> H> Log: H> Use DELAY() instead of _sleep() when SCHEDULER_STOPPED() is set inside H> pa

svn commit: r300776 - head/release

2016-05-26 Thread Glen Barber
Author: gjb Date: Thu May 26 21:08:44 2016 New Revision: 300776 URL: https://svnweb.freebsd.org/changeset/base/300776 Log: Remove vestigial cloudware-install bits missed in r300767. Sponsored by: The FreeBSD Foundation Modified: head/release/Makefile head/release/Makefile.vm Modified:

svn commit: r300777 - in head/sys: arm/allwinner boot/fdt/dts/arm dev/iicbus/twsi

2016-05-26 Thread Emmanuel Vadot
Author: manu Date: Thu May 26 21:09:07 2016 New Revision: 300777 URL: https://svnweb.freebsd.org/changeset/base/300777 Log: Add support for interrupts, sensors and GPIO for AXP209 PMIC. Pressing the PEK (power enable key) will shutdown the board. Some events are reported to devd via system "

Re: svn commit: r300671 - in head/sys/compat/linuxkpi/common: include/linux src

2016-05-26 Thread Gleb Smirnoff
Hi! The SCHEDULER_STOPPED() already has __predict_false() in it, so unlikely() is superfluous. On Wed, May 25, 2016 at 09:04:06AM +, Hans Petter Selasky wrote: H> Author: hselasky H> Date: Wed May 25 09:04:06 2016 H> New Revision: 300671 H> URL: https://svnweb.freebsd.org/changeset/base/3

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

2016-05-26 Thread Gleb Smirnoff
Michael, On Wed, May 25, 2016 at 01:48:26PM +, Michael Tuexen wrote: M> Author: tuexen M> Date: Wed May 25 13:48:26 2016 M> New Revision: 300679 M> URL: https://svnweb.freebsd.org/changeset/base/300679 M> M> Log: M> Count packets as not being delivered only if they are neither M> proces

Re: svn commit: r300718 - in head/sys: kern sys

2016-05-26 Thread Gleb Smirnoff
Hans, On Thu, May 26, 2016 at 08:41:55AM +, Hans Petter Selasky wrote: H> Author: hselasky H> Date: Thu May 26 08:41:55 2016 H> New Revision: 300718 H> URL: https://svnweb.freebsd.org/changeset/base/300718 H> H> Log: H> Add support for boolean sysctl's. H> H> Because the size of bool

svn commit: r300779 - in head: sbin/ipfw sys/modules/dummynet sys/netinet sys/netpfil/ipfw

2016-05-26 Thread Don Lewis
Author: truckman Date: Thu May 26 21:40:13 2016 New Revision: 300779 URL: https://svnweb.freebsd.org/changeset/base/300779 Log: Import Dummynet AQM version 0.2.1 (CoDel, FQ-CoDel, PIE and FQ-PIE). Centre for Advanced Internet Architectures Implementing AQM in FreeBSD * Overview

svn commit: r300780 - in head/sys/boot/efi: include libefi

2016-05-26 Thread John Baldwin
Author: jhb Date: Thu May 26 21:43:22 2016 New Revision: 300780 URL: https://svnweb.freebsd.org/changeset/base/300780 Log: Add some routines for working with EFI DEVICE_PATH objects. - efi_lookup_devpath() uses the DEVICE_PATH_PROTOCOL to obtain the DEVICE_PATH for a given EFI handle.

svn commit: r300781 - head/sys/netpfil/ipfw

2016-05-26 Thread Don Lewis
Author: truckman Date: Thu May 26 21:44:52 2016 New Revision: 300781 URL: https://svnweb.freebsd.org/changeset/base/300781 Log: Modify BOUND_VAR() macro to wrap all of its arguments in () and tweak its expression to work on powerpc and sparc64 (gcc compatibility). Correct a typo in a near

Re: svn commit: r300771 - head/sys/netgraph/netflow

2016-05-26 Thread Gleb Smirnoff
On Thu, May 26, 2016 at 06:57:26PM +, Jung-uk Kim wrote: J> Author: jkim J> Date: Thu May 26 18:57:26 2016 J> New Revision: 300771 J> URL: https://svnweb.freebsd.org/changeset/base/300771 J> J> Log: J> Use bit_count(3) instead of four bitcount32() calls. J> J> Reviewed by: asomers

svn commit: r300782 - head/sys/boot/efi/libefi

2016-05-26 Thread John Baldwin
Author: jhb Date: Thu May 26 21:48:39 2016 New Revision: 300782 URL: https://svnweb.freebsd.org/changeset/base/300782 Log: Output the device path description for EFI network devices. Lookup the DEVICE_PATH for each EFI network device handle and output the string description using printf w

Re: svn commit: r300771 - head/sys/netgraph/netflow

2016-05-26 Thread Jung-uk Kim
On 05/26/16 05:45 PM, Gleb Smirnoff wrote: > On Thu, May 26, 2016 at 06:57:26PM +, Jung-uk Kim wrote: > J> Author: jkim > J> Date: Thu May 26 18:57:26 2016 > J> New Revision: 300771 > J> URL: https://svnweb.freebsd.org/changeset/base/300771 > J> > J> Log: > J> Use bit_count(3) instead of fou

svn commit: r300783 - head/sys/netpfil/ipfw

2016-05-26 Thread Don Lewis
Author: truckman Date: Thu May 26 22:03:28 2016 New Revision: 300783 URL: https://svnweb.freebsd.org/changeset/base/300783 Log: Correct a typo in a comment. MFC after:2 weeks (with r300779) Modified: head/sys/netpfil/ipfw/dn_aqm.h Modified: head/sys/netpfil/ipfw/dn_aqm.h ===

svn commit: r300784 - head/sys/conf

2016-05-26 Thread Don Lewis
Author: truckman Date: Thu May 26 22:07:09 2016 New Revision: 300784 URL: https://svnweb.freebsd.org/changeset/base/300784 Log: Include the new AQM files when compiling a kernel with options DUMMYNET. Reported by: Nikolay Denev MFC after:2 weeks (with r300779) Modified: head/sys/

svn commit: r300785 - head/sys/boot/efi/libefi

2016-05-26 Thread John Baldwin
Author: jhb Date: Thu May 26 22:13:40 2016 New Revision: 300785 URL: https://svnweb.freebsd.org/changeset/base/300785 Log: Use routines from the recently added devpath.c. These efipart layer did several devpath related operations inline. This just switches it over to using shared code fo

svn commit: r300786 - head/sys/arm/freescale/imx

2016-05-26 Thread Ian Lepore
Author: ian Date: Thu May 26 22:34:25 2016 New Revision: 300786 URL: https://svnweb.freebsd.org/changeset/base/300786 Log: Add support for triggering interrupts on both rising and falling edges. Also, EOI a gpio interrupt in the post_ithread routine before re-enabling. Modified: head/sys/ar

svn commit: r300787 - head/sys/dev/gpio

2016-05-26 Thread Ian Lepore
Author: ian Date: Thu May 26 22:35:52 2016 New Revision: 300787 URL: https://svnweb.freebsd.org/changeset/base/300787 Log: Add a convenience function to get a gpio pin's capabilties. Modified: head/sys/dev/gpio/gpiobusvar.h head/sys/dev/gpio/ofw_gpiobus.c Modified: head/sys/dev/gpio/gpiobu

Re: svn commit: r300779 - in head: sbin/ipfw sys/modules/dummynet sys/netinet sys/netpfil/ipfw

2016-05-26 Thread Don Lewis
On 26 May, To: src-committ...@freebsd.org wrote: > Author: truckman > Date: Thu May 26 21:40:13 2016 > New Revision: 300779 > URL: https://svnweb.freebsd.org/changeset/base/300779 > > Log: > Import Dummynet AQM version 0.2.1 (CoDel, FQ-CoDel, PIE and FQ-PIE). > > Centre for Advanced Interne

svn commit: r300788 - in head/sys/dev: rtwn urtwn

2016-05-26 Thread Andriy Voskoboinyk
Author: avos Date: Thu May 26 22:43:02 2016 New Revision: 300788 URL: https://svnweb.freebsd.org/changeset/base/300788 Log: rtwn, urtwn: drop unused structures. urtwn(4) uses another implementation of command queue; rtwn(4) don't need it at all. Modified: head/sys/dev/rtwn/if_rtwnreg.h

Re: svn commit: r300718 - in head/sys: kern sys

2016-05-26 Thread Ian Lepore
On Thu, 2016-05-26 at 14:37 -0700, Gleb Smirnoff wrote: > Hans, > > On Thu, May 26, 2016 at 08:41:55AM +, Hans Petter Selasky wrote: > H> Author: hselasky > H> Date: Thu May 26 08:41:55 2016 > H> New Revision: 300718 > H> URL: https://svnweb.freebsd.org/changeset/base/300718 > H> > H> Log:

svn commit: r300789 - head/sys/boot/efi/loader

2016-05-26 Thread John Baldwin
Author: jhb Date: Thu May 26 23:06:36 2016 New Revision: 300789 URL: https://svnweb.freebsd.org/changeset/base/300789 Log: Remove second copy of the -Wno-format band-aid for printf %S. Modified: head/sys/boot/efi/loader/Makefile Modified: head/sys/boot/efi/loader/Makefile ===

svn commit: r300790 - head/sys/boot/efi/libefi

2016-05-26 Thread John Baldwin
Author: jhb Date: Thu May 26 23:07:20 2016 New Revision: 300790 URL: https://svnweb.freebsd.org/changeset/base/300790 Log: Apply the printf %S band-aid for efinet.c to fix the arm64 build. Modified: head/sys/boot/efi/libefi/Makefile Modified: head/sys/boot/efi/libefi/Makefile ===

svn commit: r300791 - head/sys/boot/efi/libefi

2016-05-26 Thread John Baldwin
Author: jhb Date: Thu May 26 23:08:57 2016 New Revision: 300791 URL: https://svnweb.freebsd.org/changeset/base/300791 Log: Use a unique error message if we fail to find the simple network protocol. While here, fix the various net driver callbacks to return early instead of crashing if thi

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

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:18:54 2016 New Revision: 300792 URL: https://svnweb.freebsd.org/changeset/base/300792 Log: exec: Add credential change information into imgp for process_exec hook. This allows an EVENTHANDLER(process_exec) hook to see if the new image will cause creden

svn commit: r300793 - head/sys/kern

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:19:39 2016 New Revision: 300793 URL: https://svnweb.freebsd.org/changeset/base/300793 Log: exec: Provide execpath in imgp for the process_exec hook. This was previously set after the hook and only if auxargs were present. Now always provide it if possi

svn commit: r300794 - head

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:19:57 2016 New Revision: 300794 URL: https://svnweb.freebsd.org/changeset/base/300794 Log: Remove leftover _crunchide from r283108 Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ==

svn commit: r300796 - head/share/mk

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:04 2016 New Revision: 300796 URL: https://svnweb.freebsd.org/changeset/base/300796 Log: Fix MAKESYSPATH not being sent to sub-makes after r266566. Because bmake defaults to .../share/mk now, this code was not doing anything to help objdir builds (su

svn commit: r300798 - head/targets/pseudo/kernel

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:10 2016 New Revision: 300798 URL: https://svnweb.freebsd.org/changeset/base/300798 Log: DIRDEPS_BUILD: Build the kernel in the same place as buildkernel would. Sponsored by: EMC / Isilon Storage Division Modified: head/targets/pseudo/kernel/Makefil

svn commit: r300795 - in head: . sys/conf targets/pseudo/kernel

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:01 2016 New Revision: 300795 URL: https://svnweb.freebsd.org/changeset/base/300795 Log: WITH_META_MODE: Move the kernel support to kern.pre.mk. This allows using META_MODE directly from the kernel build directory. This also allows removing a hack fr

svn commit: r300797 - head/usr.sbin/extattr

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:07 2016 New Revision: 300797 URL: https://svnweb.freebsd.org/changeset/base/300797 Log: DIRDEPS_BUILD: Update dependencies. Sponsored by: EMC / Isilon Storage Division Modified: head/usr.sbin/extattr/Makefile.depend Modified: head/usr.sbin/extattr

svn commit: r300800 - head/sys/cddl/boot/zfs

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:17 2016 New Revision: 300800 URL: https://svnweb.freebsd.org/changeset/base/300800 Log: Use netinet/in.h to avoid include/arpa dependency for DIRDEPS_BUILD. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/cddl/boot/zfs/lz4.c Modifie

svn commit: r300799 - in head/sys: conf modules

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:14 2016 New Revision: 300799 URL: https://svnweb.freebsd.org/changeset/base/300799 Log: Add some missing .PHONY. These are relevant for WITH_META_MODE to ensure they are always reran and don't generate a .meta file. Sponsored by: EMC / Isilon S

svn commit: r300805 - head/share/mk

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:33 2016 New Revision: 300805 URL: https://svnweb.freebsd.org/changeset/base/300805 Log: Don't strip paths away from META_XTRAS. This would otherwise disallow using meta files from a foreign build that spread them around in directories outside our ow

svn commit: r300807 - in head: rescue/rescue share/mk targets/pseudo/userland/misc

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:40 2016 New Revision: 300807 URL: https://svnweb.freebsd.org/changeset/base/300807 Log: DIRDEPS_BUILD: Fix and hookup rescue/rescue to the build. Sponsored by: EMC / Isilon Storage Division Added: head/rescue/rescue/Makefile.depend (contents, pro

svn commit: r300804 - head/share/mk

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:30 2016 New Revision: 300804 URL: https://svnweb.freebsd.org/changeset/base/300804 Log: Avoid redundant 'make objs' tree-walk when building the main prog. The main prog has a dependency on the submake targets to ensure they are built. From bsd.crun

svn commit: r300801 - head/share/mk

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:20 2016 New Revision: 300801 URL: https://svnweb.freebsd.org/changeset/base/300801 Log: DIRDEPS_BUILD: Don't show finished stats, which confuses crunchgen(1). It would show 'make error:' lines for each auto object directory created. Sponsored by:

svn commit: r300803 - head/share/mk

2016-05-26 Thread Bryan Drewery
Author: bdrewery Date: Thu May 26 23:20:27 2016 New Revision: 300803 URL: https://svnweb.freebsd.org/changeset/base/300803 Log: Pass CC/CXX/CFLAGS/CXXFLAGS/LDFLAGS to the main crunch exec build. This fixes --sysroot and other CFLAGS/LDFLAGS not being respected in the crunchgen build since

  1   2   >