svn commit: r366658 - in head: stand/libsa/zfs sys/cddl/boot/zfs

2020-10-12 Thread Warner Losh
Author: imp Date: Tue Oct 13 02:36:16 2020 New Revision: 366658 URL: https://svnweb.freebsd.org/changeset/base/366658 Log: Turn off zstd on aarch64 loader support for zstd and zfs doesn't work for aarch64. Disable it to unbreak the build. Modified: head/stand/libsa/zfs/Makefile.inc h

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

2020-10-12 Thread Warner Losh
Author: imp Date: Tue Oct 13 03:49:12 2020 New Revision: 366659 URL: https://svnweb.freebsd.org/changeset/base/366659 Log: Add back org.freebsd:zstd_compress to features_for_read This list is the of features that are allowed on the whole pool, not the list of features that are implemented

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

2020-10-12 Thread Warner Losh
Author: imp Date: Tue Oct 13 04:37:57 2020 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: Force __BMI__ experimental instructions off. The OpenZFS code that uses the BMI instructions is broken. Forcibly disable them to prevent their use. When enabled, the

svn commit: r366661 - head/sbin/devd

2020-10-12 Thread Warner Losh
Author: imp Date: Tue Oct 13 05:19:00 2020 New Revision: 31 URL: https://svnweb.freebsd.org/changeset/base/31 Log: Document the rather suprising behavior with ' inside action rules. To prevent issues with odd shell characters appearing in, a surprising shell feature is used. Docum

svn commit: r366662 - head/sbin/devmatch

2020-10-12 Thread Warner Losh
Author: imp Date: Tue Oct 13 05:32:00 2020 New Revision: 32 URL: https://svnweb.freebsd.org/changeset/base/32 Log: devmatch: First appeared in 12.0 Document that devmatch first appeared in FreeBSD 12.0. Also can't -> can not. But it doesn't help the sentence much. MFC After:

svn commit: r366663 - head/share/man/man5

2020-10-12 Thread Warner Losh
Author: imp Date: Tue Oct 13 05:39:43 2020 New Revision: 33 URL: https://svnweb.freebsd.org/changeset/base/33 Log: Document /boot/config as well as /boot.config Add a note about /boot/config being an alternative location for this information. Correct description of -P. Modified:

Re: svn commit: r366662 - head/sbin/devmatch

2020-10-12 Thread Alexey Dokuchaev
On Tue, Oct 13, 2020 at 05:32:00AM +, Warner Losh wrote: > New Revision: 32 > URL: https://svnweb.freebsd.org/changeset/base/32 > > Log: > devmatch: First appeared in 12.0 > > Document that devmatch first appeared in FreeBSD 12.0. > Also can't -> can not. But it doesn't help t

Re: svn commit: r366662 - head/sbin/devmatch

2020-10-12 Thread Warner Losh
On Mon, Oct 12, 2020, 11:50 PM Alexey Dokuchaev wrote: > On Tue, Oct 13, 2020 at 05:32:00AM +, Warner Losh wrote: > > New Revision: 32 > > URL: https://svnweb.freebsd.org/changeset/base/32 > > > > Log: > > devmatch: First appeared in 12.0 > > > > Document that devmatch first appea

Re: svn commit: r366662 - head/sbin/devmatch

2020-10-12 Thread Alexey Dokuchaev
On Tue, Oct 13, 2020 at 12:16:23AM -0600, Warner Losh wrote: > On Mon, Oct 12, 2020, 11:50 PM Alexey Dokuchaev wrote: > > On Tue, Oct 13, 2020 at 05:32:00AM +, Warner Losh wrote: > > > New Revision: 32 > > > URL: https://svnweb.freebsd.org/changeset/base/32 > > > > > > Log: > > > devm

svn commit: r366631 - head/stand/i386/common

2020-10-12 Thread Toomas Soome
Author: tsoome Date: Mon Oct 12 09:34:50 2020 New Revision: 366631 URL: https://svnweb.freebsd.org/changeset/base/366631 Log: loader: edd_device_path_v3 is too small The EDD v3[1], see table 13, page 33, does define device path as double qword, that is, 16 bytes, we have only qword.

Re: svn commit: r366626 - head/sbin/reboot

2020-10-12 Thread Eugene Grosbein
12.10.2020 10:33, Alexey Dokuchaev wrote: > On Sun, Oct 11, 2020 at 09:17:42PM -0600, Warner Losh wrote: >> On Sun, Oct 11, 2020, 8:13 PM Alexey Dokuchaev wrote: >>> ... >>> I still don't understand how could rm be better than graceful disabling >>> alternative configuration with nextboot_enable="

svn commit: r366635 - head

2020-10-12 Thread Alex Richardson
Author: arichardson Date: Mon Oct 12 10:42:28 2020 New Revision: 366635 URL: https://svnweb.freebsd.org/changeset/base/366635 Log: Fix build with -DBOOTSTRAP_ALL_TOOLS sbin/sysctl can no longer be bootstrapped on FreeBSD 12 after r366465, so create a symlink to the host tool instead of tr

svn commit: r366633 - head/share/mk

2020-10-12 Thread Alex Richardson
Author: arichardson Date: Mon Oct 12 10:42:19 2020 New Revision: 366633 URL: https://svnweb.freebsd.org/changeset/base/366633 Log: Don't use install(1) for the library symlinks in the build directory It appears this was changed from ln to use install in rS245752. I noticed this because my

svn commit: r366632 - head/lib/libc/gen

2020-10-12 Thread Alex Richardson
Author: arichardson Date: Mon Oct 12 10:42:14 2020 New Revision: 366632 URL: https://svnweb.freebsd.org/changeset/base/366632 Log: Fix building on Linux/macOS after r366622 We have to bootstrap arc4random.c, so guard the FenestrasX code to avoid using it on Linux/macOS. Reviewed By:

svn commit: r366636 - head/lib/libclang_rt

2020-10-12 Thread Alex Richardson
Author: arichardson Date: Mon Oct 12 10:42:33 2020 New Revision: 366636 URL: https://svnweb.freebsd.org/changeset/base/366636 Log: Enable SUBDIR_PARELLEL in lib/libclang_rt I noticed that this part of the build was taking much longer than expected. Turns out it's due to not running the su

svn commit: r366634 - head/contrib/nvi/common

2020-10-12 Thread Alex Richardson
Author: arichardson Date: Mon Oct 12 10:42:24 2020 New Revision: 366634 URL: https://svnweb.freebsd.org/changeset/base/366634 Log: Fix buildworld on Linux/macOS after nvi update This re-applies r365941 which was lost in the nvi update. Modified: head/contrib/nvi/common/common.h Modified

svn commit: r366644 - in head/stand/efi: boot1 loader

2020-10-12 Thread Alex Richardson
Author: arichardson Date: Mon Oct 12 11:27:08 2020 New Revision: 366644 URL: https://svnweb.freebsd.org/changeset/base/366644 Log: Link efi programs with -pie rather than -shared This was causing build failures in CheriBSD where we were passing -pie already by default. Reviewed By:

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

2020-10-12 Thread Kristof Provost
Author: kp Date: Mon Oct 12 12:39:37 2020 New Revision: 366647 URL: https://svnweb.freebsd.org/changeset/base/366647 Log: pf: create a kif for flags If userspace tries to set flags (e.g. 'set skip on ') and doesn't exist we should create a kif so that we apply the flags when the does

svn commit: r366648 - head/tests/sys/netpfil/pf

2020-10-12 Thread Kristof Provost
Author: kp Date: Mon Oct 12 12:41:10 2020 New Revision: 366648 URL: https://svnweb.freebsd.org/changeset/base/366648 Log: pf tests: Test that 'set skip on ' works on new group members There's a know issue where new group members don't get the 'set skip on' applied until the rules are re-l

Re: svn commit: r366634 - head/contrib/nvi/common

2020-10-12 Thread Jessica Clarke
On 12 Oct 2020, at 11:42, Alex Richardson wrote: > --- head/contrib/nvi/common/common.h Mon Oct 12 10:42:19 2020 > (r366633) > +++ head/contrib/nvi/common/common.h Mon Oct 12 10:42:24 2020 > (r366634) > @@ -14,7 +14,7 @@ > #ifdef __linux__ > #include "/usr/include/db1/db.h"

Re: svn commit: r366634 - head/contrib/nvi/common

2020-10-12 Thread Alexander Richardson
On Mon, 12 Oct 2020 at 14:55, Jessica Clarke wrote: > > On 12 Oct 2020, at 11:42, Alex Richardson wrote: > > --- head/contrib/nvi/common/common.h Mon Oct 12 10:42:19 2020 > > (r366633) > > +++ head/contrib/nvi/common/common.h Mon Oct 12 10:42:24 2020 > > (r366634) > > @@ -14,7 +

svn commit: r366652 - head/sys/dev/iicbus

2020-10-12 Thread Ian Lepore
Author: ian Date: Mon Oct 12 18:02:51 2020 New Revision: 366652 URL: https://svnweb.freebsd.org/changeset/base/366652 Log: Bug fixes for the ads111x driver... make configurable gain and sample rate hints work on per-channel basis as documented, rather than chip-wide. Also, when configured v

svn commit: r366655 - in head: contrib/llvm-project/clang/include/clang/Driver contrib/llvm-project/clang/lib/Driver/ToolChains contrib/llvm-project/llvm/lib/CodeGen contrib/llvm-project/llvm/lib/C...

2020-10-12 Thread Dimitry Andric
Author: dim Date: Mon Oct 12 21:35:29 2020 New Revision: 366655 URL: https://svnweb.freebsd.org/changeset/base/366655 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp release/11.x llvmorg-11.0.0-0-g176249bd673 (aka 11.0.0 release). MFC after:4 weeks X-MFC

svn commit: r366656 - head/sys/kern

2020-10-12 Thread Warner Losh
Author: imp Date: Mon Oct 12 22:07:44 2020 New Revision: 366656 URL: https://svnweb.freebsd.org/changeset/base/366656 Log: newbus: use ssize_t to match sb's len and size, fix ordering of space check Both s_len and s_size are ssize_t, so their differece is also more properly a ssize_t not

svn commit: r366657 - in head: stand/efi/boot1 stand/libsa/zfs sys/cddl/boot/zfs sys/cddl/contrib/opensolaris/uts/common/os sys/contrib/openzfs/include/os/freebsd/linux sys/contrib/openzfs/include/...

2020-10-12 Thread Warner Losh
Author: imp Date: Mon Oct 12 22:19:07 2020 New Revision: 366657 URL: https://svnweb.freebsd.org/changeset/base/366657 Log: Add zstd support to the boot loader. Add support to the _STANDALONE environment enough bits of the kernel that we can compile it. We still have a small zstd_shim.c si