svn commit: r367917 - head/sys/dev/cxgbe

2020-11-20 Thread Navdeep Parhar
Author: np Date: Sat Nov 21 03:27:32 2020 New Revision: 367917 URL: https://svnweb.freebsd.org/changeset/base/367917 Log: cxgbe(4): Catch up with in-flight netmap rx before destroying queues. The netmap application using the driver is responsible for replenishing the receive freelists and

svn commit: r367916 - head/sys/dev/siis

2020-11-20 Thread Alexander Motin
Author: mav Date: Sat Nov 21 00:53:31 2020 New Revision: 367916 URL: https://svnweb.freebsd.org/changeset/base/367916 Log: Unlucky change... MFC after:3 days Modified: head/sys/dev/siis/siis.c Modified: head/sys/dev/siis/siis.c ===

svn commit: r367915 - in head/sys/dev: ahci siis

2020-11-20 Thread Alexander Motin
Author: mav Date: Sat Nov 21 00:51:39 2020 New Revision: 367915 URL: https://svnweb.freebsd.org/changeset/base/367915 Log: Fix stupid math mistake in r366922. MFC after:3 days Modified: head/sys/dev/ahci/ahci.c head/sys/dev/siis/siis.c Modified: head/sys/dev/ahci/ahci.c ==

svn commit: r367913 - head/sbin/mount_nfs

2020-11-20 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 20 22:29:38 2020 New Revision: 367913 URL: https://svnweb.freebsd.org/changeset/base/367913 Log: Document the new "tls" NFS mount option. Recent commits to head have added support for NFS over TLS to the FreeBSD kernel. To enable use of this for an NFS mou

svn commit: r367912 - head/usr.sbin/mountd

2020-11-20 Thread Rick Macklem
Author: rmacklem Date: Fri Nov 20 22:14:51 2020 New Revision: 367912 URL: https://svnweb.freebsd.org/changeset/base/367912 Log: Update man page for new TLS export options. NFS over TLS uses three new export options, added by r364979. This patch updates the exports.5 man page for these new

svn commit: r367911 - head/sys/kern

2020-11-20 Thread Kirk McKusick
Author: mckusick Date: Fri Nov 20 20:22:01 2020 New Revision: 367911 URL: https://svnweb.freebsd.org/changeset/base/367911 Log: Only attempt a VOP_UNLOCK() when the vn_lock() has been successful. No MFC as this code is not present in 12-stable. Reported by: Peter Holm Reviewed by:

svn commit: r367910 - in head: . share/man/man7

2020-11-20 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 20 20:11:59 2020 New Revision: 367910 URL: https://svnweb.freebsd.org/changeset/base/367910 Log: Add lists for customizing legacy and bootstrap-tools. Reviewed by: arichardson Sponsored by: Dell EMC Differential Revision:https://reviews.freebsd.or

svn commit: r367909 - head/sys/dev/isp

2020-11-20 Thread Alexander Motin
Author: mav Date: Fri Nov 20 19:36:34 2020 New Revision: 367909 URL: https://svnweb.freebsd.org/changeset/base/367909 Log: Increase queue depths from 1024/256 to 8192/1024 IOCBs. Qlogic chips store S/G lists in the same queue as requests themselves. In the worst case 1MB I/O may require

svn commit: r367908 - head/sys/powerpc/powerpc

2020-11-20 Thread Alfredo Dal'Ava Junior
Author: alfredo Date: Fri Nov 20 18:52:37 2020 New Revision: 367908 URL: https://svnweb.freebsd.org/changeset/base/367908 Log: [POWERPC] print uprintf_signal 'type' field in hex Print 'type' field in hex to improve readability Reviewed by: jhibbits Differential Revision:http

svn commit: r367907 - head

2020-11-20 Thread Alfredo Dal'Ava Junior
Author: alfredo Date: Fri Nov 20 18:42:01 2020 New Revision: 367907 URL: https://svnweb.freebsd.org/changeset/base/367907 Log: [POWERPC64LE,POWEPCSPE] set default kernel config for powerpc64le and powerpcspe variants Default KERNCONF for powerpc64le should be GENERIC64, and powerpcspe shou

svn commit: r367906 - head/sys/dev/isp

2020-11-20 Thread Alexander Motin
Author: mav Date: Fri Nov 20 18:02:04 2020 New Revision: 367906 URL: https://svnweb.freebsd.org/changeset/base/367906 Log: Cleanup DMA handling. - Make isp_start() to set all the IOCB fields aside of S/G list, removing extra information from isp_send_cmd(), now only doing S/G lists and s

