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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 06:59:13 2016 New Revision: 297811 URL: https://svnweb.freebsd.org/changeset/base/297811 Log: hyperv/hn: Remove unnecessary NULL checks Submitted by: Jun Su Reviewed by: sephe MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 06:37:50 2016 New Revision: 297810 URL: https://svnweb.freebsd.org/changeset/base/297810 Log: hyperv/hn: By default enable multiple TX/RX rings, aka vRSS. Reviewed by: Dexuan Cui MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

Re: svn commit: r297808 - head/sys/dev/hyperv/vmbus

2016-04-10 Thread Ravi Pokala
Thank you! -Ravi (rpokala@) -Original Message- From: on behalf of Sepherosa Ziehau Date: 2016-04-10, Sunday at 23:22 To: , , Subject: svn commit: r297808 - head/sys/dev/hyperv/vmbus >Author: sephe >Date: Mon Apr 11 06:22:26 2016 >New Revision: 297808 >URL: https://svnweb.freebsd.o

Re: svn commit: r297808 - head/sys/dev/hyperv/vmbus

2016-04-10 Thread Sepherosa Ziehau
You are welcome :) On Mon, Apr 11, 2016 at 2:33 PM, Ravi Pokala wrote: > Thank you! > > -Ravi (rpokala@) > > -Original Message- > > > From: on behalf of Sepherosa Ziehau > > Date: 2016-04-10, Sunday at 23:22 > To: , , > > Subject: svn commit: r297808 - head/sys/dev/hyperv/vmbus > >>A

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 06:31:52 2016 New Revision: 297809 URL: https://svnweb.freebsd.org/changeset/base/297809 Log: hyperv/hn: Cap default # of rings to 8. 8 gives the best performance in both Azure and local Hyper-V on both 10Ge and 40Ge. More rings are still allowed by manual c

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 06:22:26 2016 New Revision: 297808 URL: https://svnweb.freebsd.org/changeset/base/297808 Log: hyperv: Define macro for Hyper-V interface Suggested by: rpokala MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/vmbus/hv_hv.c

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 06:15:40 2016 New Revision: 297807 URL: https://svnweb.freebsd.org/changeset/base/297807 Log: hyperv: Print more features And add comment about the MSR features. MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/vmbus/hv

Re: svn commit: r297802 - head/sys/dev/hyperv/vmbus

2016-04-10 Thread Sepherosa Ziehau
Yeah, sure. On Mon, Apr 11, 2016 at 1:23 PM, Ravi Pokala wrote: > Hi sephe, > > > > -Original Message- > From: on behalf of Sepherosa Ziehau > > Date: 2016-04-10, Sunday at 20:28 > To: , , > > Subject: svn commit: r297802 - head/sys/dev/hyperv/vmbus > >>Author: sephe >>Date: Mon Apr

Re: svn commit: r297802 - head/sys/dev/hyperv/vmbus

2016-04-10 Thread Ravi Pokala
Hi sephe, -Original Message- From: on behalf of Sepherosa Ziehau Date: 2016-04-10, Sunday at 20:28 To: , , Subject: svn commit: r297802 - head/sys/dev/hyperv/vmbus >Author: sephe >Date: Mon Apr 11 03:28:17 2016 >New Revision: 297802 >URL: https://svnweb.freebsd.org/changeset/base/2

svn commit: r297806 - head/sys/amd64/vmm/amd

2016-04-10 Thread Anish Gupta
Author: anish Date: Mon Apr 11 05:09:43 2016 New Revision: 297806 URL: https://svnweb.freebsd.org/changeset/base/297806 Log: Allow guest writes to AMD microcode update[0xc0010020] MSR without updating actual hardware MSR. This allows guest microcode update to go through which otherwise failing

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 04:56:23 2016 New Revision: 297805 URL: https://svnweb.freebsd.org/changeset/base/297805 Log: hyperv: Break long line MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/vmbus/hv_hv.c Modified: head/sys/dev/hyperv/vmbus/hv_hv.

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 04:49:21 2016 New Revision: 297804 URL: https://svnweb.freebsd.org/changeset/base/297804 Log: hyperv: Declare hyperv_{features,recommends} properly MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/vmbus/hv_vmbus_priv.h Modi

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 03:36:07 2016 New Revision: 297803 URL: https://svnweb.freebsd.org/changeset/base/297803 Log: hyperv: Resurrect r297481 This time we make sure that the TIME_REF_COUNT MSR exists. Submitted by: Jun Su Reviewed by: sephe, Dexuan Cui MFC after:1 w

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 03:28:17 2016 New Revision: 297802 URL: https://svnweb.freebsd.org/changeset/base/297802 Log: hyperv: Identify Hyper-V features and recommends properly Features bits will be used to detect devices, e.g. timers, which do not have corresponding event channels.

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 03:14:28 2016 New Revision: 297801 URL: https://svnweb.freebsd.org/changeset/base/297801 Log: hyperv/vmbus: Get rid of max_leaf detection; this is actually not used. It will be replaced by a new one. MFC after:1 week Sponsored by: Microsoft OSTC Mo

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

