svn commit: r368196 - head/sys/dev/if_wg/include/sys

2020-11-30 Thread Matt Macy
Author: mmacy Date: Mon Nov 30 20:58:42 2020 New Revision: 368196 URL: https://svnweb.freebsd.org/changeset/base/368196 Log: wireguard: fix zfs_ copy pasta in module init macro Reported by: Jessica Clarke Modified: head/sys/dev/if_wg/include/sys/support.h Modified: head/sys/dev/if_wg/in

svn commit: r368195 - head/sys/dev/if_wg/module/crypto/zinc/chacha20

2020-11-30 Thread Matt Macy
Author: mmacy Date: Mon Nov 30 20:54:44 2020 New Revision: 368195 URL: https://svnweb.freebsd.org/changeset/base/368195 Log: Remove (dead) GPL copyright code from wireguard sources Deleted: head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S

svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_wg...

2020-11-29 Thread Matt Macy
Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL: https://svnweb.freebsd.org/changeset/base/368163 Log: Import kernel WireGuard support Data path largely shared with the OpenBSD implementation by Matt Dunwoodie Reviewed by: gre...@freebsd.org MFC after:1

svn commit: r366780 - in head/sys: cddl/contrib/opensolaris/common/unicode contrib/openzfs contrib/openzfs/cmd/arc_summary contrib/openzfs/cmd/dbufstat contrib/openzfs/cmd/zdb contrib/openzfs/cmd/z...

2020-10-16 Thread Matt Macy
Author: mmacy Date: Sat Oct 17 01:06:04 2020 New Revision: 366780 URL: https://svnweb.freebsd.org/changeset/base/366780 Log: Update OpenZFS to 2.0.0-rc3-gfc5966 - fix panic due to tqid overflow - Improve libzfs_error_init messages - Expose zfetch_max_idistance tunable - Make dbufstat

svn commit: r366775 - vendor-sys/openzfs/2.0.0-rc3-gfc5966

2020-10-16 Thread Matt Macy
Author: mmacy Date: Sat Oct 17 00:10:13 2020 New Revision: 366775 URL: https://svnweb.freebsd.org/changeset/base/366775 Log: Checkpoint 2.0.0-rc3-gfc5966 Added: vendor-sys/openzfs/2.0.0-rc3-gfc5966/ - copied from r366774, vendor-sys/openzfs/dist/ _

svn commit: r366774 - in vendor-sys/openzfs/dist: . cmd/arc_summary cmd/dbufstat cmd/zdb cmd/zed cmd/zed/agents cmd/zvol_id config contrib/dracut/90zfs contrib/pyzfs contrib/pyzfs/libzfs_core etc/i...

2020-10-16 Thread Matt Macy
Author: mmacy Date: Sat Oct 17 00:05:34 2020 New Revision: 366774 URL: https://svnweb.freebsd.org/changeset/base/366774 Log: Update OpenZFS to 2.0.0-rc3-gbd565f Added: vendor-sys/openzfs/dist/tests/zfs-tests/tests/functional/acl/posix-sa/ vendor-sys/openzfs/dist/tests/zfs-tests/tests/funct

svn commit: r366353 - head/sys/contrib/openzfs/module/os/freebsd/spl

2020-10-01 Thread Matt Macy
Author: mmacy Date: Fri Oct 2 01:25:08 2020 New Revision: 366353 URL: https://svnweb.freebsd.org/changeset/base/366353 Log: OpenZFS: don't call fpu_kern_thread on i386 Modified: head/sys/contrib/openzfs/module/os/freebsd/spl/spl_taskq.c Modified: head/sys/contrib/openzfs/module/os/freebsd/s

svn commit: r366350 - in head/sys/contrib/openzfs: . .github cmd/zfs config contrib/initramfs/scripts contrib/intel_qat include/os/freebsd/spl/sys include/os/linux/spl/sys include/sys include/sys/l...

2020-10-01 Thread Matt Macy
Author: mmacy Date: Thu Oct 1 23:28:21 2020 New Revision: 366350 URL: https://svnweb.freebsd.org/changeset/base/366350 Log: OpenZFS: MFV 2.0-rc3-gfc5966 - Annotate FreeBSD sysctls with CTLFLAG_MPSAFE - Reduce stack usage of Lua - Don't save user FPU context in kernel threads - Add su

svn commit: r366349 - vendor-sys/openzfs/2.0-rc3-gfc5966

2020-10-01 Thread Matt Macy
Author: mmacy Date: Thu Oct 1 23:11:58 2020 New Revision: 366349 URL: https://svnweb.freebsd.org/changeset/base/366349 Log: checkpoint OpenZFS 2.0-rc3-gfc5966 Added: vendor-sys/openzfs/2.0-rc3-gfc5966/ - copied from r366348, vendor-sys/openzfs/dist/ _

svn commit: r366348 - in vendor-sys/openzfs/dist: . .github cmd/zfs config contrib/initramfs/scripts contrib/intel_qat contrib/intel_qat/patch include/os/freebsd/spl/sys include/os/linux/spl/sys in...

2020-10-01 Thread Matt Macy
Author: mmacy Date: Thu Oct 1 23:09:24 2020 New Revision: 366348 URL: https://svnweb.freebsd.org/changeset/base/366348 Log: Update OpenZFS to 2.0.0-rc3-gfc5966 Added: vendor-sys/openzfs/dist/.github/ vendor-sys/openzfs/dist/.github/CONTRIBUTING.md vendor-sys/openzfs/dist/contrib/intel_qa

svn commit: r365894 - in head: cddl/lib/libzpool sys/contrib/openzfs sys/contrib/openzfs/cmd/mount_zfs sys/contrib/openzfs/cmd/zdb sys/contrib/openzfs/cmd/zfs sys/contrib/openzfs/cmd/zgenhostid sys...

2020-09-18 Thread Matt Macy
Author: mmacy Date: Fri Sep 18 23:21:24 2020 New Revision: 365894 URL: https://svnweb.freebsd.org/changeset/base/365894 Log: MFV 2.0-rc2 - Fixes divide by zero for unusual hz - remove cryptodev dependency Added: head/sys/contrib/openzfs/cmd/zgenhostid/.gitignore - copied unchanged

svn commit: r365893 - vendor-sys/openzfs/2.0-rc2-g4ce06f

2020-09-18 Thread Matt Macy
Author: mmacy Date: Fri Sep 18 22:59:44 2020 New Revision: 365893 URL: https://svnweb.freebsd.org/changeset/base/365893 Log: Checkpoint 2.0-rc2-g4ce06f Added: vendor-sys/openzfs/2.0-rc2-g4ce06f/ - copied from r365892, vendor-sys/openzfs/dist/ _

svn commit: r365892 - in vendor-sys/openzfs/dist: . cmd/mount_zfs cmd/zdb cmd/zfs cmd/zgenhostid cmd/zpool config contrib/dracut/90zfs include include/os/freebsd/spl/sys include/os/freebsd/zfs/sys ...

2020-09-18 Thread Matt Macy
Author: mmacy Date: Fri Sep 18 22:55:05 2020 New Revision: 365892 URL: https://svnweb.freebsd.org/changeset/base/365892 Log: Update openzfs to 2.0.0-rc2-g4ce06f Added: vendor-sys/openzfs/dist/cmd/zgenhostid/.gitignore vendor-sys/openzfs/dist/cmd/zgenhostid/zgenhostid.c (contents, props c

svn commit: r365466 - head/sys/modules/zfs

2020-09-08 Thread Matt Macy
Author: mmacy Date: Tue Sep 8 17:47:30 2020 New Revision: 365466 URL: https://svnweb.freebsd.org/changeset/base/365466 Log: ZFS: remove some extra defines When merging a number of defines that are needed in the standalone build made it in to the module makefile. Reported by: markj@

svn commit: r365347 - in head: lib/libbe sys/conf sys/contrib/openzfs sys/contrib/openzfs/cmd/zfs sys/contrib/openzfs/config sys/contrib/openzfs/etc/systemd/system sys/contrib/openzfs/etc/systemd/s...

2020-09-04 Thread Matt Macy
Author: mmacy Date: Fri Sep 4 22:25:14 2020 New Revision: 365347 URL: https://svnweb.freebsd.org/changeset/base/365347 Log: ZFS: MFV 2.0-rc1-gfd20a8 - fixes jail delegation - fixes raw kstat unsupported complaints - exposes dbgmsg, dbuf, and checksum benchmark stats - restore rename

svn commit: r365346 - in vendor-sys/openzfs/dist/module: os/freebsd/zfs os/linux/zfs zfs

2020-09-04 Thread Matt Macy
Author: mmacy Date: Fri Sep 4 22:11:58 2020 New Revision: 365346 URL: https://svnweb.freebsd.org/changeset/base/365346 Log: make spa_stats.c common Added: vendor-sys/openzfs/dist/module/zfs/spa_stats.c - copied unchanged from r365345, vendor-sys/openzfs/dist/module/os/linux/zfs/spa_sta

svn commit: r365345 - in vendor-sys/openzfs/dist/lib/libspl: . os/linux

2020-09-04 Thread Matt Macy
Author: mmacy Date: Fri Sep 4 21:55:35 2020 New Revision: 365345 URL: https://svnweb.freebsd.org/changeset/base/365345 Log: Another missed move Added: vendor-sys/openzfs/dist/lib/libspl/os/linux/zone.c - copied unchanged from r365344, vendor-sys/openzfs/dist/lib/libspl/zone.c Deleted:

svn commit: r365343 - in vendor-sys/openzfs/dist/include/os: freebsd/zfs/sys linux/zfs/sys

2020-09-04 Thread Matt Macy
Author: mmacy Date: Fri Sep 4 21:48:36 2020 New Revision: 365343 URL: https://svnweb.freebsd.org/changeset/base/365343 Log: Add missed move Added: vendor-sys/openzfs/dist/include/os/freebsd/zfs/sys/zfs_vfsops_os.h - copied unchanged from r365342, vendor-sys/openzfs/dist/include/os/free

svn commit: r365341 - vendor-sys/openzfs/2.0-rc1-gfd20a8

2020-09-04 Thread Matt Macy
Author: mmacy Date: Fri Sep 4 21:34:47 2020 New Revision: 365341 URL: https://svnweb.freebsd.org/changeset/base/365341 Log: snapshot openzfs 2.0-rc1 update Added: vendor-sys/openzfs/2.0-rc1-gfd20a8/ - copied from r365340, vendor-sys/openzfs/dist/

svn commit: r365340 - in vendor-sys/openzfs/dist: . cmd/zfs config etc/systemd/system etc/systemd/system-generators include include/os/freebsd/spl/sys include/os/freebsd/zfs/sys include/os/linux/ke...

2020-09-04 Thread Matt Macy
Author: mmacy Date: Fri Sep 4 21:31:58 2020 New Revision: 365340 URL: https://svnweb.freebsd.org/changeset/base/365340 Log: Update vendor openzfs to fd20a8 Added: vendor-sys/openzfs/dist/include/sys/zfs_vfsops.h (contents, props changed) vendor-sys/openzfs/dist/lib/libspl/os/freebsd/zone

svn commit: r364931 - head/sys/arm64/conf

2020-08-28 Thread Matt Macy
Author: mmacy Date: Fri Aug 28 19:02:05 2020 New Revision: 364931 URL: https://svnweb.freebsd.org/changeset/base/364931 Log: ZFS: add to arm64 NOTES to minimize potential for missing symbols Modified: head/sys/arm64/conf/NOTES Modified: head/sys/arm64/conf/NOTES =

svn commit: r364930 - in head/sys/contrib/openzfs: . cmd/zpool include include/sys/fs lib/libspl/include/os/freebsd/sys lib/libzfs man/man1 man/man5 man/man8 module module/lua/setjmp module/os/linu...

2020-08-28 Thread Matt Macy
Author: mmacy Date: Fri Aug 28 18:53:45 2020 New Revision: 364930 URL: https://svnweb.freebsd.org/changeset/base/364930 Log: ZFS: MFV 2.0-rc1-ga00c61 Added: head/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_new_props.ksh - copied unchanged from r

svn commit: r364929 - vendor-sys/openzfs/2.0-rc1-ga00c61

2020-08-28 Thread Matt Macy
Author: mmacy Date: Fri Aug 28 18:45:14 2020 New Revision: 364929 URL: https://svnweb.freebsd.org/changeset/base/364929 Log: openzfs: tag latest Added: vendor-sys/openzfs/2.0-rc1-ga00c61/ - copied from r364928, vendor-sys/openzfs/dist/ ___ svn-

svn commit: r364928 - in vendor-sys/openzfs/dist: . cmd/zpool include include/os/freebsd/spl/sys include/sys/fs lib/libspl/include/os/freebsd/sys lib/libzfs man/man1 man/man5 man/man8 module module...

2020-08-28 Thread Matt Macy
Author: mmacy Date: Fri Aug 28 18:41:28 2020 New Revision: 364928 URL: https://svnweb.freebsd.org/changeset/base/364928 Log: update vendor openzfs to a00c61 (2.0-rc1) Added: vendor-sys/openzfs/dist/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_new_props.ksh Modified: ve

svn commit: r364923 - in head/sys: amd64/conf conf

2020-08-28 Thread Matt Macy
Author: mmacy Date: Fri Aug 28 17:06:35 2020 New Revision: 364923 URL: https://svnweb.freebsd.org/changeset/base/364923 Log: ZFS: clarify dependencies for static linking Modified: head/sys/amd64/conf/NOTES head/sys/conf/NOTES Modified: head/sys/amd64/conf/NOTES

svn commit: r364893 - head/stand/libsa/zfs

2020-08-27 Thread Matt Macy
Author: mmacy Date: Thu Aug 27 21:37:35 2020 New Revision: 364893 URL: https://svnweb.freebsd.org/changeset/base/364893 Log: ZFS: remove duplicate "com.datto:encryption" from loader Modified: head/stand/libsa/zfs/zfsimpl.c Modified: head/stand/libsa/zfs/zfsimpl.c

svn commit: r364788 - head/sys/cddl/contrib/opensolaris/common/lz4

2020-08-25 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 23:35:55 2020 New Revision: 364788 URL: https://svnweb.freebsd.org/changeset/base/364788 Log: ZFS: band-aid for -DNO_CLEAN Submitted by: Neal Chauhan Approved by: imp@ Differential Revision:https://reviews.freebsd.org/D26183 Modified: head/sys

svn commit: r364787 - head/stand/libsa/zfs

2020-08-25 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 23:26:52 2020 New Revision: 364787 URL: https://svnweb.freebsd.org/changeset/base/364787 Log: ZFS: whitelist zstd and encryption in the loader Please note that neither zstd nor encryption is supported by the loader at this instant. This change makes it saf

svn commit: r364773 - head/stand/userboot/userboot

2020-08-25 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 17:23:33 2020 New Revision: 364773 URL: https://svnweb.freebsd.org/changeset/base/364773 Log: Fix userboot after r364355 r364355 replaced init_zfs_bootenv with init_zfs_boot_options and neglected to update userboot in the process. Modified: head/stand/use

svn commit: r364772 - head

2020-08-25 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 17:19:15 2020 New Revision: 364772 URL: https://svnweb.freebsd.org/changeset/base/364772 Log: Give stronger guidance with regards to upgrading root pools Modified: head/UPDATING Modified: head/UPDATING ===

svn commit: r364751 - head/cddl/lib/libzfs

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 03:43:52 2020 New Revision: 364751 URL: https://svnweb.freebsd.org/changeset/base/364751 Log: Fix libzfs build failures for some In some environments adding zstd/include to the include path would cause zstd's stdlib.h to hide the system one. Modified: hea

svn commit: r364749 - head

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 02:42:48 2020 New Revision: 364749 URL: https://svnweb.freebsd.org/changeset/base/364749 Log: Mention OpenZFS merge in UPDATING Modified: head/UPDATING Modified: head/UPDATING == --- he

svn commit: r364747 - head/sys/sys

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 02:22:49 2020 New Revision: 364747 URL: https://svnweb.freebsd.org/changeset/base/364747 Log: Bump __FreeBSD_version for OpenZFS switchover Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ===

svn commit: r364746 - in head: . cddl/compat/opensolaris/include cddl/contrib/opensolaris/cmd/lockstat cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd...

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 02:21:27 2020 New Revision: 364746 URL: https://svnweb.freebsd.org/changeset/base/364746 Log: Merge OpenZFS support in to HEAD. The primary benefit is maintaining a completely shared code base with the community allowing FreeBSD to receive new features soo

svn commit: r364741 - vendor-sys/openzfs/2.0-rc0-g184df27

2020-08-24 Thread Matt Macy
Author: mmacy Date: Mon Aug 24 23:38:22 2020 New Revision: 364741 URL: https://svnweb.freebsd.org/changeset/base/364741 Log: Tag initial import in vendor branch Added: vendor-sys/openzfs/2.0-rc0-g184df27/ - copied from r364740, vendor-sys/openzfs/dist/ ___

