svn commit: r333291 - head/sys/net

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:57:52 2018 New Revision: 333291 URL: https://svnweb.freebsd.org/changeset/base/333291 Log: Add netdump support to iflib. em(4) and igb(4) were tested by me, and ixgbe(4) and bnxt(4) were tested by sbruno. Reviewed by: mmacy, shurd MFC after:1

svn commit: r333290 - head/sys/dev/virtio/network

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:53:52 2018 New Revision: 333290 URL: https://svnweb.freebsd.org/changeset/base/333290 Log: Add netdump support to vtnet(4). Tested with bhyve. Reviewed by: bryanv, julian MFC after:1 month Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r333289 - head/sys/dev/re

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:52:17 2018 New Revision: 333289 URL: https://svnweb.freebsd.org/changeset/base/333289 Log: Add netdump support to re(4). Tested with a RealTek 8101E adapter. Reviewed by: sbruno MFC after:1 month Sponsored by: Dell EMC Isilon Differential Re

svn commit: r333288 - head/sys/dev/cxgb

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:48:43 2018 New Revision: 333288 URL: https://svnweb.freebsd.org/changeset/base/333288 Log: Add netdump support to cxgb(4). Tested with a T320 adapter. Reviewed by: np MFC after:1 month Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r333287 - head/sys/dev/bxe

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:47:39 2018 New Revision: 333287 URL: https://svnweb.freebsd.org/changeset/base/333287 Log: Add netdump support to bxe(4). Tested with a NetXtreme II BCM57810 adapter. Reviewed by: davidcs MFC after:1 month Sponsored by: Dell EMC Isilon Diffe

svn commit: r333286 - head/sys/dev/bge

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:45:41 2018 New Revision: 333286 URL: https://svnweb.freebsd.org/changeset/base/333286 Log: Add netdump hooks to bge(4). Tested with a NetXtreme BCM5727 adapter. Reviewed by: julian MFC after:1 month Sponsored by: Dell EMC Isilon Differential

svn commit: r333284 - head/sbin/dumpon

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:42:30 2018 New Revision: 333284 URL: https://svnweb.freebsd.org/changeset/base/333284 Log: Add netdump support to dumpon(8). A new usage is added so that parameters for netdump may be specified. Specifically, one configures an interface for netdump with:

svn commit: r333285 - head/sys/dev/alc

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:43:46 2018 New Revision: 333285 URL: https://svnweb.freebsd.org/changeset/base/333285 Log: Add netdump hooks to alc(4). Tested with an AR8162. Reviewed by: julian, sbruno MFC after:1 month Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r333283 - in head: etc/mtree include share/man/man4 sys/conf sys/net sys/netinet/netdump

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:38:29 2018 New Revision: 333283 URL: https://svnweb.freebsd.org/changeset/base/333283 Log: Import the netdump client code. This is a component of a system which lets the kernel dump core to a remote host after a panic, rather than to a local storage devic

svn commit: r333282 - in head/sys: dev/null geom kern sys

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:22:38 2018 New Revision: 333282 URL: https://svnweb.freebsd.org/changeset/base/333282 Log: Refactor some of the MI kernel dump code in preparation for netdump. - Add clear_dumper() to complement set_dumper(). - Drain netdump's preallocated mbuf pool when

svn commit: r333281 - in head/sys: kern sys

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:19:48 2018 New Revision: 333281 URL: https://svnweb.freebsd.org/changeset/base/333281 Log: Add an mbuf allocator for netdump. The aim is to permit mbuf allocations after a panic without calling into the page allocator, without imposing any runtime overhea

svn commit: r333280 - head/sys/kern

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:11:30 2018 New Revision: 333280 URL: https://svnweb.freebsd.org/changeset/base/333280 Log: Style. MFC after:3 days Modified: head/sys/kern/kern_mbuf.c Modified: head/sys/kern/kern_mbuf.c ==

svn commit: r333279 - head/sys/geom/mirror

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:05:03 2018 New Revision: 333279 URL: https://svnweb.freebsd.org/changeset/base/333279 Log: Remove a redundant assertion. MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/sys/geom/mirror/g_mirror.c Modified: head/sys/geom/mirror/g_mirr

svn commit: r333278 - head/sys/geom/mirror

2018-05-05 Thread Mark Johnston
Author: markj Date: Sun May 6 00:03:24 2018 New Revision: 333278 URL: https://svnweb.freebsd.org/changeset/base/333278 Log: Avoid dropping the topology lock in gmirror's dumpconf implementation. Doing so introduces races which can lead to a use-after-free when grabbing a snapshot of the

svn commit: r333277 - in head/sys: netinet netinet6

2018-05-05 Thread Matt Macy
Author: mmacy Date: Sat May 5 22:40:40 2018 New Revision: 333277 URL: https://svnweb.freebsd.org/changeset/base/333277 Log: Currently in_pcbfree will unconditionally wunlock the pcbinfo lock to avoid a LOR on the multicast list lock in the freemoptions routines. As it turns out, tcp_usr_det

svn commit: r333276 - in head/sys: conf dev/cxgbe dev/cxgbe/common dev/cxgbe/firmware modules/cxgbe/t4_firmware modules/cxgbe/t5_firmware modules/cxgbe/t6_firmware

2018-05-05 Thread Navdeep Parhar
Author: np Date: Sat May 5 20:16:08 2018 New Revision: 333276 URL: https://svnweb.freebsd.org/changeset/base/333276 Log: cxgbe(4): Update all firmwares to 1.19.1.0. These firmwares and the following list of changes are from the public ChelsioUwire-3.7.1.0 release. T6 Firmware ===

svn commit: r333275 - head/sbin/nvmecontrol

2018-05-05 Thread Alexander Motin
Author: mav Date: Sat May 5 20:08:03 2018 New Revision: 333275 URL: https://svnweb.freebsd.org/changeset/base/333275 Log: Add NVMe Namespace Management support to nvmecontrol(8). This allows create/delete/attach/detach namespaces on new NVMe controllers. This is only a first user-level p

svn commit: r333274 - head/share/mk

2018-05-05 Thread Sean Bruno
Author: sbruno Date: Sat May 5 18:39:54 2018 New Revision: 333274 URL: https://svnweb.freebsd.org/changeset/base/333274 Log: Remove accidentally committed debug statement that induced the following warning: make[3]: "/usr/src/share/mk/bsd.prog.mk" line 274: warning: duplicate script fo

Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-05 Thread Mateusz Guzik
On Sat, May 5, 2018 at 2:00 PM, Alexey Dokuchaev wrote: > On Sat, May 05, 2018 at 10:38:29AM +1000, Bruce Evans wrote: > > ... > > Summary: this change wouldn't have passed my review. I have used similar > > changes for 15-20 years but never made them production quality since > there > > are too

Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-05 Thread Mateusz Guzik
On Sat, May 5, 2018 at 2:38 AM, Bruce Evans wrote: I don't believe the claimed speeding of using the optimized bcopy() > in cpu_fetch_sycall_args() on amd64 (r333241). This changes the copy > size from a variable to 6*8 bytes. It is claimed to speed up getppid() > from 7.31M/sec to 10.65M/sec o

svn commit: r333273 - in head/sys/powerpc: aim include pseries

2018-05-05 Thread Justin Hibbits
Author: jhibbits Date: Sat May 5 16:00:02 2018 New Revision: 333273 URL: https://svnweb.freebsd.org/changeset/base/333273 Log: Add support for powernv POWER9 MMU initialization The POWER9 MMU (PowerISA 3.0) is slightly different from current configurations, using a partition table even f

svn commit: r333272 - in head/sys/powerpc: include powerpc

2018-05-05 Thread Justin Hibbits
Author: jhibbits Date: Sat May 5 15:48:39 2018 New Revision: 333272 URL: https://svnweb.freebsd.org/changeset/base/333272 Log: Break out the cpu_features setup to its own function, to be run earlier The new POWER9 MMU configuration is slightly different from current setups. Rather than s

svn commit: r333271 - in head/sys/powerpc: aim powerpc

2018-05-05 Thread Justin Hibbits
Author: jhibbits Date: Sat May 5 15:42:58 2018 New Revision: 333271 URL: https://svnweb.freebsd.org/changeset/base/333271 Log: Add POWER9 to the POWER8 bootstrap case blocks POWER8 and POWER9 have similar configuration requirements for hypervisor setup, and in the cases here they're ide

Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-05 Thread Alexey Dokuchaev
On Sat, May 05, 2018 at 10:38:29AM +1000, Bruce Evans wrote: > ... > Summary: this change wouldn't have passed my review. I have used similar > changes for 15-20 years but never made them production quality since there > are too many variations to consider and testing showed insignificant > improv

Re: svn commit: r333175 - in head/sys: kern net netinet netinet6 sys: TRAP 12

2018-05-05 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Thu, 3 May 2018 22:23:52 +0200 "O. Hartmann" schrieb: I'm not familiar with kernel debugging, so there are some struggles. After compiling a debugging kernel on Version String: FreeBSD 12.0-CURRENT #2 r333269: Sat May 5 08:10:32 CEST 2018

svn commit: r333270 - in head: . share/skel

2018-05-05 Thread Eitan Adler
) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20180505: rhosts +OLD_FILES+=usr/share/skel/dot.rhosts # 20180502: retire ixgb OLD_FILES+=usr/share/man/man4/if_ixgb.4.gz OLD_FILES+=usr/share/man/man4/ixgb.4.gz Modified: head/share/skel/Makefile