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

2016-04-25 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 25 09:00:06 2016 New Revision: 298574 URL: https://svnweb.freebsd.org/changeset/base/298574 Log: hyperv/channel: Add functions to synchronize sub-channel offers MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/include/hyperv.h

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

2016-04-25 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 25 10:16:07 2016 New Revision: 298575 URL: https://svnweb.freebsd.org/changeset/base/298575 Log: hyperv/hn: Synchronize sub-channel offers MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c Modifie

Re: svn commit: r298543 - head/sys/ofed/drivers/infiniband/core

2016-04-25 Thread Hans Petter Selasky
On 04/24/16 17:56, Bjoern A. Zeeb wrote: Author: bz Date: Sun Apr 24 15:56:05 2016 New Revision: 298543 URL: https://svnweb.freebsd.org/changeset/base/298543 Log: Fix NOIP kernels to compile. Modified: head/sys/ofed/drivers/infiniband/core/cma.c Modified: head/sys/ofed/drivers/infiniband

svn commit: r298577 - head/usr.bin/mkuzip

2016-04-25 Thread Bjoern A. Zeeb
Author: bz Date: Mon Apr 25 13:20:35 2016 New Revision: 298577 URL: https://svnweb.freebsd.org/changeset/base/298577 Log: Try to make gcc builds happy again by removing a redundant declaration. Modified: head/usr.bin/mkuzip/mkuzip.c Modified: head/usr.bin/mkuzip/mkuzip.c

svn commit: r298578 - in head/sys: conf riscv/riscv

2016-04-25 Thread Ruslan Bukin
Author: br Date: Mon Apr 25 13:20:57 2016 New Revision: 298578 URL: https://svnweb.freebsd.org/changeset/base/298578 Log: Revert r298477 ("Clear the DDR memory"). There is no need to clear all the DDR memory (we only need to clear BSS section). I was playing with non-default version of

svn commit: r298579 - head/sys/riscv/riscv

2016-04-25 Thread Ruslan Bukin
Author: br Date: Mon Apr 25 13:30:37 2016 New Revision: 298579 URL: https://svnweb.freebsd.org/changeset/base/298579 Log: Do not setup machine exception vector. Sounds strange, but both RocketCore and lowRISC do not operate if we set it. All the known implementations (Spike, QEMU, Ro

Re: svn commit: r298443 - head/usr.bin/stat

2016-04-25 Thread Pedro Giffuni
Marcelo, please revert. And check your script, of course. Pedro. On 23/04/2016 04:23, luke wrote: On Fri, Apr 22, 2016 at 11:43 AM, Marcelo Araujo > wrote: Author: araujo Date: Fri Apr 22 03:43:06 2016 New Revision: 298443 URL: https://svnweb.freebsd

svn commit: r298580 - in head/sys/riscv: include riscv

2016-04-25 Thread Ruslan Bukin
Author: br Date: Mon Apr 25 14:47:51 2016 New Revision: 298580 URL: https://svnweb.freebsd.org/changeset/base/298580 Log: o Implement shared pagetables and switch from 4 to 3 levels page memory system. RISC-V ISA has only single page table base register for both kernel and user addresse

svn commit: r298581 - head/usr.bin/whois

2016-04-25 Thread Tony Finch
Author: fanf Date: Mon Apr 25 15:46:42 2016 New Revision: 298581 URL: https://svnweb.freebsd.org/changeset/base/298581 Log: Example RIPE whois query with options and spaces. Since it is used in the example, mention the -- option in the synopsis even though it is a universal standard, and

Re: svn commit: r298580 - in head/sys/riscv: include riscv

2016-04-25 Thread Konstantin Belousov
On Mon, Apr 25, 2016 at 02:47:51PM +, Ruslan Bukin wrote: > Author: br > Date: Mon Apr 25 14:47:51 2016 > New Revision: 298580 > URL: https://svnweb.freebsd.org/changeset/base/298580 > > Log: > o Implement shared pagetables and switch from 4 to 3 levels page > memory system. > +/* An entr

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

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Mon Apr 25 16:13:04 2016 New Revision: 298582 URL: https://svnweb.freebsd.org/changeset/base/298582 Log: [iwn] fix firmware command use in iwm_auth(). The iwm firmware has separate commands for add, modify and delete for various things (mac, phy context, etc.) The op

svn commit: r298583 - head/sys/dev/bhnd/cores/chipc

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Mon Apr 25 16:53:13 2016 New Revision: 298583 URL: https://svnweb.freebsd.org/changeset/base/298583 Log: [bhnd] Fix ChipCommon probing. ChipCommon probing uses mapping table "chipc_devices". It calls bhnd_device_lookup, which iterate over mapping table with end condi

