svn commit: r366878 - in stable/12/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:17:47 2020 New Revision: 366878 URL: https://svnweb.freebsd.org/changeset/base/366878 Log: MFC r366432: Populate the acquire context field of a ww_mutex in the LinuxKPI. Bump the FreeBSD version to force recompilation of external kernel modules.

svn commit: r366881 - stable/11/sys/dev/mlx5/mlx5_core

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:25:53 2020 New Revision: 366881 URL: https://svnweb.freebsd.org/changeset/base/366881 Log: MFC r366518: Properly cleanup driver during remove_one() in mlx5core. Cleanup all host resources, SYSCTLs, MSIX vectors and memory used by the host and only

svn commit: r366889 - in stable/11/sys: compat/linuxkpi/common/include/linux sys

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:40:39 2020 New Revision: 366889 URL: https://svnweb.freebsd.org/changeset/base/366889 Log: MFC r349277 and r39: Implement more RCU list functions in the LinuxKPI. Differential Revision: https://reviews.freebsd.org/D20719 Sponsored by:

svn commit: r366869 - in head/sys: contrib/openzfs/module/os/freebsd/zfs fs/nullfs kern sys

2020-10-20 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 20 07:18:27 2020 New Revision: 366869 URL: https://svnweb.freebsd.org/changeset/base/366869 Log: vfs: drop spurious cred argument from VOP_VPTOCNP Modified: head/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c head/sys/fs/nullfs/null_vnops.c

svn commit: r366870 - in head/sys: contrib/openzfs/module/os/freebsd/zfs fs/cd9660 fs/ext2fs fs/fuse fs/nfsclient fs/smbfs kern

2020-10-20 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 20 07:19:03 2020 New Revision: 366870 URL: https://svnweb.freebsd.org/changeset/base/366870 Log: vfs: drop the de facto curthread argument from VOP_INACTIVE Modified: head/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c head/sys/fs/cd9660/cd9660_node.c

svn commit: r366871 - head/sys/sys

2020-10-20 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 20 07:19:44 2020 New Revision: 366871 URL: https://svnweb.freebsd.org/changeset/base/366871 Log: Bump __FreeBSD_version after VOP VPTOCNP and INACTIVE changes Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r366872 - stable/12/sys/tests/runtest

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:08:08 2020 New Revision: 366872 URL: https://svnweb.freebsd.org/changeset/base/366872 Log: MFC r365236: Add small tool to invoke kernel test framework tests. Sponsored by: Mellanox Technologies // NVIDIA Networking Added:

svn commit: r366880 - stable/12/sys/dev/mlx5/mlx5_core

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:25:02 2020 New Revision: 366880 URL: https://svnweb.freebsd.org/changeset/base/366880 Log: MFC r366518: Properly cleanup driver during remove_one() in mlx5core. Cleanup all host resources, SYSCTLs, MSIX vectors and memory used by the host and only

svn commit: r366879 - in stable/11/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src sys

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:23:24 2020 New Revision: 366879 URL: https://svnweb.freebsd.org/changeset/base/366879 Log: MFC r347596 and r366432: Populate the acquire context field of a ww_mutex in the LinuxKPI. Bump the FreeBSD version to force recompilation of external kernel

svn commit: r366886 - stable/12/sys/dev/usb

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:33:11 2020 New Revision: 366886 URL: https://svnweb.freebsd.org/changeset/base/366886 Log: MFC r366536: Try a bit harder to get the USB device descriptor in case the initial read fails. Sponsored by: Mellanox Technologies // NVIDIA Networking

svn commit: r366887 - stable/11/sys/dev/usb

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:34:03 2020 New Revision: 366887 URL: https://svnweb.freebsd.org/changeset/base/366887 Log: MFC r366536: Try a bit harder to get the USB device descriptor in case the initial read fails. Sponsored by: Mellanox Technologies // NVIDIA Networking

svn commit: r366885 - stable/11/sys/kern

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:31:55 2020 New Revision: 366885 URL: https://svnweb.freebsd.org/changeset/base/366885 Log: MFC r366535: The ethernet header structure is read-only. Add const keyword. (This is a diff reduction towards D26254) Sponsored by: Mellanox

svn commit: r366874 - in stable/12/sys/dev/usb: . serial

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:12:35 2020 New Revision: 366874 URL: https://svnweb.freebsd.org/changeset/base/366874 Log: MFC r365966: Add support for Winbond USB CDC modem device found in Tenma power supply. PR: 249384 Submitted by: dar...@dons.net.au Sponsored by:

svn commit: r366882 - stable/12/sys/dev/evdev

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:29:28 2020 New Revision: 366882 URL: https://svnweb.freebsd.org/changeset/base/366882 Log: MFC r366533: Allow evdev's rcpt_mask and sysmouse_t_axis parameters to be specified in /boot/loader.conf . Sponsored by: Mellanox Technologies //

svn commit: r366888 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:35:16 2020 New Revision: 366888 URL: https://svnweb.freebsd.org/changeset/base/366888 Log: MFC r39: Implement more RCU list functions in the LinuxKPI. This also fixes a bug in the existing list_add_rcu() where the prev->prev pointer was updated

