svn commit: r347380 - stable/11/sys/cam/scsi

2019-05-08 Thread Alexander Motin
Author: mav Date: Thu May 9 04:16:31 2019 New Revision: 347380 URL: https://svnweb.freebsd.org/changeset/base/347380 Log: MFC r347198: Drop periph lock around cam_periph_unmapmem(). Since r345656 it may call copyout(), that may sleep. Modified: stable/11/sys/cam/scsi/scsi_pass.c

svn commit: r347379 - stable/12/sys/cam/scsi

2019-05-08 Thread Alexander Motin
Author: mav Date: Thu May 9 04:16:06 2019 New Revision: 347379 URL: https://svnweb.freebsd.org/changeset/base/347379 Log: MFC r347198: Drop periph lock around cam_periph_unmapmem(). Since r345656 it may call copyout(), that may sleep. Modified: stable/12/sys/cam/scsi/scsi_pass.c

svn commit: r347378 - in stable: 11/sys/geom 11/sys/net 12/sys/geom 12/sys/net

2019-05-08 Thread Kyle Evans
Author: kevans Date: Thu May 9 03:51:34 2019 New Revision: 347378 URL: https://svnweb.freebsd.org/changeset/base/347378 Log: MFC r346602, r346670-r346671, r347183: tun/tap race fixes r346602: tun(4): Defer clearing TUN_OPEN until much later tun destruction will not continue until

svn commit: r347378 - in stable: 11/sys/geom 11/sys/net 12/sys/geom 12/sys/net

2019-05-08 Thread Kyle Evans
Author: kevans Date: Thu May 9 03:51:34 2019 New Revision: 347378 URL: https://svnweb.freebsd.org/changeset/base/347378 Log: MFC r346602, r346670-r346671, r347183: tun/tap race fixes r346602: tun(4): Defer clearing TUN_OPEN until much later tun destruction will not continue until

svn commit: r347376 - stable/11/sys/net

2019-05-08 Thread Kyle Evans
Author: kevans Date: Thu May 9 01:16:03 2019 New Revision: 347376 URL: https://svnweb.freebsd.org/changeset/base/347376 Log: MFC r339121 (tuexen): Use strlcpy() instead of strncpy(). CID: 1395980, 1395981 Modified: stable/11/sys/net/if_tap.c stable/11/sys/net/if_tun.c

svn commit: r347375 - in head/sys: net netinet

2019-05-08 Thread Gleb Smirnoff
Author: glebius Date: Wed May 8 23:39:24 2019 New Revision: 347375 URL: https://svnweb.freebsd.org/changeset/base/347375 Log: Existense of PCB route caching doesn't allow us to use new fast route lookup KPI in ip_output() like it is already used in ip_forward(). However, when there is no

svn commit: r347374 - stable/11/sys/amd64/vmm/io

2019-05-08 Thread John Baldwin
Author: jhb Date: Wed May 8 23:24:47 2019 New Revision: 347374 URL: https://svnweb.freebsd.org/changeset/base/347374 Log: MFC 333174: Use PCI power-mgmt to reset a device if FLR fails. A large number of devices don't support PCIe FLR, in particular graphics adapters. Use PCI power

svn commit: r347373 - stable/11/sys/net

2019-05-08 Thread Eric Joyner
Author: erj Date: Wed May 8 23:13:27 2019 New Revision: 347373 URL: https://svnweb.freebsd.org/changeset/base/347373 Log: iflib: Add missing return statement that was left out from r347197 Modified: stable/11/sys/net/iflib.c Modified: stable/11/sys/net/iflib.c

svn commit: r347371 - head/etc

2019-05-08 Thread Emmanuel Vadot
Author: manu Date: Wed May 8 21:26:11 2019 New Revision: 347371 URL: https://svnweb.freebsd.org/changeset/base/347371 Log: etc/Makefile: Remove empty newline This was commited accidently in r347356 and cause distribution with NO_ROOT set to fail. Reported by: ci, kib MFC after:

svn commit: r347370 - head/release/tools

2019-05-08 Thread Colin Percival
Author: cperciva Date: Wed May 8 21:03:03 2019 New Revision: 347370 URL: https://svnweb.freebsd.org/changeset/base/347370 Log: Bump EC2 AMI filesystem size up to 4000 MB. AMIs have been breaking for the past month due to insufficient disk space. Due to the small amount of overhead in

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

2019-05-08 Thread Warner Losh
Author: imp Date: Wed May 8 20:18:11 2019 New Revision: 347369 URL: https://svnweb.freebsd.org/changeset/base/347369 Log: rename nvme_ctrlr_destroy_qpair to nvme_ctrlr_destroy_qpairs Maintain symmetry with nvme_ctrlr_create_qpairs, making it easier to match init/uninit scenarios.

