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

2016-05-22 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 23 06:52:42 2016 New Revision: 300479 URL: https://svnweb.freebsd.org/changeset/base/300479 Log: hyperv/hn: Use hyperv busdma(9) helper. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6444 Modifie

svn commit: r300478 - in head/sys: conf dev/hyperv/include dev/hyperv/vmbus modules/hyperv/vmbus

2016-05-22 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 23 06:35:11 2016 New Revision: 300478 URL: https://svnweb.freebsd.org/changeset/base/300478 Log: hyperv: Add helpers for busdma(9) operation MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6443 Add

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

2016-05-22 Thread Adrian Chadd
Author: adrian Date: Mon May 23 05:52:47 2016 New Revision: 300474 URL: https://svnweb.freebsd.org/changeset/base/300474 Log: [siba] update device ids. Tested: * BCM4322 11abgn, STA mode Modified: head/sys/dev/siba/siba_bwn.c Modified: head/sys/dev/siba/siba_bwn.c =

svn commit: r300455 - head/sys/dev/hyperv/vmbus

2016-05-22 Thread Sepherosa Ziehau
Author: sephe Date: Mon May 23 05:11:38 2016 New Revision: 300455 URL: https://svnweb.freebsd.org/changeset/base/300455 Log: hyperv: Move guest id setup to early place And - Rework the guest id composition. - Nuke useless saved guest_id. MFC after:1 week Sponsored by: Microso

Re: svn commit: r298946 - head/usr.sbin/bsdinstall/scripts

2016-05-22 Thread Allan Jude
On 2016-05-23 00:49, Allan Jude wrote: > On 2016-05-02 17:40, Andriy Voskoboinyk wrote: >> Author: avos >> Date: Mon May 2 21:40:34 2016 >> New Revision: 298946 >> URL: https://svnweb.freebsd.org/changeset/base/298946 >> >> Log: >> bsdinstall: fix static address assignment for protected wireless

Re: svn commit: r298946 - head/usr.sbin/bsdinstall/scripts

2016-05-22 Thread Allan Jude
On 2016-05-02 17:40, Andriy Voskoboinyk wrote: > Author: avos > Date: Mon May 2 21:40:34 2016 > New Revision: 298946 > URL: https://svnweb.freebsd.org/changeset/base/298946 > > Log: > bsdinstall: fix static address assignment for protected wireless networks. > > Filter out IFCONFIG_PREFIX

svn commit: r300448 - head/sys/gnu/dev/bwn/phy_n

2016-05-22 Thread Adrian Chadd
Author: adrian Date: Mon May 23 04:17:27 2016 New Revision: 300448 URL: https://svnweb.freebsd.org/changeset/base/300448 Log: [bwn] convert another PHY-N workaround to the freebsd bwn format. These were hidden behind an #ifdef that we weren't setting. I don't have the hardware in quest

svn commit: r300447 - head

2016-05-22 Thread Ian Lepore
Author: ian Date: Mon May 23 04:07:41 2016 New Revision: 300447 URL: https://svnweb.freebsd.org/changeset/base/300447 Log: Add a note on how to update a self-hosted armv6hf system to the entry describing the armv6hf->armv6 change. Modified: head/UPDATING Modified: head/UPDATING ===

svn commit: r300446 - head/sys/dev/nvram2env

2016-05-22 Thread Adrian Chadd
Author: adrian Date: Mon May 23 03:51:15 2016 New Revision: 300446 URL: https://svnweb.freebsd.org/changeset/base/300446 Log: [nvram2env] fix nvram2env to scan all of memory, not 1/4th The variable "size" stores number of words (4bytes). But the loop over memory uses size as number of byt

svn commit: r300445 - in head/sys: conf dev/bhnd dev/bhnd/bcma dev/bhnd/bhndb dev/bhnd/siba dev/bhnd/soc modules/bhnd/bhndb

2016-05-22 Thread Adrian Chadd
Author: adrian Date: Mon May 23 03:47:44 2016 New Revision: 300445 URL: https://svnweb.freebsd.org/changeset/base/300445 Log: [bhnd] Add support for querying the attachment type of the bhnd bus. This adds a BHND_BUS_GET_ATTACH_TYPE(); the primary use-case is to let chipc make a coarse-gra

