svn commit: r364946 - head/sys/kern

2020-08-28 Thread Warner Losh
Author: imp Date: Sat Aug 29 04:30:12 2020 New Revision: 364946 URL: https://svnweb.freebsd.org/changeset/base/364946 Log: Move to using sbuf for some sysctl in newbus Convert two different sysctl to using sbuf. First, for all the default sysctls we implement for each device driver that's

svn commit: r364944 - head/sys/kern

2020-08-28 Thread Warner Losh
Author: imp Date: Sat Aug 29 04:29:53 2020 New Revision: 364944 URL: https://svnweb.freebsd.org/changeset/base/364944 Log: devctl: move to using a uma zone Convert the memory management of devctl. Rewrite if to make better use of memory. This eliminates several mallocs (5? worse case) ne

svn commit: r364945 - in head/sys: arm/ti/am335x geom kern sys

2020-08-28 Thread Warner Losh
Author: imp Date: Sat Aug 29 04:30:06 2020 New Revision: 364945 URL: https://svnweb.freebsd.org/changeset/base/364945 Log: Retire devctl_notify_f() devctl_notify_f isn't needed, so retire it. The flags argument is now unused, so rather than keep it around, retire it. Convert all old use

svn commit: r364943 - head/secure/caroot/trusted

2020-08-28 Thread Kyle Evans
Author: kevans Date: Sat Aug 29 02:46:25 2020 New Revision: 364943 URL: https://svnweb.freebsd.org/changeset/base/364943 Log: carrot: update bundle Stats: - Seven (7) removed - Four (4) added MFC after:3 days Added: head/secure/caroot/trusted/Microsoft_ECC_Root_Certificate_A

Re: svn commit: r364927 - head/sys/arm/allwinner/clkng

2020-08-28 Thread Dave Cottlehuber
On Fri, 28 Aug 2020, at 18:25, Emmanuel Vadot wrote: > Author: manu > Date: Fri Aug 28 18:25:45 2020 > New Revision: 364927 > URL: https://svnweb.freebsd.org/changeset/base/364927 > > Log: > arm: allwinner: clk: Add printfs when we cannot set the correct freq > > For some unknown reason thi

svn commit: r364942 - head/sys/net/route

2020-08-28 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Aug 28 23:01:56 2020 New Revision: 364942 URL: https://svnweb.freebsd.org/changeset/base/364942 Log: Move fib_rte_to_nh_flags() from net/route_var.h to net/route/nhop_ctl.c. No functional changes. Initially this function was created to perform runtime flag conve

svn commit: r364941 - in head/sys: net net/route netinet netinet6

2020-08-28 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Aug 28 22:50:20 2020 New Revision: 364941 URL: https://svnweb.freebsd.org/changeset/base/364941 Log: Move net/route/shared.h definitions to net/route/route_var.h. No functional changes. net/route/shared.h was created in the inital phases of nexthop conversion

svn commit: r364940 - head/sys/net/route

2020-08-28 Thread Alexander V. Chernikov
Author: melifaro Date: Fri Aug 28 21:59:10 2020 New Revision: 364940 URL: https://svnweb.freebsd.org/changeset/base/364940 Log: Further split nhop creation and rtable operations. As nexthops are immutable, some operations such as route attribute changes require nexthop fetching, forking,

Re: svn commit: r353419 - head/sys/net

2020-08-28 Thread Oleksandr Tymoshenko
Gleb Smirnoff (gleb...@freebsd.org) wrote: > Author: glebius > Date: Thu Oct 10 23:42:55 2019 > New Revision: 353419 > URL: https://svnweb.freebsd.org/changeset/base/353419 > > Log: > Provide new KPI for network drivers to access lists of interface > addresses. The KPI doesn't reveal neither

svn commit: r364937 - head/sys/netinet

2020-08-28 Thread Michael Tuexen
Author: tuexen Date: Fri Aug 28 20:05:18 2020 New Revision: 364937 URL: https://svnweb.freebsd.org/changeset/base/364937 Log: Fix a regression with the explicit EOR mode I introduced in r364268. A short MFC time as discussed with the secteam. Reported by: Taylor Brandstetter MF

svn commit: r364936 - in head: lib lib/libnetmap share/mk

2020-08-28 Thread Vincenzo Maffione
Author: vmaffione Date: Fri Aug 28 20:03:54 2020 New Revision: 364936 URL: https://svnweb.freebsd.org/changeset/base/364936 Log: lib: add libnetmap This changeset introduces the new libnetmap library for writing netmap applications. Before libnetmap, applications could either use the ke

svn commit: r364935 - head/sys/vm

2020-08-28 Thread Eric van Gyzen
Author: vangyzen Date: Fri Aug 28 19:59:02 2020 New Revision: 364935 URL: https://svnweb.freebsd.org/changeset/base/364935 Log: vm_pageout_scan_active: ensure ps_delta is initialized Reported by: Coverity Reviewed by: markj MFC after:2 weeks Sponsored by: Dell EMC Isilon Diffe

svn commit: r364933 - in head: lib/libmemstat sys/vm

2020-08-28 Thread Eric van Gyzen
Author: vangyzen Date: Fri Aug 28 19:50:40 2020 New Revision: 364933 URL: https://svnweb.freebsd.org/changeset/base/364933 Log: memstat_kvm_uma: fix reading of uma_zone_domain structures Coverity flagged the scaling by sizeof(uzd). That is the type of the pointer, so the scaling was alre