svn commit: r347368 - head/sys/dev/cpuctl

2019-05-08 Thread Konstantin Belousov
Author: kib Date: Wed May 8 20:01:09 2019 New Revision: 347368 URL: https://svnweb.freebsd.org/changeset/base/347368 Log: x86: Put other CPUs into tight loop when updating Intel microcode from loaded OS. This should prevent at least some theoretical issues whith code execution on HT

svn commit: r347365 - head/sys/dev/dme

2019-05-08 Thread Brooks Davis
Author: brooks Date: Wed May 8 19:05:58 2019 New Revision: 347365 URL: https://svnweb.freebsd.org/changeset/base/347365 Log: Update dme(4) to reflect that it will not be removed due to FCP-101. dme(4) is the built-in NIC on a couple non-expandable mips platforms and thus should remain.

svn commit: r347364 - vendor/device-tree/5.1

2019-05-08 Thread Emmanuel Vadot
Author: manu Date: Wed May 8 19:01:39 2019 New Revision: 347364 URL: https://svnweb.freebsd.org/changeset/base/347364 Log: Tag import of DTS files from Linux 5.1 Added: vendor/device-tree/5.1/ - copied from r347363, vendor/device-tree/dist/

svn commit: r347363 - in vendor/device-tree/dist: Bindings Bindings/arm Bindings/arm/bcm Bindings/arm/freescale Bindings/arm/socionext Bindings/bus Bindings/clock Bindings/cpufreq Bindings/crypto B...

2019-05-08 Thread Emmanuel Vadot
Author: manu Date: Wed May 8 19:00:46 2019 New Revision: 347363 URL: https://svnweb.freebsd.org/changeset/base/347363 Log: Import Linux 5.1 DTS files Added: vendor/device-tree/dist/Bindings/arm/bitmain.yaml vendor/device-tree/dist/Bindings/arm/freescale/fsl,imx7ulp-sim.txt (contents,

svn commit: r347362 - head/sys/modules/dtb/allwinner

2019-05-08 Thread Emmanuel Vadot
Author: manu Date: Wed May 8 18:56:24 2019 New Revision: 347362 URL: https://svnweb.freebsd.org/changeset/base/347362 Log: dtb: allwinner: Add the pinebook dtb to the build Modified: head/sys/modules/dtb/allwinner/Makefile Modified: head/sys/modules/dtb/allwinner/Makefile

svn commit: r347361 - head/share/man/man3

2019-05-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed May 8 18:49:59 2019 New Revision: 347361 URL: https://svnweb.freebsd.org/changeset/base/347361 Log: Add usage example to tree(3). Obtained from:OpenBSD MFC after:2 weeks Sponsored by: Klara Inc. Modified: head/share/man/man3/tree.3 Modified:

svn commit: r347360 - head/sys/sys

2019-05-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed May 8 18:47:00 2019 New Revision: 347360 URL: https://svnweb.freebsd.org/changeset/base/347360 Log: Mark inline functions with __unused; prevents compiler warning when they end up being unused. Reviewed by: kib Obtained from:OpenBSD MFC after:2

svn commit: r347359 - head/contrib/libxo/tests/core/saved

2019-05-08 Thread Li-Wen Hsu
Author: lwhsu Date: Wed May 8 18:46:12 2019 New Revision: 347359 URL: https://svnweb.freebsd.org/changeset/base/347359 Log: Fix expected output after r347207 While phil is working on fixing in libxo general test parts, updating these files to stop the test failure warnings Approved

Re: svn commit: r347334 - head

2019-05-08 Thread Antoine Brodin
On Wed, May 8, 2019 at 5:21 PM Enji Cooper wrote: > > On May 8, 2019, at 08:17, Antoine Brodin wrote: > > > > Author: antoine > > Date: Wed May 8 15:17:36 2019 > > New Revision: 347334 > > URL: https://svnweb.freebsd.org/changeset/base/347334 > > > > Log: > > Add wc(1) to native-xtools so that

svn commit: r347357 - head/sys/sys

2019-05-08 Thread Matt Macy
Author: mmacy Date: Wed May 8 18:10:19 2019 New Revision: 347357 URL: https://svnweb.freebsd.org/changeset/base/347357 Log: Enable sys/disk.h consumers to avoid pulling in networking headers. The networking headers break ZoF. Modified: head/sys/sys/disk.h Modified: head/sys/sys/disk.h

svn commit: r347356 - head/etc

