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

2019-02-28 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Mar 1 05:54:13 2019 New Revision: 344690 URL: https://svnweb.freebsd.org/changeset/base/344690 Log: Improve readability of the code by making it explicit where the 'c' variable starts. It is also more consistent with similar code in this file. Modified:

svn commit: r344689 - in stable/11/usr.sbin: . trim

2019-02-28 Thread Eugene Grosbein
Author: eugen Date: Fri Mar 1 05:04:29 2019 New Revision: 344689 URL: https://svnweb.freebsd.org/changeset/base/344689 Log: MFC r343118: new small tool trim(8) to delete contents for blocks on flash based storage devices that use wear-leveling algorithms. Added: stable/11/usr.sbin/trim/

svn commit: r344688 - in stable/12/usr.sbin: . trim

2019-02-28 Thread Eugene Grosbein
Author: eugen Date: Fri Mar 1 05:02:09 2019 New Revision: 344688 URL: https://svnweb.freebsd.org/changeset/base/344688 Log: MFC r343118: new small tool trim(1) to delete contents for blocks on flash based storage devices that use wear-leveling algorithms. Added: stable/12/usr.sbin/trim/

svn commit: r344687 - in head/sys: conf powerpc/powernv

2019-02-28 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 1 04:36:55 2019 New Revision: 344687 URL: https://svnweb.freebsd.org/changeset/base/344687 Log: powerpc/powernv: Add OPAL flash device driver Firmware needed by petitboot, for example, GPU firmware, can be installed to a partition in the flash filesystem.

svn commit: r344686 - head/sys/modules/fdt/fdt_slicer

2019-02-28 Thread Ian Lepore
Author: ian Date: Fri Mar 1 04:17:43 2019 New Revision: 344686 URL: https://svnweb.freebsd.org/changeset/base/344686 Log: Add another required header file. For some reason this seems to be required on aarch64, but I can build armv7 from clean without needing this in the list. (The file

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-28 Thread Alan Somers
On Thu, Feb 28, 2019 at 6:40 PM Matthew Macy wrote: > > to config add: > options LINDEBUGFS > options GCOV > > compile kernel with gcc (otherwise it will be a no-op) > > sysctl debug.gcov.enable=1 > > mount -t debugfs debugfs /sys/kernel/debug > > (or wherever) and the output artifacts will

svn commit: r344685 - head/sys/modules/fdt/fdt_slicer

2019-02-28 Thread Ian Lepore
Author: ian Date: Fri Mar 1 03:09:43 2019 New Revision: 344685 URL: https://svnweb.freebsd.org/changeset/base/344685 Log: Add required header file to SRCS. Modified: head/sys/modules/fdt/fdt_slicer/Makefile Modified: head/sys/modules/fdt/fdt_slicer/Makefile

svn commit: r344684 - head/sys/modules

2019-02-28 Thread Ian Lepore
Author: ian Date: Fri Mar 1 02:53:54 2019 New Revision: 344684 URL: https://svnweb.freebsd.org/changeset/base/344684 Log: Undo accidental part of r344681. I think I must have accidentally mouse-click pasted while scrolling and didn't notice it. Reported by: jhibbits@ Modified:

svn commit: r344683 - in head/sys: conf powerpc/powernv

2019-02-28 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 1 02:49:47 2019 New Revision: 344683 URL: https://svnweb.freebsd.org/changeset/base/344683 Log: powerpc/powernv: Add asynchronous token management for powernv The OPAL firmware only supports a finite number of in-flight asynchronous operations. Rather

svn commit: r344682 - head/sys/dev/cxgbe

2019-02-28 Thread Navdeep Parhar
Author: np Date: Fri Mar 1 02:43:30 2019 New Revision: 344682 URL: https://svnweb.freebsd.org/changeset/base/344682 Log: cxgbe(4): Don't forget to report link state to the kernel if the link is already up at attach. Reported by: Fabrice Bruel @ Orange Business Service MFC after:1

svn commit: r344681 - head/sys/modules

2019-02-28 Thread Ian Lepore
Author: ian Date: Fri Mar 1 02:31:43 2019 New Revision: 344681 URL: https://svnweb.freebsd.org/changeset/base/344681 Log: Build fdt support modules on systems that use fdt data. kern.opts.mk sets make var OPT_FDT to a non-empty value if platform.h contains OPT_FDT. Modified:

svn commit: r344680 - in stable/12/sys: dev/nvdimm modules/nvdimm

2019-02-28 Thread Ben Widawsky
Author: bwidawsk Date: Fri Mar 1 02:16:37 2019 New Revision: 344680 URL: https://svnweb.freebsd.org/changeset/base/344680 Log: MFC r344474-r344476 r344474: nvdimm: split spa dev into a separate entity Separate code for exposing a device backed by a system physical address range

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-28 Thread Enji Cooper
> On Feb 28, 2019, at 5:39 PM, Matthew Macy wrote: > > to config add: > options LINDEBUGFS > options GCOV > > compile kernel with gcc (otherwise it will be a no-op) > > sysctl debug.gcov.enable=1 > > mount -t debugfs debugfs /sys/kernel/debug > > (or wherever) and the output artifacts will

svn commit: r344679 - head/sys/modules/geom/geom_flashmap

2019-02-28 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 1 02:08:12 2019 New Revision: 344679 URL: https://svnweb.freebsd.org/changeset/base/344679 Log: Revert r344675 It's an incorrect approach to solve the problem. We already have a fdt/fdt_slicer module, it just needs to be wired into the build. Modified:

svn commit: r344678 - head/sys/dev/cxgb

2019-02-28 Thread Conrad Meyer
Author: cem Date: Fri Mar 1 01:57:22 2019 New Revision: 344678 URL: https://svnweb.freebsd.org/changeset/base/344678 Log: cxgb(4): Netdump: only reference allocated qsets SGE_QSETS is an upper bound -- fewer qsets may be allocated depending on the number of CPUs. Reviewed by:

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-28 Thread Matthew Macy
to config add: options LINDEBUGFS options GCOV compile kernel with gcc (otherwise it will be a no-op) sysctl debug.gcov.enable=1 mount -t debugfs debugfs /sys/kernel/debug (or wherever) and the output artifacts will appear under gcov/ - you need to be root to see the artifacts gcov can then

svn commit: r344677 - head/usr.bin/patch

2019-02-28 Thread Kyle Evans
Author: kevans Date: Fri Mar 1 01:20:21 2019 New Revision: 344677 URL: https://svnweb.freebsd.org/changeset/base/344677 Log: patch(1): Exit successfully if we're fed a 0-length patch This change is made in the name of GNU patch compatibility. If GNU patch is fed a zero-length patch, it

svn commit: r344676 - head/sys/kern

2019-02-28 Thread Marcin Wojtas
Author: mw Date: Fri Mar 1 01:18:39 2019 New Revision: 344676 URL: https://svnweb.freebsd.org/changeset/base/344676 Log: Prevent detaching driver if the attach is not finished When the device is in attaching state, detach should return EBUSY instead of success. In other case, there

svn commit: r344675 - head/sys/modules/geom/geom_flashmap

2019-02-28 Thread Justin Hibbits
Author: jhibbits Date: Thu Feb 28 23:00:47 2019 New Revision: 344675 URL: https://svnweb.freebsd.org/changeset/base/344675 Log: GEOM: Add fdt_slicer to the GEOM flashmap module for fdt-based platforms geom_flashmap depends on a slicer being available in order to do any work. On fdt

svn commit: r344674 - in stable/10: contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/test_utils lib/libarchive lib/libarchive/tests

2019-02-28 Thread Martin Matuska
Author: mm Date: Thu Feb 28 22:57:09 2019 New Revision: 344674 URL: https://svnweb.freebsd.org/changeset/base/344674 Log: MFC r344063,r344088: MFC r344063: Sync libarchive with vendor. Relevant vendor changes: PR #1085: Fix a null pointer dereference bug in zip writer PR

svn commit: r344673 - in stable/11: contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/test_utils lib/libarchive lib/libarchive/tests

2019-02-28 Thread Martin Matuska
Author: mm Date: Thu Feb 28 22:56:15 2019 New Revision: 344673 URL: https://svnweb.freebsd.org/changeset/base/344673 Log: MFC r344063,r344088: MFC r344063: Sync libarchive with vendor. Relevant vendor changes: PR #1085: Fix a null pointer dereference bug in zip writer PR

svn commit: r344672 - in stable/12: contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/test_utils lib/libarchive lib/libarchive/tests

2019-02-28 Thread Martin Matuska
Author: mm Date: Thu Feb 28 22:55:44 2019 New Revision: 344672 URL: https://svnweb.freebsd.org/changeset/base/344672 Log: MFC r344063,r344088: MFC r344063: Sync libarchive with vendor. Relevant vendor changes: PR #1085: Fix a null pointer dereference bug in zip writer PR