svn commit: r366873 - stable/12/share/man/man4

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:11:34 2020 New Revision: 366873 URL: https://svnweb.freebsd.org/changeset/base/366873 Log: MFC r365958: Add example to ng_bpf(4) showing how ng_bpf(4) can be used to prevent spoofing. Differential Revision:https://reviews.freebsd.org/D26488

svn commit: r366876 - stable/12/sys/dev/usb/serial

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:14:06 2020 New Revision: 366876 URL: https://svnweb.freebsd.org/changeset/base/366876 Log: MFC r366431: Add support for Google Cr50 (GSC) Closed Case Debugging UART interfaces to the USB generic serial port driver, ugensa. Differential Revision:

svn commit: r366877 - stable/11/sys/dev/usb/serial

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:15:12 2020 New Revision: 366877 URL: https://svnweb.freebsd.org/changeset/base/366877 Log: MFC r366431: Add support for Google Cr50 (GSC) Closed Case Debugging UART interfaces to the USB generic serial port driver, ugensa. Differential Revision:

svn commit: r366875 - in stable/11/sys/dev/usb: . serial

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:13:15 2020 New Revision: 366875 URL: https://svnweb.freebsd.org/changeset/base/366875 Log: MFC r365966: Add support for Winbond USB CDC modem device found in Tenma power supply. PR: 249384 Submitted by: dar...@dons.net.au Sponsored by:

svn commit: r366883 - stable/11/sys/dev/evdev

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:30:26 2020 New Revision: 366883 URL: https://svnweb.freebsd.org/changeset/base/366883 Log: MFC r366533: Allow evdev's rcpt_mask and sysmouse_t_axis parameters to be specified in /boot/loader.conf . Sponsored by: Mellanox Technologies //

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

2020-10-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 20 08:31:20 2020 New Revision: 366884 URL: https://svnweb.freebsd.org/changeset/base/366884 Log: MFC r366535: The ethernet header structure is read-only. Add const keyword. (This is a diff reduction towards D26254) Sponsored by: Mellanox

svn commit: r366891 - stable/12/share/man/man3

2020-10-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Tue Oct 20 09:51:41 2020 New Revision: 366891 URL: https://svnweb.freebsd.org/changeset/base/366891 Log: MFC r366481: intro(3): Update the list of included libraries - Extend the list of main libraries of section 3 - Extend the library functions that are

Re: svn commit: r366865 - head/sys/dev/ahci

2020-10-20 Thread Konstantin Belousov
On Mon, Oct 19, 2020 at 10:32:36PM +, Ruslan Bukin wrote: > Author: br > Date: Mon Oct 19 22:32:36 2020 > New Revision: 366865 > URL: https://svnweb.freebsd.org/changeset/base/366865 > > Log: > Fix build: only set iommu buswide flag if IOMMU code is included. > > Sponsored by:

svn commit: r366892 - stable/12/sys/netpfil/ipfw/nat64

2020-10-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 20 11:40:37 2020 New Revision: 366892 URL: https://svnweb.freebsd.org/changeset/base/366892 Log: MFC r366681: Add IPv4 fragments reassembling to NAT64LSN. NAT64LSN requires the presence of upper level protocol header in a IPv4 datagram to find

svn commit: r366893 - stable/12/sys/netinet

2020-10-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 20 11:44:54 2020 New Revision: 366893 URL: https://svnweb.freebsd.org/changeset/base/366893 Log: MFC r366682: Join to AllHosts multicast group again when adding an existing IPv4 address. When SIOCAIFADDR ioctl configures an IPv4 address that is already exist,

svn commit: r366894 - stable/11/sys/netinet

2020-10-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 20 11:49:19 2020 New Revision: 366894 URL: https://svnweb.freebsd.org/changeset/base/366894 Log: MFC 366682: Join to AllHosts multicast group again when adding an existing IPv4 address. When SIOCAIFADDR ioctl configures an IPv4 address that is already exist,

svn commit: r366890 - head/sys/ufs/ufs

2020-10-20 Thread Mateusz Guzik
Author: mjg Date: Tue Oct 20 09:46:20 2020 New Revision: 366890 URL: https://svnweb.freebsd.org/changeset/base/366890 Log: ufs: catch up with removal of thread argument from VOP_INACTIVE Modified: head/sys/ufs/ufs/extattr.h head/sys/ufs/ufs/ufs_extattr.c head/sys/ufs/ufs/ufs_inode.c

svn commit: r366895 - head/usr.bin/compress

2020-10-20 Thread Fernando ApesteguĂ­a
Author: fernape (ports committer) Date: Tue Oct 20 13:05:25 2020 New Revision: 366895 URL: https://svnweb.freebsd.org/changeset/base/366895 Log: compress(1): Add EXAMPLES section Add 5 examples showing basic usage. Approved by: manpages (gbe@) Differential Revision:

svn commit: r366896 - head/bin/realpath