svn commit: r300444 - head/sys/dev/ixl

2016-05-22 Thread Adrian Chadd
Author: adrian Date: Mon May 23 03:46:36 2016 New Revision: 300444 URL: https://svnweb.freebsd.org/changeset/base/300444 Log: [ixl] fix build for RSS. Untested. Modified: head/sys/dev/ixl/if_ixl.c Modified: head/sys/dev/ixl/if_ixl.c ==

svn commit: r300443 - head/sys/sys

2016-05-22 Thread Adrian Chadd
Author: adrian Date: Mon May 23 03:29:43 2016 New Revision: 300443 URL: https://svnweb.freebsd.org/changeset/base/300443 Log: [bhnd] Fix DEFINE_CLASS_(2|3) multiple inheritance support. This diff updates DEFINE_CLASS_2/_3 to support the specification of class name separately from the clas

svn commit: r300442 - head/bin/sh

2016-05-22 Thread Don Lewis
Author: truckman Date: Mon May 23 01:01:23 2016 New Revision: 300442 URL: https://svnweb.freebsd.org/changeset/base/300442 Log: Hopefully fix Coverity CID 1008328 (Out-of-bounds write) in /bin/sh. Replace the magic constant 127 in the loop interation count with "PROMPTLEN - 1". getho

svn commit: r300440 - head/sys/vm

2016-05-22 Thread Konstantin Belousov
Author: kib Date: Sun May 22 23:28:23 2016 New Revision: 300440 URL: https://svnweb.freebsd.org/changeset/base/300440 Log: Mark swap-related proc sysctls as not requiring Giant. Reviewed by: alc (as part of larger patch) Sponsored by: The FreeBSD Foundation Modified: head/sys/vm/swap_

svn commit: r300439 - head/sys/vm

2016-05-22 Thread Konstantin Belousov
Author: kib Date: Sun May 22 23:25:01 2016 New Revision: 300439 URL: https://svnweb.freebsd.org/changeset/base/300439 Log: Replace hand-made exclusive lock, protecting against parallel swapon/swapoff invocations, with sx. Reviewed by: alc (as part of larger patch) Sponsored by: The Fre

svn commit: r300438 - head/share/mk

2016-05-22 Thread Ian Lepore
Author: ian Date: Sun May 22 21:31:20 2016 New Revision: 300438 URL: https://svnweb.freebsd.org/changeset/base/300438 Log: Restore the translation of armv6hf->arm when generating MACHINE_CPUARCH. It turns out we need to leave this in place for a while so that people running self-hosting armv

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

2016-05-22 Thread Allan Jude
Author: allanjude Date: Sun May 22 20:31:52 2016 New Revision: 300436 URL: https://svnweb.freebsd.org/changeset/base/300436 Log: bsdinstall/zfsboot GPT+BIOS+GELI installs now make use of GELIBOOT In this configuration, a separate bootpool is not required. This allows ZFS Boot Environments

svn commit: r300435 - head/gnu/usr.bin/grep

2016-05-22 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 22 20:17:55 2016 New Revision: 300435 URL: https://svnweb.freebsd.org/changeset/base/300435 Log: gnugrep: Update the configuration. The only effect is that it will use our native iconv(3). Relnotes: yes Modified: head/gnu/usr.bin/grep/config.h Modified

svn commit: r300434 - head/sys/dev/urtwn

2016-05-22 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 22 20:12:07 2016 New Revision: 300434 URL: https://svnweb.freebsd.org/changeset/base/300434 Log: urtwn: cleanup some unused code in urtwn_tx_data(). - Drop unused 'subtype' variable. - Remove obsolete comment (hardware crypto support was added in r292175). Modi

Re: svn commit: r300433 - head/sys/dev/urtwn

2016-05-22 Thread Andriy Voskoboinyk
RTL8192CUS RTL8188CUS of course. ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r300433 - head/sys/dev/urtwn

2016-05-22 Thread Andriy Voskoboinyk
Author: avos Date: Sun May 22 19:43:40 2016 New Revision: 300433 URL: https://svnweb.freebsd.org/changeset/base/300433 Log: urtwn: setup per-frame retry limit. Override global retry limit (which is set in R92C_RL) via per-frame TX descriptor field. Obsoletes D3840 (should work better with

svn commit: r300432 - head/sys/vm

2016-05-22 Thread Konstantin Belousov
Author: kib Date: Sun May 22 19:25:53 2016 New Revision: 300432 URL: https://svnweb.freebsd.org/changeset/base/300432 Log: Remove false claim. Giant is dropped by mi_startup() before passing the control to swapper. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified:

Re: svn commit: r300421 - in head/sys: arm/allwinner arm/broadcom/bcm2835 arm/freescale/imx arm/mv dev/acpi_support dev/acpica dev/amdtemp dev/coretemp dev/iicbus powerpc/powermac

2016-05-22 Thread Justin Hibbits
On May 22, 2016 13:51, "Ravi Pokala" wrote: > > -Original Message- > From: on behalf of Luiz Otavio O Souza > Date: 2016-05-22, Sunday at 06:58 > To: , , < svn-src-head@freebsd.org> > Subject: svn commit: r300421 - in head/sys: arm/allwinner arm/broadcom/bcm2835 arm/freescale/imx arm/mv

svn commit: r300431 - head/sys/compat/linux

2016-05-22 Thread Dmitry Chagin
Author: dchagin Date: Sun May 22 19:08:29 2016 New Revision: 300431 URL: https://svnweb.freebsd.org/changeset/base/300431 Log: Convert proto family in both directions. The linux and native values for local and inet are identical, but for inet6 values differ. PR: 155040 Reporte

svn commit: r300430 - head/usr.sbin/rpc.yppasswdd

2016-05-22 Thread Garrett Cooper
Author: ngie Date: Sun May 22 19:06:38 2016 New Revision: 300430 URL: https://svnweb.freebsd.org/changeset/base/300430 Log: Wrap EXPAND(..) macro with a do-while(0) loop and put a single statement on each line As a positive side-effect, this eliminates the double semicolons reported by Co

svn commit: r300429 - head/sys/sys

2016-05-22 Thread Dmitry Chagin
Author: dchagin Date: Sun May 22 19:04:34 2016 New Revision: 300429 URL: https://svnweb.freebsd.org/changeset/base/300429 Log: Remove a now unused global declaration of some sysentvec struct. MFC after:2 week Modified: head/sys/sys/sysent.h Modified: head/sys/sys/sysent.h ==

Re: svn commit: r300421 - in head/sys: arm/allwinner arm/broadcom/bcm2835 arm/freescale/imx arm/mv dev/acpi_support dev/acpica dev/amdtemp dev/coretemp dev/iicbus powerpc/powermac

2016-05-22 Thread Ravi Pokala
-Original Message- From: on behalf of Luiz Otavio O Souza Date: 2016-05-22, Sunday at 06:58 To: , , Subject: svn commit: r300421 - in head/sys: arm/allwinner arm/broadcom/bcm2835 arm/freescale/imx arm/mv dev/acpi_support dev/acpica dev/amdtemp dev/coretemp dev/iicbus powerpc/powermac

svn commit: r300428 - head/usr.bin/kdump

2016-05-22 Thread Garrett Cooper
Author: ngie Date: Sun May 22 18:20:45 2016 New Revision: 300428 URL: https://svnweb.freebsd.org/changeset/base/300428 Log: Fix humanized decoding of struct stat with respect to .st_mtim st_mtim was being incorrectly described as "stime=", not "mtime=". This was introduced with the origin

svn commit: r300427 - in head/sys/fs: cd9660 udf

2016-05-22 Thread Konstantin Belousov
Author: kib Date: Sun May 22 18:16:25 2016 New Revision: 300427 URL: https://svnweb.freebsd.org/changeset/base/300427 Log: Remove drop/reacquire of Giant around geom calls for cd9660 and udf. Sponsored by: The FreeBSD Foundation MFC after:2 weeks Modified: head/sys/fs/cd9660/cd9660

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