2019-05-08 Thread Emmanuel Vadot
Author: manu Date: Wed May 8 17:46:59 2019 New Revision: 347356 URL: https://svnweb.freebsd.org/changeset/base/347356 Log: pkgbase: Deal with the last etc files Add tags=package=runtime for password related files. Add tags=package=sendmail for rc.sendmail Add tags=package=ipfw for

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

2019-05-08 Thread Mateusz Guzik
Author: mjg Date: Wed May 8 16:30:38 2019 New Revision: 347355 URL: https://svnweb.freebsd.org/changeset/base/347355 Log: Reduce umtx-related work on exec and exit - there is no need to take the process lock to iterate the thread list after single-threading is enforced - typically

svn commit: r347354 - head/sys/powerpc/booke

2019-05-08 Thread Justin Hibbits
Author: jhibbits Date: Wed May 8 16:15:28 2019 New Revision: 347354 URL: https://svnweb.freebsd.org/changeset/base/347354 Log: powerpc/booke: Rewrite pmap_sync_icache() a bit * Make mmu_booke_sync_icache() use the DMAP on 64-bit prcoesses, no need to map the page into the user's

svn commit: r347353 - stable/11/usr.sbin/rtadvd

2019-05-08 Thread Mark Johnston
Author: markj Date: Wed May 8 16:07:43 2019 New Revision: 347353 URL: https://svnweb.freebsd.org/changeset/base/347353 Log: MFC r346960: Retry upon NET_RT_IFLIST sysctl failure. PR: 195191 Modified: stable/11/usr.sbin/rtadvd/if.c Directory Properties: stable/11/ (props changed)

svn commit: r347350 - head/sys/powerpc/booke

2019-05-08 Thread Justin Hibbits
Author: jhibbits Date: Wed May 8 16:05:18 2019 New Revision: 347350 URL: https://svnweb.freebsd.org/changeset/base/347350 Log: powerpc/booke: Do as much work outside of TLB locks as possible Reduce the surface area of the TLB locks. Unfortunately the same trick for serializing the

svn commit: r347352 - stable/11/sys/vm

2019-05-08 Thread Konstantin Belousov
Author: kib Date: Wed May 8 16:07:01 2019 New Revision: 347352 URL: https://svnweb.freebsd.org/changeset/base/347352 Log: MFC r346990: Fix another race between vm_map_protect() and vm_map_wire(). Modified: stable/11/sys/vm/vm_map.c Directory Properties: stable/11/ (props changed)

svn commit: r347351 - in head/sys: conf riscv/conf

2019-05-08 Thread Ruslan Bukin
Author: br Date: Wed May 8 16:06:54 2019 New Revision: 347351 URL: https://svnweb.freebsd.org/changeset/base/347351 Log: Connect Xilinx AXI drivers and Cadence Ethernet MAC to the RISC-V build. Sponsored by: DARPA, AFRL Modified: head/sys/conf/files.riscv head/sys/riscv/conf/GENERIC

svn commit: r347349 - stable/12/usr.sbin/rtadvd

2019-05-08 Thread Mark Johnston
Author: markj Date: Wed May 8 16:04:33 2019 New Revision: 347349 URL: https://svnweb.freebsd.org/changeset/base/347349 Log: MFC r346960: Retry upon NET_RT_IFLIST sysctl failure. PR: 195191 Modified: stable/12/usr.sbin/rtadvd/if.c Directory Properties: stable/12/ (props changed)

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

2019-05-08 Thread Mark Johnston
Author: markj Date: Wed May 8 16:01:59 2019 New Revision: 347348 URL: https://svnweb.freebsd.org/changeset/base/347348 Log: MFC r346888: Stop checking TD_IDLETHREAD() in buffer cache routines. Modified: stable/12/sys/kern/vfs_bio.c Directory Properties: stable/12/ (props changed)

svn commit: r347346 - stable/12/sys/vm

2019-05-08 Thread Konstantin Belousov
Author: kib Date: Wed May 8 15:44:53 2019 New Revision: 347346 URL: https://svnweb.freebsd.org/changeset/base/347346 Log: MFC r346990: Fix another race between vm_map_protect() and vm_map_wire(). Modified: stable/12/sys/vm/vm_map.c Directory Properties: stable/12/ (props changed)

svn commit: r347347 - in stable: 11/contrib/sqlite3 11/contrib/sqlite3/tea 11/contrib/sqlite3/tea/generic 12/contrib/sqlite3 12/contrib/sqlite3/tea 12/contrib/sqlite3/tea/generic