svn commit: r298584 - head/usr.sbin/jail

2016-04-25 Thread Jamie Gritton
Author: jamie Date: Mon Apr 25 17:01:13 2016 New Revision: 298584 URL: https://svnweb.freebsd.org/changeset/base/298584 Log: Note the existence of module-specific jail paramters, starting with the linux.* parameters when linux emulation is loaded. MFC after:5 days Modified: head/us

svn commit: r298585 - in head: sys/kern usr.sbin/jail

2016-04-25 Thread Jamie Gritton
Author: jamie Date: Mon Apr 25 17:06:50 2016 New Revision: 298585 URL: https://svnweb.freebsd.org/changeset/base/298585 Log: Encapsulate SYSV IPC objects in jails. Define per-module parameters sysvmsg, sysvsem, and sysvshm, with the following bahavior: inherit: allow full access to the I

svn commit: r298586 - head/sys/arm64/include

2016-04-25 Thread Andrew Turner
Author: andrew Date: Mon Apr 25 17:32:08 2016 New Revision: 298586 URL: https://svnweb.freebsd.org/changeset/base/298586 Log: Use the yield instruction in the arm64 cpu_spinwait. This instruction is a hint to the hardware the software is not performing a task. Sponsored by: ABT Systems Lt

svn commit: r298587 - head/sys/cddl/dev/dtrace

2016-04-25 Thread Mark Johnston
Author: markj Date: Mon Apr 25 18:09:36 2016 New Revision: 298587 URL: https://svnweb.freebsd.org/changeset/base/298587 Log: Add a kern.dtrace.err_verbose sysctl to control dtrace_err_verbose. When this flag is turned on, DOF and DIF validation errors are printed to the kernel message buf

Re: svn: head/usr.bin/mkuzip

2016-04-25 Thread Maxim Sobolev
Thanks and sorry about that. I did not realize we use different compilers for different architectures. By any chance, do you know is there a way to test buildworld on amd64 with gcc? On Mon, Apr 25, 2016 at 6:20 AM, Bjoern A. Zeeb wrote: > Author: bz > Date: Mon Apr 25 13:20:35 2016 > New Revisi

svn commit: r298589 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2016-04-25 Thread Mark Johnston
Author: markj Date: Mon Apr 25 18:40:57 2016 New Revision: 298589 URL: https://svnweb.freebsd.org/changeset/base/298589 Log: Allow DOF sections with excessively long probe function components. Without this change, DTrace will refuse to load a DOF section if the function component of any o

svn commit: r298590 - head/sys/cddl/contrib/opensolaris/uts/common/sys

2016-04-25 Thread Mark Johnston
Author: markj Date: Mon Apr 25 18:44:11 2016 New Revision: 298590 URL: https://svnweb.freebsd.org/changeset/base/298590 Log: Increase DTRACE_FUNCNAMELEN from 128 to 192. This allows for the long function components encountered in www/firefox. This constant is part of DTrace's userland ABI

Re: svn: head/usr.bin/mkuzip

2016-04-25 Thread Ian Lepore
On Mon, 2016-04-25 at 11:39 -0700, Maxim Sobolev wrote: > Thanks and sorry about that. I did not realize we use different > compilers > for different architectures. By any chance, do you know is there a > way to > test buildworld on amd64 with gcc? > Add these args to src.conf or the command line

svn commit: r298591 - in head/sys: dev/bxe modules/bxe

2016-04-25 Thread David C Somayajulu
Author: davidcs Date: Mon Apr 25 18:55:01 2016 New Revision: 298591 URL: https://svnweb.freebsd.org/changeset/base/298591 Log: 1. Removed -Wno-shift-negative-value from Makefile 2. Fixed warning its absence caused in bxe_elink.c MFC after:5 days Modified: head/sys/dev/bxe/bxe_elink.c

Re: svn commit: r298585 - in head: sys/kern usr.sbin/jail

2016-04-25 Thread Subbsd
I do not know how it works for/in jails, but looks like this breaks work SHM in host. I've got on any QT-based application after this commit: EP Get failed: 'Feature not implemented. The feature requested is not implemented by the recipient or server and therefore cannot be processed.' (501)" [23:

svn commit: r298592 - head/usr.sbin/lpr/lpd

2016-04-25 Thread Garance A Drosehn
Author: gad Date: Mon Apr 25 20:58:54 2016 New Revision: 298592 URL: https://svnweb.freebsd.org/changeset/base/298592 Log: Remove a variable and three lines of code which I should have removed as part of revision 98776 back on June 24/2002. Noticed by pfg@ trying coccinelle for checking cod

