svn commit: r363411 - in head/sys/geom: cache concat eli label mirror mountver nop raid3 stripe virstor

2020-07-21 Thread Xin LI
Author: delphij Date: Wed Jul 22 02:15:21 2020 New Revision: 363411 URL: https://svnweb.freebsd.org/changeset/base/363411 Log: Consistently use gctl_get_provider instead of home-grown variants. Reviewed by: cem, imp MFC after:2 weeks Differential revision:ht

svn commit: r363410 - head/sys/geom

2020-07-21 Thread Xin LI
Author: delphij Date: Wed Jul 22 02:14:27 2020 New Revision: 363410 URL: https://svnweb.freebsd.org/changeset/base/363410 Log: gctl_get_class, gctl_get_geom and gctl_get_provider: provide feedback when the requested argument is missing. Reviewed by: cem MFC after:2

svn commit: r363409 - head/lib/libbe

2020-07-21 Thread Kyle Evans
Author: kevans Date: Wed Jul 22 02:09:10 2020 New Revision: 363409 URL: https://svnweb.freebsd.org/changeset/base/363409 Log: libbe: annotate lbh as __unused in be_is_auto_snapshot_name lbh is included for consistency with other functions and in case future work needs to use it, but it is

svn commit: r363408 - head/libexec/getty

2020-07-21 Thread Warner Losh
Author: imp Date: Wed Jul 22 00:44:47 2020 New Revision: 363408 URL: https://svnweb.freebsd.org/changeset/base/363408 Log: getty appears to date from 3rd edition research unix. That's the oldest man page on TUHS and its 'unix 1972' restoration effort has assembler sources that look like sim

svn commit: r363404 - in head/sys: kern riscv/riscv

2020-07-21 Thread Mitchell Horne
Author: mhorne Date: Tue Jul 21 22:47:02 2020 New Revision: 363404 URL: https://svnweb.freebsd.org/changeset/base/363404 Log: INTRNG: only shuffle for !EARLY_AP_STARTUP During device attachment, all interrupt sources will bind to the BSP, as it is the only processor online. This means int

svn commit: r363403 - in head/sys: fs/nfsclient net netinet6 nfs

2020-07-21 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Jul 21 19:56:13 2020 New Revision: 363403 URL: https://svnweb.freebsd.org/changeset/base/363403 Log: Transition from rtrequest1_fib() to rib_action(). Remove all variations of rtrequest and their uses and switch to to rib_action(). This is part of the new rout

svn commit: r363402 - in head: sys/geom/eli tests/sys/geom/class/eli

2020-07-21 Thread Alan Somers
Author: asomers Date: Tue Jul 21 19:18:29 2020 New Revision: 363402 URL: https://svnweb.freebsd.org/changeset/base/363402 Log: Fix geli's null cipher, and add a test case PR: 247954 Submitted by: jhb (sys), asomers (tests) Reviewed by: jhb (tests), asomers (sys) MFC after:

svn commit: r363401 - in head/lib/clang/include: . llvm/Support

2020-07-21 Thread Dimitry Andric
Author: dim Date: Tue Jul 21 17:34:05 2020 New Revision: 363401 URL: https://svnweb.freebsd.org/changeset/base/363401 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 10.0.1 final (aka llvmorg-10.0.1-0-gef32c611aa2). There were no changes since rc2, except in t

svn commit: r363399 - in head/sys: amd64/amd64 i386/i386

2020-07-21 Thread Alexander Motin
Author: mav Date: Tue Jul 21 17:18:38 2020 New Revision: 363399 URL: https://svnweb.freebsd.org/changeset/base/363399 Log: Avoid code duplicaiton by using ipi_selected(). MFC after:2 weeks Modified: head/sys/amd64/amd64/mp_machdep.c head/sys/i386/i386/mp_machdep.c Modified: head/s

svn commit: r363398 - head/lib/libc/sys

2020-07-21 Thread Alan Somers
Author: asomers Date: Tue Jul 21 16:46:40 2020 New Revision: 363398 URL: https://svnweb.freebsd.org/changeset/base/363398 Log: [skip ci] document close_range(2) as async-signal-safe Reviewed by: bcr (manpages) MFC after:2 weeks Sponsored by: Axcient Differential Revision:

svn commit: r363397 - head/sys/netinet/cc

