svn commit: r357854 - head

2020-02-13 Thread Dimitry Andric
Author: dim Date: Thu Feb 13 11:00:20 2020 New Revision: 357854 URL: https://svnweb.freebsd.org/changeset/base/357854 Log: Cleanup gsched tool and geom_sched.so library after r356185. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r357856 - head/sys/netinet

2020-02-13 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 13 13:58:34 2020 New Revision: 357856 URL: https://svnweb.freebsd.org/changeset/base/357856 Log: Whitespace cleanup. No functional change. Sponsored by: Netflix, Inc. Modified: head/sys/netinet/tcp_log_buf.h Modified: head/sys/netinet/tcp_log_buf.h

svn commit: r357857 - head/tests/sys

2020-02-13 Thread Kristof Provost
Author: kp Date: Thu Feb 13 14:09:09 2020 New Revision: 357857 URL: https://svnweb.freebsd.org/changeset/base/357857 Log: tests: Enable net tests We have a number of tests in the net subdirectory that were not executed. List the net directory so we run those tests. Modified:

Re: svn commit: r357849 - head/sys/cam/scsi

2020-02-13 Thread Slawa Olhovchenkov
On Thu, Feb 13, 2020 at 01:23:45AM +, Warner Losh wrote: > Author: imp > Date: Thu Feb 13 01:23:44 2020 > New Revision: 357849 > URL: https://svnweb.freebsd.org/changeset/base/357849 > > Log: > Convert rotating and unmapped_io to a DA flag > > Rotating and unmapped_io are really da

Re: svn commit: r357849 - head/sys/cam/scsi

2020-02-13 Thread Warner Losh
On Thu, Feb 13, 2020 at 7:05 AM Slawa Olhovchenkov wrote: > On Thu, Feb 13, 2020 at 01:23:45AM +, Warner Losh wrote: > > > Author: imp > > Date: Thu Feb 13 01:23:44 2020 > > New Revision: 357849 > > URL: https://svnweb.freebsd.org/changeset/base/357849 > > > > Log: > > Convert rotating and

Re: svn commit: r357849 - head/sys/cam/scsi

2020-02-13 Thread Slawa Olhovchenkov
On Thu, Feb 13, 2020 at 08:36:08AM -0700, Warner Losh wrote: > On Thu, Feb 13, 2020 at 7:05 AM Slawa Olhovchenkov wrote: > > > On Thu, Feb 13, 2020 at 01:23:45AM +, Warner Losh wrote: > > > > > Author: imp > > > Date: Thu Feb 13 01:23:44 2020 > > > New Revision: 357849 > > > URL:

Re: svn commit: r357857 - head/tests/sys

2020-02-13 Thread Alexander V . Chernikov
13.02.2020, 14:09, "Kristof Provost" : > Author: kp > Date: Thu Feb 13 14:09:09 2020 > New Revision: 357857 > URL: https://svnweb.freebsd.org/changeset/base/357857 > > Log: >   tests: Enable net tests > >   We have a number of tests in the net subdirectory that were not executed. > List >   the

svn commit: r357861 - head/sys/dev/usb/input

2020-02-13 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 13 16:03:12 2020 New Revision: 357861 URL: https://svnweb.freebsd.org/changeset/base/357861 Log: Improve USB gaming keyboard support. Add support for decoding pressed keys as a bitmap. The keys in the bitmap are described in the interface specific HID

svn commit: r357859 - head/usr.sbin/sesutil

2020-02-13 Thread Alan Somers
Author: asomers Date: Thu Feb 13 15:28:56 2020 New Revision: 357859 URL: https://svnweb.freebsd.org/changeset/base/357859 Log: sesutil: fix Coverity CIDs * 1411604: file descriptor leak * 1411586: memory leaks, null dereference on ENOMEM Reported by: Coverity Scan Coverity CIDs:

svn commit: r357858 - in head: cddl/lib/libdtrace sys/netinet

2020-02-13 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 13 15:14:46 2020 New Revision: 357858 URL: https://svnweb.freebsd.org/changeset/base/357858 Log: sack_newdata and snd_recover hold the same value. Therefore, use only a single instance: use snd_recover also where sack_newdata was used. Submitted by:

svn commit: r357860 - head/usr.sbin/services_mkdb

