svn commit: r328773 - head/sys/vm

2018-02-02 Thread Konstantin Belousov
Author: kib Date: Fri Feb 2 11:56:30 2018 New Revision: 328773 URL: https://svnweb.freebsd.org/changeset/base/328773 Log: On pageout, in vnode generic pager, for partially dirty page, only clear dirty bits for completely invalid blocks. Otherwise we might not write out the last chunk

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

2018-02-02 Thread Andriy Gapon
Author: avg Date: Fri Feb 2 12:57:33 2018 New Revision: 328776 URL: https://svnweb.freebsd.org/changeset/base/328776 Log: ZFS ARC: restore illumos uses of 'needfree' that were removed in r325851 This is purely a cosmetic change to have a more complete copy of ifdef-ed out illumos code.

svn commit: r328774 - head/sys/kern

2018-02-02 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 2 12:42:46 2018 New Revision: 328774 URL: https://svnweb.freebsd.org/changeset/base/328774 Log: Slightly bump the maximum OID path for loading tunable SYSCTLs. Coming updates to the mlx5en(4) driver will require this. MFC after:1 week Sponsored

svn commit: r328779 - in head/stand: common forth

2018-02-02 Thread Warner Losh
Author: imp Date: Fri Feb 2 15:01:33 2018 New Revision: 328779 URL: https://svnweb.freebsd.org/changeset/base/328779 Log: Retire pnp.4th and the code needed only for 4th words used here. This has never been installed. It was added to the tree disconnected to the build in FreeBSD 5 (17

svn commit: r328780 - in head: . stand/efi/libefi stand/forth

2018-02-02 Thread Warner Losh
Author: imp Date: Fri Feb 2 15:01:44 2018 New Revision: 328780 URL: https://svnweb.freebsd.org/changeset/base/328780 Log: These 4th words were an attempt to allow integration into the boot loader scripts. However, that path won't be taken after all it seems. Remove this code before it

svn commit: r328782 - head/stand

2018-02-02 Thread Warner Losh
Author: imp Date: Fri Feb 2 15:01:54 2018 New Revision: 328782 URL: https://svnweb.freebsd.org/changeset/base/328782 Log: Now that we no longer conditionally compile some files outside of ficl with BOOT_FORTH, retire it from here. Modified: head/stand/ficl.mk Modified: head/stand/ficl.mk

svn commit: r328781 - in head: . stand/forth stand/i386/libi386

2018-02-02 Thread Warner Losh
Author: imp Date: Fri Feb 2 15:01:49 2018 New Revision: 328781 URL: https://svnweb.freebsd.org/changeset/base/328781 Log: Remove pcibios forth support. I had thought that this would be useful. However it was committed too late, and wound up being unused. It's in the way of future work

svn commit: r328795 - head/share/examples/bhyve

2018-02-02 Thread Rodney W. Grimes
Author: rgrimes Date: Fri Feb 2 17:52:09 2018 New Revision: 328795 URL: https://svnweb.freebsd.org/changeset/base/328795 Log: Fold constants and unify vnc variable names. Approved by: grehan (mentor) MFC after:3 days Modified: head/share/examples/bhyve/vmrun.sh Modified:

svn commit: r328783 - in head/stand: . arm/uboot efi/loader i386/loader mips/beri/loader mips/uboot powerpc/kboot powerpc/ofw powerpc/uboot sparc64/loader userboot/userboot

2018-02-02 Thread Warner Losh
Author: imp Date: Fri Feb 2 15:40:49 2018 New Revision: 328783 URL: https://svnweb.freebsd.org/changeset/base/328783 Log: Invent new LDR_INTERP for the loader interpreter to use. Use this in preference to LIBFICL{,32}. LIBFICL{,32} are now always defined, but LDR_INTERP{,32} is defined

svn commit: r328785 - head/lib/libc/stdlib

2018-02-02 Thread Ed Maste
Author: emaste Date: Fri Feb 2 16:47:32 2018 New Revision: 328785 URL: https://svnweb.freebsd.org/changeset/base/328785 Log: Use standard 2-clause license where copyright is held by the FreeBSD Foundation Modified: head/lib/libc/stdlib/strtold.c Modified: head/lib/libc/stdlib/strtold.c

svn commit: r328799 - in head/sys: compat/freebsd32 kern

2018-02-02 Thread Brooks Davis
Author: brooks Date: Fri Feb 2 18:03:12 2018 New Revision: 328799 URL: https://svnweb.freebsd.org/changeset/base/328799 Log: Add kern.ipc.{msqids,semsegs,sema} sysctls for FreeBSD32. Stop leaking kernel pointers though theses sysctls and make sure that the padding in the structures is

svn commit: r328784 - head/share/examples/bhyve

2018-02-02 Thread Rodney W. Grimes
Author: rgrimes Date: Fri Feb 2 16:35:17 2018 New Revision: 328784 URL: https://svnweb.freebsd.org/changeset/base/328784 Log: Clean up long lines. Approved by: grehan (mentor) MFC after:3 days Modified: head/share/examples/bhyve/vmrun.sh Modified:

svn commit: r328803 - head/sbin/dhclient

2018-02-02 Thread Mariusz Zaborski
Author: oshogbo Date: Fri Feb 2 18:11:56 2018 New Revision: 328803 URL: https://svnweb.freebsd.org/changeset/base/328803 Log: Use daemonfd(3) in the dhclient(8). Reviewed by: brooks@ Differential Revision:https://reviews.freebsd.org/D13603 Modified:

svn commit: r328808 - head/stand/libsa

2018-02-02 Thread Warner Losh
Author: imp Date: Fri Feb 2 21:18:32 2018 New Revision: 328808 URL: https://svnweb.freebsd.org/changeset/base/328808 Log: Implement strcoll as strcmp. Modified: head/stand/libsa/stand.h Modified: head/stand/libsa/stand.h

svn commit: r328813 - head/lib/libufs

2018-02-02 Thread Kirk McKusick
Author: mckusick Date: Fri Feb 2 22:06:15 2018 New Revision: 328813 URL: https://svnweb.freebsd.org/changeset/base/328813 Log: In the sbwrite(3) function, ensure that the file descriptor has been upgraded to writable. Reported by: Kyle Evans Modified:

Re: svn commit: r328426 - in head: lib/libufs sbin/clri sbin/dump sbin/fsck_ffs sbin/fsirand sbin/growfs sbin/newfs sbin/quotacheck stand/libsa sys/geom sys/geom/journal sys/geom/label sys/ufs/ffs usr

2018-02-02 Thread Kyle Evans
On Thu, Jan 25, 2018 at 6:58 PM, Kirk McKusick wrote: > Author: mckusick > Date: Fri Jan 26 00:58:32 2018 > New Revision: 328426 > URL: https://svnweb.freebsd.org/changeset/base/328426 > > Log: > Refactoring of reading and writing of the UFS/FFS superblock. >

svn commit: r328810 - head/usr.bin/clang/lld

2018-02-02 Thread Ed Maste
Author: emaste Date: Fri Feb 2 21:52:00 2018 New Revision: 328810 URL: https://svnweb.freebsd.org/changeset/base/328810 Log: ld.lld.1: miscellaneous style improvements Submitted by: wblock in review D13813 Modified: head/usr.bin/clang/lld/ld.lld.1 Modified:

svn commit: r328812 - head/sys/dev/etherswitch/arswitch

2018-02-02 Thread Adrian Chadd
Author: adrian Date: Fri Feb 2 22:05:36 2018 New Revision: 328812 URL: https://svnweb.freebsd.org/changeset/base/328812 Log: [arswitch] begin tidying up the learning and ATU management, introduce ATU APIs. * Refactor the initial learning configuration (port learning, address expiry,

svn commit: r328806 - head/stand/ofw/common

2018-02-02 Thread Warner Losh
Author: imp Date: Fri Feb 2 19:42:02 2018 New Revision: 328806 URL: https://svnweb.freebsd.org/changeset/base/328806 Log: We need more heap space to properly load newer powerpc kernels. PR: 225323 Modified: head/stand/ofw/common/main.c Modified: head/stand/ofw/common/main.c

svn commit: r328814 - head/sys/dev/etherswitch/arswitch

2018-02-02 Thread Adrian Chadd
Author: adrian Date: Fri Feb 2 22:08:03 2018 New Revision: 328814 URL: https://svnweb.freebsd.org/changeset/base/328814 Log: [arswitch] Stub out the ATU table dump in AR9340 switches until I implement this. Modified: head/sys/dev/etherswitch/arswitch/arswitch_9340.c Modified:

svn commit: r328815 - head/sbin/etherswitchcfg

2018-02-02 Thread Adrian Chadd
Author: adrian Date: Fri Feb 2 22:08:35 2018 New Revision: 328815 URL: https://svnweb.freebsd.org/changeset/base/328815 Log: [etherswitchcfg] add atu flush and atu dump commands. Extend the argc/argv handling to include variable length commands (like flush all, flush port X).

svn commit: r328816 - head/share/mk

2018-02-02 Thread Alex Richardson
Author: arichardson Date: Fri Feb 2 22:09:36 2018 New Revision: 328816 URL: https://svnweb.freebsd.org/changeset/base/328816 Log: Revert r326375 since the warning has been turned off by default in clang See https://reviews.llvm.org/D41512 and https://reviews.llvm.org/rL322901

svn commit: r328818 - head/bin/sh

2018-02-02 Thread Jilles Tjoelker
Author: jilles Date: Fri Feb 2 22:53:58 2018 New Revision: 328818 URL: https://svnweb.freebsd.org/changeset/base/328818 Log: sh: Refactor job status printing, preparing for -o pipefail and similar No functional change is intended. Modified: head/bin/sh/jobs.c Modified:

svn commit: r328823 - head/sys/dev/etherswitch/arswitch

2018-02-02 Thread Adrian Chadd
Author: adrian Date: Sat Feb 3 00:59:08 2018 New Revision: 328823 URL: https://svnweb.freebsd.org/changeset/base/328823 Log: [arswitch] add initial functionality for AR8327 ATU management. * Add the bulk of the ATU table read function * Correct how the ATU function and WAIT bits work

svn commit: r328817 - in head: contrib/llvm/include/llvm contrib/llvm/include/llvm/CodeGen contrib/llvm/lib/CodeGen contrib/llvm/lib/CodeGen/SelectionDAG contrib/llvm/lib/Target/AMDGPU contrib/llvm...

2018-02-02 Thread Dimitry Andric
Author: dim Date: Fri Feb 2 22:28:12 2018 New Revision: 328817 URL: https://svnweb.freebsd.org/changeset/base/328817 Log: Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to 6.0.0 (branches/release_60 r324090). This introduces retpoline support, with the -mretpoline

Re: svn commit: r328536 - in head/stand: common powerpc/kboot

2018-02-02 Thread Ed Maste
On 29 January 2018 at 04:24, Wojciech Macek wrote: > Author: wma > Date: Mon Jan 29 09:24:28 2018 > New Revision: 328536 > URL: https://svnweb.freebsd.org/changeset/base/328536 > > Log: > loader: support for mixed-endianness ELF/loader and POWER8 In r328536 I've committed

svn commit: r328821 - head/sbin/newfs

2018-02-02 Thread Kirk McKusick
Author: mckusick Date: Fri Feb 2 23:26:52 2018 New Revision: 328821 URL: https://svnweb.freebsd.org/changeset/base/328821 Log: Check and report error returns from sbput(3) calls. Convert to using cgput(3) for writing cylinder groups. Check and report error returns from cgput(3).

svn commit: r328822 - head/usr.sbin/makefs/tests

2018-02-02 Thread Brooks Davis
Author: brooks Date: Fri Feb 2 23:34:33 2018 New Revision: 328822 URL: https://svnweb.freebsd.org/changeset/base/328822 Log: Check for cd9660 support before attempting to mount created images This extends the set in r316028 to allow all tests to pass or be skipped on a system without

svn commit: r328826 - head/stand/common

2018-02-02 Thread Ed Maste
Author: emaste Date: Sat Feb 3 01:23:48 2018 New Revision: 328826 URL: https://svnweb.freebsd.org/changeset/base/328826 Log: Make cross-endian loader changes apply only to powerpc The cross-endian loader change in r328536 (review D12422) broke symbol loading on (at least) amd64 kernels.