2020-07-21 Thread Richard Scheffenegger
Author: rscheff Date: Tue Jul 21 16:21:52 2020 New Revision: 363397 URL: https://svnweb.freebsd.org/changeset/base/363397 Log: Fix style and comment around concave/convex regions in TCP cubic. In cubic, the concave region is when snd_cwnd starts growing slower towards max_cwnd (cwnd at th

svn commit: r363396 - head/usr.bin/netstat

2020-07-21 Thread Fernando ApesteguĂ­a
Author: fernape (ports committer) Date: Tue Jul 21 16:17:23 2020 New Revision: 363396 URL: https://svnweb.freebsd.org/changeset/base/363396 Log: netstat(1): Add EXAMPLES section * Add small EXAMPLES section * Fix warning reported by mandoc (./netstat.1:747:2: WARNING: skipping paragraph

svn commit: r363395 - head/usr.sbin/traceroute6

2020-07-21 Thread Mark Johnston
Author: markj Date: Tue Jul 21 15:03:36 2020 New Revision: 363395 URL: https://svnweb.freebsd.org/changeset/base/363395 Log: traceroute6: Fix most warnings at the default WARNS level. Fix some style issues as well. Leave -Wno-cast-aligned set for now, as most of the warnings come casts o

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

2020-07-21 Thread Mateusz Guzik
Author: mjg Date: Tue Jul 21 14:42:22 2020 New Revision: 363394 URL: https://svnweb.freebsd.org/changeset/base/363394 Log: lockmgr: denote recursion with a bit in lock value This reduces excessive reads from the lock. Tested by:pho Modified: head/sys/kern/kern_lock.c head/sys/

svn commit: r363393 - head/sys/kern

2020-07-21 Thread Mateusz Guzik
Author: mjg Date: Tue Jul 21 14:41:25 2020 New Revision: 363393 URL: https://svnweb.freebsd.org/changeset/base/363393 Log: lockmgr: rewrite upgrade to stop always dropping the lock This matches rw and sx locks. Modified: head/sys/kern/kern_lock.c Modified: head/sys/kern/kern_lock.c

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

2020-07-21 Thread Mateusz Guzik
Author: mjg Date: Tue Jul 21 14:39:20 2020 New Revision: 363392 URL: https://svnweb.freebsd.org/changeset/base/363392 Log: lockmgr: add a helper for reading the lock value Modified: head/sys/kern/kern_lock.c head/sys/sys/lockmgr.h Modified: head/sys/kern/kern_lock.c ===

svn commit: r363390 - head/sys/dev/virtio/mmio

2020-07-21 Thread Andrew Turner
Author: andrew Date: Tue Jul 21 14:25:36 2020 New Revision: 363390 URL: https://svnweb.freebsd.org/changeset/base/363390 Log: Only write to VIRTIO_MMIO_GUEST_PAGE_SIZE with virtio mmio version 1 This register is only defined for the legacy v1 interface so only write to it when interacting

svn commit: r363388 - in head/sys: dev/iommu sys x86/iommu

2020-07-21 Thread Ruslan Bukin
Author: br Date: Tue Jul 21 13:50:10 2020 New Revision: 363388 URL: https://svnweb.freebsd.org/changeset/base/363388 Log: Move sys/iommu.h to dev/iommu/ as a part of generic IOMMU busdma backend. Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision:https://reviews.fr

svn commit: r363387 - in head/sys: conf dev/iommu x86/iommu

2020-07-21 Thread Ruslan Bukin
Author: br Date: Tue Jul 21 10:38:51 2020 New Revision: 363387 URL: https://svnweb.freebsd.org/changeset/base/363387 Log: Move the Intel DMAR busdma backend to a generic place so it can be used on other IOMMU systems. Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision:

svn commit: r363383 - in head/sys/cddl/dev: dtrace/arm fbt/arm

2020-07-21 Thread Andriy Gapon
Author: avg Date: Tue Jul 21 07:41:36 2020 New Revision: 363383 URL: https://svnweb.freebsd.org/changeset/base/363383 Log: dtrace/fbt: fix return probe arguments on arm arg0 should be an offset of the return point within the function, arg1 should be the return value. Previously the retur

svn commit: r363382 - head/sys/dev/gpio

2020-07-21 Thread Andriy Gapon
Author: avg Date: Tue Jul 21 07:35:03 2020 New Revision: 363382 URL: https://svnweb.freebsd.org/changeset/base/363382 Log: gpioiic: never drive lines active high I2C communication is done by a combination of driving a line low or letting it float, so that it is either pulled up or driven