2020-02-13 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 13 15:42:14 2020 New Revision: 357860 URL: https://svnweb.freebsd.org/changeset/base/357860 Log: Revert r357343: services: Add PROFInet and EtherCAT. Both are admitedly very niche features and no known users exist currently. I am doing a further review/update

svn commit: r357862 - head/contrib/elftoolchain/addr2line

2020-02-13 Thread Ed Maste
Author: emaste Date: Thu Feb 13 16:17:05 2020 New Revision: 357862 URL: https://svnweb.freebsd.org/changeset/base/357862 Log: addr2line: use stdbool.h header for bool Presumably a bool definition is obtained via header contamination on FreeBSD-CURRENT. Found while trying to upstream

svn commit: r357868 - head/sys/dev/amdpm

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:07:42 2020 New Revision: 357868 URL: https://svnweb.freebsd.org/changeset/base/357868 Log: amdpm: Add Hygon Dhyana support. Submitted by: Pu Wen MFC after:1 week Differential revision:https://reviews.freebsd.org/D23557 Modified:

svn commit: r357883 - head/sys/vm

2020-02-13 Thread Jeff Roberson
Author: jeff Date: Thu Feb 13 20:58:51 2020 New Revision: 357883 URL: https://svnweb.freebsd.org/changeset/base/357883 Log: Fix a case where ub_seq would fail to be set if the cross bucket was flushed due to memory pressure. Reviewed by: markj Differential Revision:

Re: svn commit: r357867 - head/tests/sys/net

2020-02-13 Thread Konstantin Belousov
On Thu, Feb 13, 2020 at 07:05:19PM +, Li-Wen Hsu wrote: > Author: lwhsu > Date: Thu Feb 13 19:05:19 2020 > New Revision: 357867 > URL: https://svnweb.freebsd.org/changeset/base/357867 > > Log: > Fix GCC build. > > Sponsored by: The FreeBSD Foundation > > Modified: >

svn commit: r357865 - in head/sys/amd64/vmm: . io

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:03:12 2020 New Revision: 357865 URL: https://svnweb.freebsd.org/changeset/base/357865 Log: vmm: Add Hygon Dhyana support. Submitted by: Pu Wen Discussed with: grehan Reviewed by: jhb (previous version) MFC after:1 week Differential

svn commit: r357869 - in head/sys/dev: amdsbwd intpm

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:09:24 2020 New Revision: 357869 URL: https://svnweb.freebsd.org/changeset/base/357869 Log: amdsbwd, intpm: Add Hygon Dhyana support. Initialize the FCH SMBus controller for Hygon Dhyana CPU. Set the vendor of the FCH description via the exact CPU vendor.

svn commit: r357874 - in head/sys: conf modules/ce modules/cp

2020-02-13 Thread Dimitry Andric
Author: dim Date: Thu Feb 13 19:29:57 2020 New Revision: 357874 URL: https://svnweb.freebsd.org/changeset/base/357874 Log: Merge r357872 from the clang1000-import branch: Disable new clang 10.0.0 warnings about misleading indentation in ce(4) and cp(4). These are false positives,

svn commit: r357884 - head/sys/kern

2020-02-13 Thread Jeff Roberson
Author: jeff Date: Thu Feb 13 21:10:17 2020 New Revision: 357884 URL: https://svnweb.freebsd.org/changeset/base/357884 Log: Since r357804 pcpu zones are required to use zalloc_pcpu(). Prior to this it was only required if you were zeroing. Switch to these interfaces. Reviewed by: mjg

Re: svn commit: r357865 - in head/sys/amd64/vmm: . io

2020-02-13 Thread Ravi Pokala
Why "svm"? -Ravi (rpokala@) -Original Message- From: on behalf of Konstantin Belousov Date: 2020-02-13, Thursday at 11:03 To: , , Subject: svn commit: r357865 - in head/sys/amd64/vmm: . io Author: kib Date: Thu Feb 13 19:03:12 2020 New Revision: 357865 URL:

svn commit: r357866 - in head/usr.sbin: bhyve bhyvectl

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:05:14 2020 New Revision: 357866 URL: https://svnweb.freebsd.org/changeset/base/357866 Log: bhyve, bhyvectl: Add Hygon Dhyana support. Submitted by: Pu Wen Reviewed by: jhb MFC after:1 week Differential revision:

svn commit: r357870 - head/sys/dev/amd_ecc_inject

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:10:51 2020 New Revision: 357870 URL: https://svnweb.freebsd.org/changeset/base/357870 Log: ecc_inject: Add Hygon Dhyana support. Submitted by: Pu Wen MFC after:1 week Differential revision:https://reviews.freebsd.org/D23561 Modified:

svn commit: r357871 - head/sys/dev/hyperv/vmbus/amd64

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 19:12:07 2020 New Revision: 357871 URL: https://svnweb.freebsd.org/changeset/base/357871 Log: hyperv: Add Hygon Dhyana support. Submitted by: Pu Wen MFC after:1 week Differential revision:https://reviews.freebsd.org/D23563 Modified:

svn commit: r357875 - in head/usr.bin/diff: . tests

2020-02-13 Thread Kyle Evans
Author: kevans Date: Thu Feb 13 20:23:55 2020 New Revision: 357875 URL: https://svnweb.freebsd.org/changeset/base/357875 Log: diff: fix segfault with --tabsize and no/malformed argument --tabsize was previously listed as optional_argument, but didn't account for the optionality of it in

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

2020-02-13 Thread Jeff Roberson
Author: jeff Date: Thu Feb 13 20:50:21 2020 New Revision: 357882 URL: https://svnweb.freebsd.org/changeset/base/357882 Log: Add more precise SMR entry asserts. Modified: head/sys/kern/subr_smr.c head/sys/sys/smr.h Modified: head/sys/kern/subr_smr.c

svn commit: r357867 - head/tests/sys/net

2020-02-13 Thread Li-Wen Hsu
Author: lwhsu Date: Thu Feb 13 19:05:19 2020 New Revision: 357867 URL: https://svnweb.freebsd.org/changeset/base/357867 Log: Fix GCC build. Sponsored by: The FreeBSD Foundation Modified: head/tests/sys/net/randsleep.c Modified: head/tests/sys/net/randsleep.c

Re: svn commit: r357865 - in head/sys/amd64/vmm: . io

2020-02-13 Thread Konstantin Belousov
On Thu, Feb 13, 2020 at 01:49:09PM -0800, Ravi Pokala wrote: > Why "svm"? Because this is how AMD calls its virtualization extensions. Secure Virtual Machine. > > -Ravi (rpokala@) > > -Original Message- > From: on behalf of Konstantin Belousov > > Date: 2020-02-13, Thursday at 11:03

svn commit: r357895 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 23:42:09 2020 New Revision: 357895 URL: https://svnweb.freebsd.org/changeset/base/357895 Log: Handle non-plt IRELATIVE relocations, at least for x86. lld 10.0 seems to generate this relocation for rdtsc_mb() ifunc in our libc. Reported, reviewed, and

svn commit: r357892 - head/sys/vm

2020-02-13 Thread Mark Johnston
Author: markj Date: Thu Feb 13 23:15:21 2020 New Revision: 357892 URL: https://svnweb.freebsd.org/changeset/base/357892 Log: Update the zone-global count of cached items in bucket_cache_reclaim(). This was missed in r351673. The count is used to enfore cache limits, which are rarely

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

2020-02-13 Thread Konstantin Belousov
Author: kib Date: Thu Feb 13 23:22:12 2020 New Revision: 357894 URL: https://svnweb.freebsd.org/changeset/base/357894 Log: Return success, instead of ESRCH, from pthread_cancel(3) applied to the exited but not yet joined thread. Before, if the thread exited but was not yet joined, we

svn commit: r357898 - head/sys/dev/usb/input

2020-02-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 14 00:29:21 2020 New Revision: 357898 URL: https://svnweb.freebsd.org/changeset/base/357898 Log: Exclude modifier keys from keyboard repeat logic. This restores USB keyboard driver behaviour prior to r357861. Requested by: jkim@ MFC after:1 week

svn commit: r357885 - head/sys/kern

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:16:02 2020 New Revision: 357885 URL: https://svnweb.freebsd.org/changeset/base/357885 Log: Annotate suser_enabled as __read_mostly It is read a lot in priv code. Modified: head/sys/kern/kern_priv.c Modified: head/sys/kern/kern_priv.c

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

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:16:30 2020 New Revision: 357886 URL: https://svnweb.freebsd.org/changeset/base/357886 Log: Inline jailed(). It is constantly called from priv_check. Modified: head/sys/kern/kern_jail.c head/sys/sys/jail.h Modified: head/sys/kern/kern_jail.c

svn commit: r357890 - in head/sys/dev/cxgbe: . crypto