svn commit: r364932 - head/sys/dev/usb

2020-08-28 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 28 19:21:11 2020 New Revision: 364932 URL: https://svnweb.freebsd.org/changeset/base/364932 Log: Allow slow USB devices to be given more time to return their USB descriptors, like Logitech HD Pro Webcam C920. PR: 248926 MFC after:1 week Spo

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: r364927 - head/sys/arm/allwinner/clkng

2020-08-28 Thread Emmanuel Vadot
Author: manu Date: Fri Aug 28 18:25:45 2020 New Revision: 364927 URL: https://svnweb.freebsd.org/changeset/base/364927 Log: arm: allwinner: clk: Add printfs when we cannot set the correct freq For some unknown reason this seems to fix this function when we printf the best variable. This i

svn commit: r364926 - head/sys/sys

2020-08-28 Thread Warner Losh
Author: imp Date: Fri Aug 28 17:55:54 2020 New Revision: 364926 URL: https://svnweb.freebsd.org/changeset/base/364926 Log: Treat the boot loader as the same as the kernel for what's visible The boot loader will be growing some (limited) support for some kernel interfaces for some of the t

svn commit: r364925 - head/sys/sys

2020-08-28 Thread Warner Losh
Author: imp Date: Fri Aug 28 17:49:56 2020 New Revision: 364925 URL: https://svnweb.freebsd.org/changeset/base/364925 Log: Allow the pseudo-errnos to be returned as well in boot loader Expose the pseudo-errno values in _STANDALONE is defined so that code in the boot loader can make use of

svn commit: r364924 - head/stand

2020-08-28 Thread Warner Losh
Author: imp Date: Fri Aug 28 17:36:14 2020 New Revision: 364924 URL: https://svnweb.freebsd.org/changeset/base/364924 Log: Create CFLAGS_EARLY.file for boot loader. Some external code requires a specific set of include paths to work properly since it emulates the typical environment the c

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: r364922 - head/sys/dev/mn

2020-08-28 Thread Warner Losh
Author: imp Date: Fri Aug 28 17:05:06 2020 New Revision: 364922 URL: https://svnweb.freebsd.org/changeset/base/364922 Log: Update outdated comment There is no splnet anymore, so update the comment to drop references to it. Modified: head/sys/dev/mn/if_mn.c Modified: head/sys/dev/mn/if

svn commit: r364920 - in head/sys: dev/speaker sys

2020-08-28 Thread Warner Losh
Author: imp Date: Fri Aug 28 16:40:33 2020 New Revision: 364920 URL: https://svnweb.freebsd.org/changeset/base/364920 Log: Remove splclock(). It's not useful to keep. splclock is used in one driver (spkr) to control access to timer_spkr_* routines. However, nothing else does. So it shows

Re: svn commit: r364863 - head

2020-08-28 Thread Harry Schmalzbauer
Am 28.08.2020 um 17:43 schrieb Ryan Moeller: … ld: error: undefined symbol: zfs_zstd_decompress_level >>> referenced by zio_compress.c >>>   zio_compress.o:(zio_compress_table) *** Error code 1 According to src/sys/amd64/conf/NOTES, "options ZFS" should still be supported. Unfortun

Re: svn commit: r364863 - head

2020-08-28 Thread Ryan Moeller
On 8/28/20 8:51 AM, Harry Schmalzbauer wrote: Am 27.08.2020 um 15:26 schrieb Ryan Moeller: Author: freqlabs Date: Thu Aug 27 13:26:36 2020 New Revision: 364863 URL: https://svnweb.freebsd.org/changeset/base/364863 Log:    libzfs: Also add the crypto dependency to Makefile.inc1       Reported b

svn commit: r364919 - in head/bin/sh: . tests/execution

2020-08-28 Thread Jilles Tjoelker
Author: jilles Date: Fri Aug 28 15:35:45 2020 New Revision: 364919 URL: https://svnweb.freebsd.org/changeset/base/364919 Log: sh: Keep ignored SIGINT/SIGQUIT after set in a background job If job control is not enabled, a background job (... &) ignores SIGINT and SIGQUIT, but this can be r

svn commit: r364918 - head/sys/sys

2020-08-28 Thread Warner Losh
Author: imp Date: Fri Aug 28 15:09:43 2020 New Revision: 364918 URL: https://svnweb.freebsd.org/changeset/base/364918 Log: remove splbio and splcam splbio and splcan have been completely removed from the tree. We can now remove their definitions here. They've been nops for a long time a

Re: svn commit: r364863 - head

2020-08-28 Thread Harry Schmalzbauer
Am 27.08.2020 um 15:26 schrieb Ryan Moeller: Author: freqlabs Date: Thu Aug 27 13:26:36 2020 New Revision: 364863 URL: https://svnweb.freebsd.org/changeset/base/364863 Log: libzfs: Also add the crypto dependency to Makefile.inc1 Reported by: kevans Discussed with: kevans Sp

Re: svn commit: r364091 - head/lib/libc/gen

2020-08-28 Thread Konstantin Belousov
On Thu, Aug 27, 2020 at 05:28:03PM -0700, Adrian Chadd wrote: > Hi! > > This breaks when compiling FreeBSD-mips on GCC-9. :( > > In file included from > /usr/home/adrian/work/freebsd/head-embedded/src/lib/libc/gen/scandir.c:50, > from > /usr/home/adrian/work/freebsd/head-embedded