2016-04-10 Thread Sepherosa Ziehau
Author: sephe Date: Mon Apr 11 03:07:35 2016 New Revision: 297800 URL: https://svnweb.freebsd.org/changeset/base/297800 Log: hyperv/vmbus: Nuke unused function MFC after:1 week Sponsored by: Microsoft OSTC Modified: head/sys/dev/hyperv/vmbus/hv_hv.c head/sys/dev/hyperv/vmbus/hv_v

svn commit: r297799 - stable/10/sys/net

2016-04-10 Thread George V. Neville-Neil
Author: gnn Date: Mon Apr 11 02:42:04 2016 New Revision: 297799 URL: https://svnweb.freebsd.org/changeset/base/297799 Log: MFC 297358 Add ethertype reserved for network testing Modified: stable/10/sys/net/ethernet.h Directory Properties: stable/10/ (props changed) Modified: stable/10/s

svn commit: r297798 - stable/10/lib/libc/locale

2016-04-10 Thread Andrey A. Chernov
Author: ache Date: Mon Apr 11 02:21:42 2016 New Revision: 297798 URL: https://svnweb.freebsd.org/changeset/base/297798 Log: MFC r297557: SJIS encoding don't have single byte characters >= 224 Modified: stable/10/lib/libc/locale/mskanji.c Directory Properties: stable/10/ (props changed)

svn commit: r297797 - head/sys/dev/cxgbe/firmware

2016-04-10 Thread Navdeep Parhar
Author: np Date: Mon Apr 11 02:18:59 2016 New Revision: 297797 URL: https://svnweb.freebsd.org/changeset/base/297797 Log: cxgbe(4): Provide an explicit value for nqpcq in the firmware configuration file. Modified: head/sys/dev/cxgbe/firmware/t5fw_cfg.txt Modified: head/sys/dev/cxgbe/firmwa

Re: svn commit: r297699 - head/sys/dev/hyperv/vmbus

2016-04-10 Thread Sepherosa Ziehau
On Fri, Apr 8, 2016 at 10:50 PM, John Baldwin wrote: > On Friday, April 08, 2016 09:20:47 AM Sepherosa Ziehau wrote: >> Author: sephe >> Date: Fri Apr 8 09:20:46 2016 >> New Revision: 297699 >> URL: https://svnweb.freebsd.org/changeset/base/297699 >> >> Log: >> hyperv: Revert r297481 >> >> Us

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

2016-04-10 Thread Pedro F. Giffuni
Author: pfg Date: Mon Apr 11 00:12:24 2016 New Revision: 297796 URL: https://svnweb.freebsd.org/changeset/base/297796 Log: ext2fs: replace 0 with NULL for pointers. While here do late initialization of ebap, similar as was done in UFS. Found with devel/coccinelle. MFC after:

svn commit: r297795 - in head/usr.sbin/lpr: chkprintcap common_source lpc lpd

2016-04-10 Thread Pedro F. Giffuni
Author: pfg Date: Sun Apr 10 23:47:40 2016 New Revision: 297795 URL: https://svnweb.freebsd.org/changeset/base/297795 Log: lpr: replace 0 with NULL for pointers. Found with devel/coccinelle. Reviewed by: gad Modified: head/usr.sbin/lpr/chkprintcap/chkprintcap.c head/usr.sbin/lpr/

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

2016-04-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Apr 10 23:17:06 2016 New Revision: 297794 URL: https://svnweb.freebsd.org/changeset/base/297794 Log: Fix IIC "how" argument dereferencing on big-endian platforms "how" argument is passed as value of int* pointer to callback function but dereferenced as char* so onl

svn commit: r297793 - in head/sys: arm/altera/socfpga arm/amlogic/aml8726 arm/arm arm/freescale/imx arm/freescale/vybrid arm/mv arm/samsung/exynos arm64/cavium boot/arm/at91/libat91 boot/common boo...

2016-04-10 Thread Pedro F. Giffuni
Author: pfg Date: Sun Apr 10 23:07:00 2016 New Revision: 297793 URL: https://svnweb.freebsd.org/changeset/base/297793 Log: Cleanup unnecessary semicolons from the kernel. Found with devel/coccinelle. Modified: head/sys/arm/altera/socfpga/socfpga_rstmgr.c head/sys/arm/amlogic/aml8726/am

svn commit: r297792 - head/sys/sparc64/include

2016-04-10 Thread Marius Strobl
Author: marius Date: Sun Apr 10 22:43:36 2016 New Revision: 297792 URL: https://svnweb.freebsd.org/changeset/base/297792 Log: Since r296250 it is no longer possible for devices to use bus space addresses exceeding 32 bit, so bump BUS_SPACE_MAXADDR to 64 bit. The whole situation is sub par, t