svn commit: r364740 - head/sys/contrib/openzfs

2020-08-24 Thread Matt Macy
Author: mmacy Date: Mon Aug 24 23:31:26 2020 New Revision: 364740 URL: https://svnweb.freebsd.org/changeset/base/364740 Log: Initial import from vendor-sys branch of openzfs Added: head/sys/contrib/openzfs/ - copied from r364739, vendor-sys/openzfs/dist/ _

svn commit: r364735 - svnadmin/conf

2020-08-24 Thread Matt Macy
Author: mmacy Date: Mon Aug 24 22:47:24 2020 New Revision: 364735 URL: https://svnweb.freebsd.org/changeset/base/364735 Log: Bump limit for openzfs vendor branch import Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf =

svn commit: r363594 - stable/12/sys/net

2020-07-26 Thread Matt Macy
Author: mmacy Date: Mon Jul 27 01:53:27 2020 New Revision: 363594 URL: https://svnweb.freebsd.org/changeset/base/363594 Log: iflib: fix cloneattach fail and generalize pseudo device handling - a cloneattach failure will not currently be handled correctly, jump to the right target -

svn commit: r363592 - stable/12/sys/net

2020-07-26 Thread Matt Macy
Author: mmacy Date: Mon Jul 27 01:38:14 2020 New Revision: 363592 URL: https://svnweb.freebsd.org/changeset/base/363592 Log: Fix panics when using iflib pseudo device support Reviewed by: gallatin@, hselasky@ Sponsored by: Netgate, Inc. Differential Revision:https://reviews.fre

svn commit: r363590 - head/sys/net

2020-07-26 Thread Matt Macy
Author: mmacy Date: Mon Jul 27 01:17:59 2020 New Revision: 363590 URL: https://svnweb.freebsd.org/changeset/base/363590 Log: iflib: fix LOR with bpf detach Reported by: grehan@ Approved by: grehan@ MFC after:1 week Sponsored by: Netgate Differential Revision: https://reviews.f

svn commit: r362669 - head/lib/libnv

2020-06-26 Thread Matt Macy
Author: mmacy Date: Sat Jun 27 02:17:04 2020 New Revision: 362669 URL: https://svnweb.freebsd.org/changeset/base/362669 Log: Fix libnv build post rename Submitted by: Neel Chauhan Differential Revision:https://reviews.freebsd.org/D25481 Modified: head/lib/libnv/Makefile Modifi

svn commit: r362667 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2020-06-26 Thread Matt Macy
Author: mmacy Date: Sat Jun 27 00:57:48 2020 New Revision: 362667 URL: https://svnweb.freebsd.org/changeset/base/362667 Log: Fix "current" variable name conflict with openzfs The variable "current" is an alias for curthread in openzfs. Rename all variable uses of current in dtrace.c to

svn commit: r362666 - in head/sys: conf contrib/libnv

2020-06-26 Thread Matt Macy
Author: mmacy Date: Sat Jun 27 00:55:03 2020 New Revision: 362666 URL: https://svnweb.freebsd.org/changeset/base/362666 Log: Rename nvpair.c to bsd_nvpair.c to not conflict with openzfs' version. Added: head/sys/contrib/libnv/bsd_nvpair.c - copied unchanged from r362665, head/sys/contrib

svn commit: r362471 - head/sys/net

2020-06-21 Thread Matt Macy
Author: mmacy Date: Sun Jun 21 22:02:49 2020 New Revision: 362471 URL: https://svnweb.freebsd.org/changeset/base/362471 Log: iflib: fix cloneattach fail and generalize pseudo device handling - a cloneattach failure will not currently be handled correctly, jump to the right target -

svn commit: r361665 - head/sys/net

2020-05-31 Thread Matt Macy
Author: mmacy Date: Sun May 31 18:42:00 2020 New Revision: 361665 URL: https://svnweb.freebsd.org/changeset/base/361665 Log: Fix panics when using iflib pseudo device support Reviewed by: gallatin@, hselasky@ MFC after:1 week Sponsored by: Netgate, Inc. Differential Revision:

svn commit: r359622 - in head/lib/libpmc/pmu-events/arch/x86: . bonnell broadwell broadwellde broadwellx cascadelakex goldmont goldmontplus haswell haswellx icelake ivybridge ivytown jaketown knigh...

2020-04-03 Thread Matt Macy
Author: mmacy Date: Fri Apr 3 22:36:22 2020 New Revision: 359622 URL: https://svnweb.freebsd.org/changeset/base/359622 Log: Update x86 counters MFC after:1 week Added: head/lib/libpmc/pmu-events/arch/x86/cascadelakex/ head/lib/libpmc/pmu-events/arch/x86/cascadelakex/cache.json (

svn commit: r358921 - stable/12/sys/dev/hwpmc

2020-03-12 Thread Matt Macy
Author: mmacy Date: Thu Mar 12 20:59:00 2020 New Revision: 358921 URL: https://svnweb.freebsd.org/changeset/base/358921 Log: Fix sample check in hwpmc Don't drop samples with callchain pending Tested by: mjg@ MFC of r353483 Modified: stable/12/sys/dev/hwpmc/hwpmc_mod.c Modifie

svn commit: r357987 - in head: share/man/man9 sys/kern sys/sys

2020-02-15 Thread Matt Macy
Author: mmacy Date: Sun Feb 16 00:12:53 2020 New Revision: 357987 URL: https://svnweb.freebsd.org/changeset/base/357987 Log: Add zfree to zero allocation before free Key and cookie management typically wants to avoid information leaks by explicitly zeroing before free. This routine simp

svn commit: r357986 - in head/sys: conf contrib/libsodium/src/libsodium/include/sodium

2020-02-15 Thread Matt Macy
Author: mmacy Date: Sun Feb 16 00:03:09 2020 New Revision: 357986 URL: https://svnweb.freebsd.org/changeset/base/357986 Log: Add chacha20poly1305 support to crypto build This is a dependency for in-kernel wireguard. Reviewed by: cem@ MFC after:1 week Sponsored by: Rubicon Comm

svn commit: r355520 - stable/12/bin/dd

2019-12-07 Thread Matt Macy
Author: mmacy Date: Sun Dec 8 04:19:05 2019 New Revision: 355520 URL: https://svnweb.freebsd.org/changeset/base/355520 Log: MFC r351770,r352920-r352923 MFCs to dd appear to have been haphazard so selectively MFCing individually didn't work easily. Add conv=fsync flag to dd The

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

2019-10-13 Thread Matt Macy
Author: mmacy Date: Sun Oct 13 22:26:55 2019 New Revision: 353483 URL: https://svnweb.freebsd.org/changeset/base/353483 Log: Fix sample check in hwpmc Don't drop samples with callchain pending Tested by: mjg@ Submitted by: Rajeeb Barman at amd.com MFC after:1 week Differen

svn commit: r352923 - head/bin/dd

2019-09-30 Thread Matt Macy
Author: mmacy Date: Mon Sep 30 22:00:48 2019 New Revision: 352923 URL: https://svnweb.freebsd.org/changeset/base/352923 Log: Add iflag=fullblock to dd Normally, count=n means read(2) will be called n times on the input to dd. If the read() returns short, as may happen when reading from a

svn commit: r352922 - head/bin/dd

2019-09-30 Thread Matt Macy
Author: mmacy Date: Mon Sep 30 21:56:42 2019 New Revision: 352922 URL: https://svnweb.freebsd.org/changeset/base/352922 Log: Add oflag=fsync and oflag=sync capability to dd Sets the O_FSYNC flag on the output file. oflag=fsync and oflag=sync are synonyms just as O_FSYNC and O_SYNC are syn

svn commit: r352921 - head/bin/dd

2019-09-30 Thread Matt Macy
Author: mmacy Date: Mon Sep 30 21:53:26 2019 New Revision: 352921 URL: https://svnweb.freebsd.org/changeset/base/352921 Log: dd: Check result of close(2) for errors close(2) can return errors from previous operations which should not be ignored. PR: 229616 Submitted by: Thomas Hurst

svn commit: r352920 - head/bin/dd

2019-09-30 Thread Matt Macy
Author: mmacy Date: Mon Sep 30 21:48:12 2019 New Revision: 352920 URL: https://svnweb.freebsd.org/changeset/base/352920 Log: Add conv=fdatasync flag to dd The fdatasync flag performs an fdatasync(2) on the output file before closing it. This will be useful for the ZFS test suite. Su

svn commit: r351771 - in head: release/amd64 tools/boot

2019-09-03 Thread Matt Macy
Author: mmacy Date: Tue Sep 3 18:37:55 2019 New Revision: 351771 URL: https://svnweb.freebsd.org/changeset/base/351771 Log: Use makefs -t msdos in make_esp_file With this last piece in place, make -C /usr/src/release release.iso is finally able to run in a jail. This was not possible bef

svn commit: r351770 - head/bin/dd

2019-09-03 Thread Matt Macy
Author: mmacy Date: Tue Sep 3 18:35:55 2019 New Revision: 351770 URL: https://svnweb.freebsd.org/changeset/base/351770 Log: Add conv=fsync flag to dd The fsync flag performs an fsync(2) on the output file before closing it. This will be useful for the ZFS test suite. Submitted by: r

svn commit: r351104 - head/lib/libpmc

2019-08-15 Thread Matt Macy
Author: mmacy Date: Thu Aug 15 21:51:11 2019 New Revision: 351104 URL: https://svnweb.freebsd.org/changeset/base/351104 Log: pmc: restore "unhalted-cycles" alias Reported by: mav@ Modified: head/lib/libpmc/libpmc_pmu_util.c Modified: head/lib/libpmc/libpmc_pmu_util.c ==

svn commit: r351103 - stable/12/lib/libpmc

2019-08-15 Thread Matt Macy
Author: mmacy Date: Thu Aug 15 21:39:21 2019 New Revision: 351103 URL: https://svnweb.freebsd.org/changeset/base/351103 Log: pmc: restore "unhalted-cycles" alias Reported by: mav@ Modified: stable/12/lib/libpmc/libpmc_pmu_util.c Modified: stable/12/lib/libpmc/libpmc_pmu_util.c

svn commit: r349217 - head/stand/libsa/zfs

2019-06-19 Thread Matt Macy
Author: mmacy Date: Wed Jun 19 21:10:13 2019 New Revision: 349217 URL: https://svnweb.freebsd.org/changeset/base/349217 Log: Tell loader to ignore newer features enabled on the root pool. There are many new features in ZoF. Most, if not all, do not effect read only usage. Encryption in p

svn commit: r347357 - head/sys/sys

2019-05-08 Thread Matt Macy
Author: mmacy Date: Wed May 8 18:10:19 2019 New Revision: 347357 URL: https://svnweb.freebsd.org/changeset/base/347357 Log: Enable sys/disk.h consumers to avoid pulling in networking headers. The networking headers break ZoF. Modified: head/sys/sys/disk.h Modified: head/sys/sys/disk.h

svn commit: r347057 - head/sys/net

2019-05-03 Thread Matt Macy
Author: mmacy Date: Fri May 3 20:05:31 2019 New Revision: 347057 URL: https://svnweb.freebsd.org/changeset/base/347057 Log: Allow iflib drivers to pass a pointer to their own ifmedia structure. Tested by: emaste@ Differential Revision:https://reviews.freebsd.org/D19946 Modifi

svn commit: r345328 - stable/12/sys/cddl/boot/zfs

2019-03-20 Thread Matt Macy
Author: mmacy Date: Wed Mar 20 15:37:40 2019 New Revision: 345328 URL: https://svnweb.freebsd.org/changeset/base/345328 Log: MFC r342747 - zfsboot: support newer ZFS versions Sponsored by: iX Systems Modified: stable/12/sys/cddl/boot/zfs/zfsimpl.h Directory Properties: stable/12/ (pr

svn commit: r345327 - in stable/12: . share/mk stand/efi/boot1 stand/efi/libefi stand/efi/loader stand/i386 stand/i386/loader stand/libsa stand/sparc64 stand/sparc64/loader stand/userboot/userboot ...

2019-03-20 Thread Matt Macy
Author: mmacy Date: Wed Mar 20 15:34:40 2019 New Revision: 345327 URL: https://svnweb.freebsd.org/changeset/base/345327 Log: MFC r342793 - selectively disable ZFS without disabling loader Sponsored by: iX Systems Added: stable/12/tools/build/options/WITHOUT_LOADER_ZFS - copied uncha

svn commit: r345169 - stable/12/sys/sys

2019-03-14 Thread Matt Macy
Author: mmacy Date: Fri Mar 15 01:26:10 2019 New Revision: 345169 URL: https://svnweb.freebsd.org/changeset/base/345169 Log: bump version to reflect MFC of CCM for the benefit of the ZoF port Sponsored by: iX Systems Modified: stable/12/sys/sys/param.h Modified: stable/12/sys/sys/param.

svn commit: r344867 - head/sys/conf

2019-03-06 Thread Matt Macy
Author: mmacy Date: Thu Mar 7 03:47:41 2019 New Revision: 344867 URL: https://svnweb.freebsd.org/changeset/base/344867 Log: Add build time GPL warning when GCOV is enabled MFC after:1 week Modified: head/sys/conf/files Modified: head/sys/conf/files =

svn commit: r344868 - head/sys/amd64/conf

2019-03-06 Thread Matt Macy
Author: mmacy Date: Thu Mar 7 03:50:34 2019 New Revision: 344868 URL: https://svnweb.freebsd.org/changeset/base/344868 Log: add gcov to LINT build MFC after:1 week Modified: head/sys/amd64/conf/NOTES Modified: head/sys/amd64/conf/NOTES ==

svn commit: r344869 - head/sys/gnu/gcov

2019-03-06 Thread Matt Macy
Author: mmacy Date: Thu Mar 7 03:53:48 2019 New Revision: 344869 URL: https://svnweb.freebsd.org/changeset/base/344869 Log: add GPL text in addition to SPDX tags as requested by core MFC after:1 week Modified: head/sys/gnu/gcov/gcc_4_7.c head/sys/gnu/gcov/gcov_fs.c Modified: head

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

2019-02-23 Thread Matt Macy
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@ MFC after:1 week Sponsored by: iX Systems Differential Revision

svn commit: r344486 - in head/sys: kern sys

2019-02-23 Thread Matt Macy
Author: mmacy Date: Sat Feb 23 21:04:48 2019 New Revision: 344486 URL: https://svnweb.freebsd.org/changeset/base/344486 Log: Change seq_read to seq_load to avoid namespace conflicts with lkpi MFC after:1 week Sponsored by: iX Systems Modified: head/sys/kern/kern_descrip.c head/sy

svn commit: r344485 - in head/sys/compat: lindebugfs linuxkpi/common/include/linux linuxkpi/common/src

2019-02-23 Thread Matt Macy
Author: mmacy Date: Sat Feb 23 20:56:41 2019 New Revision: 344485 URL: https://svnweb.freebsd.org/changeset/base/344485 Log: import linux debugfs support Reviewed by: hps@ MFC after:1 week Sponsored by: iX Systems Differential Revision:https://reviews.freebsd.org/D19258

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

2019-02-23 Thread Matt Macy
Author: mmacy Date: Sat Feb 23 20:45:45 2019 New Revision: 344484 URL: https://svnweb.freebsd.org/changeset/base/344484 Log: linux/fs: simplify interop and correct definition of loff_t - offsets can be negative, loff_t needs to be signed, it also simplifies interop with the rest of the

svn commit: r344478 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src kern sys

2019-02-22 Thread Matt Macy
Author: mmacy Date: Fri Feb 22 23:15:32 2019 New Revision: 344478 URL: https://svnweb.freebsd.org/changeset/base/344478 Log: lkpi: allow late binding of linux_alloc_current Some consumers may be loosely coupled with the lkpi. This allows them to call linux_alloc_current without having a

svn commit: r344385 - head/sys/fs/pseudofs

2019-02-20 Thread Matt Macy
Author: mmacy Date: Wed Feb 20 20:55:02 2019 New Revision: 344385 URL: https://svnweb.freebsd.org/changeset/base/344385 Log: PFS: Bump NAMELEN and don't require clients to be sleepable - debugfs consumers expect to be able to export names more than 48 characters - debugfs consumers exp

svn commit: r344384 - in head/sys: libkern sys

2019-02-20 Thread Matt Macy
Author: mmacy Date: Wed Feb 20 20:48:10 2019 New Revision: 344384 URL: https://svnweb.freebsd.org/changeset/base/344384 Log: Add non-sleepable strdup variant strdup_flags debugfs expects to do non-sleepable allocations Reviewed by: hps@ MFC after:1 week Sponsored by: iX System

svn commit: r343758 - head/lib/libpmc/pmu-events

2019-02-04 Thread Matt Macy
Author: mmacy Date: Tue Feb 5 00:31:25 2019 New Revision: 343758 URL: https://svnweb.freebsd.org/changeset/base/343758 Log: Fix deterministic builds by sorting input to fts in jevents Reported by: emaste@ Modified: head/lib/libpmc/pmu-events/jevents.c Modified: head/lib/libpmc/pmu-even

svn commit: r342793 - in head: . share/mk stand/efi/boot1 stand/efi/libefi stand/efi/loader stand/i386 stand/i386/loader stand/libsa stand/sparc64 stand/sparc64/loader stand/userboot/userboot tools...

2019-01-05 Thread Matt Macy
Author: mmacy Date: Sat Jan 5 22:45:20 2019 New Revision: 342793 URL: https://svnweb.freebsd.org/changeset/base/342793 Log: MK_ZFS -> {MK_ZFS|MK_LOADER_ZFS}, this is so we can diable userland / kernel ZFS but keep the boot-loaders when using ZoL port. MFC after: 1 week Reviewed by: rgr

svn commit: r342749 - head/sys/net

2019-01-03 Thread Matt Macy
Author: mmacy Date: Thu Jan 3 23:06:05 2019 New Revision: 342749 URL: https://svnweb.freebsd.org/changeset/base/342749 Log: mp_ring: avoid items offset difference between iflib and mp_ring on architectures without 64-bit atomics Reported by: Augustin Cavalier Modified: head/sys/net/

svn commit: r342747 - head/sys/cddl/boot/zfs

2019-01-03 Thread Matt Macy
Author: mmacy Date: Thu Jan 3 22:49:11 2019 New Revision: 342747 URL: https://svnweb.freebsd.org/changeset/base/342747 Log: zfsboot: support newer ZFS versions declare v3 objset size/layout to fix userboot and possibly other loader issues - fix for userboot assertion failure in zfs_dev_c

svn commit: r342024 - in head/sys: crypto/aesni opencrypto

2018-12-12 Thread Matt Macy
Author: mmacy Date: Thu Dec 13 04:40:53 2018 New Revision: 342024 URL: https://svnweb.freebsd.org/changeset/base/342024 Log: Generalize AES iov optimization Right now, aesni_cipher_alloc does a bit of special-casing for CRYPTO_F_IOV, to not do any allocation if the first uio is large en

svn commit: r340718 - in stable/12: lib/libpmc lib/libpmc/pmu-events lib/libpmc/pmu-events/arch/x86/amdfam17h sys/dev/hwpmc

2018-11-20 Thread Matt Macy
Author: mmacy Date: Wed Nov 21 01:24:27 2018 New Revision: 340718 URL: https://svnweb.freebsd.org/changeset/base/340718 Log: hwpmc: new counters and bug fix MFCs MFC r340108 and r340149 Added: stable/12/lib/libpmc/pmu-events/arch/x86/amdfam17h/data-fabric.json - copied unchanged from r

svn commit: r340420 - head/sys/kern

2018-11-13 Thread Matt Macy
Author: mmacy Date: Wed Nov 14 00:12:04 2018 New Revision: 340420 URL: https://svnweb.freebsd.org/changeset/base/340420 Log: epoch(9) revert r340097 - no longer a need for multiple sections per cpu I spoke with Samy Bahra and recent changes to CK to make ck_epoch_call and ck_epoch_poll no

svn commit: r340414 - head/sys/amd64/conf

2018-11-13 Thread Matt Macy
Author: mmacy Date: Tue Nov 13 23:08:46 2018 New Revision: 340414 URL: https://svnweb.freebsd.org/changeset/base/340414 Log: Add ZFS to amd64 NOTES to catch future breakage of static linking Modified: head/sys/amd64/conf/NOTES Modified: head/sys/amd64/conf/NOTES =

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

2018-11-05 Thread Matt Macy
Author: mmacy Date: Mon Nov 5 08:11:16 2018 New Revision: 340149 URL: https://svnweb.freebsd.org/changeset/base/340149 Log: hwpmc: limit wait for user callchain collection to 1 tick The hwpmc pcpu sample buffer is prone to head of line blocking when waiting for user process to return to

svn commit: r340148 - stable/11/sys/dev/e1000

2018-11-04 Thread Matt Macy
Author: mmacy Date: Mon Nov 5 06:59:41 2018 New Revision: 340148 URL: https://svnweb.freebsd.org/changeset/base/340148 Log: e1000: Don't use 9k jumbo clusters Backported to 11-STABLE from 12-CURRENT. Avoids the issue with 9k jumbo cluster fragmentation by maxing out at page size jumbo

svn commit: r340145 - in stable/11/sys: arm/at91 arm/cavium/cns11xx arm/nvidia arm/xscale/i8134x arm/xscale/ixp425 arm/xscale/pxa dev/acpica dev/uart mips/adm5120 mips/alchemy mips/atheros mips/bro...

2018-11-04 Thread Matt Macy
Author: mmacy Date: Sun Nov 4 23:28:56 2018 New Revision: 340145 URL: https://svnweb.freebsd.org/changeset/base/340145 Log: Backport of r338074 - generalize uart_bus_probe and add SNPS support to x86 Submitted by: Rajesh Kumar Differential Revision:https://reviews.freebsd.org/D17

svn commit: r340108 - in head: lib/libpmc lib/libpmc/pmu-events lib/libpmc/pmu-events/arch/x86/amdfam17h sys/dev/hwpmc

2018-11-03 Thread Matt Macy
Author: mmacy Date: Sun Nov 4 06:24:27 2018 New Revision: 340108 URL: https://svnweb.freebsd.org/changeset/base/340108 Log: Add aditional counter descriptions to AMD 0x17 Submitted by: Somalapuram Amaranath MFC after:3 days Differential Revision:https://reviews.freebsd.org/

svn commit: r340097 - in head/sys: kern sys

2018-11-02 Thread Matt Macy
Author: mmacy Date: Sat Nov 3 03:43:32 2018 New Revision: 340097 URL: https://svnweb.freebsd.org/changeset/base/340097 Log: Convert epoch to read / write records per cpu In discussing D17503 "Run epoch calls sooner and more reliably" with sbahra@ we came to the conclusion that epoch is c

svn commit: r339771 - stable/11/sys/dev/hwpmc

2018-10-26 Thread Matt Macy
Author: mmacy Date: Fri Oct 26 08:52:22 2018 New Revision: 339771 URL: https://svnweb.freebsd.org/changeset/base/339771 Log: fix up more issues introduced by failing to have run TB before r339767 Modified: stable/11/sys/dev/hwpmc/hwpmc_amd.c Modified: stable/11/sys/dev/hwpmc/hwpmc_amd.c ==

svn commit: r339769 - in stable/11/sys: dev/hwpmc i386/include

2018-10-25 Thread Matt Macy
Author: mmacy Date: Fri Oct 26 06:12:56 2018 New Revision: 339769 URL: https://svnweb.freebsd.org/changeset/base/339769 Log: fix i386 breakage caused by r339767 Modified: stable/11/sys/dev/hwpmc/hwpmc_amd.c stable/11/sys/i386/include/pmc_mdep.h Modified: stable/11/sys/dev/hwpmc/hwpmc_amd.c

svn commit: r339767 - in stable/11: lib/libpmc sys/amd64/include sys/dev/hwpmc sys/sys

2018-10-25 Thread Matt Macy
Author: mmacy Date: Fri Oct 26 05:12:56 2018 New Revision: 339767 URL: https://svnweb.freebsd.org/changeset/base/339767 Log: hwpmc: Enable hwpmc support for AMD Family 17H devices Adds new counters and events for family 17H devices. Adds libpmc support for family 17H devices. Direct

svn commit: r339188 - in head/sys: dev/hwpmc sys

2018-10-04 Thread Matt Macy
Author: mmacy Date: Fri Oct 5 05:55:56 2018 New Revision: 339188 URL: https://svnweb.freebsd.org/changeset/base/339188 Log: hwpmc: Refactor sample ring buffer handling to fix races Refactor sample ring buffer ring handling to make it more robust to long running callchain collection handl

svn commit: r339187 - in head/sys: kern sys vm

2018-10-04 Thread Matt Macy
Author: mmacy Date: Fri Oct 5 05:50:56 2018 New Revision: 339187 URL: https://svnweb.freebsd.org/changeset/base/339187 Log: eliminate locking surrounding ui_vmsize and swap reserve by using atomics Change swap_reserve and swap_total to be in units of pages so that swap reservations can b

svn commit: r338918 - head/usr.sbin/pmccontrol

2018-09-24 Thread Matt Macy
Author: mmacy Date: Mon Sep 24 19:06:09 2018 New Revision: 338918 URL: https://svnweb.freebsd.org/changeset/base/338918 Log: restore pmccontrol -L behavior on x86 When I updated counter definition handling for x86 I broke 'pmccontrol -L' listing counter names. This just changes pmccontr

svn commit: r338850 - head/sys/net

2018-09-20 Thread Matt Macy
Author: mmacy Date: Fri Sep 21 01:37:08 2018 New Revision: 338850 URL: https://svnweb.freebsd.org/changeset/base/338850 Log: fix vlan locking to permit sx acquisition in ioctl calls - update vlan(9) to handle changes earlier this year in multicast locking Tested by: np@, darkfiberu at

svn commit: r338677 - in head: lib/libpmc sys/dev/hwpmc

2018-09-13 Thread Matt Macy
Author: mmacy Date: Fri Sep 14 01:30:05 2018 New Revision: 338677 URL: https://svnweb.freebsd.org/changeset/base/338677 Log: hwpmc: set default rate if event description lacks one / filter rate against misuse Not all event descriptions have a sample rate (such as inst_retired.any) this w

svn commit: r338676 - in head: lib lib/libpmc usr.sbin

2018-09-13 Thread Matt Macy
Author: mmacy Date: Fri Sep 14 01:11:10 2018 New Revision: 338676 URL: https://svnweb.freebsd.org/changeset/base/338676 Log: re-enable pmcstat, pmccontrol, and pmcannotate for gcc4 builds I had disabled building of the aforementioned targets due to warnings breaking tinderbox. This silenc

svn commit: r338178 - in head/sys: netinet netinet6

2018-08-21 Thread Matt Macy
Author: mmacy Date: Wed Aug 22 04:09:55 2018 New Revision: 338178 URL: https://svnweb.freebsd.org/changeset/base/338178 Log: in_mcast: fix copy paste error when clearing flag Modified: head/sys/netinet/in_mcast.c head/sys/netinet6/in6_mcast.c Modified: head/sys/netinet/in_mcast.c =

svn commit: r338177 - in head/tools: kerneldoc/subsys tools

2018-08-21 Thread Matt Macy
Author: mmacy Date: Wed Aug 22 03:04:43 2018 New Revision: 338177 URL: https://svnweb.freebsd.org/changeset/base/338177 Log: r338172 followup - removal of stray drm references Deleted: head/tools/kerneldoc/subsys/Doxyfile-dev_drm Modified: head/tools/tools/README Modified: head/tools/tools

svn commit: r338176 - in head: sys/conf sys/contrib/dev/drm2 tools/tools/drm

2018-08-21 Thread Matt Macy
Author: mmacy Date: Wed Aug 22 02:53:35 2018 New Revision: 338176 URL: https://svnweb.freebsd.org/changeset/base/338176 Log: r338172 follow - remove firmwares Deleted: head/sys/contrib/dev/drm2/ head/tools/tools/drm/ Modified: head/sys/conf/files Modified: head/sys/conf/files ===

  1   2   3   4   5   >