svn commit: r358156 - head/sys/dev/ath

2020-02-19 Thread Adrian Chadd
Author: adrian Date: Thu Feb 20 07:12:43 2020 New Revision: 358156 URL: https://svnweb.freebsd.org/changeset/base/358156 Log: [ath] Attempt to fix epoch handling. The epoch stuff with taskqueues works fine if the driver never calls the receive path in other contexts, but this driver does.

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

2020-02-19 Thread Xin LI
Author: delphij Date: Thu Feb 20 06:45:51 2020 New Revision: 358155 URL: https://svnweb.freebsd.org/changeset/base/358155 Log: Actually install hwpstate_intel.4. Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-19 Thread Xin Li via svn-src-head
On 2/19/20 10:01 PM, Yuri Pankov wrote: > On 20 Feb 2020, at 06:54, Pedro F. Giffuni wrote: >> >> Author: pfg >> Date: Thu Feb 20 03:54:07 2020 >> New Revision: 358153 >> URL: https://svnweb.freebsd.org/changeset/base/358153 >> >> Log: >> /etc/services: attempt bring the database to this centur

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

2020-02-19 Thread Xin LI
Author: delphij Date: Thu Feb 20 06:03:41 2020 New Revision: 358154 URL: https://svnweb.freebsd.org/changeset/base/358154 Log: Bump PROTOMAX. MFC after:3 weeks X-MFC-with: r358153 Modified: head/usr.sbin/services_mkdb/services_mkdb.c Modified: head/usr.sbin/services_mkdb/service

Re: svn commit: r358153 - head/usr.sbin/services_mkdb

2020-02-19 Thread Yuri Pankov
On 20 Feb 2020, at 06:54, Pedro F. Giffuni wrote: > > Author: pfg > Date: Thu Feb 20 03:54:07 2020 > New Revision: 358153 > URL: https://svnweb.freebsd.org/changeset/base/358153 > > Log: > /etc/services: attempt bring the database to this century. > > Document better this file, updating the U

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

2020-02-19 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 20 03:54:07 2020 New Revision: 358153 URL: https://svnweb.freebsd.org/changeset/base/358153 Log: /etc/services: attempt bring the database to this century. Document better this file, updating the URL to the IANA registry and closely match the official services.

svn commit: r358152 - head/bin/sh

2020-02-19 Thread Hiroki Sato
Author: hrs Date: Thu Feb 20 03:01:27 2020 New Revision: 358152 URL: https://svnweb.freebsd.org/changeset/base/358152 Log: Improve performance of "read" built-in command when using a seekable fd. The read built-in command calls read(2) with a 1-byte buffer because newline characters nee

svn commit: r358143 - head/sys/vm

2020-02-19 Thread Warner Losh
Author: imp Date: Thu Feb 20 01:33:01 2020 New Revision: 358143 URL: https://svnweb.freebsd.org/changeset/base/358143 Log: Don't convert all lower-layer errors to EIO. Don't convert all lower layer errors to EIO. Instead, pass the actual error up the stack. This will allow the upper layer

svn commit: r358135 - in head/stand: efi/loader i386/libi386 i386/loader libsa

2020-02-19 Thread Warner Losh
Author: imp Date: Thu Feb 20 00:46:16 2020 New Revision: 358135 URL: https://svnweb.freebsd.org/changeset/base/358135 Log: Create ptov() function. Create a ptov() function. It's basically the same as the btx PTOV macro, but works everywhere. smbios needs this to translate addresses, but

svn commit: r358136 - in head/stand: efi/loader i386/libi386 i386/loader libsa

2020-02-19 Thread Warner Losh
Author: imp Date: Thu Feb 20 00:46:22 2020 New Revision: 358136 URL: https://svnweb.freebsd.org/changeset/base/358136 Log: Move smbios.c to libsa. smbios used to be an i386 only kinda weird quirk to the x86 architecture. But UEFI picked it up, dusted it off and now it's many other locat

svn commit: r358134 - head/sys/vm

2020-02-19 Thread Warner Losh
Author: imp Date: Thu Feb 20 00:34:46 2020 New Revision: 358134 URL: https://svnweb.freebsd.org/changeset/base/358134 Log: Don't spam the console with an additional, and useless, error message. There's no need to spam the console with this error message. If there's an I/O error, the disk/

Re: svn commit: r358133 - head/sys/vm

2020-02-19 Thread Kyle Evans
On Wed, Feb 19, 2020 at 4:49 PM Joerg Sonnenberger wrote: > > On Wed, Feb 19, 2020 at 10:34:23PM +, Jeff Roberson wrote: > > Author: jeff > > Date: Wed Feb 19 22:34:22 2020 > > New Revision: 358133 > > URL: https://svnweb.freebsd.org/changeset/base/358133 > > > > Log: > > Silence a gcc warni