svn commit: r298593 - head/sys/dev/random

2016-04-25 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 25 21:14:32 2016 New Revision: 298593 URL: https://svnweb.freebsd.org/changeset/base/298593 Log: dev/random: use our roundup() macro instead of re-implementing it. While here also use howmany() macro from sys/param.h No functional change. Reviewed by: markm

HEADS UP: I will revert this. (was Re: svn commit: r298443 - head/usr.bin/stat)

2016-04-25 Thread Pedro Giffuni
Hi Marcelo; Hi; I assume you have been very busy. I will revert this in a couple of hours unless you either explain or revert it yourself. Pedro. On 04/23/16 04:23, luke wrote: On Fri, Apr 22, 2016 at 11:43 AM, Marcelo Araujo mailto:ara...@freebsd.org>> wrote: Author: araujo Date: F

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

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Mon Apr 25 22:00:05 2016 New Revision: 298594 URL: https://svnweb.freebsd.org/changeset/base/298594 Log: [iwm] restart the VAP if there's a firmware panic. Always print out the firmware panic info before restarting; don't put it behind IWM_DEBUG. Submitted by: ba

Re: svn commit: r298585 - in head: sys/kern usr.sbin/jail

2016-04-25 Thread James Gritton
That's a big oops on my part - msg and sem had nearly identical logic, but I got it backwards on shm. I'll put a fix in shortly. - Jamie On 2016-04-25 14:28, Subbsd wrote: I do not know how it works for/in jails, but looks like this breaks work SHM in host. I've got on any QT-based applicati

Re: svn: head/usr.bin/mkuzip

2016-04-25 Thread Bjoern A. Zeeb
> On 25 Apr 2016, at 18:49 , Ian Lepore wrote: > > On Mon, 2016-04-25 at 11:39 -0700, Maxim Sobolev wrote: >> Thanks and sorry about that. I did not realize we use different >> compilers >> for different architectures. By any chance, do you know is there a >> way to >> test buildworld on amd64 w

svn commit: r298597 - head/sys/kern

2016-04-25 Thread Jamie Gritton
Author: jamie Date: Mon Apr 25 22:30:10 2016 New Revision: 298597 URL: https://svnweb.freebsd.org/changeset/base/298597 Log: Fix the logic in r298585: shm_prison_cansee returns an errno, so is the opposite of a boolean. PR: 48471 Modified: head/sys/kern/sysv_shm.c Modified:

svn commit: r298598 - head/sys/netinet6

2016-04-25 Thread Luiz Otavio O Souza
Author: loos Date: Mon Apr 25 23:12:39 2016 New Revision: 298598 URL: https://svnweb.freebsd.org/changeset/base/298598 Log: Fixes the comment to reflect the code. Sponsored by: Rubicon Communications (Netgate) Modified: head/sys/netinet6/nd6.c Modified: head/sys/netinet6/nd6.c =

svn commit: r298599 - head/usr.bin/stat

2016-04-25 Thread Marcelo Araujo
Author: araujo Date: Tue Apr 26 00:29:00 2016 New Revision: 298599 URL: https://svnweb.freebsd.org/changeset/base/298599 Log: Use MIN() instead of MAX() as the previous syntax was wrote in a weird and confused way: "prec > 9 ? 9 : prec". Submitted by: pfg, ngie and luke MFC after:2

Re: svn commit: r298443 - head/usr.bin/stat

2016-04-25 Thread Marcelo Araujo
2016-04-25 22:34 GMT+08:00 Pedro Giffuni : > Marcelo, please revert. > > And check your script, of course. > Fixed thanks! The problem is the weird way the expression was wrote before. Best, > > Pedro. > > > On 23/04/2016 04:23, luke wrote: > > On Fri, Apr 22, 2016 at 11:43 AM, Marcelo Araujo

Re: HEADS UP: I will revert this. (was Re: svn commit: r298443 - head/usr.bin/stat)

2016-04-25 Thread Marcelo Araujo
2016-04-26 5:33 GMT+08:00 Pedro Giffuni : > Hi Marcelo; > > Hi; > > I assume you have been very busy. > > I will revert this in a couple of hours unless you either explain > or revert it yourself. > Fixed! Sorry my delay, I got a bit busy! Thanks for the hands up. > > Pedro. > > On 04/23/16 04:

svn commit: r298600 - in head/lib/libc/db: btree hash

