svn commit: r352642 - in stable/12/sys/riscv: conf riscv

2019-09-23 Thread Mitchell Horne
Author: mhorne Date: Tue Sep 24 02:41:39 2019 New Revision: 352642 URL: https://svnweb.freebsd.org/changeset/base/352642 Log: MFC r352430: RISC-V: Support EARLY_AP_STARTUP Modified: stable/12/sys/riscv/conf/GENERIC stable/12/sys/riscv/riscv/clock.c

svn commit: r352641 - stable/12/sys/riscv/riscv

2019-09-23 Thread Mitchell Horne
Author: mhorne Date: Tue Sep 24 02:38:08 2019 New Revision: 352641 URL: https://svnweb.freebsd.org/changeset/base/352641 Log: MFC r352036: Fix compilation of locore.S with clang Modified: stable/12/sys/riscv/riscv/locore.S Directory Properties: stable/12/ (props changed) Modified:

svn commit: r352640 - stable/12/sys/riscv/riscv

2019-09-23 Thread Mitchell Horne
Author: mhorne Date: Tue Sep 24 02:36:09 2019 New Revision: 352640 URL: https://svnweb.freebsd.org/changeset/base/352640 Log: MFC r352035: Remove a duplicate KTR entry Modified: stable/12/sys/riscv/riscv/intr_machdep.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r352639 - stable/12/sys/conf

2019-09-23 Thread Mitchell Horne
Author: mhorne Date: Tue Sep 24 02:33:03 2019 New Revision: 352639 URL: https://svnweb.freebsd.org/changeset/base/352639 Log: MFC r352034: RISC-V: fix kernel CFLAGS with clang Modified: stable/12/sys/conf/kern.mk Directory Properties: stable/12/ (props changed) Modified:

svn commit: r352638 - stable/11/share/mk

2019-09-23 Thread Mitchell Horne
Author: mhorne Date: Tue Sep 24 02:30:32 2019 New Revision: 352638 URL: https://svnweb.freebsd.org/changeset/base/352638 Log: MFC r352033: Allow for compiler versions >= 10 Modified: stable/11/share/mk/bsd.compiler.mk Directory Properties: stable/11/ (props changed) Modified:

svn commit: r352637 - stable/12/share/mk

2019-09-23 Thread Mitchell Horne
Author: mhorne Date: Tue Sep 24 02:28:17 2019 New Revision: 352637 URL: https://svnweb.freebsd.org/changeset/base/352637 Log: MFC r352033: Allow for compiler versions >= 10 Modified: stable/12/share/mk/bsd.compiler.mk Directory Properties: stable/12/ (props changed) Modified:

svn commit: r352636 - in head/sys/fs: nfs nfsclient

2019-09-23 Thread Rick Macklem
Author: rmacklem Date: Tue Sep 24 01:58:54 2019 New Revision: 352636 URL: https://svnweb.freebsd.org/changeset/base/352636 Log: Replace all mtx_lock()/mtx_unlock() on n_mtx with the macros. For a long time, some places in the NFS code have locked/unlocked the NFS node lock with the

svn commit: r352635 - head/sys/conf

2019-09-23 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Sep 24 01:56:27 2019 New Revision: 352635 URL: https://svnweb.freebsd.org/changeset/base/352635 Log: Clean LINT* kernel configurations for arm* MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/makeLINT.mk Modified:

svn commit: r352634 - head/sbin/ping6

2019-09-23 Thread Mark Johnston
Author: markj Date: Mon Sep 23 22:20:11 2019 New Revision: 352634 URL: https://svnweb.freebsd.org/changeset/base/352634 Log: ping6: Use caph_rights_limit(3) for STDIN_FILENO Update some error messages while here. Reported by: olivier MFC after:3 days Modified:

svn commit: r352631 - head/sys/kern

2019-09-23 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 23 20:50:04 2019 New Revision: 352631 URL: https://svnweb.freebsd.org/changeset/base/352631 Log: cache: tidy up handling of negative entries - track the total count of hot entries - pre-read the lock when shrinking since it is typically already taken - place

Re: svn commit: r352623 - in head/sys: amd64/amd64 kern

2019-09-23 Thread Warner Losh
On Mon, Sep 23, 2019, 10:28 PM Mark Johnston wrote: > On Mon, Sep 23, 2019 at 10:13:14PM +0200, Warner Losh wrote: > > On Mon, Sep 23, 2019, 9:06 PM Mark Johnston wrote: > > > > > On Mon, Sep 23, 2019 at 11:28:52AM -0700, Conrad Meyer wrote: > > > > Hi Mark, > > > > > > > > On Mon, Sep 23, 2019

