svn commit: r339343 - head/lib/libc/sys

2018-10-12 Thread Allan Jude
Author: allanjude Date: Sat Oct 13 02:20:16 2018 New Revision: 339343 URL: https://svnweb.freebsd.org/changeset/base/339343 Log: Document that sendfile(2) can return ENOTCAPABLE PR: 232207 Submitted by: Enji Cooper Approved by: re (rgrimes) Modified:

svn commit: r339344 - head/usr.sbin/mfiutil

2018-10-12 Thread Allan Jude
Author: allanjude Date: Sat Oct 13 02:21:23 2018 New Revision: 339344 URL: https://svnweb.freebsd.org/changeset/base/339344 Log: Make `mfiutil show progress` print out the elapsed time estimate in a more humanized way PR: 225993 Submitted by: Enji Cooper Reviewed by: jhb

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

2018-10-12 Thread Navdeep Parhar
Author: np Date: Sat Oct 13 00:13:24 2018 New Revision: 339342 URL: https://svnweb.freebsd.org/changeset/base/339342 Log: cxgbe(4): Fix a divide-by-zero that occurs when hw.cxgbe.toecaps_allowed is set to 0 with a kernel that has both TCP_OFFLOAD and RATELIMIT. Approved by: re@ (gjb@)

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

2018-10-12 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 12 23:48:10 2018 New Revision: 339341 URL: https://svnweb.freebsd.org/changeset/base/339341 Log: capsicum: provide cap_rights_fde_inline Reading caps is in the hot path (on each successful fd lookup), but completely unnecessarily requires a function call.

svn commit: r339340 - head/share/man/man4

2018-10-12 Thread Eric Joyner
Author: erj Date: Fri Oct 12 22:57:52 2018 New Revision: 339340 URL: https://svnweb.freebsd.org/changeset/base/339340 Log: ixl/iavf: Update ixl(4) and iavf(4) [previously ixlv] man pages Since there have been major updates to both drivers in r339338, refresh the man pages with new and

svn commit: r339339 - head/sys/netinet

2018-10-12 Thread Bjoern A. Zeeb
Author: bz Date: Fri Oct 12 22:51:45 2018 New Revision: 339339 URL: https://svnweb.freebsd.org/changeset/base/339339 Log: In udp_input() when walking the pcblist we can come across an inp marked FREED after the epoch(9) changes. Check once we hold the lock and skip the inp if it is the

svn commit: r339338 - in head/sys: amd64/conf conf dev/ixl modules modules/iavf modules/ixl modules/ixlv net

2018-10-12 Thread Eric Joyner
Author: erj Date: Fri Oct 12 22:40:54 2018 New Revision: 339338 URL: https://svnweb.freebsd.org/changeset/base/339338 Log: ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9) Finishes the conversion of the 40Gb Intel Ethernet drivers to iflib(9) for FreeBSD 12.0, and fixes

svn commit: r339337 - head/sys/amd64/amd64

2018-10-12 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 12 21:59:09 2018 New Revision: 339337 URL: https://svnweb.freebsd.org/changeset/base/339337 Log: amd64: employ MEMMOVE in copyin/copyout See r339205 for justification. Reviewed by: kib Approved by: re (gjb) Sponsored by: The FreeBSD Foundation

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

2018-10-12 Thread Kenneth D. Merry
Author: ken Date: Fri Oct 12 19:44:19 2018 New Revision: 339336 URL: https://svnweb.freebsd.org/changeset/base/339336 Log: MFC r339076 This has been edited slightly from the version in head. In head, the probe sections of dadone() were split out into separate functions. In stable/11,

svn commit: r339335 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-10-12 Thread Alexander Motin
Author: mav Date: Fri Oct 12 16:55:28 2018 New Revision: 339335 URL: https://svnweb.freebsd.org/changeset/base/339335 Log: Avoid zero-sized kmem_alloc() in vdev_compact_children(). The device evacuation code adds a dependency that vdev_compact_children() be able to properly empty the

svn commit: r339334 - head/stand/efi/loader

2018-10-12 Thread Toomas Soome
Author: tsoome Date: Fri Oct 12 16:24:49 2018 New Revision: 339334 URL: https://svnweb.freebsd.org/changeset/base/339334 Log: loader.efi: add poweroff command Add poweroff command to make life a bit easier. Reviewed by: imp, allanjude Approved by: re (kib) Differential Revision:

svn commit: r339333 - head/sys/amd64/amd64

2018-10-12 Thread Konstantin Belousov
Author: kib Date: Fri Oct 12 16:00:21 2018 New Revision: 339333 URL: https://svnweb.freebsd.org/changeset/base/339333 Log: Call initializecpucache() before ifuncs are resolved. The function tweaks CPU capabilities based on the VM platform and tunables, which affected selection of the

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

2018-10-12 Thread Ruslan Bukin
Author: br Date: Fri Oct 12 15:51:41 2018 New Revision: 339332 URL: https://svnweb.freebsd.org/changeset/base/339332 Log: Initialize interrupt priority to 0 on all sources. Without this hardware raises an interrupt regardless of any pending bits set. This fixes operation on

svn commit: r339331 - head/sys/amd64/vmm

2018-10-12 Thread Konstantin Belousov
Author: kib Date: Fri Oct 12 15:30:15 2018 New Revision: 339331 URL: https://svnweb.freebsd.org/changeset/base/339331 Log: bhyve: emulate CLFLUSH and CLFLUSHOPT. Apparently CLFLUSH on mmio can cause VM exit, as reported in the PR. I do not see that anything useful can be done except

svn commit: r339330 - in head/sys: conf dev/uart riscv/conf

2018-10-12 Thread Ruslan Bukin
Author: br Date: Fri Oct 12 15:19:41 2018 New Revision: 339330 URL: https://svnweb.freebsd.org/changeset/base/339330 Log: Add support for the UART device found in lowRISC system-on-a-chip. The only source of documentation for this device is verilog, so driver is minimalistic.

svn commit: r339329 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-10-12 Thread Alexander Motin
Author: mav Date: Fri Oct 12 15:14:22 2018 New Revision: 339329 URL: https://svnweb.freebsd.org/changeset/base/339329 Log: Add ZIO_TYPE_FREE support for indirect vdevs. Upstream code expects only ZIO_TYPE_READ and some ZIO_TYPE_WRITE requests to removed (indirect) vdevs, while on FreeBSD

svn commit: r339328 - head

2018-10-12 Thread Dag-Erling Smørgrav
Author: des Date: Fri Oct 12 13:01:17 2018 New Revision: 339328 URL: https://svnweb.freebsd.org/changeset/base/339328 Log: Replace libldns's bootstrap dependency on libcrypto with one on libssl (which in turn has a bootstrap dependency on libcrypto). Submitted by: jkim Approved by: re

Re: svn commit: r339326 - head

2018-10-12 Thread Kyle Evans
On Fri, Oct 12, 2018 at 12:43 AM Dag-Erling Smørgrav wrote: > > Author: des > Date: Fri Oct 12 05:42:38 2018 > New Revision: 339326 > URL: https://svnweb.freebsd.org/changeset/base/339326 > > Log: > Move libssl up in the bootstrap order. > > Submitted by: jkim > Approved by: re (gjb) > >

svn commit: r339327 - head/sys/netinet

2018-10-12 Thread Bjoern A. Zeeb
Author: bz Date: Fri Oct 12 11:30:46 2018 New Revision: 339327 URL: https://svnweb.freebsd.org/changeset/base/339327 Log: r217592 moved the check for imo in udp_input() into the conditional block but leaving the variable assignment outside the block, where it is no longer used. Move both