Re: svn commit: r365521 - head/sys/net/route

2020-09-09 Thread Hartmann, O.
On Wed, 9 Sep 2020 22:07:55 + (UTC) "Alexander V. Chernikov" wrote: > Author: melifaro > Date: Wed Sep 9 22:07:54 2020 > New Revision: 365521 > URL: https://svnweb.freebsd.org/changeset/base/365521 > > Log: > Update nexthop handling for route addition/deletion in preparation > for mpath.

Re: svn commit: r365517 - head/sys/net/route

2020-09-09 Thread Andriy Gapon
On 10/09/2020 00:45, Alexander V. Chernikov wrote: > Author: melifaro > Date: Wed Sep 9 21:45:18 2020 > New Revision: 365517 > URL: https://svnweb.freebsd.org/changeset/base/365517 > > Log: > Retain marking net.fibs sysctl as a tunable. > > Suggested by: avg > > Modified: >

svn commit: r365550 - head/sys/contrib/dev/ice

2020-09-09 Thread Eric Joyner
Author: erj Date: Thu Sep 10 04:00:13 2020 New Revision: 365550 URL: https://svnweb.freebsd.org/changeset/base/365550 Log: ice_ddp: Fix 1.3.16.0 package The version uploaded in the previous commit was far too small. This one should be the right size. MFC after:1 day Sponsored

svn commit: r365549 - head/bin/cp

2020-09-09 Thread Alan Somers
Author: asomers Date: Thu Sep 10 02:48:55 2020 New Revision: 365549 URL: https://svnweb.freebsd.org/changeset/base/365549 Log: cp: use copy_file_range(2) This has three advantages over write(2)/read(2): * Fewer context switches and data copies * Mostly preserves a file's sparseness

svn commit: r365548 - head/sys/powerpc/powernv

2020-09-09 Thread Brandon Bergren
Author: bdragon Date: Thu Sep 10 01:49:53 2020 New Revision: 365548 URL: https://svnweb.freebsd.org/changeset/base/365548 Log: [PowerPC] Fix setting of time in OPAL There were multiple bugs in the OPAL RTC code which had never been discovered, as the default configuration of OPAL

svn commit: r365547 - head/sbin/ping6

2020-09-09 Thread Richard Scheffenegger
Author: rscheff Date: Thu Sep 10 00:50:18 2020 New Revision: 365547 URL: https://svnweb.freebsd.org/changeset/base/365547 Log: Add -z "TOS" option to ping6, to test DSCP/ECN values ping has the option to add the (deprecated) TOS byte using the -z option. Adding the same option, with the

svn commit: r365546 - head/sys/netinet/cc

2020-09-09 Thread Richard Scheffenegger
Author: rscheff Date: Thu Sep 10 00:46:38 2020 New Revision: 365546 URL: https://svnweb.freebsd.org/changeset/base/365546 Log: cc_mod: remove unused CCF_DELACK definition During the DCTCP improvements, use of CCF_DELACK was removed. This change is just to rename the unused flag bit to

Re: svn commit: r365419 - in head/sys/dev: ath bwi iwm iwn mwl otus usb/wlan wtap

2020-09-09 Thread Tomoaki AOKI
This breaks at least iwm. (Other drivers not tested.) Messages below are repeatedly shown and no carrier detected. Manually reverting this commit fixes the issue. iwm0: failed to send antennas before calibration: 35 iwm_run_init_ucode: failed 35 iwm_init_hw failed 35 iwm0: could not initiate

svn commit: r365525 - head/usr.bin/posixshmcontrol

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 22:22:02 2020 New Revision: 365525 URL: https://svnweb.freebsd.org/changeset/base/365525 Log: Add posixshmcontrol(1) support for largepage shm objects. Create op with -l option can create it, stat displays configured page size. Reviewed by: markj

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

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 22:20:36 2020 New Revision: 365524 URL: https://svnweb.freebsd.org/changeset/base/365524 Log: Add shm_create_largepage(3) helper for creation and configuration of largepage shm objects. And since we can, add memfd_create(MFD_HUGETLB) support, hopefully

svn commit: r365523 - head/lib/libsysdecode

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 22:18:44 2020 New Revision: 365523 URL: https://svnweb.freebsd.org/changeset/base/365523 Log: Fix compilation of libsysdecode after r365522, should have been part of it. Reviewed by: markj Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:

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

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 22:12:51 2020 New Revision: 365522 URL: https://svnweb.freebsd.org/changeset/base/365522 Log: Support for userspace non-transparent superpages (largepages). Created with shm_open2(SHM_LARGEPAGE) and then configured with FIOSSHMLPGCNF ioctl, largepages posix

svn commit: r365521 - head/sys/net/route

2020-09-09 Thread Alexander V. Chernikov
Author: melifaro Date: Wed Sep 9 22:07:54 2020 New Revision: 365521 URL: https://svnweb.freebsd.org/changeset/base/365521 Log: Update nexthop handling for route addition/deletion in preparation for mpath. Currently kernel requests deletion for the certain routes with specified gateway,

svn commit: r365520 - head/sys/vm

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 22:02:30 2020 New Revision: 365520 URL: https://svnweb.freebsd.org/changeset/base/365520 Log: vm_map: Add a map entry kind that can only be clipped at specific boundary. The entries and their clip boundaries must be aligned on supported superpages sizes from

svn commit: r365518 - in head/sys: amd64/amd64 vm

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 21:50:24 2020 New Revision: 365518 URL: https://svnweb.freebsd.org/changeset/base/365518 Log: Add pmap_enter(9) PMAP_ENTER_LARGEPAGE flag and implement it on amd64. The flag requests entry of non-managed superpage mapping of size pagesizes[psind] into the

Re: svn commit: r364465 - in head/sys: conf net net/route

2020-09-09 Thread Alexander V . Chernikov
09.09.2020, 07:13, "Andriy Gapon" : > On 09/09/2020 00:50, Alexander V. Chernikov wrote: >>  08.09.2020, 21:03, "Andriy Gapon" : >>>  On 22/08/2020 00:34, Alexander V. Chernikov wrote:   Author: melifaro   Date: Fri Aug 21 21:34:52 2020   New Revision: 364465   URL:

svn commit: r365517 - head/sys/net/route

2020-09-09 Thread Alexander V. Chernikov
Author: melifaro Date: Wed Sep 9 21:45:18 2020 New Revision: 365517 URL: https://svnweb.freebsd.org/changeset/base/365517 Log: Retain marking net.fibs sysctl as a tunable. Suggested by: avg Modified: head/sys/net/route/route_tables.c Modified: head/sys/net/route/route_tables.c

svn commit: r365516 - head/sys/vm

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 21:44:59 2020 New Revision: 365516 URL: https://svnweb.freebsd.org/changeset/base/365516 Log: Add vm_map_find_aligned(9). Reviewed by: markj Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

svn commit: r365515 - in head/sys: sys vm

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 21:39:06 2020 New Revision: 365515 URL: https://svnweb.freebsd.org/changeset/base/365515 Log: Move MAP_32BIT_MAX_ADDR definition to sys/mman.h. Reviewed by: markj Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:1 week Differential

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

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 21:35:44 2020 New Revision: 365514 URL: https://svnweb.freebsd.org/changeset/base/365514 Log: Fix assert. Noted by: alc MFC after:1 week Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c

svn commit: r365513 - head/sys/vm

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 21:34:31 2020 New Revision: 365513 URL: https://svnweb.freebsd.org/changeset/base/365513 Log: Prepare to handle non-trivial errors from vm_map_delete(). Reviewed by: markj Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:1 week

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

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 21:08:45 2020 New Revision: 365512 URL: https://svnweb.freebsd.org/changeset/base/365512 Log: amd64 pmap: teach functions walking user page tables about PG_PS bit in PDPE. Only unmanaged 1G superpages are handled. Reviewed by: markj Tested by:pho

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

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 21:01:36 2020 New Revision: 365511 URL: https://svnweb.freebsd.org/changeset/base/365511 Log: amd64: report support for 1G superpages in getpagesizes(2). Reviewed by: markj Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:1 week

svn commit: r365510 - head/sys/kern

2020-09-09 Thread Konstantin Belousov
Author: kib Date: Wed Sep 9 21:00:11 2020 New Revision: 365510 URL: https://svnweb.freebsd.org/changeset/base/365510 Log: uipc_shm.c: Move comment where it belongs. Reviewed by: markj Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:1 week Differential

svn commit: r365509 - head/lib/libcompiler_rt

2020-09-09 Thread Dimitry Andric
Author: dim Date: Wed Sep 9 20:48:57 2020 New Revision: 365509 URL: https://svnweb.freebsd.org/changeset/base/365509 Log: Follow-up r364753 by enabling compiler-rt's atomic implementation only for clang, as it uses clang specific builtins, and does not compile correctly with gcc. Note that

svn commit: r365508 - in head: share/man/man5 usr.sbin/periodic

2020-09-09 Thread Robert Wing
Author: rew Date: Wed Sep 9 19:07:34 2020 New Revision: 365508 URL: https://svnweb.freebsd.org/changeset/base/365508 Log: periodic.conf(5): don't truncate interface names reported by 420.status-network. The daily periodic script, 420.status-network uses netstat(1) to report interface

svn commit: r365507 - head/contrib/llvm-project/llvm/lib/Support

2020-09-09 Thread Dimitry Andric
Author: dim Date: Wed Sep 9 18:11:04 2020 New Revision: 365507 URL: https://svnweb.freebsd.org/changeset/base/365507 Log: Merge commit e6bb4c8e7 from llvm git (by Craig Topper): [X86] SSE4_A should only imply SSE3 not SSSE3 in the frontend. SSE4_1 and SSE4_2 due imply SSSE3. So I

Re: svn commit: r365506 - in head: include lib/libc/gen lib/libc/sys

2020-09-09 Thread Kyle Evans
On Wed, Sep 9, 2020 at 1:07 PM Kyle Evans wrote: > > Author: kevans > Date: Wed Sep 9 18:07:13 2020 > New Revision: 365506 > URL: https://svnweb.freebsd.org/changeset/base/365506 > > Log: > getlogin_r: fix the type of len > > getlogin_r is specified by POSIX to to take a size_t len, not int.

svn commit: r365506 - in head: include lib/libc/gen lib/libc/sys

2020-09-09 Thread Kyle Evans
Author: kevans Date: Wed Sep 9 18:07:13 2020 New Revision: 365506 URL: https://svnweb.freebsd.org/changeset/base/365506 Log: getlogin_r: fix the type of len getlogin_r is specified by POSIX to to take a size_t len, not int. Fix our version to do the same, bump the symbol version due to

svn commit: r365505 - head/stand/efi/libefi

2020-09-09 Thread D Scott Phillips
Author: scottph Date: Wed Sep 9 16:35:51 2020 New Revision: 365505 URL: https://svnweb.freebsd.org/changeset/base/365505 Log: stand/efihttp: Work around a bug in edk2 http instance reconfiguration A bug in the EFI HTTP driver of TianoCore EDK2 causes memory corruption when an http

svn commit: r365504 - head/sys/kern

2020-09-09 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 9 16:13:33 2020 New Revision: 365504 URL: https://svnweb.freebsd.org/changeset/base/365504 Log: In r354148 the goal was to check THREAD_CAN_SLEEP() only once for the purpose of epoch_trace() and for calling subsequent panic, but to keep code fully under

Re: svn commit: r364891 - in head: . release release/scripts