Re: svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-28 Thread Alan Somers
On Sat, Feb 23, 2019 at 2:14 PM Matt Macy wrote: > > Author: mmacy > Date: Sat Feb 23 21:14:00 2019 > New Revision: 344487 > URL: https://svnweb.freebsd.org/changeset/base/344487 > > Log: > gcov support > > add gcov support and export results as files in debugfs > > Reviewed by: hps@ >

svn commit: r344671 - head/sys/dev/cxgbe

2019-02-28 Thread John Baldwin
Author: jhb Date: Thu Feb 28 22:10:19 2019 New Revision: 344671 URL: https://svnweb.freebsd.org/changeset/base/344671 Log: Don't assume all children of a nexus are ports. Specifically, ccr(4) devices are also children of cxgbe nexus devices. Rather than making assumptions about the child

svn commit: r344670 - head/sys/kern

2019-02-28 Thread Mark Johnston
Author: markj Date: Thu Feb 28 22:00:36 2019 New Revision: 344670 URL: https://svnweb.freebsd.org/changeset/base/344670 Log: Allow FIONBIO and FIOASYNC ioctls on POSIX shm descriptors. They have no effect, as with filesystem file descriptors. This improves compatibility with some

Re: svn commit: r344666 - head/tools/build/mk

2019-02-28 Thread Enji Cooper
> On Feb 28, 2019, at 1:47 PM, Kyle Evans wrote: > > On Thu, Feb 28, 2019 at 3:44 PM Enji Cooper wrote: >> >> >>> On Feb 28, 2019, at 12:48 PM, Bryan Drewery wrote: >>> >>> Author: bdrewery >>> Date: Thu Feb 28 20:48:18 2019 >>> New Revision: 344666 >>> URL:

Re: svn commit: r344666 - head/tools/build/mk

2019-02-28 Thread Kyle Evans
On Thu, Feb 28, 2019 at 3:44 PM Enji Cooper wrote: > > > > On Feb 28, 2019, at 12:48 PM, Bryan Drewery wrote: > > > > Author: bdrewery > > Date: Thu Feb 28 20:48:18 2019 > > New Revision: 344666 > > URL: https://svnweb.freebsd.org/changeset/base/344666 > > > > Log: > > bsd.nls.mk isn't

Re: svn commit: r344666 - head/tools/build/mk

2019-02-28 Thread Enji Cooper
> On Feb 28, 2019, at 12:48 PM, Bryan Drewery wrote: > > Author: bdrewery > Date: Thu Feb 28 20:48:18 2019 > New Revision: 344666 > URL: https://svnweb.freebsd.org/changeset/base/344666 > > Log: > bsd.nls.mk isn't optional. > > It is protected by MK_NLS. If it should really be optional

svn commit: r344669 - head/sys/dev/isp

2019-02-28 Thread Alexander Motin
Author: mav Date: Thu Feb 28 21:07:16 2019 New Revision: 344669 URL: https://svnweb.freebsd.org/changeset/base/344669 Log: Limit 24xx adapters to only MSI interrupts by default. This was actually the known good configuration we used before. Single MSI-X configuration doesn't even work

svn commit: r344668 - stable/11/sbin/ipfw

2019-02-28 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 28 20:57:41 2019 New Revision: 344668 URL: https://svnweb.freebsd.org/changeset/base/344668 Log: MFC r343877,r343880: r343877: ipfw table list: Fix showing header outside of 'all'. r343880: Fix build of r343877 Relnotes: yes

svn commit: r344667 - stable/12/sbin/ipfw

2019-02-28 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 28 20:57:36 2019 New Revision: 344667 URL: https://svnweb.freebsd.org/changeset/base/344667 Log: MFC r343877,r343880: r343877: ipfw table list: Fix showing header outside of 'all'. r343880: Fix build of r343877 Relnotes: yes

svn commit: r344666 - head/tools/build/mk

2019-02-28 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 28 20:48:18 2019 New Revision: 344666 URL: https://svnweb.freebsd.org/changeset/base/344666 Log: bsd.nls.mk isn't optional. It is protected by MK_NLS. If it should really be optional then it needs to be documented as such in share/mk/bsd.README and

svn commit: r344665 - head/sbin/ipfw

2019-02-28 Thread Tom Rhodes
Author: trhodes (doc committer) Date: Thu Feb 28 20:43:03 2019 New Revision: 344665 URL: https://svnweb.freebsd.org/changeset/base/344665 Log: Grammar tweaks in ipfw manual page. Modified: head/sbin/ipfw/ipfw.8 Modified: head/sbin/ipfw/ipfw.8

svn commit: r344663 - head/sys/i386/i386

2019-02-28 Thread Konstantin Belousov
Author: kib Date: Thu Feb 28 19:19:02 2019 New Revision: 344663 URL: https://svnweb.freebsd.org/changeset/base/344663 Log: Invalidate cache for the PDPTE page when using PAE paging but PAT is not supported. According to SDM rev. 69 vol. 3, for PDPTE registers loads: - when PAT is not

svn commit: r344662 - in head: share/man/man4 sys/sys

2019-02-28 Thread Enji Cooper
Author: ngie Date: Thu Feb 28 18:12:14 2019 New Revision: 344662 URL: https://svnweb.freebsd.org/changeset/base/344662 Log: Remove references to pdwait4(2) and `CAP_PDWAIT` from rights(4) @cem removed references to pdwait4(2) (a nonexistent syscall) in r320058. This change removes

Foundation staff ... do not need to include the "All rights reserved."

2019-02-28 Thread Rodney W. Grimes
> On Tue, 26 Feb 2019 at 13:03, Rodney W. Grimes > wrote: > > > > I thought the foundation updated all its templates and contracts > > such that the All rights reserved was no longer needed? > > Foundation contract templates etc. have been updated to remove the > "All rights reserved." text, but

svn commit: r344661 - head/sys/dev/isp

2019-02-28 Thread Alexander Motin
Author: mav Date: Thu Feb 28 15:36:03 2019 New Revision: 344661 URL: https://svnweb.freebsd.org/changeset/base/344661 Log: Limit 24xx adapters to only one MSI-X interrupt by default. These are 4Gb/s and pretty old and slow now, so I see no reason to fight for their performance over

svn commit: r344660 - in head: share/man/man4 sys/dev/isp

2019-02-28 Thread Alexander Motin
Author: mav Date: Thu Feb 28 15:24:00 2019 New Revision: 344660 URL: https://svnweb.freebsd.org/changeset/base/344660 Log: Add to isp(4) tunables to limit MSI/MSI-X usage. There are some problem reports possibly related to the new driver use of multiple interrupts on older cards.

Re: svn commit: r344594 - head/usr.bin/proccontrol

2019-02-28 Thread Ed Maste
On Tue, 26 Feb 2019 at 13:03, Rodney W. Grimes wrote: > > I thought the foundation updated all its templates and contracts > such that the All rights reserved was no longer needed? Foundation contract templates etc. have been updated to remove the "All rights reserved." text, but it may still

svn commit: r344659 - head/sys/arm64/arm64

2019-02-28 Thread Andrew Turner
Author: andrew Date: Thu Feb 28 14:40:43 2019 New Revision: 344659 URL: https://svnweb.freebsd.org/changeset/base/344659 Log: Add the hw.ncpu tunable to arm64. This allows us to limit the number of CPUs to use, e.g. to debug problems seen when enabling multiple clusters. Reviewed

svn commit: r344657 - stable/12/sys/dev/netmap

2019-02-28 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Feb 28 09:40:26 2019 New Revision: 344657 URL: https://svnweb.freebsd.org/changeset/base/344657 Log: MFC r344510 netmap: remove redundant call to nm_set_native_flags() This redundant call was introduced by mistake in r343772. Sponsored by: Sunny

svn commit: r344658 - stable/11/sys/dev/netmap

2019-02-28 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Feb 28 09:42:03 2019 New Revision: 344658 URL: https://svnweb.freebsd.org/changeset/base/344658 Log: MFC r344510 netmap: remove redundant call to nm_set_native_flags() This redundant call was introduced by mistake in r343772. Sponsored by: Sunny

svn commit: r344656 - head/usr.bin/truss

2019-02-28 Thread Thomas Munro
Author: tmunro Date: Thu Feb 28 09:13:41 2019 New Revision: 344656 URL: https://svnweb.freebsd.org/changeset/base/344656 Log: truss: Add support for fsync(2) and fdatasync(2). The default handling showed the argument as hex. Add explicit handling so we can show it as decimal, since