svn commit: r320220 - in head: share/mk sys/conf

2017-06-21 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 22 05:34:41 2017 New Revision: 320220 URL: https://svnweb.freebsd.org/changeset/base/320220 Log: Rework logic for skipping .depend/.meta file read/stat/writes. - Rename _SKIP_READ_DEPEND to _SKIP_DEPEND since it also avoids writing. - This now uses .NOMETA

svn commit: r320216 - head/lib/libc/rpc

2017-06-21 Thread Xin LI
Author: delphij Date: Thu Jun 22 05:10:16 2017 New Revision: 320216 URL: https://svnweb.freebsd.org/changeset/base/320216 Log: Fix use-after-free introduced in r300388. In r300388, endnetconfig() was called on nc_handle which would release the associated netconfig structure, which means

svn commit: r320212 - head/usr.sbin/makefs/msdos

2017-06-21 Thread Ed Maste
Author: emaste Date: Thu Jun 22 02:46:36 2017 New Revision: 320212 URL: https://svnweb.freebsd.org/changeset/base/320212 Log: makefs: add copies of NetBSD makefs msdos source files We do not treat makefs as contrib code. Import copies of makefs msdos files from NetBSD so that we can

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

2017-06-21 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jun 22 02:43:32 2017 New Revision: 320211 URL: https://svnweb.freebsd.org/changeset/base/320211 Log: ext2fs: add dir_nlink feature support. ext4 on linux has always supported more than 32000 directories through the dir_nlink feature, but FreeBSD was unable to catch

svn commit: r320210 - head/usr.bin/join

2017-06-21 Thread Conrad Meyer
Author: cem Date: Thu Jun 22 02:19:39 2017 New Revision: 320210 URL: https://svnweb.freebsd.org/changeset/base/320210 Log: join(1): Fix field ordering for -v output Per POSIX, join(1) (in modes other than -o) is a concatenation of selected character fields. The joined field is first,

svn commit: r320209 - head/sys/fs/msdosfs

2017-06-21 Thread Ed Maste
Author: emaste Date: Thu Jun 22 01:11:20 2017 New Revision: 320209 URL: https://svnweb.freebsd.org/changeset/base/320209 Log: msdosfs: reformat a comment to reduce NetBSD diffs Modified: head/sys/fs/msdosfs/msdosfs_fat.c Modified: head/sys/fs/msdosfs/msdosfs_fat.c

svn commit: r320208 - head/sys/fs/nfsclient

2017-06-21 Thread Rick Macklem
Author: rmacklem Date: Thu Jun 22 00:17:15 2017 New Revision: 320208 URL: https://svnweb.freebsd.org/changeset/base/320208 Log: Ensure that the credentials field of the NFSv4 client open structure is initialized. bdrewery@ has reported panics "newnfs_copycred: negative nfsc_ngroups".

svn commit: r320207 - head/lib/libsysdecode

2017-06-21 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 21 23:28:24 2017 New Revision: 320207 URL: https://svnweb.freebsd.org/changeset/base/320207 Log: Tweak r320206: Still create the TABLE but not the .depend entry for missing headers. X-MFC-With: r320206 MFC after:3 days Sponsored by: Dell EMC Isilon

svn commit: r320206 - head/lib/libsysdecode

2017-06-21 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 21 23:01:18 2017 New Revision: 320206 URL: https://svnweb.freebsd.org/changeset/base/320206 Log: Follow-up r308602: Don't add missing headers to .depend.tables.h. This also avoids an error from egrep when a header is missing. This can happen with

svn commit: r320205 - head/share/mk

2017-06-21 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 21 20:10:58 2017 New Revision: 320205 URL: https://svnweb.freebsd.org/changeset/base/320205 Log: Remove logic for setting .MAKE.DEPENDFILE=/dev/null already covered by _SKIP_BUILD. _SKIP_BUILD is defined in bsd.init.mk. MFC after:2 weeks Sponsored

svn commit: r320204 - head/sys/conf

2017-06-21 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 21 19:55:26 2017 New Revision: 320204 URL: https://svnweb.freebsd.org/changeset/base/320204 Log: Fix various 'make *clean *all *install' combinations. This follows commits like r320174 in share/mk/bsd.dep.mk. MFC after:3 days Sponsored by: Dell EMC

Re: svn commit: r317591 - head/sys/dev/drm2/radeon

2017-06-21 Thread Andriy Gapon
On 10/06/2017 18:07, TAKAHASHI Yoshihiro wrote: > In article <03e500d5-76b1-fd38-04c6-90d85a2dd...@freebsd.org> > Andriy Gapon writes: > >> On 29/04/2017 12:47, Takahashi Yoshihiro wrote: >>> Author: nyan >>> Date: Sat Apr 29 09:47:15 2017 >>> New Revision: 317591 >>> URL:

svn commit: r320203 - head/share/mk

2017-06-21 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 21 18:56:53 2017 New Revision: 320203 URL: https://svnweb.freebsd.org/changeset/base/320203 Log: Similar to r296013 for NO_ROOT, force SUBDIR_PARALLEL for buildworld WORLDTMP staging. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified:

svn commit: r320202 - head/sys/vm

2017-06-21 Thread Konstantin Belousov
Author: kib Date: Wed Jun 21 18:54:28 2017 New Revision: 320202 URL: https://svnweb.freebsd.org/changeset/base/320202 Log: Call pmap_copy() only for map entries which have the backing object instantiated. Calling pmap_copy() on non-faulted anonymous memory entries is useless. Noted

svn commit: r320201 - head/sys/vm

2017-06-21 Thread Konstantin Belousov
Author: kib Date: Wed Jun 21 18:51:30 2017 New Revision: 320201 URL: https://svnweb.freebsd.org/changeset/base/320201 Log: Assert that the protection of a new map entry is a subset of the max protection. Noted and reviewed by:alc Sponsored by: The FreeBSD Foundation MFC

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

2017-06-21 Thread Zbigniew Bodek
Author: zbb Date: Wed Jun 21 18:28:37 2017 New Revision: 320200 URL: https://svnweb.freebsd.org/changeset/base/320200 Log: Enable arm,io-coherent property of PL310 L2 cache on Armada 38x platforms This patch disables outer cache sync in PL310 driver by adding "arm,io-coherent" property.

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

2017-06-21 Thread Zbigniew Bodek
Author: zbb Date: Wed Jun 21 18:27:05 2017 New Revision: 320199 URL: https://svnweb.freebsd.org/changeset/base/320199 Log: Create root DMA tag and fix MBUS windows on DMA coherent platforms Armada 38x SoCs, in order to work properly in IO-coherent mode, requires an update of the MBUS

svn commit: r320198 - head/sys/arm/arm

2017-06-21 Thread Zbigniew Bodek
Author: zbb Date: Wed Jun 21 18:25:35 2017 New Revision: 320198 URL: https://svnweb.freebsd.org/changeset/base/320198 Log: Enable setting the dma tag at the nexus level Allow to set the dma tag for nexus in the platform init code, so that all busses and devices would be able to inherit

svn commit: r320197 - head/sys/arm/arm

2017-06-21 Thread Zbigniew Bodek
Author: zbb Date: Wed Jun 21 18:23:28 2017 New Revision: 320197 URL: https://svnweb.freebsd.org/changeset/base/320197 Log: Introduce support for DMA coherent ARM platforms - Inherit BUS_DMA_COHERENT flag from parent buses - Use cacheable memory attributes on dma coherent platform -

svn commit: r320196 - in head/sys: compat/linuxkpi/common/include/linux dev/mlx4/mlx4_core dev/mlx5/mlx5_core

2017-06-21 Thread Mark Johnston
Author: markj Date: Wed Jun 21 18:20:17 2017 New Revision: 320196 URL: https://svnweb.freebsd.org/changeset/base/320196 Log: Update io-mapping.h in the LinuxKPI. Add io_mapping_init_wc() and add a third (unused) parameter to io_mapping_map_wc(). Reviewed by: hselasky MFC after:

svn commit: r320195 - head/usr.sbin/bhyveload

2017-06-21 Thread Andriy Gapon
Author: avg Date: Wed Jun 21 18:19:27 2017 New Revision: 320195 URL: https://svnweb.freebsd.org/changeset/base/320195 Log: bhyveload: correctly query size of disks On FreeBSD fstat(2) works fine for querying sizes of plain files, but not so much for character devices. So, use

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

2017-06-21 Thread Mark Johnston
Author: markj Date: Wed Jun 21 18:17:32 2017 New Revision: 320194 URL: https://svnweb.freebsd.org/changeset/base/320194 Log: Add missing lock destructor invocations to the LinuxKPI unload handler. MFC after:1 week Modified: head/sys/compat/linuxkpi/common/src/linux_compat.c

svn commit: r320193 - head/sys/compat/linuxkpi/common/include/linux

2017-06-21 Thread Mark Johnston
Author: markj Date: Wed Jun 21 18:15:47 2017 New Revision: 320193 URL: https://svnweb.freebsd.org/changeset/base/320193 Log: Include kmod.h from the LinuxKPI's module.h. MFC after:1 week Modified: head/sys/compat/linuxkpi/common/include/linux/module.h Modified:

svn commit: r320192 - head/sys/compat/linuxkpi/common/include/linux

2017-06-21 Thread Mark Johnston
Author: markj Date: Wed Jun 21 18:08:36 2017 New Revision: 320192 URL: https://svnweb.freebsd.org/changeset/base/320192 Log: Add a lockdep macro to the LinuxKPI. Also fix some nearby style issues. MFC after:1 week Modified:

Re: svn commit: r320172 - head/bin/ln

2017-06-21 Thread Ngie Cooper
On Wed, Jun 21, 2017 at 10:12 AM, Bryan Drewery wrote: ... > I don't see a test update here. Sorry :/.. I blindly copy-pasted the CR text. r320173 has the test update. Thanks! -Ngie ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r320172 - head/bin/ln

2017-06-21 Thread Bryan Drewery
On 6/20/2017 1:46 PM, Ngie Cooper wrote: > Author: ngie > Date: Tue Jun 20 20:46:08 2017 > New Revision: 320172 > URL: https://svnweb.freebsd.org/changeset/base/320172 > > Log: > ln(1): fix -F behavior > > When '-F' option is used, the target directory needs to be unlinked. > Currently,

svn commit: r320191 - head/share/mk

2017-06-21 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 21 17:11:49 2017 New Revision: 320191 URL: https://svnweb.freebsd.org/changeset/base/320191 Log: objwarn should be .PHONY. Otherwise in META_MODE it may create an objwarn.meta if only bsd.obj.mk is included; bsd.sys.mk already had .PHONY: objwarn. MFC

Re: svn commit: r320172 - head/bin/ln

2017-06-21 Thread Alexey Dokuchaev
On Wed, Jun 21, 2017 at 08:31:10AM -0600, Alan Somers wrote: > On Wed, Jun 21, 2017 at 7:37 AM, Alexey Dokuchaev wrote: > > On Tue, Jun 20, 2017 at 08:46:08PM +, Ngie Cooper wrote: > >> New Revision: 320172 > >> URL: https://svnweb.freebsd.org/changeset/base/320172 > >> >

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

2017-06-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed Jun 21 14:38:52 2017 New Revision: 320189 URL: https://svnweb.freebsd.org/changeset/base/320189 Log: Allow the VM fault handler to be NULL in the LinuxKPI when handling a memory map request. When the VM fault handler is NULL a return code of VM_PAGER_BAD is

Re: svn commit: r320172 - head/bin/ln