svn commit: r367905 - head/cddl/contrib/opensolaris/common/ctf

2020-11-20 Thread Jonathan T. Looney
Author: jtl Date: Fri Nov 20 17:26:02 2020 New Revision: 367905 URL: https://svnweb.freebsd.org/changeset/base/367905 Log: When copying types from one CTF container to another, ensure that we encode 0-length (i.e. "") structure and union member names as offset 0. This ensures that we don't c

svn commit: r367904 - head/usr.sbin/wpa/hostapd

2020-11-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Nov 20 17:13:13 2020 New Revision: 367904 URL: https://svnweb.freebsd.org/changeset/base/367904 Log: hostapd.conf(5): Add missing 'l' In r367901 I accidentally deleted the 'l' while fixing a few mandoc erros. Spotted by: Yuri Pankov Modified:

svn commit: r367903 - head/usr.sbin/moused

2020-11-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Nov 20 17:04:49 2020 New Revision: 367903 URL: https://svnweb.freebsd.org/changeset/base/367903 Log: moused(8): Fix a few mandoc warnings - new sentence, new line Modified: head/usr.sbin/moused/moused.8 Modified: head/usr.sbin/moused/moused.8 ==

svn commit: r367902 - head/usr.sbin/crashinfo

2020-11-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Nov 20 16:59:51 2020 New Revision: 367902 URL: https://svnweb.freebsd.org/changeset/base/367902 Log: crashinfo(8): Fix a few mandoc warnings - new sentence, new line Modified: head/usr.sbin/crashinfo/crashinfo.8 Modified: head/usr.sbin/crashinfo/cra

svn commit: r367901 - head/usr.sbin/wpa/hostapd

2020-11-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Nov 20 16:57:06 2020 New Revision: 367901 URL: https://svnweb.freebsd.org/changeset/base/367901 Log: hostapd.conf(5): Fix a mandoc warning - new sentence, new line Modified: head/usr.sbin/wpa/hostapd/hostapd.conf.5 Modified: head/usr.sbin/wpa/hostap

svn commit: r367900 - head/usr.sbin/syslogd

2020-11-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Nov 20 16:50:52 2020 New Revision: 367900 URL: https://svnweb.freebsd.org/changeset/base/367900 Log: syslog.conf(5): Fix a few mandoc warnings - new sentence, new line - skipping paragraph macro: Pp at the end of Sh Modified: head/usr.sbin/syslogd/

svn commit: r367899 - head/usr.sbin/bsnmpd/modules/snmp_wlan

2020-11-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Nov 20 16:46:51 2020 New Revision: 367899 URL: https://svnweb.freebsd.org/changeset/base/367899 Log: snmp_wlan(3): Fix mandoc warnings - new sentence, new line Modified: head/usr.sbin/bsnmpd/modules/snmp_wlan/snmp_wlan.3 Modified: head/usr.sbin/bsnm

svn commit: r367898 - head/usr.bin/iscsictl

2020-11-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Nov 20 16:41:32 2020 New Revision: 367898 URL: https://svnweb.freebsd.org/changeset/base/367898 Log: iscsi.conf(5): Fix a mandoc warning - new sentence, new line Modified: head/usr.bin/iscsictl/iscsi.conf.5 Modified: head/usr.bin/iscsictl/iscsi.conf

svn commit: r367897 - head/sbin/devmatch

2020-11-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Nov 20 16:34:01 2020 New Revision: 367897 URL: https://svnweb.freebsd.org/changeset/base/367897 Log: devmatch(8): Fix section ordering - sections out of conventional order: Sh HISTORY Modified: head/sbin/devmatch/devmatch.8 Modified: head/sbin/devma

svn commit: r367896 - head/sys/riscv/riscv

2020-11-20 Thread Mitchell Horne
Author: mhorne Date: Fri Nov 20 15:21:10 2020 New Revision: 367896 URL: https://svnweb.freebsd.org/changeset/base/367896 Log: riscv: always initialize the static kernel environment Ensure we initialize the static environment when not booting via loader(8), and provide a static buffer if t

svn commit: r367895 - head/sys/fs/msdosfs

2020-11-20 Thread Konstantin Belousov
Author: kib Date: Fri Nov 20 15:19:30 2020 New Revision: 367895 URL: https://svnweb.freebsd.org/changeset/base/367895 Log: msdosfs: suspend around unmount or remount rw->ro. This also eliminates unsafe use of VFS_SYNC(MNT_WAIT). Requested by: mckusick Discussed with: imp Test

svn commit: r367894 - head/sys/net

2020-11-20 Thread Mitchell Horne
Author: mhorne Date: Fri Nov 20 14:45:45 2020 New Revision: 367894 URL: https://svnweb.freebsd.org/changeset/base/367894 Log: Make net/ifq.h C++ friendly Don't use "new" as an identifier, and add explicit casts from void *. As a general policy, FreeBSD doesn't make any C++ compatibilit

svn commit: r367893 - head/libexec/rc/rc.d

2020-11-20 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Fri Nov 20 14:37:07 2020 New Revision: 367893 URL: https://svnweb.freebsd.org/changeset/base/367893 Log: Revert r367291 (KEYWORD: shutdown for rc.d/zfs) The problem is that zfs is asked to stop too early in the shutdown sequence. Other services, suc

svn commit: r367892 - head/sys/dev/sound/pcm

2020-11-20 Thread Konstantin Belousov
Author: kib Date: Fri Nov 20 14:02:43 2020 New Revision: 367892 URL: https://svnweb.freebsd.org/changeset/base/367892 Log: Unlock channels when any of them are locked, when returning for non-busy state. Reported and tested by: "Wall, Stephen" Sponsored by: The FreeBSD Foundation

Re: svn commit: r367530 - in head/sys/netinet: . tcp_stacks

2020-11-20 Thread Michael Tuexen
On 20. Nov 2020, at 00:13, John Baldwin wrote: > > On 11/19/20 2:55 PM, John Baldwin wrote: >> On 11/9/20 1:49 PM, Michael Tuexen wrote: >>> Author: tuexen >>> Date: Mon Nov 9 21:49:40 2020 >>> New Revision: 367530 >>> URL: https://svnweb.freebsd.org/changeset/base/367530 >>> >>> Log: >>> RFC

svn commit: r367891 - head/sys/netinet

2020-11-20 Thread Michael Tuexen
Author: tuexen Date: Fri Nov 20 13:00:28 2020 New Revision: 367891 URL: https://svnweb.freebsd.org/changeset/base/367891 Log: Fix an issue I introuced in r367530: tcp_twcheck() can be called with to == NULL for SYN segments. So don't assume tp != NULL. Thanks to jhb@ for reporting and sugges

svn commit: r367890 - head/sys/fs/msdosfs

2020-11-20 Thread Konstantin Belousov
Author: kib Date: Fri Nov 20 12:31:02 2020 New Revision: 367890 URL: https://svnweb.freebsd.org/changeset/base/367890 Log: msdosfs: Add trivial support for suspension. Tested by:pho (previous version) Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

svn commit: r367889 - head/sbin/camcontrol

2020-11-20 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Nov 20 11:45:08 2020 New Revision: 367889 URL: https://svnweb.freebsd.org/changeset/base/367889 Log: camcontrol(8): Fix some warnings spotted by mandoc - skipping paragraph macro: Pp before Bl Modified: head/sbin/camcontrol/camcontrol.8 Modified: he

svn commit: r367888 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:31:25 2020 New Revision: 367888 URL: https://svnweb.freebsd.org/changeset/base/367888 Log: if_dwc: Add checksum offloading support Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c

svn commit: r367887 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:31:04 2020 New Revision: 367887 URL: https://svnweb.freebsd.org/changeset/base/367887 Log: if_dwc: Add flow control support Modified: head/sys/dev/dwc/if_dwc.c head/sys/dev/dwc/if_dwc.h Modified: head/sys/dev/dwc/if_dwc.c ===

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

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:30:44 2020 New Revision: 367886 URL: https://svnweb.freebsd.org/changeset/base/367886 Log: if_awg: Add a awg_dma_start_tx function that trigger dma engine No functional changes intended Modified: head/sys/arm/allwinner/if_awg.c Modified: head/sys/arm/all

svn commit: r367885 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:30:23 2020 New Revision: 367885 URL: https://svnweb.freebsd.org/changeset/base/367885 Log: if_dwc: Use if_ function where appropriate No functional changes intended Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c =

svn commit: r367884 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:30:01 2020 New Revision: 367884 URL: https://svnweb.freebsd.org/changeset/base/367884 Log: if_dwc: Reorder functions and sort them by usage No functional changes intended Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c ===

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

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:29:37 2020 New Revision: 367883 URL: https://svnweb.freebsd.org/changeset/base/367883 Log: if_awg: Reorder functions and sort them by usage No functional changes intended Modified: head/sys/arm/allwinner/if_awg.c Modified: head/sys/arm/allwinner/if_awg.c

svn commit: r367882 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:29:20 2020 New Revision: 367882 URL: https://svnweb.freebsd.org/changeset/base/367882 Log: if_dwc: dwc_get_hwaddr cannot fail, change return to void No functional changes intended Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c ==

svn commit: r367881 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:29:00 2020 New Revision: 367881 URL: https://svnweb.freebsd.org/changeset/base/367881 Log: if_dwc: Add dwc_stop_dma and use it in dwc_stop_locked No functional changes intended Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c =

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

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:28:23 2020 New Revision: 367880 URL: https://svnweb.freebsd.org/changeset/base/367880 Log: if_awg: Add awg_stop_dma and use it in awg_stop No functional changes intended Modified: head/sys/arm/allwinner/if_awg.c Modified: head/sys/arm/allwinner/if_awg.c

svn commit: r367879 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:28:06 2020 New Revision: 367879 URL: https://svnweb.freebsd.org/changeset/base/367879 Log: if_dwc: Use dwc_enable_mac in dwc_stop_locked No functional changes intended Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c ==

svn commit: r367878 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:27:43 2020 New Revision: 367878 URL: https://svnweb.freebsd.org/changeset/base/367878 Log: if_dwc: Add a function to enable/disable the mac tx/rx No functional changes intended Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c =

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

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:27:26 2020 New Revision: 367877 URL: https://svnweb.freebsd.org/changeset/base/367877 Log: if_awg: Add a function to enable/disable the mac tx/rx No functional changes intended Modified: head/sys/arm/allwinner/if_awg.c Modified: head/sys/arm/allwinner/if

svn commit: r367876 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:27:08 2020 New Revision: 367876 URL: https://svnweb.freebsd.org/changeset/base/367876 Log: if_dwc: Use if_setdrvflagbits to notify that we are running No functional changes intended Modified: head/sys/dev/dwc/if_dwc.c Modified: head/sys/dev/dwc/if_dwc.c

svn commit: r367875 - head/sys/dev/dwc

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:26:46 2020 New Revision: 367875 URL: https://svnweb.freebsd.org/changeset/base/367875 Log: if_dwc: Split init code into sub function Be clear of what we enable or init. No functional changes intended Modified: head/sys/dev/dwc/if_dwc.c Modified: hea

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

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:26:20 2020 New Revision: 367874 URL: https://svnweb.freebsd.org/changeset/base/367874 Log: if_awg: Split init code into sub function Be clear of what we enable or init. No functional changes intended Modified: head/sys/arm/allwinner/if_awg.c Modifie

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

2020-11-20 Thread Emmanuel Vadot
Author: manu Date: Fri Nov 20 11:25:54 2020 New Revision: 367873 URL: https://svnweb.freebsd.org/changeset/base/367873 Log: if_awg: Remove the taskqueue for miibus_statchg I guess it was added so we can obtain the device lock but we already have it when the function is called. No fun

svn commit: r367869 - head/tests/sys/netpfil/pf

2020-11-20 Thread Kristof Provost
Author: kp Date: Fri Nov 20 10:11:03 2020 New Revision: 367869 URL: https://svnweb.freebsd.org/changeset/base/367869 Log: pf tests: Basic source tracking test MFC after:1 week Differential Revision:https://reviews.freebsd.org/D27255 Added: head/tests/sys/netpfil/pf/src_trac

svn commit: r367867 - head/sys/netpfil/pf

2020-11-20 Thread Kristof Provost
Author: kp Date: Fri Nov 20 10:08:33 2020 New Revision: 367867 URL: https://svnweb.freebsd.org/changeset/base/367867 Log: pf: Fix incorrect assertion We never set PFRULE_RULESRCTRACK when calling pf_insert_src_node(). We do set PFRULE_SRCTRACK, so update the assertion to match. MFC a

svn commit: r367866 - head/usr.bin/grep

2020-11-20 Thread Eugene Grosbein
Author: eugen Date: Fri Nov 20 09:56:46 2020 New Revision: 367866 URL: https://svnweb.freebsd.org/changeset/base/367866 Log: bzgrep: make flag --no-filename work PR: 248813 MFC after:1 week Modified: head/usr.bin/grep/zgrep.sh Modified: head/usr.bin/grep/zgrep.sh ===

svn commit: r367865 - head/sys/kern

2020-11-20 Thread Michal Meloun
Author: mmel Date: Fri Nov 20 09:05:36 2020 New Revision: 367865 URL: https://svnweb.freebsd.org/changeset/base/367865 Log: Also pass interrupt binding request to non-root interrupt controllers. There are message based controllers that can bind interrupts even if they are not implemented as