2016-05-22 Thread Allan Jude
Author: allanjude Date: Sun May 22 16:24:21 2016 New Revision: 300425 URL: https://svnweb.freebsd.org/changeset/base/300425 Log: Fix default ZFS layout to work better by default with sysutils/beadm The root file system is mounted early via vfs.root.mountfrom. The canmount=noauto property

svn commit: r300424 - head/sys/dev/cpuctl

2016-05-22 Thread Andrey A. Chernov
Author: ache Date: Sun May 22 15:22:45 2016 New Revision: 300424 URL: https://svnweb.freebsd.org/changeset/base/300424 Log: Improve panic message by specifying on which cpu it really is. Modified: head/sys/dev/cpuctl/cpuctl.c Modified: head/sys/dev/cpuctl/cpuctl.c ===

svn commit: r300423 - in head/sys: fs/ext2fs ufs/ffs

2016-05-22 Thread Kevin Lo
Author: kevlo Date: Sun May 22 14:31:20 2016 New Revision: 300423 URL: https://svnweb.freebsd.org/changeset/base/300423 Log: arc4random() returns 0 to (2**32)−1, use an alternative to initialize i_gen if it's zero rather than a divide by 2. With inputs from delphij, mckusick, rmacklem

svn commit: r300422 - head/sys/compat/ndis

2016-05-22 Thread Pedro F. Giffuni
Author: pfg Date: Sun May 22 14:13:20 2016 New Revision: 300422 URL: https://svnweb.freebsd.org/changeset/base/300422 Log: ndis(4): Undo unneeded workarounds in ndis' rand(). - Revert the change for seed(0) in r300384. I misunderstood the standard and while our random() implementation in

svn commit: r300421 - in head/sys: arm/allwinner arm/broadcom/bcm2835 arm/freescale/imx arm/mv dev/acpi_support dev/acpica dev/amdtemp dev/coretemp dev/iicbus powerpc/powermac

2016-05-22 Thread Luiz Otavio O Souza
Author: loos Date: Sun May 22 13:58:32 2016 New Revision: 300421 URL: https://svnweb.freebsd.org/changeset/base/300421 Log: Fix the deciKelvin to Celsius conversion in kernel. After r285994, sysctl(8) was fixed to use 273.15 instead of 273.20 as 0C reference and as result, the temperature

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

2016-05-22 Thread Jilles Tjoelker
Author: jilles Date: Sun May 22 13:32:45 2016 New Revision: 300420 URL: https://svnweb.freebsd.org/changeset/base/300420 Log: vfork(2): Mention some risks of calling vfork() from application code. MFC after:1 week Modified: head/lib/libc/sys/vfork.2 Modified: head/lib/libc/sys/vfork

svn commit: r300419 - head/sys/kern

2016-05-22 Thread Baptiste Daroussin
Author: bapt Date: Sun May 22 13:10:48 2016 New Revision: 300419 URL: https://svnweb.freebsd.org/changeset/base/300419 Log: Fix typo introduced by me (not the submitter) when fixing typos Modified: head/sys/kern/uipc_socket.c Modified: head/sys/kern/uipc_socket.c

svn commit: r300418 - head/sys/kern

2016-05-22 Thread Baptiste Daroussin
Author: bapt Date: Sun May 22 13:04:45 2016 New Revision: 300418 URL: https://svnweb.freebsd.org/changeset/base/300418 Log: Fix typos in the comments Submitted by: cipherwraith...@gmail.com (via github) Modified: head/sys/kern/uipc_socket.c Modified: head/sys/kern/uipc_socket.c

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

2016-05-22 Thread Baptiste Daroussin
Author: bapt Date: Sun May 22 12:59:07 2016 New Revision: 300417 URL: https://svnweb.freebsd.org/changeset/base/300417 Log: Fix typo in comments for the zfsboot script Submitted by: Colby Swandale (via github) Modified: head/usr.sbin/bsdinstall/scripts/zfsboot Modified: head/usr.sbin/b

svn commit: r300416 - head/sys/compat/linux

