svn commit: r368407 - head/stand/kshim

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 10:21:01 2020 New Revision: 368407 URL: https://svnweb.freebsd.org/changeset/base/368407 Log: Tidy up code a bit. Add missing section comments. No functional change. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

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

2020-12-07 Thread Toomas Soome
Author: tsoome Date: Mon Dec 7 11:25:18 2020 New Revision: 368410 URL: https://svnweb.freebsd.org/changeset/base/368410 Log: loader: xdr_array is missing count The integer arrays are encoded in nvlist as counted array , loader xdr_array() is missing the count. This will affect the pool

Re: svn commit: r368410 - head/stand/libsa/zfs

2020-12-07 Thread Jessica Clarke
On 7 Dec 2020, at 11:25, Toomas Soome wrote: > @@ -183,28 +215,29 @@ xdr_u_int(xdr_t *xdr, unsigned *ip) > static bool > xdr_int64(xdr_t *xdr, int64_t *lp) > { > - int hi; > - unsigned lo; > bool rv = false; > > - if (xdr->xdr_idx + sizeof (int64_t) > xdr->xdr_buf +

svn commit: r368408 - head/stand/kshim

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 10:51:19 2020 New Revision: 368408 URL: https://svnweb.freebsd.org/changeset/base/368408 Log: Add missing busdma prototypes for load and unload and implement dummy sync function for kernel bootloader shim code. MFC after:1 week Sponsored by:

Re: svn commit: r368397 - in head: share/man/man4 sys/dev/mn

2020-12-07 Thread Hans Petter Selasky
On 12/7/20 11:44 AM, Hans Petter Selasky wrote: On 12/6/20 10:34 PM, Ed Maste wrote: +    gone_in_dev(dev, 13, "sync serial (T1/E1) driver"); Should be "self" instead of "dev" . Ed: I just fixed it. Don't forget to include this when MFC'ing. --HPS

svn commit: r368409 - head/sys/dev/mn

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 11:18:51 2020 New Revision: 368409 URL: https://svnweb.freebsd.org/changeset/base/368409 Log: Fix compilation after r368397. MFC after:3 days Sponsored by: Mellanox Technologies // NVIDIA Networking Modified: head/sys/dev/mn/if_mn.c Modified:

svn commit: r368405 - head/sys/sys

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 09:21:06 2020 New Revision: 368405 URL: https://svnweb.freebsd.org/changeset/base/368405 Log: Allow sys/refcount.h to be used by standalone builds. No functional change. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

svn commit: r368406 - head/sys/compat/linuxkpi/common/include/linux

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 09:48:06 2020 New Revision: 368406 URL: https://svnweb.freebsd.org/changeset/base/368406 Log: Prefer using the MIN() function macro over the min() inline function in the LinuxKPI. Linux defines min() to be a macro, while in FreeBSD min() is a static inline

Re: svn commit: r368397 - in head: share/man/man4 sys/dev/mn

2020-12-07 Thread Hans Petter Selasky
On 12/6/20 10:34 PM, Ed Maste wrote: + gone_in_dev(dev, 13, "sync serial (T1/E1) driver"); Should be "self" instead of "dev" . --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To

Re: svn commit: r368409 - head/sys/dev/mn

2020-12-07 Thread Ed Maste
On Mon, 7 Dec 2020 at 06:19, Hans Petter Selasky wrote: > > Author: hselasky > Date: Mon Dec 7 11:18:51 2020 > New Revision: 368409 > URL: https://svnweb.freebsd.org/changeset/base/368409 > > Log: > Fix compilation after r368397. > > MFC after:3 days > Sponsored by: Mellanox

svn commit: r368411 - head/sys/net

2020-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 7 14:52:57 2020 New Revision: 368411 URL: https://svnweb.freebsd.org/changeset/base/368411 Log: iflib: Detach tasks upon device registration failure In some error paths we would fail to detach from the iflib taskqueue groups. Also move the detach code into

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

2020-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 7 14:53:34 2020 New Revision: 368413 URL: https://svnweb.freebsd.org/changeset/base/368413 Log: Add missing refcount.9 MLINKS Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile

svn commit: r368412 - head/sys/net

2020-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 7 14:53:14 2020 New Revision: 368412 URL: https://svnweb.freebsd.org/changeset/base/368412 Log: iflib: Avoid leaking the freelist bitmaps upon driver detach Submitted by: Sai Rajesh Tallamraju MFC after:2 weeks Sponsored by: NetApp, Inc. Differential

svn commit: r368414 - in head/sys/arm: arm include

2020-12-07 Thread Mark Johnston
Author: markj Date: Mon Dec 7 15:09:28 2020 New Revision: 368414 URL: https://svnweb.freebsd.org/changeset/base/368414 Log: arm: Let the GDB stub write to SP, LR and GP registers This can be handy if gdb's stack unwinder fails, for example because of a bug in kgdb's trap frame unwinder.

svn commit: r368415 - head/stand/kshim

2020-12-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 7 16:08:31 2020 New Revision: 368415 URL: https://svnweb.freebsd.org/changeset/base/368415 Log: Properly define the bool type in the BSD kernel shim. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

svn commit: r368417 - head/sys/sys

2020-12-07 Thread John Baldwin
Author: jhb Date: Mon Dec 7 18:58:08 2020 New Revision: 368417 URL: https://svnweb.freebsd.org/changeset/base/368417 Log: Bump __FreeBSD_version for removal of crypto fd's in r368005. Requested by: swills Sponsored by: Chelsio Communications Modified: head/sys/sys/param.h Modified:

svn commit: r368416 - head/sys/arm64/arm64

2020-12-07 Thread Andrew Turner
Author: andrew Date: Mon Dec 7 17:54:49 2020 New Revision: 368416 URL: https://svnweb.freebsd.org/changeset/base/368416 Log: Ensure the boot CPU is CPU 0 on arm64 We assume the boot CPU is always CPU 0 on arm64. To allow for this reserve cpuid 0 for the boot CPU in the ACPI and FDT

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread John Baldwin
On 12/6/20 8:51 PM, Steve Wills wrote: > Hi, > > On 11/24/20 7:10 PM, John Baldwin wrote: >> Author: jhb >> Date: Wed Nov 25 00:10:54 2020 >> New Revision: 368005 >> URL: https://svnweb.freebsd.org/changeset/base/368005 >> >> Log: >>Remove the cloned file descriptors for /dev/crypto. >> >

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread Kyle Evans
On Mon, Dec 7, 2020 at 12:58 PM John Baldwin wrote: > > On 12/6/20 8:51 PM, Steve Wills wrote: > > Hi, > > > > On 11/24/20 7:10 PM, John Baldwin wrote: > >> Author: jhb > >> Date: Wed Nov 25 00:10:54 2020 > >> New Revision: 368005 > >> URL: https://svnweb.freebsd.org/changeset/base/368005 > >> >

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

2020-12-07 Thread Konstantin Belousov
Author: kib Date: Tue Dec 8 01:45:36 2020 New Revision: 368428 URL: https://svnweb.freebsd.org/changeset/base/368428 Log: MFC r368262: vfs_aio.c: correct comment. Modified: stable/12/sys/kern/vfs_aio.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r368427 - in stable/12: libexec/rtld-elf sys/sys

2020-12-07 Thread Konstantin Belousov
Author: kib Date: Tue Dec 8 01:44:16 2020 New Revision: 368427 URL: https://svnweb.freebsd.org/changeset/base/368427 Log: MFC r368260: rtld: bump r_debug.r_version to 1 from current 0. Add r_ldbase. Modified: stable/12/libexec/rtld-elf/rtld.c stable/12/sys/sys/link_elf.h Directory

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

2020-12-07 Thread Enji Cooper
Author: ngie Date: Tue Dec 8 04:01:03 2020 New Revision: 368433 URL: https://svnweb.freebsd.org/changeset/base/368433 Log: extattr_get_file(2): sort syscalls alphabetically Although some sections of the manpage sort the syscalls alphabetically, many core areas of the manpage do not.

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

2020-12-07 Thread Enji Cooper
Author: ngie Date: Tue Dec 8 04:18:16 2020 New Revision: 368436 URL: https://svnweb.freebsd.org/changeset/base/368436 Log: extattr_get_file(20: bump .Dd This is being done for the formatting and context changes. While the net content hasn't been changed, the content/context changes

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

2020-12-07 Thread Konstantin Belousov
Author: kib Date: Tue Dec 8 01:47:59 2020 New Revision: 368430 URL: https://svnweb.freebsd.org/changeset/base/368430 Log: MFC r368265: lio_listio(2): send signal even if number of jobs is zero. Modified: stable/12/sys/kern/vfs_aio.c Directory Properties: stable/12/ (props changed)

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

2020-12-07 Thread Konstantin Belousov
Author: kib Date: Tue Dec 8 01:46:44 2020 New Revision: 368429 URL: https://svnweb.freebsd.org/changeset/base/368429 Log: MFC r368264: vfs_aio.c: style. Modified: stable/12/sys/kern/vfs_aio.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/kern/vfs_aio.c

svn commit: r368421 - in head/release: . tools

2020-12-07 Thread Mitchell Horne
Author: mhorne Date: Tue Dec 8 00:35:13 2020 New Revision: 368421 URL: https://svnweb.freebsd.org/changeset/base/368421 Log: release.sh: add support for RISC-V embedded builds Since the few existing RISC-V hardware platforms are single board computers, we can piggyback off of

svn commit: r368425 - head/sys/fs/ext2fs

2020-12-07 Thread Kirk McKusick
Author: mckusick Date: Tue Dec 8 00:49:31 2020 New Revision: 368425 URL: https://svnweb.freebsd.org/changeset/base/368425 Log: In ext2fs, BA_CLRBUF is used in ext2_balloc() not UFS_BALLOC(). Noted by: kib MFC after:3 days Sponsored by: Netflix Modified:

svn commit: r368424 - head/release

2020-12-07 Thread Mitchell Horne
Author: mhorne Date: Tue Dec 8 00:48:50 2020 New Revision: 368424 URL: https://svnweb.freebsd.org/changeset/base/368424 Log: release: don't checksum images if there are none For platforms that don't have any of the memstick, cdrom, or dvdrom release images (i.e. riscv64), the

svn commit: r368426 - stable/12/sys/dev/isp

2020-12-07 Thread Alexander Motin
Author: mav Date: Tue Dec 8 00:58:02 2020 New Revision: 368426 URL: https://svnweb.freebsd.org/changeset/base/368426 Log: MFC r367985: Remove unneeded locking around xpt_bus_[de]register(). Modified: stable/12/sys/dev/isp/isp_freebsd.c Directory Properties: stable/12/ (props changed)

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

2020-12-07 Thread Enji Cooper
Author: ngie Date: Tue Dec 8 03:48:05 2020 New Revision: 368432 URL: https://svnweb.freebsd.org/changeset/base/368432 Log: lio_listio(2): fix manlint error The date with .Dd prior to this change isn't canonically spelled out: it should have been "December", not "Dec". MFC after:

svn commit: r368423 - head/release/riscv

2020-12-07 Thread Mitchell Horne
Author: mhorne Date: Tue Dec 8 00:42:03 2020 New Revision: 368423 URL: https://svnweb.freebsd.org/changeset/base/368423 Log: RISC-V release confs Add two release flavors for RISC-V. First, the traditional "big-iron" images, capable of generating distribution sets and VM images.

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

2020-12-07 Thread Enji Cooper
Author: ngie Date: Tue Dec 8 04:05:19 2020 New Revision: 368434 URL: https://svnweb.freebsd.org/changeset/base/368434 Log: extattr_get_file(2): fix more formatting - Remove an unnecessary trailing comma separating a two-item clause. - Sort more function calls alphabetically (in the same

svn commit: r368422 - in head: release/tools tools/boot

2020-12-07 Thread Mitchell Horne
Author: mhorne Date: Tue Dec 8 00:37:11 2020 New Revision: 368422 URL: https://svnweb.freebsd.org/changeset/base/368422 Log: riscv: allow building virtual machine images RISC-V has the same booting requirements as arm64 (loader.efi, no legacy boot options), so generated images for both

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

2020-12-07 Thread Enji Cooper
Author: ngie Date: Tue Dec 8 04:16:05 2020 New Revision: 368435 URL: https://svnweb.freebsd.org/changeset/base/368435 Log: extattr_get_file(2): clarify RETURN VALUES While some of the syscalls' behavior were documented and implied in the RETURN VALUES section by earlier, e.g., the

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

2020-12-07 Thread Enji Cooper
Author: ngie Date: Tue Dec 8 03:43:00 2020 New Revision: 368431 URL: https://svnweb.freebsd.org/changeset/base/368431 Log: extattr_get_fd(2): fix manlint errors - The CAVEATS section was misspelled as "CAVEAT". - The CAVEATS section should come before the "BUGS" section and after

svn commit: r368437 - stable/12/share/timedef

2020-12-07 Thread Yuri Pankov
Author: yuripv Date: Tue Dec 8 07:47:29 2020 New Revision: 368437 URL: https://svnweb.freebsd.org/changeset/base/368437 Log: MFC r340354: Use blank am_pm and t_fmt_ampm for de_AT and de_DE locales as apparently they use 24-hour clock notation. The visible change is that w(1) now uses

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread John Baldwin
On 12/7/20 11:11 AM, Kyle Evans wrote: > On Mon, Dec 7, 2020 at 12:58 PM John Baldwin wrote: >> >> On 12/6/20 8:51 PM, Steve Wills wrote: >>> Hi, >>> >>> On 11/24/20 7:10 PM, John Baldwin wrote: Author: jhb Date: Wed Nov 25 00:10:54 2020 New Revision: 368005 URL:

svn commit: r368418 - in stable/12: sbin/mount share/man/man5

2020-12-07 Thread Gordon Bergling
Author: gbe (doc committer) Date: Mon Dec 7 20:36:58 2020 New Revision: 368418 URL: https://svnweb.freebsd.org/changeset/base/368418 Log: MFC r350224 by sobomax: Allow "update" option to be used in the fstab(5). Document possible use case. Approved by: sobomax Differential

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread Kyle Evans
On Mon, Dec 7, 2020 at 2:36 PM John Baldwin wrote: > > On 12/7/20 11:11 AM, Kyle Evans wrote: > > On Mon, Dec 7, 2020 at 12:58 PM John Baldwin wrote: > >> > >> On 12/6/20 8:51 PM, Steve Wills wrote: > >>> Hi, > >>> > >>> On 11/24/20 7:10 PM, John Baldwin wrote: > Author: jhb > Date:

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread John Baldwin
On 12/7/20 12:37 PM, Kyle Evans wrote: > On Mon, Dec 7, 2020 at 2:36 PM John Baldwin wrote: >> >> qemu-user uses this flag? What on earth can it be using it for? >> > > It was faithfully responding that it wasn't implemented to any > target-application usage, apparently. :-) I mean, it is only

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread Kyle Evans
On Mon, Dec 7, 2020 at 2:41 PM John Baldwin wrote: > > On 12/7/20 12:37 PM, Kyle Evans wrote: > > On Mon, Dec 7, 2020 at 2:36 PM John Baldwin wrote: > >> > >> qemu-user uses this flag? What on earth can it be using it for? > >> > > > > It was faithfully responding that it wasn't implemented to