svn commit: r364448 - stable/12/lib/libc/sys

2020-08-20 Thread Kyle Evans
Author: kevans Date: Fri Aug 21 03:50:25 2020 New Revision: 364448 URL: https://svnweb.freebsd.org/changeset/base/364448 Log: MFC r363398 (asomers): document close_range(2) as async-signal-safe Modified: stable/12/lib/libc/sys/sigaction.2 Directory Properties: stable/12/ (props changed)

Re: svn commit: r364379 - head/sys/dev/usb/controller

2020-08-20 Thread Nathan Whitehorn
Either this or r364347 has broken Yubikeys (at least Yubikey 4) plugged into XHCI ports, which are completely invisible to the USB stack after the change. I'm going to try to debug further, but wanted to give you a heads-up in case you can get there first. -Nathan On 2020-08-19 07:50, Hans Petter

Re: svn commit: r364379 - head/sys/dev/usb/controller

2020-08-20 Thread Hans Petter Selasky
On 2020-08-20 18:14, Hans Petter Selasky wrote: On 2020-08-20 17:51, Nathan Whitehorn wrote: Either this or r364347 has broken Yubikeys (at least Yubikey 4) plugged into XHCI ports, which are completely invisible to the USB stack after the change. I'm going to try to debug further, but wanted

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

2020-08-20 Thread Konstantin Belousov
Author: kib Date: Thu Aug 20 15:19:09 2020 New Revision: 364423 URL: https://svnweb.freebsd.org/changeset/base/364423 Log: dl_iterate_phdr(3): provide exclusive locking for callback when statically linked. Apparently llvm unwinder depends on the external locking for callback.

svn commit: r364425 - head/sys/kern

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 16:52:48 2020 New Revision: 364425 URL: https://svnweb.freebsd.org/changeset/base/364425 Log: Use names suggested by kib@ in review D25969, move call for unmount to not call with vnode locked, use NOWAIT alloc and only report when we don't overflow. These

svn commit: r364424 - head/share/man/man9

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 16:52:34 2020 New Revision: 364424 URL: https://svnweb.freebsd.org/changeset/base/364424 Log: Fix function name in zone.9 uma_zone_prealloc -> uma_prealloc. There's no uma_zone_prealloc defined and the docs for it describe uma_prealloc exactly. Modified:

Re: svn commit: r364379 - head/sys/dev/usb/controller

2020-08-20 Thread Hans Petter Selasky
On 2020-08-20 17:51, Nathan Whitehorn wrote: Either this or r364347 has broken Yubikeys (at least Yubikey 4) plugged into XHCI ports, which are completely invisible to the USB stack after the change. I'm going to try to debug further, but wanted to give you a heads-up in case you can get there

svn commit: r364426 - head/sys/netpfil/ipfw

2020-08-20 Thread Ed Maste
Author: emaste Date: Thu Aug 20 16:56:13 2020 New Revision: 364426 URL: https://svnweb.freebsd.org/changeset/base/364426 Log: ipfw: style(9) fixes Submitted by: Neel Chauhan Reviewed by: emaste, glebius MFC after:1 week Differential Revision:

svn commit: r364422 - stable/12/usr.sbin/certctl

2020-08-20 Thread Kyle Evans
Author: kevans Date: Thu Aug 20 14:07:29 2020 New Revision: 364422 URL: https://svnweb.freebsd.org/changeset/base/364422 Log: MFC r361397, r361683: certctl(8) unprivileged mode r361397: Add an unprivileged mode where calls to install are passed appropriate flags. For ease of

Re: svn commit: r364430 - in head: share/man/man4 sys/dev/an sys/dev/ata sys/dev/cmx sys/dev/fdc sys/dev/if_ndis sys/dev/puc sys/dev/uart sys/dev/wi sys/netgraph/bluetooth/drivers/bt3c

2020-08-20 Thread Rodney W. Grimes
> Author: imp > Date: Thu Aug 20 17:19:40 2020 > New Revision: 364430 > URL: https://svnweb.freebsd.org/changeset/base/364430 > > Log: > Tag pccard drivers with gone in 13. > > MFC After: 3 days > Reviewed by: emaste, brooks, adrian (on twitter) > Differential Revision:

svn commit: r364438 - in head/cddl: contrib/opensolaris/lib/libdtrace/common usr.sbin/dtrace/tests/tools