2020-09-09 Thread Glen Barber
On Wed, Sep 09, 2020 at 11:45:49AM +0500, Ruslan Garipov wrote: > On August 28, 2020 2:19:33 AM Glen Barber wrote: > > > Author: gjb > > Date: Thu Aug 27 21:19:16 2020 > > New Revision: 364891 > > URL: https://svnweb.freebsd.org/changeset/base/364891 > > > > Log: > > Merge the

Re: uninitialized variables [Was: svn commit: r365445 - head/sys/cam/mmc]

2020-09-09 Thread Mark Johnston
On Wed, Sep 09, 2020 at 08:49:01AM +0300, Andriy Gapon wrote: > On 08/09/2020 15:48, Mark Johnston wrote: > > I observed the same thing recently as well: the compiler catches > > uninitialized variables only in simple cases. In my case, any uses of > > goto within the function seemed to silence

svn commit: r365502 - in head/sbin/ggate: ggatec ggated

2020-09-09 Thread Mark Johnston
Author: markj Date: Wed Sep 9 12:58:19 2020 New Revision: 365502 URL: https://svnweb.freebsd.org/changeset/base/365502 Log: ggate: Fix ggated/ggatec debug print of offsets. The request offset and length are always unsigned, so print them as such. Submitted by: Yoshihiro Ota MFC

svn commit: r365501 - head/sys/netinet/tcp_stacks

2020-09-09 Thread Randall Stewart
Author: rrs Date: Wed Sep 9 11:11:50 2020 New Revision: 365501 URL: https://svnweb.freebsd.org/changeset/base/365501 Log: So it turns out that syzkaller hit another crash. It has to do with switching stacks with a SENT_FIN outstanding. Both rack and bbr will only send a FIN if all data is

svn commit: r365500 - head/usr.sbin/certctl

2020-09-09 Thread Kyle Evans
Author: kevans Date: Wed Sep 9 09:08:09 2020 New Revision: 365500 URL: https://svnweb.freebsd.org/changeset/base/365500 Log: certctl: fix hashed link generation with duplicate subjects Currently, certctl rehash will just keep clobbering .0 rather than incrementing the suffix upon

svn commit: r365499 - in head: contrib/nvi contrib/nvi/catalog contrib/nvi/cl contrib/nvi/common contrib/nvi/docs contrib/nvi/ex contrib/nvi/files contrib/nvi/man contrib/nvi/vi usr.bin/vi usr.bin/...

2020-09-09 Thread Baptiste Daroussin
Author: bapt Date: Wed Sep 9 08:38:47 2020 New Revision: 365499 URL: https://svnweb.freebsd.org/changeset/base/365499 Log: Update nvi to 2.2.0 Main changes: * Vim-style expandtab option * Provides Turkish translation * Backspace now deletes \ rather than being escaped * T during

Re: svn commit: r364891 - in head: . release release/scripts

2020-09-09 Thread Ruslan Garipov
On August 28, 2020 2:19:33 AM Glen Barber wrote: Author: gjb Date: Thu Aug 27 21:19:16 2020 New Revision: 364891 URL: https://svnweb.freebsd.org/changeset/base/364891 Log: Merge the projects/release-git branch to head. This allows building 13.x from Git instead of Subversion. I'm sorry

Re: svn commit: r364891 - in head: . release release/scripts

2020-09-09 Thread Ruslan Garipov
I'm sorry for the late response. My build machine is completely offline. I provide it with fresh snapshots of the source and ports tree manually -- via tarballs which I'm pulling on a FreeBSD machine having Internet connection. Therefore, neither "/scratch", nor the chrooted environment for me

Re: svn commit: r364465 - in head/sys: conf net net/route

2020-09-09 Thread Andriy Gapon
On 09/09/2020 00:50, Alexander V. Chernikov wrote: > 08.09.2020, 21:03, "Andriy Gapon" : >> On 22/08/2020 00:34, Alexander V. Chernikov wrote: >>>  Author: melifaro >>>  Date: Fri Aug 21 21:34:52 2020 >>>  New Revision: 364465 >>>  URL: https://svnweb.freebsd.org/changeset/base/364465 >>> >>>