2016-04-25 Thread Pedro F. Giffuni
Author: pfg Date: Tue Apr 26 01:17:05 2016 New Revision: 298600 URL: https://svnweb.freebsd.org/changeset/base/298600 Log: libc: make more use of the howmany() macro when available. We have a howmany() macro in the header that is convenient to re-use as it makes things easier to read. M

svn commit: r298601 - head/lib/libstand

2016-04-25 Thread Pedro F. Giffuni
Author: pfg Date: Tue Apr 26 01:19:36 2016 New Revision: 298601 URL: https://svnweb.freebsd.org/changeset/base/298601 Log: libstand: make more use of the howmany() macro when available. We have a howmany() macro in the header that is convenient to re-use as it makes things easier to read

svn commit: r298602 - head/lib/libcuse

2016-04-25 Thread Pedro F. Giffuni
Author: pfg Date: Tue Apr 26 01:20:16 2016 New Revision: 298602 URL: https://svnweb.freebsd.org/changeset/base/298602 Log: libcuse: make more use of the howmany() macro when available. We have a howmany() macro in the header that is convenient to re-use as it makes things easier to read.

svn commit: r298603 - head/sys/net80211

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Tue Apr 26 01:26:11 2016 New Revision: 298603 URL: https://svnweb.freebsd.org/changeset/base/298603 Log: [net80211] add an ioctl for LDPC configuration. Modified: head/sys/net80211/ieee80211_ioctl.h Modified: head/sys/net80211/ieee80211_ioctl.h ==

svn commit: r298604 - head/sys/net80211

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Tue Apr 26 01:29:03 2016 New Revision: 298604 URL: https://svnweb.freebsd.org/changeset/base/298604 Log: [net80211] add STBC capability flags to iv_flags_ht. This is in preparation for exposing configuring STBC flags up to ifconfig so STBC TX/RX can be configured at r

svn commit: r298605 - head/sys/net80211

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Tue Apr 26 01:29:26 2016 New Revision: 298605 URL: https://svnweb.freebsd.org/changeset/base/298605 Log: [net80211] add the STBC ioctl support. This adds configurable STBC TX and RX support. Modified: head/sys/net80211/ieee80211_ioctl.c Modified: head/sys/net80211/i

svn commit: r298606 - head/sbin/ifconfig

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Tue Apr 26 01:30:29 2016 New Revision: 298606 URL: https://svnweb.freebsd.org/changeset/base/298606 Log: [ifconfig] add STBC TX/RX configuration This adds the ability to view and configure the STBC parameter for both transmit and receive. Whilst here, fix a typo

svn commit: r298607 - head/sys/dev/ath

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Tue Apr 26 01:34:21 2016 New Revision: 298607 URL: https://svnweb.freebsd.org/changeset/base/298607 Log: [ath] obey the STBC flag setting in iv_flags_ht Add support for the FHT_STBC_TX flag in iv_flags_ht, so it'll now obey the per-vap ifconfig stbctx flag. This

svn commit: r298608 - head/sys/dev/ath

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Tue Apr 26 01:37:03 2016 New Revision: 298608 URL: https://svnweb.freebsd.org/changeset/base/298608 Log: [ath] add LDPC capability support and LDPC RX support. This enables LDPC receive support for the AR9300 chips that support it. It'll announce LDPC support via net8

svn commit: r298609 - head/sys/fs/ext2fs

2016-04-25 Thread Pedro F. Giffuni
Author: pfg Date: Tue Apr 26 01:41:15 2016 New Revision: 298609 URL: https://svnweb.freebsd.org/changeset/base/298609 Log: ext2fs: make use of the howmany() macro when available. We have a howmany() macro in the header that is convenient to re-use as it makes things easier to read.

svn commit: r298610 - head/sys/ddb

2016-04-25 Thread Pedro F. Giffuni
Author: pfg Date: Tue Apr 26 01:52:35 2016 New Revision: 298610 URL: https://svnweb.freebsd.org/changeset/base/298610 Log: ddb: Make use of our roundup() macro when available. Modified: head/sys/ddb/db_expr.c Modified: head/sys/ddb/db_expr.c ==

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

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Tue Apr 26 03:24:28 2016 New Revision: 298611 URL: https://svnweb.freebsd.org/changeset/base/298611 Log: [iwm] add extra transmit setup/completion logging so I can see what's going on. I'm seeing 5GHz association work but data not work until the rate drops, so I need

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