2020-08-20 Thread Mark Johnston
Author: markj Date: Thu Aug 20 19:28:19 2020 New Revision: 364438 URL: https://svnweb.freebsd.org/changeset/base/364438 Log: Enable creation of static userspace probes in incremental builds. To define USDT probes, dtrace -G makes use of relocations for undefined symbols: the target

Re: svn commit: r364430 - in head: share/man/man4 sys/dev/an sys/dev/ata sys/dev/cmx sys/dev/fdc sys/dev/if_ndis sys/dev/puc sys/dev/uart sys/dev/wi sys/netgraph/bluetooth/drivers/bt3c

2020-08-20 Thread Warner Losh
On Thu, Aug 20, 2020 at 1:13 PM Rodney W. Grimes wrote: > > Author: imp > > Date: Thu Aug 20 17:19:40 2020 > > New Revision: 364430 > > URL: https://svnweb.freebsd.org/changeset/base/364430 > > > > Log: > > Tag pccard drivers with gone in 13. > > > > MFC After: 3 days > > Reviewed by:

svn commit: r364439 - head/sys/conf

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 19:51:25 2020 New Revision: 364439 URL: https://svnweb.freebsd.org/changeset/base/364439 Log: Unbreak LINT Remove ufm from the NOTES file. Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES

svn commit: r364428 - head/sys/sys

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 17:14:39 2020 New Revision: 364428 URL: https://svnweb.freebsd.org/changeset/base/364428 Log: Move devctl_notify* to devctl.h. Added: head/sys/sys/devctl.h (contents, props changed) Modified: head/sys/sys/bus.h Modified: head/sys/sys/bus.h

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

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 17:14:33 2020 New Revision: 364427 URL: https://svnweb.freebsd.org/changeset/base/364427 Log: Make devctl_queue_data_f and devctl_queue_data private. I thought we'd need them, but nobody is using them. Narrow the interface. This will facilitate changes in the

Re: svn commit: r364435 - head/usr.sbin/kldxref

2020-08-20 Thread Brandon Bergren
> Note that we may still do some tweaking of our kernel linker scripts, to > lower the number of segments, although the exact benefit is not entirely > clear. > No real benefit, except for when using loading via sources other than loader(8). If any platforms other than powerpc64 need

svn commit: r364441 - head/stand/i386/zfsboot

2020-08-20 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 20 20:31:47 2020 New Revision: 364441 URL: https://svnweb.freebsd.org/changeset/base/364441 Log: When we have a command returned by zfs_nextboot() that is longer than command in the loader.conf, the latter needs to be nul terminated, otherwise garbage trailer

svn commit: r364433 - head/sys/dev/usb/controller

2020-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 20 17:45:54 2020 New Revision: 364433 URL: https://svnweb.freebsd.org/changeset/base/364433 Log: Fix regression after r364379. The AMD's Ryzen 3 3200g XHCI controllers apparently need the evaluate control endpoint context command, but we don't need to issue

svn commit: r364432 - in head: share/man/man4 sys/conf sys/dev/usb/misc sys/modules/usb sys/modules/usb/ufm

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 17:35:47 2020 New Revision: 364432 URL: https://svnweb.freebsd.org/changeset/base/364432 Log: Remove the long obsolete ufm driver. It was a driver for a USB FM tuner that was available in the market in 2002. I wrote the driver in 2003. I've not used it since

svn commit: r364431 - in stable/12: share/man/man4 sys/dev/usb/misc

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 17:35:09 2020 New Revision: 364431 URL: https://svnweb.freebsd.org/changeset/base/364431 Log: MFC: 359521 ufm removal ufm will be removed from 13, note it here. Relnotes: Yes (maybe, very obscure) Modified: stable/12/share/man/man4/ufm.4

svn commit: r364435 - head/usr.sbin/kldxref

2020-08-20 Thread Dimitry Andric
Author: dim Date: Thu Aug 20 18:50:46 2020 New Revision: 364435 URL: https://svnweb.freebsd.org/changeset/base/364435 Log: Bump kldxref's MAXSEGS to 16, to stop complaints about the kernel supposedly having too many segments, when lld 11 links it. Such kernels should load just fine.

svn commit: r364436 - head