svn commit: r297791 - in head/sys/ufs: ffs ufs

2016-04-10 Thread Pedro F. Giffuni
Author: pfg Date: Sun Apr 10 21:48:11 2016 New Revision: 297791 URL: https://svnweb.freebsd.org/changeset/base/297791 Log: ufs: replace 0 with NULL for pointers. While here also do late initialization of the variables we are changing. Found with devel/coccinelle. Reviewed by: m

svn commit: r297790 - in head/lib/libc: db/hash gen locale net posix1e resolv rpc softfloat uuid xdr

2016-04-10 Thread Pedro F. Giffuni
Author: pfg Date: Sun Apr 10 19:33:58 2016 New Revision: 297790 URL: https://svnweb.freebsd.org/changeset/base/297790 Log: libc: replace 0 with NULL for pointers. While here also cleanup some surrounding code; particularly drop some malloc() casts. Found with devel/coccinelle. R

svn commit: r297789 - stable/10/bin/csh

2016-04-10 Thread Mark Peek
Author: mp Date: Sun Apr 10 18:12:04 2016 New Revision: 297789 URL: https://svnweb.freebsd.org/changeset/base/297789 Log: MFC 297673: Revert r296969 by removing SAVESIGVEC and switching to fork instead. This fixes usage with system libraries which maintain their own signal state. PR:

svn commit: r297788 - head/usr.bin/calendar/calendars

2016-04-10 Thread Muhammad Moinur Rahman
Author: bofh (ports committer) Date: Sun Apr 10 16:48:21 2016 New Revision: 297788 URL: https://svnweb.freebsd.org/changeset/base/297788 Log: Add bofh@ in calendar.freebsd Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/calendar.freebsd ==

svn commit: r297787 - in stable/10/sys/ufs: ffs ufs

2016-04-10 Thread Konstantin Belousov
Author: kib Date: Sun Apr 10 16:32:21 2016 New Revision: 297787 URL: https://svnweb.freebsd.org/changeset/base/297787 Log: MFC r297311: Ensure that TRIMs are finished before unmount destroys ufsmount. Modified: stable/10/sys/ufs/ffs/ffs_alloc.c stable/10/sys/ufs/ffs/ffs_vfsops.c stable/

svn commit: r297786 - stable/10/sys/ufs/ufs

2016-04-10 Thread Konstantin Belousov
Author: kib Date: Sun Apr 10 16:27:46 2016 New Revision: 297786 URL: https://svnweb.freebsd.org/changeset/base/297786 Log: MFC r297308: Style: wrap long lines. Modified: stable/10/sys/ufs/ufs/ufsmount.h Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/ufs/ufs/uf

svn commit: r297785 - head/sys/powerpc/booke

2016-04-10 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 10 15:50:45 2016 New Revision: 297785 URL: https://svnweb.freebsd.org/changeset/base/297785 Log: VM_MAXUSER_ADDRESS is highest page start, not highest address. In case a single page mapping is requested first, which might overlap the user address space, fix

svn commit: r297784 - in head/sys/powerpc: booke include

2016-04-10 Thread Justin Hibbits
Author: jhibbits Date: Sun Apr 10 15:48:09 2016 New Revision: 297784 URL: https://svnweb.freebsd.org/changeset/base/297784 Log: Restructure device mappings for Book-E. Summary: There is currently a 1GB hole between user and kernel address spaces into which direct (1:1 PA:VA) device mapp

svn commit: r297783 - stable/10/usr.bin/touch

2016-04-10 Thread Jilles Tjoelker
Author: jilles Date: Sun Apr 10 15:24:07 2016 New Revision: 297783 URL: https://svnweb.freebsd.org/changeset/base/297783 Log: MFC r278817: touch: Fix some subtle bugs related to NULL times fallback: * Do not subvert vfs.timestamp_precision by reading the time and passing that to utimens

svn commit: r297782 - in stable/10: bin/cp bin/mv usr.bin/touch

2016-04-10 Thread Jilles Tjoelker
Author: jilles Date: Sun Apr 10 15:02:29 2016 New Revision: 297782 URL: https://svnweb.freebsd.org/changeset/base/297782 Log: MFC r277645: cp,mv,touch: Set timestamps with nanosecond precision. This uses utimensat(). Modified: stable/10/bin/cp/utils.c stable/10/bin/mv/mv.c stable/10/

svn commit: r297781 - in head/sys/compat: linprocfs linux

2016-04-10 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 10 07:11:29 2016 New Revision: 297781 URL: https://svnweb.freebsd.org/changeset/base/297781 Log: More complete implementation of /proc/self/limits. Fix the way the code accesses process limits struct - pointed out by mjg@. PR: 207386 Reviewed by: