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

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:

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

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.

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: 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

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

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

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: 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

svn commit: r366654 - vendor/llvm-project/llvmorg-11.0.0-0-g176249bd673

2020-10-12 Thread Dimitry Andric
Author: dim Date: Mon Oct 12 21:31:49 2020 New Revision: 366654 URL: https://svnweb.freebsd.org/changeset/base/366654 Log: Tag llvm-project branch release/11.x llvmorg-11.0.0-0-g176249bd673 (aka 11.0.0 release). Added: vendor/llvm-project/llvmorg-11.0.0-0-g176249bd673/ - copied from

svn commit: r366653 - in vendor/llvm-project/release-11.x: clang/include/clang/Driver clang/lib/Driver/ToolChains llvm/lib/CodeGen llvm/lib/CodeGen/SelectionDAG

2020-10-12 Thread Dimitry Andric
Author: dim Date: Mon Oct 12 21:31:12 2020 New Revision: 366653 URL: https://svnweb.freebsd.org/changeset/base/366653 Log: Vendor import of llvm-project branch release/11.x llvmorg-11.0.0-0-g176249bd673 (aka 11.0.0 release). Modified:

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

svn commit: r366651 - in stable/12/sys: contrib/ipfilter/netinet x86/bios

2020-10-12 Thread Ryan Moeller
Author: freqlabs Date: Mon Oct 12 17:43:38 2020 New Revision: 366651 URL: https://svnweb.freebsd.org/changeset/base/366651 Log: MFC r366433 Explicit CTLFLAG_DYN not needed Dynamically created OIDs automatically get this flag set. Reviewed by: jhb Sponsored by: iXsystems, Inc.

svn commit: r366650 - stable/12/sys/kern

2020-10-12 Thread Mark Johnston
Author: markj Date: Mon Oct 12 16:45:07 2020 New Revision: 366650 URL: https://svnweb.freebsd.org/changeset/base/366650 Log: MFC r366450: Remove sysctl_kern_consmute() Modified: stable/12/sys/kern/kern_cons.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r366649 - in stable/12/sys/dev: re rl

2020-10-12 Thread Mark Johnston
Author: markj Date: Mon Oct 12 16:44:05 2020 New Revision: 366649 URL: https://svnweb.freebsd.org/changeset/base/366649 Log: MFC r366464: re(4): Add a 8168-compatible device ID PR: 250037 Modified: stable/12/sys/dev/re/if_re.c stable/12/sys/dev/rl/if_rlreg.h Directory Properties:

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

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"

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

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: r366646 - stable/12/sys/dev/iicbus/twsi

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:40:43 2020 New Revision: 366646 URL: https://svnweb.freebsd.org/changeset/base/366646 Log: MFC r365397: twsi: some variants clear interrupt flag by writing 0, others by writing 1 Make that distinction more explicit and regular in the code. The difference

svn commit: r366645 - stable/12/sys/dev/iicbus/twsi

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:34:09 2020 New Revision: 366645 URL: https://svnweb.freebsd.org/changeset/base/366645 Log: MFC r363021 by manu: twsi: Fix for > Allwinner A20 Every revision of twsi after the A20 have a bug where we need to write again the control register after each

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: r366643 - stable/12/usr.sbin/pwm

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:04:52 2020 New Revision: 366643 URL: https://svnweb.freebsd.org/changeset/base/366643 Log: MFC r366144: pwm(8): fix potential duty overflow, use unsigneds for period and duty Modified: stable/12/usr.sbin/pwm/pwm.c Directory Properties: stable/12/ (props

svn commit: r366642 - stable/12/sys/arm/allwinner

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:03:26 2020 New Revision: 366642 URL: https://svnweb.freebsd.org/changeset/base/366642 Log: MFC r366142: aw_pwm: add a check and some comments related to long periods The hardware supports periods as long as 196 seconds[*] when using the maximal prescaling

svn commit: r366641 - stable/12/sys/arm/allwinner

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 11:01:54 2020 New Revision: 366641 URL: https://svnweb.freebsd.org/changeset/base/366641 Log: MFC r366141: aw_pwm: ensure sane configuration, just in case Modified: stable/12/sys/arm/allwinner/aw_pwm.c Directory Properties: stable/12/ (props changed)

svn commit: r366640 - stable/12/sys/arm/allwinner

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 10:57:59 2020 New Revision: 366640 URL: https://svnweb.freebsd.org/changeset/base/366640 Log: MFC r366139: aw_pwm: fix selection of the prescaler Modified: stable/12/sys/arm/allwinner/aw_pwm.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r366639 - stable/12/sys/arm/allwinner

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 10:55:03 2020 New Revision: 366639 URL: https://svnweb.freebsd.org/changeset/base/366639 Log: MFC r366137: aw_pwm: trivially add H3 support Modified: stable/12/sys/arm/allwinner/aw_pwm.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r366638 - stable/12/sys/dev/usb/controller

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 10:53:35 2020 New Revision: 366638 URL: https://svnweb.freebsd.org/changeset/base/366638 Log: MFC r365400: musb/allwinner: apply register filter in awusbdrd_bs_r_2() as well Modified: stable/12/sys/dev/usb/controller/musb_otg_allwinner.c Directory Properties:

svn commit: r366637 - in stable/12/sys: arm/allwinner arm64/conf conf dev/usb/controller

2020-10-12 Thread Andriy Gapon
Author: avg Date: Mon Oct 12 10:51:34 2020 New Revision: 366637 URL: https://svnweb.freebsd.org/changeset/base/366637 Log: MFC r365398,r365399: Allwinner USB DRD support (musb_otg) Allwinner USB DRD is based on the Mentor USB OTG controller, with a different register layout and a few

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

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

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

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

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:

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

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.

svn commit: r366630 - stable/12/bin/ls

2020-10-12 Thread Gordon Bergling
Author: gbe (doc committer) Date: Mon Oct 12 08:43:21 2020 New Revision: 366630 URL: https://svnweb.freebsd.org/changeset/base/366630 Log: MFC r366613: ls(1): Use \& as an escape character for the ',' option Reported by: karels@, xtouqh at hotmail dot com Modified: