Re: svn commit: r368197 - head/sbin/bectl

2020-11-30 Thread Kyle Evans
On Mon, Nov 30, 2020 at 3:05 PM Gleb Smirnoff wrote: > > Author: glebius > Date: Mon Nov 30 21:05:31 2020 > New Revision: 368197 > URL: https://svnweb.freebsd.org/changeset/base/368197 > > Log: > Print at least something when failing. > > Modified: > head/sbin/bectl/bectl.c > > Modified:

svn commit: r368200 - head/usr.sbin/efibootmgr

2020-11-30 Thread Mitchell Horne
Author: mhorne Date: Mon Nov 30 22:16:11 2020 New Revision: 368200 URL: https://svnweb.freebsd.org/changeset/base/368200 Log: efibootmgr: fix an incorrect error handling check efivar_device_path_to_unix_path() returns standard error codes on failure and zero on success. Checking for a

svn commit: r368199 - head/sys/kern

2020-11-30 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Nov 30 21:59:52 2020 New Revision: 368199 URL: https://svnweb.freebsd.org/changeset/base/368199 Log: Move inner loop logic out of sysctl_sysctl_next_ls(). Refactor sysctl_sysctl_next_ls(): * Move huge inner loop out of sysctl_sysctl_next_ls() into a separate

svn commit: r368198 - head/sys/net

2020-11-30 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Nov 30 21:42:55 2020 New Revision: 368198 URL: https://svnweb.freebsd.org/changeset/base/368198 Log: Renumber NHR_* flags after NHR_IFAIF removal in r368127. Suggested by: rpokala Modified: head/sys/net/route.h Modified: head/sys/net/route.h

svn commit: r368197 - head/sbin/bectl

2020-11-30 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 30 21:05:31 2020 New Revision: 368197 URL: https://svnweb.freebsd.org/changeset/base/368197 Log: Print at least something when failing. Modified: head/sbin/bectl/bectl.c Modified: head/sbin/bectl/bectl.c

svn commit: r368196 - head/sys/dev/if_wg/include/sys

2020-11-30 Thread Matt Macy
Author: mmacy Date: Mon Nov 30 20:58:42 2020 New Revision: 368196 URL: https://svnweb.freebsd.org/changeset/base/368196 Log: wireguard: fix zfs_ copy pasta in module init macro Reported by: Jessica Clarke Modified: head/sys/dev/if_wg/include/sys/support.h Modified:

svn commit: r368195 - head/sys/dev/if_wg/module/crypto/zinc/chacha20

2020-11-30 Thread Matt Macy
Author: mmacy Date: Mon Nov 30 20:54:44 2020 New Revision: 368195 URL: https://svnweb.freebsd.org/changeset/base/368195 Log: Remove (dead) GPL copyright code from wireguard sources Deleted: head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S

svn commit: r368194 - head/sys/dev/qat

2020-11-30 Thread Mark Johnston
Author: markj Date: Mon Nov 30 20:53:45 2020 New Revision: 368194 URL: https://svnweb.freebsd.org/changeset/base/368194 Log: qat: Initialize the crypto device ID to -1 instead of 0 Otherwise qat_detach() may attempt to deregister an unrelated crypto driver if an error occurs in

svn commit: r368193 - in head/sys: dev/qat modules/qatfw/qat_c2xxx modules/qatfw/qat_c3xxx modules/qatfw/qat_c62x modules/qatfw/qat_d15xx modules/qatfw/qat_dh895xcc

2020-11-30 Thread Mark Johnston
Author: markj Date: Mon Nov 30 20:53:25 2020 New Revision: 368193 URL: https://svnweb.freebsd.org/changeset/base/368193 Log: qat: Fix firmware module autoloading If firmware_get() fails to find a loaded firmware image, it searches for candidate KLDs to load. It will search for a KLD

svn commit: r368192 - head

2020-11-30 Thread Dimitry Andric
Author: dim Date: Mon Nov 30 19:18:50 2020 New Revision: 368192 URL: https://svnweb.freebsd.org/changeset/base/368192 Log: Add a few missed entries to ObsoleteFiles.inc: * libzfs.so was bumped from 3 to 4 in r364746 * libcap_random.so.1 was removed in r350307, but its .so symlink was not

Re: svn commit: r366917 - in head: sbin/ifconfig sys/net tests/sys/net

2020-11-30 Thread Hans Petter Selasky
On 10/21/20 11:28 PM, Alexander V. Chernikov wrote: Author: melifaro Date: Wed Oct 21 21:28:20 2020 New Revision: 366917 URL: https://svnweb.freebsd.org/changeset/base/366917 Log: Add support for stacked VLANs (IEEE 802.1ad, AKA Q-in-Q). 802.1ad interfaces are created with ifconfig

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Michael Tuexen
> On 29. Nov 2020, at 20:38, Matt Macy wrote: > > Author: mmacy > Date: Sun Nov 29 19:38:03 2020 > New Revision: 368163 > URL: https://svnweb.freebsd.org/changeset/base/368163 > > Log: > Import kernel WireGuard support > > Data path largely shared with the OpenBSD implementation by >

Re: svn commit: r368187 - head/sys/dev/nvme

2020-11-30 Thread Ian Lepore
On Mon, 2020-11-30 at 17:56 +0100, Michal Meloun wrote: > > On 30.11.2020 17:02, Ian Lepore wrote: > > On Mon, 2020-11-30 at 14:51 +, Michal Meloun wrote: > > > Author: mmel > > > Date: Mon Nov 30 14:51:48 2020 > > > New Revision: 368187 > > > URL:

Re: svn commit: r368187 - head/sys/dev/nvme

2020-11-30 Thread John Baldwin
On 11/30/20 9:04 AM, Warner Losh wrote: > On Mon, Nov 30, 2020 at 9:56 AM Michal Meloun > wrote: > >> >> >> On 30.11.2020 17:02, Ian Lepore wrote: >>> On Mon, 2020-11-30 at 14:51 +, Michal Meloun wrote: Author: mmel Date: Mon Nov 30 14:51:48 2020 New Revision: 368187 URL:

Re: svn commit: r368187 - head/sys/dev/nvme

2020-11-30 Thread Warner Losh
On Mon, Nov 30, 2020 at 9:56 AM Michal Meloun wrote: > > > On 30.11.2020 17:02, Ian Lepore wrote: > > On Mon, 2020-11-30 at 14:51 +, Michal Meloun wrote: > >> Author: mmel > >> Date: Mon Nov 30 14:51:48 2020 > >> New Revision: 368187 > >> URL: https://svnweb.freebsd.org/changeset/base/368187

svn commit: r368191 - head/sys/ufs/ffs

2020-11-30 Thread Konstantin Belousov
Author: kib Date: Mon Nov 30 17:03:26 2020 New Revision: 368191 URL: https://svnweb.freebsd.org/changeset/base/368191 Log: ffs: do not read full direct blocks if they are going to be overwritten. BA_CLRBUF specifies that existing context of the block will be completely overwritten by

svn commit: r368190 - head/lib/libthr/thread

2020-11-30 Thread Konstantin Belousov
Author: kib Date: Mon Nov 30 17:00:36 2020 New Revision: 368190 URL: https://svnweb.freebsd.org/changeset/base/368190 Log: Ensure that threading library is initialized in pthread_mutex_init(). We need at least thr_malloc ready. The situation is possible e.g. in case of libthr being

Re: svn commit: r368187 - head/sys/dev/nvme

2020-11-30 Thread Michal Meloun
On 30.11.2020 17:02, Ian Lepore wrote: On Mon, 2020-11-30 at 14:51 +, Michal Meloun wrote: Author: mmel Date: Mon Nov 30 14:51:48 2020 New Revision: 368187 URL: https://svnweb.freebsd.org/changeset/base/368187 Log: Unbreak r368167 in userland. Decorate unused arguments.

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Bjoern A. Zeeb
On 30 Nov 2020, at 14:53, cglogic wrote: So you propose to make it dependent on linuxkpi? What have to do a user who does not compile linuxkpi, but wants to use if_wg? If we’d move the implementations into linuxkpi you’d have to compile it to use if_wg. So that this however is only a

svn commit: r368189 - head/sys/vm

2020-11-30 Thread Mark Johnston
Author: markj Date: Mon Nov 30 16:18:33 2020 New Revision: 368189 URL: https://svnweb.freebsd.org/changeset/base/368189 Log: uma: Avoid allocating buckets with the cross-domain lock held Allocation of a bucket can trigger a cross-domain free in the bucket zone, e.g., if the per-CPU alloc

Re: svn commit: r368187 - head/sys/dev/nvme

2020-11-30 Thread Ian Lepore
On Mon, 2020-11-30 at 14:51 +, Michal Meloun wrote: > Author: mmel > Date: Mon Nov 30 14:51:48 2020 > New Revision: 368187 > URL: https://svnweb.freebsd.org/changeset/base/368187 > > Log: > Unbreak r368167 in userland. Decorate unused arguments. > > Reported by:kp, tuexen,

Re: svn commit: r368167 - head/sys/dev/nvme

2020-11-30 Thread Michal Meloun
On 30.11.2020 11:35, Michael Tuexen wrote: On 30. Nov 2020, at 08:01, Michal Meloun wrote: Author: mmel Date: Mon Nov 30 07:01:12 2020 New Revision: 368167 URL: https://svnweb.freebsd.org/changeset/base/368167 Log: NVME: Don't try to swap data on little endian machines. These swapping

svn commit: r368188 - head/tools/tools/ifinfo

2020-11-30 Thread Olivier Cochard
Author: olivier (ports committer) Date: Mon Nov 30 15:04:35 2020 New Revision: 368188 URL: https://svnweb.freebsd.org/changeset/base/368188 Log: Fix compilation on head and while here: - remove unwanted whitespaces - remove useless function ifphys() - fix the Makefile to install it into

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread cglogic via svn-src-head
On Monday, November 30, 2020 3:44 PM, Bjoern A. Zeeb wrote: > On 30 Nov 2020, at 9:27, Emmanuel Vadot wrote: > > > On Mon, 30 Nov 2020 01:13:12 + > > "Bjoern A. Zeeb" bzeeb-li...@lists.zabbadoz.net wrote: > > > > > On 29 Nov 2020, at 19:38, Matt Macy wrote: > > > > > > > Author: mmacy > > >

svn commit: r368187 - head/sys/dev/nvme

2020-11-30 Thread Michal Meloun
Author: mmel Date: Mon Nov 30 14:51:48 2020 New Revision: 368187 URL: https://svnweb.freebsd.org/changeset/base/368187 Log: Unbreak r368167 in userland. Decorate unused arguments. Reported by: kp, tuexen, jenkins, and many others MFC with: r368167 Modified:

svn commit: r368186 - head/sys/cam/mmc

2020-11-30 Thread Emmanuel Vadot
Author: manu Date: Mon Nov 30 14:49:13 2020 New Revision: 368186 URL: https://svnweb.freebsd.org/changeset/base/368186 Log: mmccam: Convert some printf to CAM_DEBUG This not not useful if you are not debuging mmccam Modified: head/sys/cam/mmc/mmc_xpt.c Modified:

svn commit: r368185 - head/sys/arm/allwinner

2020-11-30 Thread Emmanuel Vadot
Author: manu Date: Mon Nov 30 14:48:50 2020 New Revision: 368185 URL: https://svnweb.freebsd.org/changeset/base/368185 Log: arm: allwinner: aw_mmc: Add a sysctl for debuging Add a new hw.aw_mmc.debug sysctl to help debugging the driver. Bit 0 will debug card changes (removal, insertion,

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Bjoern A. Zeeb
On 30 Nov 2020, at 9:27, Emmanuel Vadot wrote: On Mon, 30 Nov 2020 01:13:12 + "Bjoern A. Zeeb" wrote: On 29 Nov 2020, at 19:38, Matt Macy wrote: Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL: https://svnweb.freebsd.org/changeset/base/368163 Log: Import kernel

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Bjoern A. Zeeb
On 29 Nov 2020, at 19:38, Matt Macy wrote: Hi, Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL: https://svnweb.freebsd.org/changeset/base/368163 Log: Import kernel WireGuard support Data path largely shared with the OpenBSD implementation by Matt Dunwoodie MFC

svn commit: r368184 - in head/sys: dev/vt kern sys

2020-11-30 Thread Toomas Soome
Author: tsoome Date: Mon Nov 30 11:45:47 2020 New Revision: 368184 URL: https://svnweb.freebsd.org/changeset/base/368184 Log: vt: if loader did pass the font via metadata, use it The built in 8x16 font may be way too small with large framebuffer resolutions, to improve readability, use

Re: svn commit: r368167 - head/sys/dev/nvme

2020-11-30 Thread Michael Tuexen
> On 30. Nov 2020, at 08:01, Michal Meloun wrote: > > Author: mmel > Date: Mon Nov 30 07:01:12 2020 > New Revision: 368167 > URL: https://svnweb.freebsd.org/changeset/base/368167 > > Log: > NVME: Don't try to swap data on little endian machines. > These swapping functions violate BUSDMA

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

2020-11-30 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 30 09:47:53 2020 New Revision: 368182 URL: https://svnweb.freebsd.org/changeset/base/368182 Log: Use function macro for sema_init() in the LinuxKPI to limit macro expansion scope. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Emmanuel Vadot
On Mon, 30 Nov 2020 01:13:12 + "Bjoern A. Zeeb" wrote: > On 29 Nov 2020, at 19:38, Matt Macy wrote: > > > Author: mmacy > > Date: Sun Nov 29 19:38:03 2020 > > New Revision: 368163 > > URL: https://svnweb.freebsd.org/changeset/base/368163 > > > > Log: > > Import kernel WireGuard support >

svn commit: r368169 - head/sys/dev/hyperv/vmbus

2020-11-30 Thread Toomas Soome
Author: tsoome Date: Mon Nov 30 08:31:41 2020 New Revision: 368169 URL: https://svnweb.freebsd.org/changeset/base/368169 Log: fix vmbus_fb_mmio_res after r368168 mixed efifb versus vbefb struct use did slip in by mistake. Modified: head/sys/dev/hyperv/vmbus/vmbus.c Modified:

svn commit: r368168 - in head/sys: amd64/conf conf dev/hyperv/vmbus dev/vt/hw/vbefb i386/conf kern x86/include

2020-11-30 Thread Toomas Soome
Author: tsoome Date: Mon Nov 30 08:22:40 2020 New Revision: 368168 URL: https://svnweb.freebsd.org/changeset/base/368168 Log: Add VT driver for VBE framebuffer device Implement vt_vbefb to support Vesa Bios Extensions (VBE) framebuffer with VT. vt_vbefb is built based on vt_efifb and is