Re: svn commit: r358133 - head/sys/vm

2020-02-19 Thread Joerg Sonnenberger
On Wed, Feb 19, 2020 at 10:34:23PM +, Jeff Roberson wrote: > Author: jeff > Date: Wed Feb 19 22:34:22 2020 > New Revision: 358133 > URL: https://svnweb.freebsd.org/changeset/base/358133 > > Log: > Silence a gcc warning about no return from a function that handles every > possible enum in a

svn commit: r358133 - head/sys/vm

2020-02-19 Thread Jeff Roberson
Author: jeff Date: Wed Feb 19 22:34:22 2020 New Revision: 358133 URL: https://svnweb.freebsd.org/changeset/base/358133 Log: Silence a gcc warning about no return from a function that handles every possible enum in a switch statement. I verified that this emits nothing as expected on clang.

svn commit: r358132 - in head: . share/mk

2020-02-19 Thread Dimitry Andric
Author: dim Date: Wed Feb 19 21:12:59 2020 New Revision: 358132 URL: https://svnweb.freebsd.org/changeset/base/358132 Log: Take LINKER_FREEBSD_VERSION from numerical field after dash Summary: With COMPILER_FREEBSD_VERSION, we use a numeric value that we bump each time we make a change t

svn commit: r358130 - head/sys/vm

2020-02-19 Thread Jeff Roberson
Author: jeff Date: Wed Feb 19 19:58:31 2020 New Revision: 358130 URL: https://svnweb.freebsd.org/changeset/base/358130 Log: Use SMR to provide a safe unlocked lookup for vm_radix. The tree is kept correct for readers with store barriers and careful ordering. The existing object lock seri

svn commit: r358129 - head/sys/sys

2020-02-19 Thread Jeff Roberson
Author: jeff Date: Wed Feb 19 19:51:09 2020 New Revision: 358129 URL: https://svnweb.freebsd.org/changeset/base/358129 Log: Since r357940 it is no longer possible to use a single type cast for all atomic_*_ptr functions. Modified: head/sys/sys/smr.h Modified: head/sys/sys/smr.h ===

svn commit: r358128 - in head: lib/libmemstat sys/vm

2020-02-19 Thread Jeff Roberson
Author: jeff Date: Wed Feb 19 18:48:46 2020 New Revision: 358128 URL: https://svnweb.freebsd.org/changeset/base/358128 Log: Use per-domain locks for the bucket cache. This gives much better concurrency when there are a large number of cores per-domain and multiple domains. Avoid taking t

svn commit: r358127 - in head: contrib/ncurses contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/misc contrib/ncurses/nc...

2020-02-19 Thread Baptiste Daroussin
Author: bapt Date: Wed Feb 19 17:09:08 2020 New Revision: 358127 URL: https://svnweb.freebsd.org/changeset/base/358127 Log: Update to 6.2-20200215 While I didn't plan another upgrade, This version incorporate fixes from kevans@ so let's upgrade to it Modified: head/contrib/ncurses/ANNO

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

2020-02-19 Thread Kristof Provost
Author: kp Date: Wed Feb 19 16:44:16 2020 New Revision: 358124 URL: https://svnweb.freebsd.org/changeset/base/358124 Log: bridge tests: Remove unneeded 'All rights reserved.' The FreeBSD foundation no longer requires this, as per https://lists.freebsd.org/pipermail/svn-src-all/2019-Februa

svn commit: r358123 - head/tools/tools/nanobsd/dhcpd

2020-02-19 Thread Ed Maste
Author: emaste Date: Wed Feb 19 16:23:21 2020 New Revision: 358123 URL: https://svnweb.freebsd.org/changeset/base/358123 Log: nanobsd: add WITHOUT_LLVM_COV, akin to WITHOUT_GCOV Another case, missed in r358105 Modified: head/tools/tools/nanobsd/dhcpd/common Modified: head/tools/tools/na

svn commit: r358120 - head

2020-02-19 Thread Ed Maste
Author: emaste Date: Wed Feb 19 15:56:40 2020 New Revision: 358120 URL: https://svnweb.freebsd.org/changeset/base/358120 Log: Cirrus-CI: increase timeout to 120m For some reason build+package+test time went from about 1h10 to over 1h30 (killed due to timeout prior to completion). The

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-19 Thread Baptiste Daroussin
On Wed, Feb 19, 2020 at 05:18:25PM +0200, Konstantin Belousov wrote: > On Wed, Feb 19, 2020 at 10:41:27AM +0100, Baptiste Daroussin wrote: > > On Wed, Feb 19, 2020 at 11:02:11AM +0300, Yuri Pankov wrote: > > > On 18 Feb 2020, at 11:11, Baptiste Daroussin wrote: > > > > > > > > Author: bapt > > >

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-19 Thread Konstantin Belousov
On Wed, Feb 19, 2020 at 10:41:27AM +0100, Baptiste Daroussin wrote: > On Wed, Feb 19, 2020 at 11:02:11AM +0300, Yuri Pankov wrote: > > On 18 Feb 2020, at 11:11, Baptiste Daroussin wrote: > > > > > > Author: bapt > > > Date: Tue Feb 18 08:11:52 2020 > > > New Revision: 358062 > > > URL: https://sv

svn commit: r358118 - head/usr.bin/truss

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 15:12:01 2020 New Revision: 358118 URL: https://svnweb.freebsd.org/changeset/base/358118 Log: truss: fix shm_open2 oversight (BinString -> Name) BinString assumes a length in the next argument; Name is more appropriate for the final argument. Modified: h

svn commit: r358117 - head/usr.bin/kdump

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 14:55:59 2020 New Revision: 358117 URL: https://svnweb.freebsd.org/changeset/base/358117 Log: kdump: decode shm_open2 This is the kdump counterpart of the truss support added in r358116, and also a part of D23733. shm_open2 is the successor to shm_open.

svn commit: r358116 - head/usr.bin/truss

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 14:54:33 2020 New Revision: 358116 URL: https://svnweb.freebsd.org/changeset/base/358116 Log: truss: decode shm_open2 shm_open2 is similar to shm_open, except it also takes shmflags and optional name to label the anonymous region for, e.g., debugging purpos

svn commit: r358115 - head/lib/libsysdecode

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 14:52:32 2020 New Revision: 358115 URL: https://svnweb.freebsd.org/changeset/base/358115 Log: libsysdecode: grab shmflags from sys/mman.h, add decode method Any SHM_* flag here is (and likely will continue to be) a shmflag that may be passed to shm_open2(),

svn commit: r358111 - head/usr.bin/whereis

2020-02-19 Thread Ed Maste
Author: emaste Date: Wed Feb 19 14:40:53 2020 New Revision: 358111 URL: https://svnweb.freebsd.org/changeset/base/358111 Log: whereis: remove gnu/libexec from source search paths The last subdirectory of gnu/libexec was removed in r85742. Modified: head/usr.bin/whereis/pathnames.h Modif

svn commit: r358109 - head/usr.bin/kdump

2020-02-19 Thread Kyle Evans
Author: kevans Date: Wed Feb 19 14:32:55 2020 New Revision: 358109 URL: https://svnweb.freebsd.org/changeset/base/358109 Log: kdump: decode SHM_ANON as first arg to legacy shm_open(2) The first argument to shm_open(2) as well as shm_open2(2) may be a path or SHM_ANON. Decode SHM_ANON, at

svn commit: r358105 - head/tools/tools/nanobsd/embedded

2020-02-19 Thread Ed Maste
Author: emaste Date: Wed Feb 19 14:26:27 2020 New Revision: 358105 URL: https://svnweb.freebsd.org/changeset/base/358105 Log: nanobsd: add WITHOUT_LLVM_COV, akin to WITHOUT_GCOV Modified: head/tools/tools/nanobsd/embedded/common Modified: head/tools/tools/nanobsd/embedded/common

svn commit: r358103 - head

2020-02-19 Thread Baptiste Daroussin
Author: bapt Date: Wed Feb 19 14:18:17 2020 New Revision: 358103 URL: https://svnweb.freebsd.org/changeset/base/358103 Log: Add a note about some fallouts due to the ncurses update Modified: head/UPDATING Modified: head/UPDATING ===

svn commit: r358102 - head/share/man/man5

2020-02-19 Thread Ed Maste
Author: emaste Date: Wed Feb 19 14:16:48 2020 New Revision: 358102 URL: https://svnweb.freebsd.org/changeset/base/358102 Log: src.conf.5: regen after r358101, WITHOUT_GCOV default Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ==

svn commit: r358101 - head/share/mk

2020-02-19 Thread Ed Maste
Author: emaste Date: Wed Feb 19 14:12:59 2020 New Revision: 358101 URL: https://svnweb.freebsd.org/changeset/base/358101 Log: Move GCOV option to default NO GNU gcov will be removed along with GCC 4.2.1 at the end of the month. Change the default to NO in preparation. Modified: head/sh

svn commit: r358100 - head/lib/ncurses/ncurses

2020-02-19 Thread Baptiste Daroussin
Author: bapt Date: Wed Feb 19 14:09:15 2020 New Revision: 358100 URL: https://svnweb.freebsd.org/changeset/base/358100 Log: lib_gen.c now also depends on ncurses_dll.h specify it to prevent some breakage if ncurses_dll.h is already present in base while building Modified: head/lib/ncurses/

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-19 Thread Baptiste Daroussin
On Wed, Feb 19, 2020 at 04:45:27AM -0800, Rodney W. Grimes wrote: > > On 18 Feb 2020, at 11:11, Baptiste Daroussin wrote: > > > > > > Author: bapt > > > Date: Tue Feb 18 08:11:52 2020 > > > New Revision: 358062 > > > URL: https://svnweb.freebsd.org/changeset/base/358062 > > > > > > Log: > > > U

svn commit: r358099 - in head: lib/msun/man share/man/man7 usr.sbin/ac usr.sbin/sa

2020-02-19 Thread Sergio Carlavilla Delgado
Author: carlavilla (doc committer) Date: Wed Feb 19 12:49:49 2020 New Revision: 358099 URL: https://svnweb.freebsd.org/changeset/base/358099 Log: Add some HISTORY sections to manpages environ(7) was in AT&T Version 7 ac(8): Add a HISTORY section sa(8): Add a HISTORY section sqrt(3): A

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-19 Thread Rodney W. Grimes
> On 18 Feb 2020, at 11:11, Baptiste Daroussin wrote: > > > > Author: bapt > > Date: Tue Feb 18 08:11:52 2020 > > New Revision: 358062 > > URL: https://svnweb.freebsd.org/changeset/base/358062 > > > > Log: > > Update ncurses to 20200118 > > > > Among the changes from before: > > - Add suppor

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-19 Thread Li-Wen Hsu
On Wed, Feb 19, 2020 at 5:04 PM Dimitry Andric wrote: > > On 2020-02-18 09:11, Baptiste Daroussin wrote: > > Author: bapt > > Date: Tue Feb 18 08:11:52 2020 > > New Revision: 358062 > > URL: https://svnweb.freebsd.org/changeset/base/358062 > > > > Log: > >Update ncurses to 20200118 > > Apparen

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-19 Thread Baptiste Daroussin
On Wed, Feb 19, 2020 at 11:02:11AM +0300, Yuri Pankov wrote: > On 18 Feb 2020, at 11:11, Baptiste Daroussin wrote: > > > > Author: bapt > > Date: Tue Feb 18 08:11:52 2020 > > New Revision: 358062 > > URL: https://svnweb.freebsd.org/changeset/base/358062 > > > > Log: > > Update ncurses to 202001

svn commit: r358098 - head/sys/vm

2020-02-19 Thread Jeff Roberson
Author: jeff Date: Wed Feb 19 09:10:11 2020 New Revision: 358098 URL: https://svnweb.freebsd.org/changeset/base/358098 Log: Don't release xbusy on kmem pages. After lockless page lookup we will not be able to guarantee that they can be racquired without blocking. Reviewed by: kib Disc

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-19 Thread Dimitry Andric
On 2020-02-18 09:11, Baptiste Daroussin wrote: Author: bapt Date: Tue Feb 18 08:11:52 2020 New Revision: 358062 URL: https://svnweb.freebsd.org/changeset/base/358062 Log: Update ncurses to 20200118 Apparently this breaks the gcc builds, because it can't find the function "box" anymore: -

svn commit: r358097 - in head/sys: kern vm

2020-02-19 Thread Jeff Roberson
Author: jeff Date: Wed Feb 19 08:17:27 2020 New Revision: 358097 URL: https://svnweb.freebsd.org/changeset/base/358097 Log: Eliminate some unnecessary uses of UMA_ZONE_VM. Only zones involved in virtual address or physical page allocation need to be marked with this flag. Reviewed by:

svn commit: r358096 - head/sys/sys

2020-02-19 Thread Jeff Roberson
Author: jeff Date: Wed Feb 19 08:15:20 2020 New Revision: 358096 URL: https://svnweb.freebsd.org/changeset/base/358096 Log: Type validating smr protected pointer accessors. This API is intended to provide some measure of safety with SMR protected pointers. A struct wrapper provides type

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-19 Thread Yuri Pankov
On 18 Feb 2020, at 11:11, Baptiste Daroussin wrote: > > Author: bapt > Date: Tue Feb 18 08:11:52 2020 > New Revision: 358062 > URL: https://svnweb.freebsd.org/changeset/base/358062 > > Log: > Update ncurses to 20200118 > > Among the changes from before: > - Add support for extended colors on