2020-02-13 Thread John Baldwin
Author: jhb Date: Thu Feb 13 22:55:45 2020 New Revision: 357890 URL: https://svnweb.freebsd.org/changeset/base/357890 Log: Remove the per-TXQ tls_wrs stat. It duplicated the kern_tls_records stat and was not conditional on NIC TLS being enabled. Reviewed by: np Sponsored by:

svn commit: r357896 - head/sys/cam

2020-02-13 Thread Warner Losh
Author: imp Date: Fri Feb 14 00:12:59 2020 New Revision: 357896 URL: https://svnweb.freebsd.org/changeset/base/357896 Log: xpt_release_simq_timeout is unused. Remove it. Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c

svn commit: r357897 - head/sys/cam

2020-02-13 Thread Warner Losh
Author: imp Date: Fri Feb 14 00:13:23 2020 New Revision: 357897 URL: https://svnweb.freebsd.org/changeset/base/357897 Log: Add a KASSERT that there's no outstanding CCBs when we call camperiphfree. We know that if there are any outstanding CCBs, then when they dereference the path that's

Re: svn commit: r357865 - in head/sys/amd64/vmm: . io

2020-02-13 Thread Ravi Pokala
-Original Message- From: on behalf of Konstantin Belousov Date: 2020-02-13, Thursday at 14:08 To: Ravi Pokala Cc: , , Subject: Re: svn commit: r357865 - in head/sys/amd64/vmm: . io On Thu, Feb 13, 2020 at 01:49:09PM -0800, Ravi Pokala wrote: > Why "svm"? Because this

svn commit: r357887 - head/sys/security/mac

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:19:17 2020 New Revision: 357887 URL: https://svnweb.freebsd.org/changeset/base/357887 Log: mac: implement fast path for checks All checking routines walk a linked list of all modules in order to determine if given hook is installed. This became a

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

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:22:15 2020 New Revision: 357888 URL: https://svnweb.freebsd.org/changeset/base/357888 Log: Partially decompose priv_check by adding priv_check_cred_vfs_generation During buildkernel there are very frequent calls to priv_check and they all are for

svn commit: r357889 - in head/sys: kern security/mac

2020-02-13 Thread Mateusz Guzik
Author: mjg Date: Thu Feb 13 22:22:55 2020 New Revision: 357889 URL: https://svnweb.freebsd.org/changeset/base/357889 Log: vfs: use mac fastpath for lookup, open, read, write, mmap Modified: head/sys/kern/vfs_lookup.c head/sys/security/mac/mac_framework.c

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

2020-02-13 Thread John Baldwin
Author: jhb Date: Thu Feb 13 23:04:11 2020 New Revision: 357891 URL: https://svnweb.freebsd.org/changeset/base/357891 Log: Don't check the auth algorithm for GCM. The upstream OpenSSL changes only set the cipher for GCM since the authentication is redundant, and changes to OCF will soon

svn commit: r357893 - head/sys/vm

2020-02-13 Thread Mark Johnston
Author: markj Date: Thu Feb 13 23:18:35 2020 New Revision: 357893 URL: https://svnweb.freebsd.org/changeset/base/357893 Log: Fix handling of WAITFAIL in vm_page_grab() and vm_page_grab_pages(). After sleeping through a memory shortage, we must return NULL rather than retry.

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

2020-02-13 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 02:22:08 2020 New Revision: 357899 URL: https://svnweb.freebsd.org/changeset/base/357899 Log: u_char -> vm_prot_t in a couple of places, NFC The latter is a typedef of the former; the typedef exists and these bits are representing vmprot values, so use the

svn commit: r357903 - head/contrib/ncurses/ncurses/base

2020-02-13 Thread Kyle Evans
Author: kevans Date: Fri Feb 14 04:16:22 2020 New Revision: 357903 URL: https://svnweb.freebsd.org/changeset/base/357903 Log: ncurses: correct check for gcc >= 5.0 The hack in question is intended to workaround seemingly bogus #line markers in cpp output. As far as I can tell, llvm cpp

svn commit: r357873 - head/sbin/sconfig

2020-02-13 Thread Dimitry Andric
Author: dim Date: Thu Feb 13 19:28:30 2020 New Revision: 357873 URL: https://svnweb.freebsd.org/changeset/base/357873 Log: Merge r357864 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in sconfig: sbin/sconfig/sconfig.c:909:5: error: misleading