svn commit: r312740 - head/sys/dev/cesa

2017-01-24 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 06:11:07 2017 New Revision: 312740 URL: https://svnweb.freebsd.org/changeset/base/312740 Log: Add misssing Armada38x ID's in CESA attach Marvell Armada 38x is supported in 3 variants, so take all into consideration in crypto driver attach routine.

svn commit: r312739 - in head/sys/arm/mv: armada armada38x

2017-01-24 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 06:08:10 2017 New Revision: 312739 URL: https://svnweb.freebsd.org/changeset/base/312739 Log: Introduce armada_thermal driver for Armada family platforms * Currently supports only Armada38X family but other Marvell SoC's can be added if needed. * Provides

Re: svn commit: r312724 - in head/sys: sys vm

2017-01-24 Thread Mateusz Guzik
On Wed, Jan 25, 2017 at 01:29:21PM +1100, Bruce Evans wrote: > On Tue, 24 Jan 2017, Mateusz Guzik wrote: > > >Log: > > hwpmc: partially depessimize munmap handling if the module is not loaded > > > > HWPMC_HOOKS is enabled in GENERIC and triggers some work avoidable in the > > common (module not

Re: svn commit: r312724 - in head/sys: sys vm

2017-01-24 Thread Bruce Evans
On Tue, 24 Jan 2017, Mateusz Guzik wrote: Log: hwpmc: partially depessimize munmap handling if the module is not loaded HWPMC_HOOKS is enabled in GENERIC and triggers some work avoidable in the common (module not loaded) case. ... Modified: head/sys/sys/pmckern.h

svn commit: r312732 - head/sys/cam

2017-01-24 Thread Warner Losh
Author: imp Date: Wed Jan 25 02:05:08 2017 New Revision: 312732 URL: https://svnweb.freebsd.org/changeset/base/312732 Log: Preening pass to fix up trailing white space and other minor style(9) nits (though I'm sure others remain). MFC After: 3 days Modified: head/sys/cam/cam_iosched.c

svn commit: r312728 - head/sys/dev/qlxgbe

2017-01-24 Thread David C Somayajulu
Author: davidcs Date: Wed Jan 25 00:23:38 2017 New Revision: 312728 URL: https://svnweb.freebsd.org/changeset/base/312728 Log: Added support for if_transmit and if_qflush Removed if_start updated version to 3.10.33 MFC after:5 days Modified: head/sys/dev/qlxgbe/ql_def.h

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

2017-01-24 Thread Alexey Dokuchaev
On Tue, Jan 24, 2017 at 09:48:58PM +, Mateusz Guzik wrote: > New Revision: 312723 > URL: https://svnweb.freebsd.org/changeset/base/312723 > > Log: > proc: perform a lockless check in sys_issetugid > > Discussed with: kib Shouldn't the summary of this discussion be included in the

svn commit: r312726 - head/sys/dev/ath/ath_hal

2017-01-24 Thread Adrian Chadd
Author: adrian Date: Tue Jan 24 22:52:09 2017 New Revision: 312726 URL: https://svnweb.freebsd.org/changeset/base/312726 Log: [ath_hal] note that the CCA configuration setting may be chip-dependent. I bet it isn't, but who knows - this is making assumptions about the layout of AR_DIAG.

svn commit: r312725 - head/sys/kern

2017-01-24 Thread Ed Maste
Author: emaste Date: Tue Jan 24 22:46:43 2017 New Revision: 312725 URL: https://svnweb.freebsd.org/changeset/base/312725 Log: imgact_elf: refactor et_dyn_addr calculation This simplifies the logic somewhat. It is extracted from the change in review in D5603. Differential Revision:

RE: svn commit: r312687 - in head/sys: net sys

2017-01-24 Thread Dexuan Cui via svn-src-head
> From: Gleb Smirnoff [mailto:gleb...@freebsd.org] > Dexuan, > > On Tue, Jan 24, 2017 at 09:19:47AM +, Dexuan Cui wrote: > D> --- head/sys/sys/eventhandler.hTue Jan 24 09:15:36 2017 > (r312686) > D> +++ head/sys/sys/eventhandler.hTue Jan 24 09:19:46 2017 > (r312687) > D>

svn commit: r312723 - head/sys/kern

2017-01-24 Thread Mateusz Guzik
Author: mjg Date: Tue Jan 24 21:48:57 2017 New Revision: 312723 URL: https://svnweb.freebsd.org/changeset/base/312723 Log: proc: perform a lockless check in sys_issetugid Discussed with: kib MFC after:1 week Modified: head/sys/kern/kern_prot.c Modified:

svn commit: r312722 - head/sys/netinet

2017-01-24 Thread Michael Tuexen
Author: tuexen Date: Tue Jan 24 21:30:31 2017 New Revision: 312722 URL: https://svnweb.freebsd.org/changeset/base/312722 Log: Fix a bug where the overhead of the I-DATA chunk was not considered. MFC after: 1 week Modified: head/sys/netinet/sctp_output.c Modified:

svn commit: r312721 - head/share/skel

2017-01-24 Thread Jilles Tjoelker
Author: jilles Date: Tue Jan 24 21:07:13 2017 New Revision: 312721 URL: https://svnweb.freebsd.org/changeset/base/312721 Log: skel: Remove reference to deleted part in previous commit to this file. Reported by: Rodney W. Grimes MFC after:1 week Modified: head/share/skel/dot.shrc

Re: svn commit: r312702 - in head/sys: kern libkern sys

2017-01-24 Thread Bruce Evans
On Tue, 24 Jan 2017, Conrad E. Meyer wrote: Log: Use time_t for intermediate values to avoid overflow in clock_ts_to_ct This is bogus. time_t is for storing times in seconds, not for times in days, hours or minutes. Add additionally safety and overflow checks to clock_ts_to_ct and the

Re: svn commit: r312687 - in head/sys: net sys

2017-01-24 Thread Gleb Smirnoff
Dexuan, On Tue, Jan 24, 2017 at 09:19:47AM +, Dexuan Cui wrote: D> Author: dexuan D> Date: Tue Jan 24 09:19:46 2017 D> New Revision: 312687 D> URL: https://svnweb.freebsd.org/changeset/base/312687 D> D> Log: D> ifnet: introduce event handlers for ifup/ifdown events D> D> Hyper-V's

svn commit: r312703 - head/lib/libc/aarch64/sys

2017-01-24 Thread Andrew Turner
Author: andrew Date: Tue Jan 24 18:56:09 2017 New Revision: 312703 URL: https://svnweb.freebsd.org/changeset/base/312703 Log: Fix the error value we write in cerror. __error returns an int *, however we were writing a 64 bit value meaning the 32 bits after this would be trashed. MFC

svn commit: r312702 - in head/sys: kern libkern sys

2017-01-24 Thread Conrad E. Meyer
Author: cem Date: Tue Jan 24 18:05:29 2017 New Revision: 312702 URL: https://svnweb.freebsd.org/changeset/base/312702 Log: Use time_t for intermediate values to avoid overflow in clock_ts_to_ct Add additionally safety and overflow checks to clock_ts_to_ct and the BCD routines while we're

svn commit: r312699 - head/sys/amd64/linux

2017-01-24 Thread Tijl Coosemans
Author: tijl Date: Tue Jan 24 16:13:59 2017 New Revision: 312699 URL: https://svnweb.freebsd.org/changeset/base/312699 Log: Apply r210555 to 64 bit linux support: The interpreter name should no longer be treated as a buffer that can be overwritten. PR: 216346 MFC after:

svn commit: r312698 - in head/sys: dev/e1000 kern net sys

2017-01-24 Thread Sean Bruno
Author: sbruno Date: Tue Jan 24 16:05:42 2017 New Revision: 312698 URL: https://svnweb.freebsd.org/changeset/base/312698 Log: iflib: Add internal tracking of smp startup status to reliably figure out what methods are to be used to get gtaskqueue up and running. e1000:

svn commit: r312696 - in head/sys: dev/e1000 kern net sys

2017-01-24 Thread Sean Bruno
Author: sbruno Date: Tue Jan 24 14:48:32 2017 New Revision: 312696 URL: https://svnweb.freebsd.org/changeset/base/312696 Log: iflib: Add internal tracking of smp startup status to reliably figure out what methods are to be used to get gtaskqueue up and running. e1000:

Re: svn commit: r312694 - in head: sys/cam/ctl usr.sbin/ctladm

2017-01-24 Thread Alexander Motin
On 24.01.2017 15:14, Konstantin Belousov wrote: > On Tue, Jan 24, 2017 at 12:13:41PM +, Alexander Motin wrote: >> Author: mav >> Date: Tue Jan 24 12:13:41 2017 >> New Revision: 312694 >> URL: https://svnweb.freebsd.org/changeset/base/312694 >> >> Log: >> Make CTL ramdisk backend a real RAM

Re: svn commit: r312694 - in head: sys/cam/ctl usr.sbin/ctladm

2017-01-24 Thread Konstantin Belousov
On Tue, Jan 24, 2017 at 12:13:41PM +, Alexander Motin wrote: > Author: mav > Date: Tue Jan 24 12:13:41 2017 > New Revision: 312694 > URL: https://svnweb.freebsd.org/changeset/base/312694 > > Log: > Make CTL ramdisk backend a real RAM disk. > > If "capacity" LU option is set, ramdisk

svn commit: r312694 - in head: sys/cam/ctl usr.sbin/ctladm

2017-01-24 Thread Alexander Motin
Author: mav Date: Tue Jan 24 12:13:41 2017 New Revision: 312694 URL: https://svnweb.freebsd.org/changeset/base/312694 Log: Make CTL ramdisk backend a real RAM disk. If "capacity" LU option is set, ramdisk backend now implements featured thin provisioned disk, storing data in malloc(9)

svn commit: r312692 - head/usr.bin/find

2017-01-24 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Tue Jan 24 10:42:21 2017 New Revision: 312692 URL: https://svnweb.freebsd.org/changeset/base/312692 Log: Improve wording when describing -mmin. PR: 215922 Submitted by: danielsh AT apache DOT org Approved by: bcr (mentor) MFC after:5

svn commit: r312691 - in head: sys/riscv/include sys/riscv/riscv usr.bin/truss

2017-01-24 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Tue Jan 24 09:41:44 2017 New Revision: 312691 URL: https://svnweb.freebsd.org/changeset/base/312691 Log: Add RISC-V support for truss(1) While here, extract NARGREG as a definition. Reviewed by: br Differential Revision:

svn commit: r312690 - head/sys/dev/hyperv/netvsc

2017-01-24 Thread Dexuan Cui
Author: dexuan Date: Tue Jan 24 09:27:13 2017 New Revision: 312690 URL: https://svnweb.freebsd.org/changeset/base/312690 Log: hyperv/hn: add devctl_notify for VF_UP/DOWN events Reviewed by: sephe Approved by: sephe (mentor) MFC after:2 weeks Sponsored by: Microsoft

svn commit: r312689 - head/sys/dev/hyperv/netvsc

2017-01-24 Thread Dexuan Cui
Author: dexuan Date: Tue Jan 24 09:25:42 2017 New Revision: 312689 URL: https://svnweb.freebsd.org/changeset/base/312689 Log: hyperv/hn: add a sysctl name for the VF interface This makes it easier for the userland script to find the releated VF interface. Reviewed by: sephe

svn commit: r312688 - head/sys/dev/hyperv/netvsc

2017-01-24 Thread Dexuan Cui
Author: dexuan Date: Tue Jan 24 09:24:14 2017 New Revision: 312688 URL: https://svnweb.freebsd.org/changeset/base/312688 Log: hyperv/hn: add the support for VF drivers (SR-IOV) Hyper-V's NIC SR-IOV implementation needs a Hyper-V synthetic NIC and a VF NIC to work together (both NICs have

svn commit: r312687 - in head/sys: net sys

2017-01-24 Thread Dexuan Cui
Author: dexuan Date: Tue Jan 24 09:19:46 2017 New Revision: 312687 URL: https://svnweb.freebsd.org/changeset/base/312687 Log: ifnet: introduce event handlers for ifup/ifdown events Hyper-V's NIC SR-IOV implementation needs a Hyper-V synthetic NIC and a VF NIC to work together, mainly to

svn commit: r312686 - head/sys/dev/hyperv/netvsc

2017-01-24 Thread Dexuan Cui
Author: dexuan Date: Tue Jan 24 09:15:36 2017 New Revision: 312686 URL: https://svnweb.freebsd.org/changeset/base/312686 Log: hyperv/hn: remove the MTU and IFF_DRV_RUNNING checking in hn_rxpkt() It's unnecessary because the upper nework stack does the same checking. In the case of

svn commit: r312685 - head/sys/dev/hyperv/netvsc

2017-01-24 Thread Dexuan Cui
Author: dexuan Date: Tue Jan 24 09:09:53 2017 New Revision: 312685 URL: https://svnweb.freebsd.org/changeset/base/312685 Log: hyperv/hn: remember the channel pointer in struct hn_rx_ring This will be used by the coming NIC SR-IOV patch. Reviewed by: sephe Approved by: sephe

svn commit: r312684 - head/usr.sbin/wpa/wpa_cli

2017-01-24 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Tue Jan 24 08:56:54 2017 New Revision: 312684 URL: https://svnweb.freebsd.org/changeset/base/312684 Log: Extend manual to cover more commands and options. PR: 203406 Submitted by: Fehmi Noyan Isi (fnoyanisi AT yahoo DOT com) Approved by: