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

2017-08-08 Thread Sepherosa Ziehau
Author: sephe Date: Wed Aug 9 05:59:45 2017 New Revision: 322299 URL: https://svnweb.freebsd.org/changeset/base/322299 Log: hyperv/hn: Implement transparent mode network VF. How network VF works with hn(4) on Hyper-V in transparent mode: - Each network VF has a cooresponding hn(4).

svn commit: r322298 - head

2017-08-08 Thread Kirk McKusick
Wed Aug 9 05:21:57 2017(r322298) @@ -51,6 +51,19 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW: ** SPECIAL WARNING: ** +20170808: + Since the switch to GPT disk labels, fsck for UFS/FFS has been + unable

svn commit: r322297 - in head: sbin/fsck_ffs sbin/newfs sys/ufs/ffs

2017-08-08 Thread Kirk McKusick
Author: mckusick Date: Wed Aug 9 05:17:21 2017 New Revision: 322297 URL: https://svnweb.freebsd.org/changeset/base/322297 Log: Since the switch to GPT disk labels, fsck for UFS/FFS has been unable to automatically find alternate superblocks. This checkin places the information needed to fin

svn commit: r322296 - in head/sys: kern sparc64/sparc64 vm

2017-08-08 Thread Alan Cox
Author: alc Date: Wed Aug 9 04:23:04 2017 New Revision: 322296 URL: https://svnweb.freebsd.org/changeset/base/322296 Log: Introduce vm_page_grab_pages(), which is intended to replace loops calling vm_page_grab() on consecutive page indices. Besides simplifying the code in the caller, vm_pa

RE: svn commit: r322076 - in head/sys: amd64/amd64 i386/i386 x86/include x86/x86

2017-08-08 Thread Dexuan Cui via svn-src-head
Hi jkim, The patch breaks FreeBSD VM on Hyper-V. identify_hypervisor() is moved from identify_cpu() to an earlier place, but the global variable cpu_feature2 used by the function is still initialized in identify_cpu(). I'm not sure about the background of your patch. Can you please have a look

svn commit: r322295 - head/sys/boot/fdt/dts/arm

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:31:05 2017 New Revision: 322295 URL: https://svnweb.freebsd.org/changeset/base/322295 Log: Update pl310 node in Armada 38x DTS to match the one used in Linux Since the cache controller nodes fixup is added to the platform code, this patch aligns it to the Li

svn commit: r322293 - head/bin/df

2017-08-08 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 01:24:52 2017 New Revision: 322293 URL: https://svnweb.freebsd.org/changeset/base/322293 Log: df(1): Add --si as an alias for -H Reviewed by: cem (earlier version), emaste Approved by: emaste (mentor) Differential Revision:https://reviews.freebs

svn commit: r322294 - head/sys/arm/mv/armada38x

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:25:47 2017 New Revision: 322294 URL: https://svnweb.freebsd.org/changeset/base/322294 Log: Enable pl310 coherent operation in platform init for Armada 38x Updating PL310 sotfware context sc_io_coherent field in platform_pl310_init() routine for Armada 38x he

svn commit: r322292 - head/sys/boot/fdt/dts/arm

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:20:53 2017 New Revision: 322292 URL: https://svnweb.freebsd.org/changeset/base/322292 Log: Remove clock-frequency properties from Armada 38x timer nodes Since the timers' base frequency setting is added to the platform code, this patch removes clock-frequenc

svn commit: r322291 - in head/usr.bin/du: . tests

2017-08-08 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 01:19:19 2017 New Revision: 322291 URL: https://svnweb.freebsd.org/changeset/base/322291 Log: du(1): Add --si option to display in terms of powers of 1000 Reviewed by: cem (earlier version), emaste Approved by: emaste (mentor) Differential Revision:

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

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:14:29 2017 New Revision: 322290 URL: https://svnweb.freebsd.org/changeset/base/322290 Log: Dynamically configure timers' base frequency for Armada 38x Instead of using 'clock-frequency' device tree property for global/twd mpcore timers of Armada 38x SoCs, se

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

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 01:06:40 2017 New Revision: 322289 URL: https://svnweb.freebsd.org/changeset/base/322289 Log: Enable using ofw_bus_find_compatible in early platform code Before this patch function ofw_bus_find_compatible was using memory allocations in order to find compatible

svn commit: r322288 - head/lib/libc/regex

2017-08-08 Thread Kyle Evans
Author: kevans Date: Wed Aug 9 01:04:36 2017 New Revision: 322288 URL: https://svnweb.freebsd.org/changeset/base/322288 Log: regex(3): Refactor fast/slow stepping bits in the matching engine Adding features for matching is fairly straightforward, but this requires some duplication becaus

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

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 00:56:29 2017 New Revision: 322287 URL: https://svnweb.freebsd.org/changeset/base/322287 Log: Add support for "compatible" parameter in ofw_fdt_fixup Sometimes it's convenient to provide fixup to many boards that use the same SoC family (eg. Marvell Armada 38x)

svn commit: r322286 - head/sys/boot/fdt/dts/arm

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 00:51:45 2017 New Revision: 322286 URL: https://svnweb.freebsd.org/changeset/base/322286 Log: Restore original /soc ranges on Marvell Armada 38x boards Because fdt_get_ranges can process now multiple 'ranges' entries, restoring the ranges from original Linux de

svn commit: r322285 - head/sys/dev/fdt

2017-08-08 Thread Marcin Wojtas
Author: mw Date: Wed Aug 9 00:45:25 2017 New Revision: 322285 URL: https://svnweb.freebsd.org/changeset/base/322285 Log: Enable parsing simple-bus 'ranges' with multiple entries This patch makes possible to boot with up to 8 ranges in soc. Dynamic allocation cannot be used, because ftd_g

svn commit: r322282 - head/sys/arm/conf

2017-08-08 Thread Ian Lepore
Author: ian Date: Tue Aug 8 22:58:34 2017 New Revision: 322282 URL: https://svnweb.freebsd.org/changeset/base/322282 Log: Remove the ds133x and s35390a i2c RTC drivers for now. They both do i2c transfers in their probe() or attach() routines, and that doesn't work when the low-level contro

svn commit: r322281 - head/sbin/ifconfig

2017-08-08 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Aug 8 22:40:26 2017 New Revision: 322281 URL: https://svnweb.freebsd.org/changeset/base/322281 Log: Add missing parenthesis on error message Approved by: loos MFC after:3 days Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r322280 - head/sys/netpfil/pf

2017-08-08 Thread Kristof Provost
Author: kp Date: Tue Aug 8 21:09:26 2017 New Revision: 322280 URL: https://svnweb.freebsd.org/changeset/base/322280 Log: pf_get_sport(): Prevent possible endless loop when searching for an unused nat port This is an import of Alexander Bluhm's OpenBSD commit r1.60, the first chunk had t

svn commit: r322279 - head/sys/dev/efidev

2017-08-08 Thread Warner Losh
Author: imp Date: Tue Aug 8 21:01:11 2017 New Revision: 322279 URL: https://svnweb.freebsd.org/changeset/base/322279 Log: Turns out to be even simpler to just not create /dev/efi if we don't have a efi runtime. Modified: head/sys/dev/efidev/efidev.c Modified: head/sys/dev/efidev/efidev.c

svn commit: r322278 - in head/sys: amd64/amd64 amd64/include dev/efidev

2017-08-08 Thread Warner Losh
Author: imp Date: Tue Aug 8 20:44:16 2017 New Revision: 322278 URL: https://svnweb.freebsd.org/changeset/base/322278 Log: Fail to open efirt device when no EFI on system. libefivar expects opening /dev/efi to indicate if the we can make efi runtime calls. With a null routine, it was alwa

Re: svn commit: r322029 - in head: usr.bin usr.sbin

2017-08-08 Thread Jeremie Le Hen
On Sat, Aug 5, 2017 at 3:38 PM, Brooks Davis wrote: > On Fri, Aug 04, 2017 at 04:50:32PM +0200, Jeremie Le Hen wrote: >> On Fri, Aug 4, 2017 at 12:42 AM, Ngie Cooper (yaneurabeya) >> wrote: >> > >> >> On Aug 3, 2017, at 14:30, Jeremie Le Hen wrote: >> >> >> >> Author: jlh >> >> Date: Thu Aug 3

svn commit: r322277 - in head: tools/build/mk usr.bin usr.bin/ruptime usr.bin/rwho usr.sbin usr.sbin/rwhod

2017-08-08 Thread Jeremie Le Hen
Author: jlh Date: Tue Aug 8 20:17:07 2017 New Revision: 322277 URL: https://svnweb.freebsd.org/changeset/base/322277 Log: rwho/ruptime/rwhod shouldn't be gated by RCMDS. As peter@ points out in pr/220953: "rwho, rwhod and ruptime are not part of the remote login suite (rsh, rlogin etc)

svn commit: r322276 - in head: usr.bin usr.bin/ruptime usr.bin/rwho usr.sbin usr.sbin/rwhod

2017-08-08 Thread Jeremie Le Hen
Author: jlh Date: Tue Aug 8 20:07:08 2017 New Revision: 322276 URL: https://svnweb.freebsd.org/changeset/base/322276 Log: Revert r322029 and r322031 so as to recommit them with a better commit log. PR: 220953 Reported by: ngie@ Modified: head/usr.bin/Makefile head/usr.bin

svn commit: r322272 - head/sys/compat/linuxkpi/common/src

2017-08-08 Thread Alexander Motin
Author: mav Date: Tue Aug 8 19:36:34 2017 New Revision: 322272 URL: https://svnweb.freebsd.org/changeset/base/322272 Log: Fix few issues of LinuxKPI workqueue. LinuxKPI workqueue wrappers reported "successful" cancellation for works already completed in normal way. This change brings re

svn commit: r322271 - head/sbin/fsck_ffs

2017-08-08 Thread Ed Maste
Author: emaste Date: Tue Aug 8 18:31:40 2017 New Revision: 322271 URL: https://svnweb.freebsd.org/changeset/base/322271 Log: Remove now-unused badsb declaration, missed in r322200 Sponsored by: The FreeBSD Foundation Modified: head/sbin/fsck_ffs/setup.c Modified: head/sbin/fsck_ffs/set

svn commit: r322270 - head/sys/dev/mly

2017-08-08 Thread John Baldwin
Author: jhb Date: Tue Aug 8 17:49:57 2017 New Revision: 322270 URL: https://svnweb.freebsd.org/changeset/base/322270 Log: Fix a NULL pointer dereference in mly_user_command(). If mly_user_command fails to allocate a command slot it jumps to an 'out' label used for error handling. The er

svn commit: r322258 - head/sys/kern

2017-08-08 Thread Alan Somers
Author: asomers Date: Tue Aug 8 16:14:31 2017 New Revision: 322258 URL: https://svnweb.freebsd.org/changeset/base/322258 Log: Make p1003_1b.aio_listio_max a tunable p1003_1b.aio_listio_max is now a tunable. Its value is reflected in the sysctl of the same name, and the sysconf(3) variabl

svn commit: r322257 - head/sys/dev/nvme

2017-08-08 Thread Warner Losh
Author: imp Date: Tue Aug 8 16:06:16 2017 New Revision: 322257 URL: https://svnweb.freebsd.org/changeset/base/322257 Log: Use the correct queue depth for nda devices. Submitted by: Matt Williams Modified: head/sys/dev/nvme/nvme_sim.c Modified: head/sys/dev/nvme/nvme_sim.c =

Re: svn commit: r302474 - in head: cddl/lib/libdtrace tests/sys/netinet

2017-08-08 Thread Alan Somers
On Fri, Jul 8, 2016 at 5:44 PM, George V. Neville-Neil wrote: > Author: gnn > Date: Fri Jul 8 23:44:09 2016 > New Revision: 302474 > URL: https://svnweb.freebsd.org/changeset/base/302474 > > Log: > On FreeBSD there is a setsockopt option SO_USER_COOKIE which allows > setting a 32 bit value on

svn commit: r322256 - head/sys/dev/hwpmc

2017-08-08 Thread Konstantin Belousov
Author: kib Date: Tue Aug 8 15:46:29 2017 New Revision: 322256 URL: https://svnweb.freebsd.org/changeset/base/322256 Log: Fix logic error in the the assert, causing the condition to be always true. Also improve the formatting of the corresponding KASSERT message. Based on the submissi

svn commit: r322255 - head/tests/sys/netinet

2017-08-08 Thread Alan Somers
Author: asomers Date: Tue Aug 8 15:37:21 2017 New Revision: 322255 URL: https://svnweb.freebsd.org/changeset/base/322255 Log: tests/sys/netinet/fibs_test: skip selected tests when firewalls are enabled Some tests send packets over epair(4) interfaces. Firewalls can cause spurious failure

Re: svn commit: r322214 - in head/tests: etc/rc.d sys/acl sys/file sys/geom/class/eli sys/geom/class/gate sys/geom/class/mirror sys/geom/class/nop sys/geom/class/uzip sys/kern sys/kqueue/libkqueue sys

2017-08-08 Thread Alan Somers
On Mon, Aug 7, 2017 at 10:59 PM, Ngie Cooper wrote: > Author: ngie > Date: Tue Aug 8 04:59:16 2017 > New Revision: 322214 > URL: https://svnweb.freebsd.org/changeset/base/322214 > > Log: > Make test scripts under tests/... non-executable > > Executable bits should be set at install time inste

Re: svn commit: r322252 - head/usr.bin/vmstat

2017-08-08 Thread Emmanuel Vadot
On Tue, 8 Aug 2017 23:55:52 +1000 (EST) Bruce Evans wrote: > On Tue, 8 Aug 2017, Emmanuel Vadot wrote: > > > Log: > > vmstat: Always emit a space after the free-memory column > > > > When displaying in non-human form, if the free-memory number > > is large (more than 7 digits), there is no sp

Re: svn commit: r322252 - head/usr.bin/vmstat

2017-08-08 Thread Bruce Evans
On Tue, 8 Aug 2017, Emmanuel Vadot wrote: Log: vmstat: Always emit a space after the free-memory column When displaying in non-human form, if the free-memory number is large (more than 7 digits), there is no space between it and the page fault column. PR:221290 Submitted by:

svn commit: r322253 - head/sys/dev/cyapa

2017-08-08 Thread Michael Gmelin
Author: grembo (ports committer) Date: Tue Aug 8 13:27:32 2017 New Revision: 322253 URL: https://svnweb.freebsd.org/changeset/base/322253 Log: Fix typo in cyapa out of bounds check. PR: 217783 Submitted by: razmys...@viva64.com MFC after:1 week Modified: head/sys/dev/c

svn commit: r322252 - head/usr.bin/vmstat

2017-08-08 Thread Emmanuel Vadot
Author: manu Date: Tue Aug 8 12:18:11 2017 New Revision: 322252 URL: https://svnweb.freebsd.org/changeset/base/322252 Log: vmstat: Always emit a space after the free-memory column When displaying in non-human form, if the free-memory number is large (more than 7 digits), there is no spac

svn commit: r322251 - head/sys/dev/mlx5/mlx5_en

2017-08-08 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 8 11:49:36 2017 New Revision: 322251 URL: https://svnweb.freebsd.org/changeset/base/322251 Log: Make sure the received IP header gets 32-bit aligned for short packets in the mlx5en(4) driver. MFC after:1 week Sponsored by: Mellanox Tec

svn commit: r322250 - head/sys/dev/mlx5/mlx5_en

2017-08-08 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 8 11:36:57 2017 New Revision: 322250 URL: https://svnweb.freebsd.org/changeset/base/322250 Log: Count drop events due to lack of PCI bandwidth as queue drops and not as input errors in the mlx5en(4) driver. This improves the sysadmin view of physical port erro

svn commit: r322248 - in head/sys/dev/mlx4: . mlx4_en

2017-08-08 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 8 11:35:02 2017 New Revision: 322248 URL: https://svnweb.freebsd.org/changeset/base/322248 Log: Fix for mlx4en(4) to properly call m_defrag(). The m_defrag() function can only defrag mbuf chains which have a valid mbuf packet header. In r291699 when the mlx

svn commit: r322247 - head/sys/cddl/contrib/opensolaris

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:28:38 2017 New Revision: 322247 URL: https://svnweb.freebsd.org/changeset/base/322247 Log: MFV r322246: 8508 Mounting a zpool on 32-bit platforms panics FreeBSD note: this is a record-only commit, the actual change originated from FreeBSD. illumos/illu

svn commit: r322245 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:26:03 2017 New Revision: 322245 URL: https://svnweb.freebsd.org/changeset/base/322245 Log: MFV r322242: 8373 TXG_WAIT in ZIL commit path illumos/illumos-gate@d28671a3b094af696bea87f52272d4c4d89321c7 https://github.com/illumos/illumos-gate/commit/d28671a3b0

svn commit: r322241 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:21:58 2017 New Revision: 322241 URL: https://svnweb.freebsd.org/changeset/base/322241 Log: MFV r322240: 8491 uberblock on-disk padding to reserve space for smoothly merging zpool checkpoint & MMP in ZFS illumos/illumos-gate@79c2b812ee2010ebf20fdd92dc5f06b590

svn commit: r322239 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:19:14 2017 New Revision: 322239 URL: https://svnweb.freebsd.org/changeset/base/322239 Log: MFV r322238: 7915 checks in l2arc_evict could use some cleaning up illumos/illumos-gate@267ae6c3a88d2fc39276af66caafa978b0935b82 https://github.com/illumos/illumos-g

svn commit: r322237 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:14:40 2017 New Revision: 322237 URL: https://svnweb.freebsd.org/changeset/base/322237 Log: MFV r322236: 8126 ztest assertion failed in dbuf_dirty due to dn_nlevels changing illumos/illumos-gate@dcb6872c565819ac88acbc2ece999ef241c8b982 https://github.com/i

svn commit: r322234 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:07:34 2017 New Revision: 322234 URL: https://svnweb.freebsd.org/changeset/base/322234 Log: zfs: no need for __DECONST after abd constification in r322233 Note that vdev_label_write_pad2() is FreeBSD specific. MFC after:2 weeks X-MFC after: r322233

svn commit: r322233 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:59:18 2017 New Revision: 322233 URL: https://svnweb.freebsd.org/changeset/base/322233 Log: MFV r322232: 8426 mark immutable buffer arguments as such in abd.h illumos/illumos-gate@9b195260e22529ac0e2580faaf89402420589c1c https://github.com/illumos/illumos-g

svn commit: r322230 - in head: cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris...

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:52:01 2017 New Revision: 322230 URL: https://svnweb.freebsd.org/changeset/base/322230 Log: MFV r39: 7600 zfs rollback should pass target snapshot to kernel illumos/illumos-gate@77b171372ed21642e04c873ef1e87fe2365520df https://github.com/illumos/illumos

svn commit: r322228 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:48:52 2017 New Revision: 38 URL: https://svnweb.freebsd.org/changeset/base/38 Log: MFV r37: 8377 Panic in bookmark deletion illumos/illumos-gate@42418f9e73f0d007aa87675ecc206c26fc8e073e https://github.com/illumos/illumos-gate/commit/42418f9e73f

svn commit: r322226 - in head: cddl/contrib/opensolaris/cmd/ztest sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:46:51 2017 New Revision: 36 URL: https://svnweb.freebsd.org/changeset/base/36 Log: MFV r33: 8378 crash due to bp in-memory modification of nopwrite block illumos/illumos-gate@b7edcb940884114e61382937505433c4c38c0278 https://github.com/illumos/i

svn commit: r322222 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:43:41 2017 New Revision: 32 URL: https://svnweb.freebsd.org/changeset/base/32 Log: MFV r31: 7910 l2arc_write_buffers() may write beyond target_sz FreeBD note: the essence of this change was committed to FreeBSD in r314274. This commit catches u

svn commit: r322220 - head/sys/cddl/contrib/opensolaris

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:36:07 2017 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: MFV r322219: 8416 abd.h is not C++ friendly FreeBSD note: this is a record-only commit, we had to apply the change in r320156. illumos/illumos-gate@5e2a074725cb7

svn commit: r322218 - head/cddl/contrib/opensolaris/lib/libzfs/common

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:30:49 2017 New Revision: 322218 URL: https://svnweb.freebsd.org/changeset/base/322218 Log: MFV r322217: 8418 zfs_prop_get_table() call in zfs_validate_name() is a no-op illumos/illumos-gate@e09ba01dcda5e24964b8632718777b39166d86e4 https://github.com/illumo