2020-10-20 Thread Fernando ApesteguĂ­a
Author: fernape (ports committer) Date: Tue Oct 20 13:15:26 2020 New Revision: 366896 URL: https://svnweb.freebsd.org/changeset/base/366896 Log: realpath(1): Add EXAMPLES section. Add a small example for this simple command. Approved by: manpages (gbe@) Differential Revision:

svn commit: r366901 - in head: share/man/man4 sys/amd64/conf sys/conf sys/crypto/openssl sys/i386/conf sys/modules sys/modules/ossl

2020-10-20 Thread John Baldwin
Author: jhb Date: Tue Oct 20 17:50:18 2020 New Revision: 366901 URL: https://svnweb.freebsd.org/changeset/base/366901 Log: Add a kernel crypto driver using assembly routines from OpenSSL. Currently, this supports SHA1 and SHA2-{224,256,384,512} both as plain hashes and in HMAC mode on

svn commit: r366897 - in head/sys: conf dev/md

2020-10-20 Thread John Baldwin
Author: jhb Date: Tue Oct 20 16:48:45 2020 New Revision: 366897 URL: https://svnweb.freebsd.org/changeset/base/366897 Log: Use a template assembly file to generate the embedded MFS. This uses the .incbin directive to pull in the MFS image contents. Using assembly directly ensures that

svn commit: r366898 - in head: secure/lib/libcrypto secure/lib/libcrypto/aarch64 secure/lib/libcrypto/amd64 secure/lib/libcrypto/arm secure/lib/libcrypto/engines/padlock secure/lib/libcrypto/i386 s...

2020-10-20 Thread John Baldwin
Author: jhb Date: Tue Oct 20 17:00:43 2020 New Revision: 366898 URL: https://svnweb.freebsd.org/changeset/base/366898 Log: Move generated OpenSSL assembly routines into the kernel sources. Sponsored by: Netflix Added: head/sys/crypto/openssl/ head/sys/crypto/openssl/aarch64/ -

svn commit: r366900 - head/sys/compat/linprocfs

2020-10-20 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 20 17:24:29 2020 New Revision: 366900 URL: https://svnweb.freebsd.org/changeset/base/366900 Log: Fix linprocfs(4) /proc/self/mem semantics to more closely match Linux. Steam's Anti-Cheat might depend on it. PR: 248223 Analyzed by: Alex S

svn commit: r366899 - head/sys/compat/linux

2020-10-20 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 20 17:19:10 2020 New Revision: 366899 URL: https://svnweb.freebsd.org/changeset/base/366899 Log: Fix potential race condition in linux stat(2). Reviewed by: kib MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r366903 - head/sys/geom

2020-10-20 Thread Robert Wing
Author: rew Date: Tue Oct 20 20:59:13 2020 New Revision: 366903 URL: https://svnweb.freebsd.org/changeset/base/366903 Log: geom_ctl.c: remove stale header files - Remove "opt_geom.h", no kernel options are used. - Remove , no sysctl functionality is used here. - Remove ,

svn commit: r366906 - in head: lib/libifconfig sbin/ifconfig

2020-10-20 Thread Ryan Moeller
Author: freqlabs Date: Wed Oct 21 05:27:25 2020 New Revision: 366906 URL: https://svnweb.freebsd.org/changeset/base/366906 Log: Move list_cloners to libifconfig Move list_cloners() from ifconfig(8) to libifconfig(3) where it can be reused by other consumers. Reviewed by: kp

svn commit: r366907 - head/sys/kern

2020-10-20 Thread Mateusz Guzik
Author: mjg Date: Wed Oct 21 05:57:25 2020 New Revision: 366907 URL: https://svnweb.freebsd.org/changeset/base/366907 Log: cache: drop the spurious slash_prefixed argument Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c

svn commit: r366905 - stable/12/sys/dev/nvme

2020-10-20 Thread Alexander Motin
Author: mav Date: Wed Oct 21 00:46:53 2020 New Revision: 366905 URL: https://svnweb.freebsd.org/changeset/base/366905 Log: MFC r366707: Use RTD3 Entry Latency value as shutdown timeout. This field was not in specs when the driver was written, but now there are SSDs with the reported

svn commit: r366904 - in head/sys: amd64/ia32 i386/i386

2020-10-20 Thread Konstantin Belousov
Author: kib Date: Wed Oct 21 00:15:12 2020 New Revision: 366904 URL: https://svnweb.freebsd.org/changeset/base/366904 Log: Improve FPU Tag Word reconstruction on i386 to indicate register states. Improve the code reconstructing en_tw in struct fpreg32 from FXSAVE results so that all

svn commit: r366902 - head/sys/arm64/conf

2020-10-20 Thread Ed Maste
Author: emaste Date: Tue Oct 20 20:11:29 2020 New Revision: 366902 URL: https://svnweb.freebsd.org/changeset/base/366902 Log: arm64: add uhci to GENERIC uhci is (or, can be) used by VMware ESXi-Arm. PR: 250308 Reported by: Vincent Milum Jr MFC after:2 weeks