2016-04-25 Thread Adrian Chadd
Author: adrian Date: Tue Apr 26 04:40:59 2016 New Revision: 298612 URL: https://svnweb.freebsd.org/changeset/base/298612 Log: [iwm] implement suspend/resume through ieee80211_{suspend,resume}_all This allows wifi to associate correctly after a suspend/resume cycle. Yes, I'm using this

Re: svn commit: r298612 - head/sys/dev/iwm

2016-04-25 Thread Ravi Pokala
> do_stop = !! (sc->sc_ic.ic_nrunning > 0); Why the double-negation? Isn't do_stop = (sc->sc_ic.ic_nrunning > 0); equivalent? -Ravi (rpokala@) -Original Message- From: on behalf of Adrian Chadd Date: 2016-04-25, Monday at 21:40 To: , , Subject: svn commit: r298612 - head/sys

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

2016-04-25 Thread Sepherosa Ziehau
Author: sephe Date: Tue Apr 26 04:48:57 2016 New Revision: 298613 URL: https://svnweb.freebsd.org/changeset/base/298613 Log: hyperv/stor: Remove the useless hs_open_multi_channel This fixes the sub-channel offer race after Hyper-V device probe/attach is moved to vmbus SYSINIT/attach.

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

2016-04-25 Thread Sepherosa Ziehau
Author: sephe Date: Tue Apr 26 05:00:40 2016 New Revision: 298614 URL: https://svnweb.freebsd.org/changeset/base/298614 Log: hyperv/stor: Synchronize sub-channel offers MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c Mod

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

2016-04-25 Thread Sepherosa Ziehau
Author: sephe Date: Tue Apr 26 05:08:55 2016 New Revision: 298615 URL: https://svnweb.freebsd.org/changeset/base/298615 Log: hyperv/hn: Avoid sub-channel creation callback. Since the sub-channel offers are synchronized, we can do our own channel setup without using the sub-channel creatio

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

2016-04-25 Thread Sepherosa Ziehau
Author: sephe Date: Tue Apr 26 05:15:15 2016 New Revision: 298616 URL: https://svnweb.freebsd.org/changeset/base/298616 Log: hyperv/stor: Avoid sub-channel creation callback. Since the sub-channel offers are synchronized, we can do our own channel setup without using the sub-channel creat

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

2016-04-25 Thread Sepherosa Ziehau
Author: sephe Date: Tue Apr 26 05:21:27 2016 New Revision: 298617 URL: https://svnweb.freebsd.org/changeset/base/298617 Log: hyperv/channel: Git rid of the sub-channel creation callback It is no longer used. MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/

Re: svn commit: r298612 - head/sys/dev/iwm

2016-04-25 Thread Warner Losh
On Mon, Apr 25, 2016 at 10:45 PM, Ravi Pokala wrote: > > do_stop = !! (sc->sc_ic.ic_nrunning > 0); > > Why the double-negation? Isn't > > do_stop = (sc->sc_ic.ic_nrunning > 0); > > equivalent? > It is. However the !! style is from Linux. It converts a bit value to a 0/1 value. Since foo > 0

Re: svn commit: r298612 - head/sys/dev/iwm

2016-04-25 Thread Andriy Voskoboinyk
Tue, 26 Apr 2016 07:40:59 +0300 було написано Adrian Chadd : Author: adrian Date: Tue Apr 26 04:40:59 2016 New Revision: 298612 URL: https://svnweb.freebsd.org/changeset/base/298612 Log: [iwm] implement suspend/resume through ieee80211_{suspend,resume}_all This allows wifi to associate cor

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

2016-04-25 Thread Sepherosa Ziehau
Author: sephe Date: Tue Apr 26 06:41:36 2016 New Revision: 298618 URL: https://svnweb.freebsd.org/changeset/base/298618 Log: hyperv/stor: Set description properly in probe devmethod MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/storvsc/hv_storvsc_drv_f

svn commit: r298619 - head/sys/geom/uzip

2016-04-25 Thread Maxim Sobolev
Author: sobomax Date: Tue Apr 26 06:50:38 2016 New Revision: 298619 URL: https://svnweb.freebsd.org/changeset/base/298619 Log: Relax TOC offsets checking somewhat, allowing offset pointing to the next byte past EOF to denote zero-block(s) at the very end of the file. Modified: head/sys/ge

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

2016-04-25 Thread Sepherosa Ziehau
Author: sephe Date: Tue Apr 26 06:50:41 2016 New Revision: 298620 URL: https://svnweb.freebsd.org/changeset/base/298620 Log: hyperv/hn: Change description to "Hyper-V Network Interface" This is consistent w/ other Hyper-V devices. MFC after:1 week Sponsored by: Microsoft OSTC Mo