svn commit: r344091 - in stable: 10/sbin/recoverdisk 11/sbin/recoverdisk 12/sbin/recoverdisk

2019-02-13 Thread Andriy Voskoboinyk
Author: avos Date: Wed Feb 13 09:28:48 2019 New Revision: 344091 URL: https://svnweb.freebsd.org/changeset/base/344091 Log: MFC r343871: recoverdisk(1): fclose() file supplied via '-r readlist' parameter when it's no longer needed PR: 204952 Reported by: David Binderman

svn commit: r344090 - stable/12/sys/dev/netmap

2019-02-13 Thread Vincenzo Maffione
Author: vmaffione Date: Wed Feb 13 09:03:23 2019 New Revision: 344090 URL: https://svnweb.freebsd.org/changeset/base/344090 Log: MFC r343579 netmap: fix lock order reversal related to kqueue usage When using poll(), select() or kevent() on netmap file descriptors, netmap executes

Re: svn commit: r344027 - in stable/12/sys: dev/vmware/vmxnet3 modules/vmware/vmxnet3 net

2019-02-13 Thread Michael Tuexen
> On 13. Feb 2019, at 00:54, Marius Strobl wrote: > > On Mon, Feb 11, 2019 at 05:24:18PM -0800, Rodney W. Grimes wrote: >>> On 2/11/19 4:26 PM, Rodney W. Grimes wrote: > Author: pkelsey > Date: Mon Feb 11 23:24:39 2019 > New Revision: 344027 > URL:

svn commit: r344091 - in stable: 10/sbin/recoverdisk 11/sbin/recoverdisk 12/sbin/recoverdisk

2019-02-13 Thread Andriy Voskoboinyk
Author: avos Date: Wed Feb 13 09:28:48 2019 New Revision: 344091 URL: https://svnweb.freebsd.org/changeset/base/344091 Log: MFC r343871: recoverdisk(1): fclose() file supplied via '-r readlist' parameter when it's no longer needed PR: 204952 Reported by: David Binderman

svn commit: r344091 - in stable: 10/sbin/recoverdisk 11/sbin/recoverdisk 12/sbin/recoverdisk

2019-02-13 Thread Andriy Voskoboinyk
Author: avos Date: Wed Feb 13 09:28:48 2019 New Revision: 344091 URL: https://svnweb.freebsd.org/changeset/base/344091 Log: MFC r343871: recoverdisk(1): fclose() file supplied via '-r readlist' parameter when it's no longer needed PR: 204952 Reported by: David Binderman

svn commit: r344092 - stable/12/sys/net

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 13:09:16 2019 New Revision: 344092 URL: https://svnweb.freebsd.org/changeset/base/344092 Log: MFC: r342749 mp_ring: avoid items offset difference between iflib and mp_ring on architectures without 64-bit atomics Reported by: Augustin Cavalier

svn commit: r344097 - in stable/12/sys/dev: e1000 ixgbe ixl

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 14:36:24 2019 New Revision: 344097 URL: https://svnweb.freebsd.org/changeset/base/344097 Log: MFC: r343369 intel iflib drivers: correct initialization of tx_cidx_processed From Jake: In r341156 ("Fix first-packet completion", 2018-11-28) a hack to

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

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 14:25:05 2019 New Revision: 344093 URL: https://svnweb.freebsd.org/changeset/base/344093 Log: MFC: r333879, r342749 - Even though 64-bit atomics are supported on i386 there are panics indicating that the code does not work correctly there. Switch to

svn commit: r344095 - stable/11/sys/dev/ixgbe

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 14:28:02 2019 New Revision: 344095 URL: https://svnweb.freebsd.org/changeset/base/344095 Log: MFC: r343203 ixgbe: this statement may fall through warnings with gcc The recent gcc versions (7 and 8 at least) can check for switch case statements for

svn commit: r344098 - stable/12/sys/dev/e1000

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 14:39:16 2019 New Revision: 344098 URL: https://svnweb.freebsd.org/changeset/base/344098 Log: MFC: r343934 - Remove the redundant device disabled hint handling; ever since r241119 that's performed globally by device_attach(9). - As for the EM-class of

svn commit: r344094 - stable/12/sys/dev/ixgbe

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 14:27:59 2019 New Revision: 344094 URL: https://svnweb.freebsd.org/changeset/base/344094 Log: MFC: r343203 ixgbe: this statement may fall through warnings with gcc The recent gcc versions (7 and 8 at least) can check for switch case statements for

svn commit: r344096 - in stable/12: tools/build/mk usr.sbin/bluetooth usr.sbin/bluetooth/bluetooth-config

2019-02-13 Thread Lars Engels
Author: lme (ports committer) Date: Wed Feb 13 14:32:14 2019 New Revision: 344096 URL: https://svnweb.freebsd.org/changeset/base/344096 Log: MFC r342945, r342947, r343020 Add `bluetooth-config` script to simplify setting up bluetooth connections to devices like mice, keyboards, bt-audio,