2020-08-20 Thread Niclas Zeising
@@ # xargs -n1 | sort | uniq -d; # done +# 20200820: Removal of the ufm driver. +OLD_FILES+=usr/share/man/man4/ufm.4.gz + # 20200816: new clang import which bumps version from 10.0.1 to 11.0.0. OLD_FILES+=usr/lib/clang/10.0.1/include/cuda_wrappers/algorithm OLD_FILES+=usr/lib/clang/10.0.1

svn commit: r364437 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2020-08-20 Thread Mark Johnston
Author: markj Date: Thu Aug 20 19:27:49 2020 New Revision: 364437 URL: https://svnweb.freebsd.org/changeset/base/364437 Log: Remove non-FreeBSD ifdefs from dt_link.c. This file is too complicated as it is and has diverged a fair bit from illumos due to toolchain differences, so just drop

Re: svn commit: r364430 - in head: share/man/man4 sys/dev/an sys/dev/ata sys/dev/cmx sys/dev/fdc sys/dev/if_ndis sys/dev/puc sys/dev/uart sys/dev/wi sys/netgraph/bluetooth/drivers/bt3c

2020-08-20 Thread Warner Losh
https://reviews.freebsd.org/D26138 has the code review. Warner On Thu, Aug 20, 2020 at 1:41 PM Warner Losh wrote: > > > On Thu, Aug 20, 2020 at 1:13 PM Rodney W. Grimes < > free...@gndrsh.dnsmgr.net> wrote: > >> > Author: imp >> > Date: Thu Aug 20 17:19:40 2020 >> > New Revision: 364430 >> >

svn commit: r364440 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2020-08-20 Thread Mark Johnston
Author: markj Date: Thu Aug 20 20:11:58 2020 New Revision: 364440 URL: https://svnweb.freebsd.org/changeset/base/364440 Log: Fix a typo in r364438. Reported by: Jenkins MFC with: r364438 Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c Modified:

svn commit: r364429 - head/sys/kern

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 17:14:44 2020 New Revision: 364429 URL: https://svnweb.freebsd.org/changeset/base/364429 Log: Move from TAILQ to STAILQ because the nodes are a bit smaller. Modified: head/sys/kern/subr_bus.c Modified: head/sys/kern/subr_bus.c

svn commit: r364430 - in head: share/man/man4 sys/dev/an sys/dev/ata sys/dev/cmx sys/dev/fdc sys/dev/if_ndis sys/dev/puc sys/dev/uart sys/dev/wi sys/netgraph/bluetooth/drivers/bt3c

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 17:19:40 2020 New Revision: 364430 URL: https://svnweb.freebsd.org/changeset/base/364430 Log: Tag pccard drivers with gone in 13. MFC After: 3 days Reviewed by: emaste, brooks, adrian (on twitter) Differential Revision: https://reviews.freebsd.org/D26095

Re: svn commit: r364379 - head/sys/dev/usb/controller

2020-08-20 Thread Hans Petter Selasky
On 2020-08-20 18:21, Hans Petter Selasky wrote: On 2020-08-20 18:14, Hans Petter Selasky wrote: On 2020-08-20 17:51, Nathan Whitehorn wrote: Either this or r364347 has broken Yubikeys (at least Yubikey 4) plugged into XHCI ports, which are completely invisible to the USB stack after the

svn commit: r364434 - head/share/man/man4

2020-08-20 Thread Warner Losh
Author: imp Date: Thu Aug 20 18:31:50 2020 New Revision: 364434 URL: https://svnweb.freebsd.org/changeset/base/364434 Log: Remove ufm.4 from the Makefile Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile

svn commit: r364442 - in head/sys: cam cddl/compat/opensolaris/kern geom kern net netinet

2020-08-20 Thread Warner Losh
Author: imp Date: Fri Aug 21 00:03:24 2020 New Revision: 364442 URL: https://svnweb.freebsd.org/changeset/base/364442 Log: Use devctl.h instead of bus.h to reduce newbus pollution. There's no need for these parts of the kernel to know about newbus, so narrow what is included to devctl.h

svn commit: r364447 - head/sys/powerpc/aim

2020-08-20 Thread Brandon Bergren
Author: bdragon Date: Fri Aug 21 03:31:01 2020 New Revision: 364447 URL: https://svnweb.freebsd.org/changeset/base/364447 Log: [PowerPC] Fix translation-related crashes during startup After spending a lot of time trying to track down what was going on, I have isolated the "black screen"

svn commit: r364446 - head/sys/powerpc/powernv