2017-06-21 Thread Alan Somers
On Wed, Jun 21, 2017 at 7:37 AM, Alexey Dokuchaev wrote: > On Tue, Jun 20, 2017 at 08:46:08PM +, Ngie Cooper wrote: >> New Revision: 320172 >> URL: https://svnweb.freebsd.org/changeset/base/320172 >> >> Log: >> ln(1): fix -F behavior >> >> When '-F' option is used, the

Re: svn commit: r320172 - head/bin/ln

2017-06-21 Thread Alexey Dokuchaev
On Tue, Jun 20, 2017 at 08:46:08PM +, Ngie Cooper wrote: > New Revision: 320172 > URL: https://svnweb.freebsd.org/changeset/base/320172 > > Log: > ln(1): fix -F behavior > > When '-F' option is used, the target directory needs to be unlinked. > Currently, the modified target

Re: svn commit: r320156 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contr

2017-06-21 Thread Kenneth D. Merry
On Wed, Jun 21, 2017 at 11:16:23 +0300, Andriy Gapon wrote: > On 21/06/2017 00:25, Kenneth D. Merry wrote: > > FWIW, avg sent me a patch for this particular problem (by checking for NULL > > before dereferencing the pointer), and although it got me past the above > > problem, I hit another related

svn commit: r320187 - head/contrib/ipfilter/tools

2017-06-21 Thread Cy Schubert
Author: cy Date: Wed Jun 21 12:19:05 2017 New Revision: 320187 URL: https://svnweb.freebsd.org/changeset/base/320187 Log: Fix -S handling within poolcommand(). Specifying a seed (-S) is only valid when adding a pool (ippool -A), not when removing a pool (ippool -R). It is a command line

Re: svn commit: r320156 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contr

2017-06-21 Thread Andriy Gapon
On 21/06/2017 00:25, Kenneth D. Merry wrote: > FWIW, avg sent me a patch for this particular problem (by checking for NULL > before dereferencing the pointer), and although it got me past the above > problem, I hit another related panic: Could you please re-enable ZFS TRIM support and test

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

2017-06-21 Thread Andriy Gapon
Author: avg Date: Wed Jun 21 08:12:07 2017 New Revision: 320186 URL: https://svnweb.freebsd.org/changeset/base/320186 Log: fix several fallouts from r320156, ZFS ABD import All of the problems were related to the FreeBSD-only features. One was caused by a mismerge in the zfsbootcfg

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

2017-06-21 Thread Andriy Gapon
Author: avg Date: Wed Jun 21 08:10:45 2017 New Revision: 320185 URL: https://svnweb.freebsd.org/changeset/base/320185 Log: fix several fallouts from r320156, ZFS ABD import All of the problems were related to the FreeBSD-only features. One was caused by a mismerge in the zfsbootcfg

Re: svn commit: r320156 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contr

2017-06-21 Thread O. Hartmann
Am Tue, 20 Jun 2017 17:25:53 -0400 "Kenneth D. Merry" schrieb: > On Tue, Jun 20, 2017 at 23:37:10 +0300, Andriy Gapon wrote: > > On 20/06/2017 23:29, Ken Merry wrote: > > > I don???t know for sure that this commit is the cause, but it (and > > > r320153) are the > > > only

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

2017-06-21 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 21 06:44:56 2017 New Revision: 320184 URL: https://svnweb.freebsd.org/changeset/base/320184 Log: hyperv/storvsc: Reduce log verbosity On some windows hosts TEST_UNIT_READY command will return SRB_STATUS_ERROR and sense data "NOT READY asc:3a,1 (Medium not

svn commit: r320183 - head/usr.sbin/rpc.lockd

2017-06-21 Thread Xin LI
Author: delphij Date: Wed Jun 21 06:34:06 2017 New Revision: 320183 URL: https://svnweb.freebsd.org/changeset/base/320183 Log: Reduce code duplication in rpc.lockd. Reuse create_service code instead of duplicating it in lookup_addresses for kernel NLM. As a (good) side effect this