svn commit: r344099 - head/sys/net

2019-02-13 Thread Randall Stewart
Author: rrs Date: Wed Feb 13 14:57:59 2019 New Revision: 344099 URL: https://svnweb.freebsd.org/changeset/base/344099 Log: This commit adds the missing release mechanism for the ratelimiting code. The two modules (lagg and vlan) did have allocation routines, and even though they are

Re: svn commit: r344027 - in stable/12/sys: dev/vmware/vmxnet3 modules/vmware/vmxnet3 net

2019-02-13 Thread Bruce Evans
On Wed, 13 Feb 2019, Marius Strobl wrote: As for the iflib(4) status in head, I'm aware of two remaining user-visible regressions I ran myself into when trying to use em(4) in production. I am aware of a few more: - tx throughput loss for minimal packets of about 10% on my low end/1 queue

svn commit: r344113 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-02-13 Thread Cy Schubert
Author: cy Date: Thu Feb 14 00:52:03 2019 New Revision: 344113 URL: https://svnweb.freebsd.org/changeset/base/344113 Log: MFC r343591: Do not obtain an already held read lock. This causes a witness panic when ipfs is invoked. This is the second of two panics resolving PR 235110. PR:

svn commit: r344113 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-02-13 Thread Cy Schubert
Author: cy Date: Thu Feb 14 00:52:03 2019 New Revision: 344113 URL: https://svnweb.freebsd.org/changeset/base/344113 Log: MFC r343591: Do not obtain an already held read lock. This causes a witness panic when ipfs is invoked. This is the second of two panics resolving PR 235110. PR:

svn commit: r344113 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet

2019-02-13 Thread Cy Schubert
Author: cy Date: Thu Feb 14 00:52:03 2019 New Revision: 344113 URL: https://svnweb.freebsd.org/changeset/base/344113 Log: MFC r343591: Do not obtain an already held read lock. This causes a witness panic when ipfs is invoked. This is the second of two panics resolving PR 235110. PR:

Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-13 Thread Justin Hibbits
On Tue, 15 Jan 2019 01:02:17 + (UTC) Gleb Smirnoff wrote: > Author: glebius > Date: Tue Jan 15 01:02:16 2019 > New Revision: 343030 > URL: https://svnweb.freebsd.org/changeset/base/343030 > > Log: > Allocate pager bufs from UMA instead of 80-ish mutex protected > linked list. > o In

Re: svn commit: r344099 - head/sys/net

2019-02-13 Thread Randall Stewart via svn-src-all
I disagree. If you define an alloc it is only reciprocal that you should define a free. The code in question that hit this was changed (its in a version of rack that has the rate-limit and TLS code).. but I think these things *should* be balanced.. if you provide an Allocate, you should also

svn commit: r344111 - stable/12/sys/dev/acpica

2019-02-13 Thread Ben Widawsky
Author: bwidawsk Date: Wed Feb 13 19:00:06 2019 New Revision: 344111 URL: https://svnweb.freebsd.org/changeset/base/344111 Log: MFC r339577: acpi: Add an interface to obtain DSM information The Device Specific Method (_DSM) is on optional object that defines device specific

Re: svn commit: r344099 - head/sys/net

2019-02-13 Thread John Baldwin
On 2/13/19 10:03 AM, Randall Stewart wrote: > oh and one other thing.. > > It was *not* a random IFP.. it was the IFP to the lagg. > > I.e. an alloc() was done to the lagg.. and the free was > done back to the same IFP (that provided the allocate). Yes, that's wrong. Suppose the route changes

Re: svn commit: r344099 - head/sys/net

2019-02-13 Thread Randall Stewart via svn-src-all
oh and one other thing.. It was *not* a random IFP.. it was the IFP to the lagg. I.e. an alloc() was done to the lagg.. and the free was done back to the same IFP (that provided the allocate). R > On Feb 13, 2019, at 1:02 PM, Randall Stewart wrote: > > I disagree. If you define an alloc it

svn commit: r344108 - in head/sys/riscv: include riscv

2019-02-13 Thread Mark Johnston
Author: markj Date: Wed Feb 13 17:50:01 2019 New Revision: 344108 URL: https://svnweb.freebsd.org/changeset/base/344108 Log: Implement per-CPU pmap activation tracking for RISC-V. This reduces the overhead of TLB invalidations by ensuring that we only interrupt CPUs which are using the

svn commit: r344109 - head/lib/libthr/arch/powerpc/include

2019-02-13 Thread Leandro Lupori
Author: luporl Date: Wed Feb 13 18:28:53 2019 New Revision: 344109 URL: https://svnweb.freebsd.org/changeset/base/344109 Log: silence cast-align warnings from clang on powerpc64 silence the following warning when compiling libthr with clang 8 for powerpc64 architecture:

svn commit: r344110 - stable/12/sys/compat/linuxkpi/common/include/linux

2019-02-13 Thread Ben Widawsky
Author: bwidawsk Date: Wed Feb 13 18:55:47 2019 New Revision: 344110 URL: https://svnweb.freebsd.org/changeset/base/344110 Log: MFC r34: linuxkpi: Add GFP flags needed for ttm drivers Submitted by: Johannes Lundberg Requested by: bwidawsk Approved by: emaste (mentor)

svn commit: r344112 - head/contrib/llvm/lib/MC

2019-02-13 Thread Dimitry Andric
Author: dim Date: Wed Feb 13 20:13:40 2019 New Revision: 344112 URL: https://svnweb.freebsd.org/changeset/base/344112 Log: Pull in r353907 from upstream llvm trunk (by Reid Kleckner): [MC] Make symbol version errors non-fatal We stil don't have a source location, which is pretty

Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-13 Thread Bruce Evans
On Wed, 13 Feb 2019, Justin Hibbits wrote: On Tue, 15 Jan 2019 01:02:17 + (UTC) Gleb Smirnoff wrote: Author: glebius Date: Tue Jan 15 01:02:16 2019 New Revision: 343030 URL: https://svnweb.freebsd.org/changeset/base/343030 Log: Allocate pager bufs from UMA instead of 80-ish mutex

Re: svn commit: r344099 - head/sys/net

2019-02-13 Thread John Baldwin
On 2/13/19 6:57 AM, Randall Stewart wrote: > Author: rrs > Date: Wed Feb 13 14:57:59 2019 > New Revision: 344099 > URL: https://svnweb.freebsd.org/changeset/base/344099 > > Log: > This commit adds the missing release mechanism for the > ratelimiting code. The two modules (lagg and vlan) did

svn commit: r344106 - in head/sys: riscv/include riscv/riscv vm

2019-02-13 Thread Mark Johnston
Author: markj Date: Wed Feb 13 17:19:37 2019 New Revision: 344106 URL: https://svnweb.freebsd.org/changeset/base/344106 Log: Implement transparent 2MB superpage promotion for RISC-V. This includes support for pmap_enter(..., psind=1) as described in the commit log message for r321378.

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

2019-02-13 Thread Mark Johnston
Author: markj Date: Wed Feb 13 17:38:47 2019 New Revision: 344107 URL: https://svnweb.freebsd.org/changeset/base/344107 Log: Implement pmap_clear_modify() for RISC-V. Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D18875

svn commit: r344101 - stable/12/sys/dev/ixgbe

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 15:27:17 2019 New Revision: 344101 URL: https://svnweb.freebsd.org/changeset/base/344101 Log: MFC: r343622 ix(4),ixv(4): Fix TSO offloads when TXCSUM is disabled This patch and commit message are based on r340256 created by Jacob Keller: The iflib

svn commit: r344102 - stable/12/sys/dev/ixl

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 15:30:06 2019 New Revision: 344102 URL: https://svnweb.freebsd.org/changeset/base/344102 Log: MFC: r339459 ixl/iavf(4): Fix GCC 6.4.0 build Don't define redundant prototypes. Modified: stable/12/sys/dev/ixl/if_iavf.c stable/12/sys/dev/ixl/ixl_pf.h

svn commit: r344105 - stable/11/sys/dev/ixl

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 16:02:55 2019 New Revision: 344105 URL: https://svnweb.freebsd.org/changeset/base/344105 Log: MFC: r343372 ixl(4): Fix handling data passed with ioctl from NVM update tool From Krzysztof: Ensure that the entire data buffer passed from the NVM

svn commit: r344100 - stable/12/sys/dev/ixgbe

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 15:19:31 2019 New Revision: 344100 URL: https://svnweb.freebsd.org/changeset/base/344100 Log: MFC: r343621 ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status From Piotr: This patch introduces adapter->task_requests register

svn commit: r344103 - head/sys/netinet

2019-02-13 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 13 15:46:05 2019 New Revision: 344103 URL: https://svnweb.freebsd.org/changeset/base/344103 Log: In r335015 PCB destroing was made deferred using epoch_call(). But ipsec_delete_pcbpolicy() uses some VNET-virtualized variables, and thus it needs VNET context, that

svn commit: r344104 - stable/12/sys/dev/ixl

2019-02-13 Thread Marius Strobl
Author: marius Date: Wed Feb 13 16:02:52 2019 New Revision: 344104 URL: https://svnweb.freebsd.org/changeset/base/344104 Log: MFC: r343372 ixl(4): Fix handling data passed with ioctl from NVM update tool From Krzysztof: Ensure that the entire data buffer passed from the NVM