2020-08-20 Thread Brandon Bergren
Author: bdragon Date: Fri Aug 21 03:23:10 2020 New Revision: 364446 URL: https://svnweb.freebsd.org/changeset/base/364446 Log: [PowerPC64] Fix invalid OPAL call in xive_bind(). This fixes spurious "XIVE[ IC 00 ] ISN 1 lead to invalid IVE !" messages generated by OPAL when running with

Re: svn commit: r364379 - head/sys/dev/usb/controller

2020-08-20 Thread Nathan Whitehorn
On 2020-08-20 13:47, Hans Petter Selasky wrote: > On 2020-08-20 18:21, Hans Petter Selasky wrote: >> On 2020-08-20 18:14, Hans Petter Selasky wrote: >>> On 2020-08-20 17:51, Nathan Whitehorn wrote: Either this or r364347 has broken Yubikeys (at least Yubikey 4) plugged into XHCI

svn commit: r364444 - head/sys/dev/cxgbe/cxgbei

2020-08-20 Thread Navdeep Parhar
Author: np Date: Fri Aug 21 00:34:33 2020 New Revision: 36 URL: https://svnweb.freebsd.org/changeset/base/36 Log: cxgbei: destroy the worker threads' CV and mutex in stop_worker_threads. Reported by: bz@ MFC after:3 days Modified: head/sys/dev/cxgbe/cxgbei/cxgbei.c

svn commit: r364443 - head/lib/libsecureboot

2020-08-20 Thread Simon J. Gerraty
Author: sjg Date: Fri Aug 21 00:27:06 2020 New Revision: 364443 URL: https://svnweb.freebsd.org/changeset/base/364443 Log: veloader: insist on verifying .4th .lua etc When files are read from .rc or .4th, verify_file is asked to guess the severity (VE_TRY,VE_WANT,VE_MUST) Reviewed

svn commit: r364445 - in stable/12/sys: kern sys

2020-08-20 Thread Mark Johnston
Author: markj Date: Fri Aug 21 00:59:15 2020 New Revision: 364445 URL: https://svnweb.freebsd.org/changeset/base/364445 Log: MFC r364235: Rename the pipe_map field of struct pipe. Modified: stable/12/sys/kern/sys_pipe.c stable/12/sys/sys/pipe.h Directory Properties: stable/12/ (props

svn commit: r364418 - head/sys/kern

2020-08-20 Thread Mateusz Guzik
Author: mjg Date: Thu Aug 20 10:05:19 2020 New Revision: 364418 URL: https://svnweb.freebsd.org/changeset/base/364418 Log: cache: reimplement cache_lookup_nomakeentry as cache_remove_cnp This in particular removes unused arguments. Modified: head/sys/kern/vfs_cache.c Modified:

svn commit: r364419 - in head/sys: fs/tmpfs kern sys ufs/ufs

2020-08-20 Thread Mateusz Guzik
Author: mjg Date: Thu Aug 20 10:05:46 2020 New Revision: 364419 URL: https://svnweb.freebsd.org/changeset/base/364419 Log: cache: add cache_rename, a dedicated helper to use for renames While here make both tmpfs and ufs use it. No fuctional changes. Modified:

svn commit: r364420 - head/sys/kern

2020-08-20 Thread Mateusz Guzik
Author: mjg Date: Thu Aug 20 10:06:50 2020 New Revision: 364420 URL: https://svnweb.freebsd.org/changeset/base/364420 Log: cache: don't use cache_purge_negative when renaming It avoidably scans (and evicts) unrelated entries. Instead take advantage of passed componentname and perform a

svn commit: r364421 - head/stand/libsa

2020-08-20 Thread Emmanuel Vadot
Author: manu Date: Thu Aug 20 12:50:49 2020 New Revision: 364421 URL: https://svnweb.freebsd.org/changeset/base/364421 Log: libsa: smbios: Parse the chassis type and export it as smbios.chassis.type It can be useful to know what type of machine we are running on for desktop related

Re: svn commit: r364421 - head/stand/libsa

2020-08-20 Thread Emmanuel Vadot
On Thu, 20 Aug 2020 12:50:50 + (UTC) Emmanuel Vadot wrote: > Author: manu > Date: Thu Aug 20 12:50:49 2020 > New Revision: 364421 > URL: https://svnweb.freebsd.org/changeset/base/364421 > > Log: > libsa: smbios: Parse the chassis type and export it as smbios.chassis.type > > It can