2019-05-08 Thread Cy Schubert
Author: cy Date: Wed May 8 15:48:55 2019 New Revision: 347347 URL: https://svnweb.freebsd.org/changeset/base/347347 Log: MFC r347139: MFV r347136: Update sqlite3-3.27.2 (3270200) --> sqlite3-3.28.0 (328) Security: CVE-2019-9937, CVE-2019-9936 Modified:

svn commit: r347347 - in stable: 11/contrib/sqlite3 11/contrib/sqlite3/tea 11/contrib/sqlite3/tea/generic 12/contrib/sqlite3 12/contrib/sqlite3/tea 12/contrib/sqlite3/tea/generic

2019-05-08 Thread Cy Schubert
Author: cy Date: Wed May 8 15:48:55 2019 New Revision: 347347 URL: https://svnweb.freebsd.org/changeset/base/347347 Log: MFC r347139: MFV r347136: Update sqlite3-3.27.2 (3270200) --> sqlite3-3.28.0 (328) Security: CVE-2019-9937, CVE-2019-9936 Modified:

svn commit: r347345 - stable/12/sys/x86/x86

2019-05-08 Thread Konstantin Belousov
Author: kib Date: Wed May 8 15:43:22 2019 New Revision: 347345 URL: https://svnweb.freebsd.org/changeset/base/347345 Log: MFC r346851: Remove witness warning, same as r346351 for busdma_dmar. bounce_bus_dmamap_create() does not sleep either. Modified:

svn commit: r347344 - head/sys/dev/xilinx

2019-05-08 Thread Ruslan Bukin
Author: br Date: Wed May 8 15:43:17 2019 New Revision: 347344 URL: https://svnweb.freebsd.org/changeset/base/347344 Log: Add driver for the Xilinx AXI Direct Memory Access (AXI DMA) controller found in the U.S. Government Furnished Equipment (GFE) 64-bit RISC-V cores. Sponsored by:

svn commit: r347342 - in head/sys/dev: mii xilinx

2019-05-08 Thread Ruslan Bukin
Author: br Date: Wed May 8 15:36:57 2019 New Revision: 347342 URL: https://svnweb.freebsd.org/changeset/base/347342 Log: Add driver for Xilinx AXI Ethernet tri-mode (10/100/1000 Mb/s) MAC found in the U.S. Government Furnished Equipment (GFE) 64-bit RISC-V cores. Sponsored by: DARPA,

Re: svn commit: r347218 - head/sys/compat/linsysfs

2019-05-08 Thread Warner Losh
On Tue, May 7, 2019 at 4:45 AM Renato Botelho wrote: > On 07/05/19 02:45, Dmitry Chagin wrote: > > вт, 7 мая 2019 г. в 08:32, Rodney W. Grimes : > > > >>> Author: dchagin > >>> Date: Tue May 7 05:08:13 2019 > >>> New Revision: 347218 > >>> URL: https://svnweb.freebsd.org/changeset/base/347218 >

svn commit: r347343 - in head/sys: arm64/conf conf dev/usb/controller

2019-05-08 Thread Emmanuel Vadot
Author: manu Date: Wed May 8 15:42:39 2019 New Revision: 347343 URL: https://svnweb.freebsd.org/changeset/base/347343 Log: Add support for USB 3.0 XHCI via ACPI Ampere eMAG systems have XHCI just described in ACPI, not on PCI. Submitted by: Greg V Reviewed by: andrew MFC after:

svn commit: r347337 - head/sys/dev/xdma

2019-05-08 Thread Ruslan Bukin
Author: br Date: Wed May 8 15:22:27 2019 New Revision: 347337 URL: https://svnweb.freebsd.org/changeset/base/347337 Log: o Implement a bounce buffer based on device reserved memory. Grab device reserved physical memory regions from FDT using standard "memory-region" property and use

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

2019-05-08 Thread Alexander Motin
Author: mav Date: Wed May 8 15:24:05 2019 New Revision: 347339 URL: https://svnweb.freebsd.org/changeset/base/347339 Log: MFC r346898: ip multicast debug: fix strings vs defines Turning on multicast debug made multicast failure worse because the strings and #define values no longer

svn commit: r347340 - stable/12/usr.sbin/mountd

2019-05-08 Thread Alexander Motin
Author: mav Date: Wed May 8 15:25:07 2019 New Revision: 347340 URL: https://svnweb.freebsd.org/changeset/base/347340 Log: MFC r346976: Respect quotes and escapes when splitting exports fields. Without this r293305 was still unable to handle names with spaces. Modified:

svn commit: r347341 - stable/11/usr.sbin/mountd

2019-05-08 Thread Alexander Motin
Author: mav Date: Wed May 8 15:25:27 2019 New Revision: 347341 URL: https://svnweb.freebsd.org/changeset/base/347341 Log: MFC r346976: Respect quotes and escapes when splitting exports fields. Without this r293305 was still unable to handle names with spaces. Modified:

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

2019-05-08 Thread Alexander Motin
Author: mav Date: Wed May 8 15:23:45 2019 New Revision: 347338 URL: https://svnweb.freebsd.org/changeset/base/347338 Log: MFC r346898: ip multicast debug: fix strings vs defines Turning on multicast debug made multicast failure worse because the strings and #define values no longer

Re: svn commit: r347334 - head

2019-05-08 Thread Enji Cooper
> On May 8, 2019, at 08:17, Antoine Brodin wrote: > > Author: antoine > Date: Wed May 8 15:17:36 2019 > New Revision: 347334 > URL: https://svnweb.freebsd.org/changeset/base/347334 > > Log: > Add wc(1) to native-xtools so that it can be used in qemu-user jails > > Modified: >

svn commit: r347336 - stable/12/sys/cam/scsi

2019-05-08 Thread Alexander Motin
Author: mav Date: Wed May 8 15:20:16 2019 New Revision: 347336 URL: https://svnweb.freebsd.org/changeset/base/347336 Log: MFC r346511: Report DIF protection type the disk is formatted with. Some disks formatted with protection report errors if written without protection used. This

svn commit: r347335 - stable/11/sys/cam/scsi

2019-05-08 Thread Alexander Motin
Author: mav Date: Wed May 8 15:17:45 2019 New Revision: 347335 URL: https://svnweb.freebsd.org/changeset/base/347335 Log: MFC r346491: Polish SCSI sense data validity checks. According to specs and common sense, all sense data reported in descriptor format should be valid. But practice

svn commit: r347332 - stable/12/sys/cam/scsi

2019-05-08 Thread Alexander Motin
Author: mav Date: Wed May 8 15:17:04 2019 New Revision: 347332 URL: https://svnweb.freebsd.org/changeset/base/347332 Log: MFC r346491: Polish SCSI sense data validity checks. According to specs and common sense, all sense data reported in descriptor format should be valid. But practice

svn commit: r347331 - in stable: 11/release/tools 12/release/tools

2019-05-08 Thread Glen Barber
Author: gjb Date: Wed May 8 15:16:45 2019 New Revision: 347331 URL: https://svnweb.freebsd.org/changeset/base/347331 Log: MFC r347056: Increase the default size of the GCE disk image from 3GB to 20GB, as 3GB is too small as discovered in last week's snapshot builds. Sponsored by:

svn commit: r347334 - head

2019-05-08 Thread Antoine Brodin
Author: antoine Date: Wed May 8 15:17:36 2019 New Revision: 347334 URL: https://svnweb.freebsd.org/changeset/base/347334 Log: Add wc(1) to native-xtools so that it can be used in qemu-user jails Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r347333 - stable/11/sys/netpfil/ipfw

2019-05-08 Thread Andrey V. Elsukov
Author: ae Date: Wed May 8 15:17:16 2019 New Revision: 347333 URL: https://svnweb.freebsd.org/changeset/base/347333 Log: MFC r346884: Add IPv6 support for O_IPLEN opcode. Obtained from: Yandex LLC Modified: stable/11/sys/netpfil/ipfw/ip_fw2.c Directory Properties:

svn commit: r347331 - in stable: 11/release/tools 12/release/tools

2019-05-08 Thread Glen Barber
Author: gjb Date: Wed May 8 15:16:45 2019 New Revision: 347331 URL: https://svnweb.freebsd.org/changeset/base/347331 Log: MFC r347056: Increase the default size of the GCE disk image from 3GB to 20GB, as 3GB is too small as discovered in last week's snapshot builds. Sponsored by:

svn commit: r347330 - stable/12/sys/netpfil/ipfw

2019-05-08 Thread Andrey V. Elsukov
Author: ae Date: Wed May 8 15:13:59 2019 New Revision: 347330 URL: https://svnweb.freebsd.org/changeset/base/347330 Log: MFC r346884: Add IPv6 support for O_IPLEN opcode. Obtained from: Yandex LLC Modified: stable/12/sys/netpfil/ipfw/ip_fw2.c Directory Properties:

svn commit: r347329 - head/sys/dev/random

2019-05-08 Thread Conrad Meyer
Author: cem Date: Wed May 8 14:54:32 2019 New Revision: 347329 URL: https://svnweb.freebsd.org/changeset/base/347329 Log: random(4): Don't complain noisily when an entropy source is slow Mjg@ reports that RDSEED (r347239) causes a lot of logspam from this printf, and I don't feel that

Re: svn commit: r347239 - head/sys/dev/random

2019-05-08 Thread Conrad Meyer
Unfortunately, no real knob for it. I have proposed disabling the warning in https://reviews.freebsd.org/D20195 . Sorry about the noise. Best, Conrad On Wed, May 8, 2019 at 2:08 AM Michael Tuexen wrote: > > On 8. May 2019, at 02:45, Conrad Meyer wrote: > > > > Author: cem > > Date: Wed May

svn commit: r347328 - head/sys/tools

2019-05-08 Thread Ed Maste
Author: emaste Date: Wed May 8 13:35:51 2019 New Revision: 347328 URL: https://svnweb.freebsd.org/changeset/base/347328 Log: Avoid literal @generated tag in file-generating scripts We don't want the generator itself tagged as a generated file. Reviewed by: cem Sponsored by: The

svn commit: r347327 - head/sys/conf

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 12:28:11 2019 New Revision: 347327 URL: https://svnweb.freebsd.org/changeset/base/347327 Log: Fix LINT linking issue. Add missing mlxfw symbols to LINT builds. MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/conf/NOTES

svn commit: r347326 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 12:27:16 2019 New Revision: 347326 URL: https://svnweb.freebsd.org/changeset/base/347326 Log: Fix LINT compilation issue. "mdev" is unused when building LINT targets. MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347322 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:08:21 2019 New Revision: 347322 URL: https://svnweb.freebsd.org/changeset/base/347322 Log: Ensure the flowtable rules are not freed twice in mlx5en(4). This can happen when re-loading the driver. MFC after:3 days Sponsored by: Mellanox

svn commit: r347324 - in head/sys/dev/mlx5: . mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:09:08 2019 New Revision: 347324 URL: https://svnweb.freebsd.org/changeset/base/347324 Log: Make command workqueue persistant in mlx5core. There is no reason to re-create the command workqueue during healthcare. This also fixes an issue where a

svn commit: r347323 - in head/sys/dev/mlx5: . mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:08:48 2019 New Revision: 347323 URL: https://svnweb.freebsd.org/changeset/base/347323 Log: Fix race between driver unload and dumping firmware in mlx5core. Present code uses lock-less accesses to the dump data to prevent top level ioctls from blocking

svn commit: r347325 - in head/sys: dev/mlx4/mlx4_core dev/mlx4/mlx4_ib dev/mlx5/mlx5_core dev/mlx5/mlx5_en dev/mlx5/mlx5_ib sys

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:15:07 2019 New Revision: 347325 URL: https://svnweb.freebsd.org/changeset/base/347325 Log: Bump the Mellanox driver version numbers and the FreeBSD version number. MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347320 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:07:42 2019 New Revision: 347320 URL: https://svnweb.freebsd.org/changeset/base/347320 Log: Make sure the flow destination structure does not use values off the stack in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347319 - in head/sys/dev/mlx5: . mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:07:20 2019 New Revision: 347319 URL: https://svnweb.freebsd.org/changeset/base/347319 Log: Flush command workqueue when command completion is triggered in mlx5core. Avoid race for command completion when triggering a command completions event.

svn commit: r347321 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:08:01 2019 New Revision: 347321 URL: https://svnweb.freebsd.org/changeset/base/347321 Log: Undo previous steps upon returning failure in mlx5en(4). Else flowtable resources may not be properly freed. MFC after:3 days Sponsored by: Mellanox

svn commit: r347318 - head/sys/dev/mlx5

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:07:00 2019 New Revision: 347318 URL: https://svnweb.freebsd.org/changeset/base/347318 Log: Make command timeout way shorter in mlx5core. The command timeout is terribly long, whole two hours. Make it 60s so if things do go wrong, the user gets

svn commit: r347317 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:06:42 2019 New Revision: 347317 URL: https://svnweb.freebsd.org/changeset/base/347317 Log: Remove non-functional MLX5E_MAX_RX_SEGS macro in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_en/en.h

svn commit: r347313 - in head: share/man/man4 sys/dev/mlx5 sys/dev/mlx5/mlx5_core usr.sbin/mlx5tool

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:05:09 2019 New Revision: 347313 URL: https://svnweb.freebsd.org/changeset/base/347313 Log: Implement firmware reset from userspace in mlx5tool(8). Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347316 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:06:22 2019 New Revision: 347316 URL: https://svnweb.freebsd.org/changeset/base/347316 Log: Fix for compilation warning in mlx5en(4). Function 'mlx5e_alloc_rx_wqe' can never be inlined because it uses alloca (override using the always_inline attribute)

svn commit: r347315 - head/sys/dev/mlx5/mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:05:59 2019 New Revision: 347315 URL: https://svnweb.freebsd.org/changeset/base/347315 Log: Rename functions from mlx5_fwdump to mlx5_ctl in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347312 - in head/sys/dev/mlx5: . mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:04:40 2019 New Revision: 347312 URL: https://svnweb.freebsd.org/changeset/base/347312 Log: Add Firmware Reset Level, MFRL, register accessors in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347314 - head/usr.sbin/mlx5tool

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:05:30 2019 New Revision: 347314 URL: https://svnweb.freebsd.org/changeset/base/347314 Log: Ensure that only one command is specified at a time in mlx5tool(8). Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347311 - head/contrib/ofed/libmlx5

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:04:09 2019 New Revision: 347311 URL: https://svnweb.freebsd.org/changeset/base/347311 Log: Add ConnectX-6 DX HCA ID to libmlx5. In addition, add "ConnectX family mlx5Gen Virtual Function" device ID. Every new HCA VF will be identified with this device

svn commit: r347310 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:03:29 2019 New Revision: 347310 URL: https://svnweb.freebsd.org/changeset/base/347310 Log: Expose per-lane counters before correction mechanism in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347309 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 11:02:36 2019 New Revision: 347309 URL: https://svnweb.freebsd.org/changeset/base/347309 Log: Add support for extended PCIe counters in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_en/en.h

svn commit: r347308 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:59:16 2019 New Revision: 347308 URL: https://svnweb.freebsd.org/changeset/base/347308 Log: Extend the counters framework in mlx5en(4). Allow more macro arguments and split the variable type and name into separate arguments. This allows simple and

svn commit: r347307 - in head/sys/dev/mlx5: . mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:58:41 2019 New Revision: 347307 URL: https://svnweb.freebsd.org/changeset/base/347307 Log: Update performance counter bits in mlx5core. MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347306 - in head/sys/dev/mlx5: . mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:58:06 2019 New Revision: 347306 URL: https://svnweb.freebsd.org/changeset/base/347306 Log: Implement reading PCI power status in mlx5core. Implement a watchdog as part of the healtcare subsystem which reads the PCI power status during startup and upon

svn commit: r347305 - in head/sys/dev/mlx5: . mlx5_core mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:57:37 2019 New Revision: 347305 URL: https://svnweb.freebsd.org/changeset/base/347305 Log: Move workqueue from mlx5en(4) to mlx5core. This avoids creating more workqueues in mlx5core to do simple firmware command polling tasks. MFC after:3

svn commit: r347304 - head/sys/dev/mlx5/mlx5_ib

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:57:16 2019 New Revision: 347304 URL: https://svnweb.freebsd.org/changeset/base/347304 Log: Always return success for RoCE modify port in mlx5ib. CM layer calls ib_modify_port() regardless of the link layer. For the Ethernet ports, qkey violation

svn commit: r347301 - in head/sys/ofed: drivers/infiniband/core include/rdma

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:55:47 2019 New Revision: 347301 URL: https://svnweb.freebsd.org/changeset/base/347301 Log: Add new rates to ibcore. Add the new rates that were added to the Infiniband specification as part of HDR and 2x support. Submitted by: slavash@ MFC

svn commit: r347303 - head/sys/dev/mlx5/mlx5_ib

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:56:51 2019 New Revision: 347303 URL: https://svnweb.freebsd.org/changeset/base/347303 Log: Add support for new rates to mlx5ib. Submitted by: slavash@ MFC after: 3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347300 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:55:15 2019 New Revision: 347300 URL: https://svnweb.freebsd.org/changeset/base/347300 Log: Do not add IFM_10G_LR and IFM_40G_ER4 to supported media types by default in mlx5en(4). IFM_10G_LR and IFM_40G_ER4 media should be added only if the device

svn commit: r347302 - in head/contrib/ofed/libibverbs: . examples

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:56:22 2019 New Revision: 347302 URL: https://svnweb.freebsd.org/changeset/base/347302 Log: Add support for 200Gbit speeds to libibverbs. Submitted by: slavash@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347295 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:53:25 2019 New Revision: 347295 URL: https://svnweb.freebsd.org/changeset/base/347295 Log: Let rx_out_of_buffer be a 32-bit counter in mlx5en(4). This fixes counting issues when the firmware resets the counter during allocation of the counter set

svn commit: r347299 - in head/sys/dev/mlx5: . mlx5_core mlx5_en mlx5_ib

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:54:54 2019 New Revision: 347299 URL: https://svnweb.freebsd.org/changeset/base/347299 Log: Add support for 200Gb ethernet speeds to mlx5core. Submitted by: slavash@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347294 - in head/sys/dev/mlx5: . mlx5_core mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:53:01 2019 New Revision: 347294 URL: https://svnweb.freebsd.org/changeset/base/347294 Log: Add vnic steering drop statistics in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_core/mlx5_cmd.c

svn commit: r347298 - head/sys/dev/mlx5

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:54:24 2019 New Revision: 347298 URL: https://svnweb.freebsd.org/changeset/base/347298 Log: Remove unused speed enums in mlx5core. Submitted by: slavash@ MFC after: 3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347297 - head/sys/dev/mlx5/mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:54:05 2019 New Revision: 347297 URL: https://svnweb.freebsd.org/changeset/base/347297 Log: Control automatic update of firmware on driver load with a tunable in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies

svn commit: r347296 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:53:47 2019 New Revision: 347296 URL: https://svnweb.freebsd.org/changeset/base/347296 Log: Correct check for the calibration generation in mlx5en(4). If generation is cleared due to hardware clock failure, check for it before the divisor is used.

svn commit: r347292 - head/sys/dev/mlx5/mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:52:11 2019 New Revision: 347292 URL: https://svnweb.freebsd.org/changeset/base/347292 Log: Add mlx5_firmware_update() in mlx5core. Add support for upgrading firmware on mlx5 module load. Submitted by: slavash@ MFC after:3 days Sponsored by:

svn commit: r347293 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:52:32 2019 New Revision: 347293 URL: https://svnweb.freebsd.org/changeset/base/347293 Log: Use software counters for rx_packets and rx_bytes in mlx5en(4). The physical- and virtual- port counters might not reflect the amount of data received after

svn commit: r347291 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:51:49 2019 New Revision: 347291 URL: https://svnweb.freebsd.org/changeset/base/347291 Log: Handle IB_EVENT_DEVICE_FATAL event in ipoib. Perform flush if IB_EVENT_DEVICE_FATAL was received. Submitted by: slavash@ MFC after:3 days Sponsored by:

svn commit: r347290 - head/sys/dev/mlx5/mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:51:29 2019 New Revision: 347290 URL: https://svnweb.freebsd.org/changeset/base/347290 Log: Fix for double bus master disable in mlx5core. mlx5_pci_disable_device is calling pci_disable_device which disables bus master. No need to explicitly call

svn commit: r347289 - in head: share/man/man4 usr.sbin/mlx5tool

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:51:07 2019 New Revision: 347289 URL: https://svnweb.freebsd.org/changeset/base/347289 Log: Document userspace firmware flash in mlx5tool(8) and mlx5io(4). Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347288 - in head: sys/dev/mlx5 sys/dev/mlx5/mlx5_core usr.sbin/mlx5tool

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:50:35 2019 New Revision: 347288 URL: https://svnweb.freebsd.org/changeset/base/347288 Log: Implement userspace firmware update for ConnectX-4/5/6. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347287 - in head: share/man/man4 sys/dev/mlx5 sys/dev/mlx5/mlx5_core usr.sbin/mlx5tool

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:50:08 2019 New Revision: 347287 URL: https://svnweb.freebsd.org/changeset/base/347287 Log: Rename mlx5_fwdump_addr to more neutral mlx5_tool_addr in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r347286 - head/sys/dev/mlx5/mlx5_core

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:49:36 2019 New Revision: 347286 URL: https://svnweb.freebsd.org/changeset/base/347286 Log: Add mlxfw callbacks in mlx5core. Add mlx5 implementation for the ones defined by the mlxfw shared module to be used while flashing the device firmware. The

svn commit: r347285 - in head: share/man/man4 sys/conf sys/dev/mlxfw sys/modules sys/modules/mlxfw

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:49:05 2019 New Revision: 347285 URL: https://svnweb.freebsd.org/changeset/base/347285 Log: Initial version of Mellanox in-kernel firmware upgrade support. Submitted by: slavash@ MFC after:3 days Sponsored by: Mellanox Technologies Added:

svn commit: r347278 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:42:05 2019 New Revision: 347278 URL: https://svnweb.freebsd.org/changeset/base/347278 Log: Fix endless loop in ipoib_poll(). ib_req_notify_cq may return negative value which will indicate a failure. In the case of uncorrectable error, we will end up

svn commit: r347261 - head/sys/dev/mlx5/mlx5_en

2019-05-08 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 8 10:34:42 2019 New Revision: 347261 URL: https://svnweb.freebsd.org/changeset/base/347261 Log: Implement fast close of RX channel in mlx5en(4). Instead of waiting for all jobs to be cancelled, simply close the completion queue to prevent more completion

  1   2   >