2016-05-22 Thread Dmitry Chagin
Author: dchagin Date: Sun May 22 12:49:08 2016 New Revision: 300416 URL: https://svnweb.freebsd.org/changeset/base/300416 Log: Add a missing errno translation for SO_ERROR optname. PR: 135458 Reported by: Stefan Schmidt @ stadtbuch.de MFC after:1 week Modified: head/sy

svn commit: r300415 - in head/sys: amd64/amd64 i386/i386 powerpc/powerpc sparc64/sparc64 sys

2016-05-22 Thread Dmitry Chagin
Author: dchagin Date: Sun May 22 12:46:34 2016 New Revision: 300415 URL: https://svnweb.freebsd.org/changeset/base/300415 Log: Add macro to convert errno and use it when appropriate. MFC after:1 week Modified: head/sys/amd64/amd64/vm_machdep.c head/sys/i386/i386/vm_machdep.c head

svn commit: r300414 - head/sys/compat/linux

2016-05-22 Thread Dmitry Chagin
Author: dchagin Date: Sun May 22 12:37:40 2016 New Revision: 300414 URL: https://svnweb.freebsd.org/changeset/base/300414 Log: For future use move futex timeout code to the separate function and switch to the high resolution sbintime_t. MFC after:1 week Modified: head/sys/compat/li

svn commit: r300413 - head/sys/compat/linux

2016-05-22 Thread Dmitry Chagin
Author: dchagin Date: Sun May 22 12:35:50 2016 New Revision: 300413 URL: https://svnweb.freebsd.org/changeset/base/300413 Log: Due to lack the priority propagation feature replace sx by mutex. WIth this commit NPTL tests are ends in 1 minute faster. MFC after:1 week Modified: head/

svn commit: r300412 - head/sys/compat/linux

2016-05-22 Thread Dmitry Chagin
Author: dchagin Date: Sun May 22 12:28:55 2016 New Revision: 300412 URL: https://svnweb.freebsd.org/changeset/base/300412 Log: Add my copyright as I rewrote most of the futex code. Minor style(9) cleanup while here. MFC after:1 week Modified: head/sys/compat/linux/linux_futex.c Mo

svn commit: r300411 - head/sys/compat/linux

2016-05-22 Thread Dmitry Chagin
Author: dchagin Date: Sun May 22 12:26:03 2016 New Revision: 300411 URL: https://svnweb.freebsd.org/changeset/base/300411 Log: Minor style(9) cleanup, no functional changes. MFC after:1 week Modified: head/sys/compat/linux/linux_file.c Modified: head/sys/compat/linux/linux_file.c ==

svn commit: r300410 - head/sys/arm/mv

2016-05-22 Thread Svatopluk Kraus
Author: skra Date: Sun May 22 11:42:34 2016 New Revision: 300410 URL: https://svnweb.freebsd.org/changeset/base/300410 Log: INTRNG - implement pic_post_filter method. This method is fundamental one and must always be implemented for a PIC. There is no default for it intentionally. Modified:

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

2016-05-22 Thread Svatopluk Kraus
Author: skra Date: Sun May 22 09:59:43 2016 New Revision: 300409 URL: https://svnweb.freebsd.org/changeset/base/300409 Log: Fix some format strings to make them either correct or uniform. No functional change. Modified: head/sys/arm/freescale/imx/imx_gpio.c Modified: head/sys/arm/freescale

svn commit: r300406 - head/lib/csu/aarch64

2016-05-22 Thread Andrew Turner
Author: andrew Date: Sun May 22 08:20:30 2016 New Revision: 300406 URL: https://svnweb.freebsd.org/changeset/base/300406 Log: Stop dereferencing _end in crt1.c. This was only needed for brk/sbrk so is no longer needed. Sponsored by: ABT Systems Ltd Modified: head/lib/csu/aarch64/crt1.c

Re: svn commit: r300332 - in head/sys: amd64/amd64 i386/i386

2016-05-22 Thread Konstantin Belousov
On Sat, May 21, 2016 at 06:29:50PM -0700, Chris Torek wrote: > On the other hand, since most C compilers don't bother to trap > signed integer overflow, but some can, signed integers may behave > just as badly. :-) > > Overall I personally find the rules simpler for unsigned integers > (occasiona