Re: svn commit: r352623 - in head/sys: amd64/amd64 kern

2019-09-23 Thread Mark Johnston
On Mon, Sep 23, 2019 at 10:13:14PM +0200, Warner Losh wrote: > On Mon, Sep 23, 2019, 9:06 PM Mark Johnston wrote: > > > On Mon, Sep 23, 2019 at 11:28:52AM -0700, Conrad Meyer wrote: > > > Hi Mark, > > > > > > On Mon, Sep 23, 2019 at 7:14 AM Mark Johnston wrote: > > > > > > > > Author: markj > >

Re: svn commit: r352623 - in head/sys: amd64/amd64 kern

2019-09-23 Thread Warner Losh
On Mon, Sep 23, 2019, 9:06 PM Mark Johnston wrote: > On Mon, Sep 23, 2019 at 11:28:52AM -0700, Conrad Meyer wrote: > > Hi Mark, > > > > On Mon, Sep 23, 2019 at 7:14 AM Mark Johnston wrote: > > > > > > Author: markj > > > Date: Mon Sep 23 14:14:43 2019 > > > New Revision: 352623 > > > URL:

Re: svn commit: r352623 - in head/sys: amd64/amd64 kern

2019-09-23 Thread Mark Johnston
On Mon, Sep 23, 2019 at 11:28:52AM -0700, Conrad Meyer wrote: > Hi Mark, > > On Mon, Sep 23, 2019 at 7:14 AM Mark Johnston wrote: > > > > Author: markj > > Date: Mon Sep 23 14:14:43 2019 > > New Revision: 352623 > > URL: https://svnweb.freebsd.org/changeset/base/352623 > > > > Log: > > Use

Re: svn commit: r352623 - in head/sys: amd64/amd64 kern

2019-09-23 Thread Conrad Meyer
Hi Mark, On Mon, Sep 23, 2019 at 7:14 AM Mark Johnston wrote: > > Author: markj > Date: Mon Sep 23 14:14:43 2019 > New Revision: 352623 > URL: https://svnweb.freebsd.org/changeset/base/352623 > > Log: > Use elf_relocaddr() when handling R_X86_64_RELATIVE relocations. > > This is required for

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

2019-09-23 Thread Alexander Motin
Author: mav Date: Mon Sep 23 17:53:47 2019 New Revision: 352630 URL: https://svnweb.freebsd.org/changeset/base/352630 Log: Make nvme(4) driver some more NUMA aware. - For each queue pair precalculate CPU and domain it is bound to. If queue pairs are not per-CPU, then use the domain of

svn commit: r352628 - releng/12.1/usr.sbin/freebsd-update

2019-09-23 Thread Michael Gmelin
Author: grembo (ports committer) Date: Mon Sep 23 15:58:54 2019 New Revision: 352628 URL: https://svnweb.freebsd.org/changeset/base/352628 Log: MF stable/12 r352608 Approved by: re (gjb) r352608: freebsd-update: Fix src component detection In case BASEDIR was set to a

svn commit: r352627 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-09-23 Thread Mark Johnston
Author: markj Date: Mon Sep 23 15:08:17 2019 New Revision: 352627 URL: https://svnweb.freebsd.org/changeset/base/352627 Log: Implement x86 dtrace_invop_(un)init() in C. There is no reason for these routines to be written in assembly. In the ports of DTrace to other platforms, they are

svn commit: r352626 - head/sys/dev/jme

2019-09-23 Thread Mark Johnston
Author: markj Date: Mon Sep 23 14:34:23 2019 New Revision: 352626 URL: https://svnweb.freebsd.org/changeset/base/352626 Log: Fix a harmless typo. MFC after:1 week Modified: head/sys/dev/jme/if_jme.c Modified: head/sys/dev/jme/if_jme.c

svn commit: r352625 - head/sys/dev/jme

2019-09-23 Thread Mark Johnston
Author: markj Date: Mon Sep 23 14:29:05 2019 New Revision: 352625 URL: https://svnweb.freebsd.org/changeset/base/352625 Log: Revert r316820. Despite appearing correct, r316820 breaks packet rx/tx for jme(4) interfaces. With 12.1 approaching, let's just revert the commit for now.

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

2019-09-23 Thread Mark Johnston
Author: markj Date: Mon Sep 23 14:19:41 2019 New Revision: 352624 URL: https://svnweb.freebsd.org/changeset/base/352624 Log: Set NX on some non-leaf direct map page table entries. The direct map is never used for execution of code, so we might as well set NX in the direct map's PML4Es.

svn commit: r352623 - in head/sys: amd64/amd64 kern

2019-09-23 Thread Mark Johnston
Author: markj Date: Mon Sep 23 14:14:43 2019 New Revision: 352623 URL: https://svnweb.freebsd.org/changeset/base/352623 Log: Use elf_relocaddr() when handling R_X86_64_RELATIVE relocations. This is required for DPCPU and VNET data variable definitions to work when KLDs are linked as

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

2019-09-23 Thread Mark Johnston
Author: markj Date: Mon Sep 23 14:11:59 2019 New Revision: 352622 URL: https://svnweb.freebsd.org/changeset/base/352622 Log: Set NX in mappings created by pmap_kenter() and pmap_kenter_attr(). There does not appear to be any existing need for such mappings to be executable. Reviewed

Re: svn commit: r352619 - head/sys/mips/mips

2019-09-23 Thread Jason Harmening
On 2019-09-23 05:43, Kyle Evans wrote: Author: kevans Date: Mon Sep 23 12:43:08 2019 New Revision: 352619 URL: https://svnweb.freebsd.org/changeset/base/352619 Log: mips: fix XLPN32 after r352434 SYSINIT usage was added, but the dependency was not added. This worked by

svn commit: r352621 - stable/12/sys/fs/nfsclient

2019-09-23 Thread Konstantin Belousov
Author: kib Date: Mon Sep 23 13:45:50 2019 New Revision: 352621 URL: https://svnweb.freebsd.org/changeset/base/352621 Log: MFC r352393, r352457: nfscl_loadattrcache: fix rest of the cases to not call vnode_pager_setsize() under the node mutex. Modified:

svn commit: r352620 - head/lib/libthr/thread

2019-09-23 Thread Konstantin Belousov
Author: kib Date: Mon Sep 23 13:24:31 2019 New Revision: 352620 URL: https://svnweb.freebsd.org/changeset/base/352620 Log: Fix destruction of the robust mutexes. If robust mutex' owner terminated, causing kernel-assisted state recovery, and then pthread_mutex_destroy() is executed as the

svn commit: r352619 - head/sys/mips/mips

2019-09-23 Thread Kyle Evans
Author: kevans Date: Mon Sep 23 12:43:08 2019 New Revision: 352619 URL: https://svnweb.freebsd.org/changeset/base/352619 Log: mips: fix XLPN32 after r352434 SYSINIT usage was added, but the dependency was not added. This worked by coincidence, as most of the mips configs have DDB

svn commit: r352618 - head/sys/compat/linsysfs

2019-09-23 Thread Tijl Coosemans
Author: tijl Date: Mon Sep 23 12:27:55 2019 New Revision: 352618 URL: https://svnweb.freebsd.org/changeset/base/352618 Log: Create a "drm" subdirectory for drm devices in linsysfs. Recent versions of linux libdrm check for the existence of this directory:

Re: svn commit: r352617 - head/sys/kern

2019-09-23 Thread Cy Schubert
In message <201909230853.x8n8renu024...@repo.freebsd.org>, Mateusz Guzik writes : > Author: mjg > Date: Mon Sep 23 08:53:14 2019 > New Revision: 352617 > URL: https://svnweb.freebsd.org/changeset/base/352617 > > Log: > cache: count evictions of negatve entries Why? > > Sponsored by:

svn commit: r352617 - head/sys/kern

2019-09-23 Thread Mateusz Guzik
Author: mjg Date: Mon Sep 23 08:53:14 2019 New Revision: 352617 URL: https://svnweb.freebsd.org/changeset/base/352617 Log: cache: count evictions of negatve entries Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c

svn commit: r352616 - stable/11/lib/libc/yp

2019-09-23 Thread Konstantin Belousov
Author: kib Date: Mon Sep 23 07:23:29 2019 New Revision: 352616 URL: https://svnweb.freebsd.org/changeset/base/352616 Log: MFC r352384: Increase the size of the send and receive buffers for YP client rpc calls to max allowed UDP datagram size. Sponsored by: Mellanox Technologies

svn commit: r352615 - stable/12/lib/libc/yp

2019-09-23 Thread Konstantin Belousov
Author: kib Date: Mon Sep 23 07:22:22 2019 New Revision: 352615 URL: https://svnweb.freebsd.org/changeset/base/352615 Log: MFC r352384: Increase the size of the send and receive buffers for YP client rpc calls to max allowed UDP datagram size. Sponsored by: Mellanox Technologies