svn commit: r368360 - head/sys/kern

2020-12-04 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 5 05:56:23 2020 New Revision: 368360 URL: https://svnweb.freebsd.org/changeset/base/368360 Log: vfs: keep bad ops on vnode reclaim They were only modified to accomodate a redundant assertion. This runs into problems as lockless lookup can still try to use

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-04 Thread Matthew Macy
I worry about the incredible mess of header dependencies that the linuxkpi is prone to introducing. I’m happy to review any proposed changes to that effect, but do not feel like it’s important enough to make a priority. Thanks. -M On Mon, Nov 30, 2020 at 08:33 Bjoern A. Zeeb wrote: > On 30

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-04 Thread Matthew Macy
Just what I put on the review. I’ll put together a man page the week after next. Sorry for the delay. -M On Mon, Nov 30, 2020 at 10:16 Michael Tuexen wrote: > > > > On 29. Nov 2020, at 20:38, Matt Macy wrote: > > > > Author: mmacy > > Date: Sun Nov 29 19:38:03 2020 > > New Revision: 368163 >

svn commit: r368359 - head/lib/libc/regex

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 03:18:48 2020 New Revision: 368359 URL: https://svnweb.freebsd.org/changeset/base/368359 Log: libc: regex: retire internal EMPTBR ("Empty branch present") It was realized just a little too late that this was a hack that belonged in individual

svn commit: r368358 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex lib/libregex/tests

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 03:16:05 2020 New Revision: 368358 URL: https://svnweb.freebsd.org/changeset/base/368358 Log: libregex: implement \b and \B (word boundary, not word boundary) This is the last of the needed GNU expressions before we can unleash bsdgrep by default. \b is

svn commit: r368357 - in head/lib: libc/regex libregex/tests

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 03:13:47 2020 New Revision: 368357 URL: https://svnweb.freebsd.org/changeset/base/368357 Log: libregex: implement \` and \' (begin-of-subj, end-of-subj) These are GNU extensions, generally equivalent to ^ and $ except that the new syntax will not match

svn commit: r368356 - head/lib/libc/regex

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 02:23:11 2020 New Revision: 368356 URL: https://svnweb.freebsd.org/changeset/base/368356 Log: libc: regex: factor out ISBOW/ISEOW macros These will be reused for \b (word boundary, which matches both sides). No functional change. Modified:

svn commit: r368355 - in head: share/mk tools/build/options usr.bin/grep

2020-12-04 Thread Kyle Evans
Author: kevans Date: Sat Dec 5 02:21:58 2020 New Revision: 368355 URL: https://svnweb.freebsd.org/changeset/base/368355 Log: Retire GNU_GREP_COMPAT knob This was introduced and then disabled by default primarily to avoid dealing with bugs in libgnuregex. rS363823 switched to using

svn commit: r368354 - in head: lib/libc/powerpc lib/libc/powerpc64 lib/libc/powerpc64/sys lib/libthr/arch/i386/i386 lib/msun/i387 libexec/rtld-elf/aarch64 libexec/rtld-elf/powerpc libexec/rtld-elf/...

2020-12-04 Thread Conrad Meyer
Author: cem Date: Sat Dec 5 00:33:28 2020 New Revision: 368354 URL: https://svnweb.freebsd.org/changeset/base/368354 Log: Add CFI start/end proc directives to arm64, i386, and ppc Follow-up to r353959 and r368070: do the same for other architectures. arm32 already seems to use its

svn commit: r368353 - head/sys/netinet6

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 21:51:47 2020 New Revision: 368353 URL: https://svnweb.freebsd.org/changeset/base/368353 Log: Expose nonstandard IPv6 kernel definitions to standalone builds. No functional change. Reviewed by: bz@ MFC after:1 week Sponsored by: Mellanox

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

2020-12-04 Thread Warner Losh
Author: imp Date: Fri Dec 4 21:34:48 2020 New Revision: 368352 URL: https://svnweb.freebsd.org/changeset/base/368352 Log: nvme: Remove a wmb() that's not necessary. bus_dmamap_sync() ensures that memory that's prepared for PREWRITE can be DMA'd immediately after it returns. The details

svn commit: r368351 - head/sys/x86/x86

2020-12-04 Thread Warner Losh
Author: imp Date: Fri Dec 4 21:34:04 2020 New Revision: 368351 URL: https://svnweb.freebsd.org/changeset/base/368351 Log: busdma: Annotate bus_dmamap_sync() with fence Add an explicit thread fence release before returning from bus_dmamap_sync. This should be a no-op in practice, but

svn commit: r368350 - in head: share/man/man4 sys/conf sys/crypto/openssl sys/crypto/openssl/aarch64 sys/modules sys/modules/ossl tests/sys/opencrypto

2020-12-04 Thread Mitchell Horne
Author: mhorne Date: Fri Dec 4 21:12:17 2020 New Revision: 368350 URL: https://svnweb.freebsd.org/changeset/base/368350 Log: ossl: port to arm64 Enable in-kernel acceleration of SHA1 and SHA2 operations on arm64 by adding support for the ossl(4) crypto driver. This uses OpenSSL's

svn commit: r368349 - in head/sys: conf crypto/openssl modules/ossl

2020-12-04 Thread Mitchell Horne
Author: mhorne Date: Fri Dec 4 20:54:20 2020 New Revision: 368349 URL: https://svnweb.freebsd.org/changeset/base/368349 Log: ossl: split out x86 bits to x86/ossl_cpuid.c Make room for adding arm64 support to this driver by moving the x86-specific feature parsing to a separate file.

svn commit: r368348 - head/sbin/ping

2020-12-04 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Dec 4 20:47:56 2020 New Revision: 368348 URL: https://svnweb.freebsd.org/changeset/base/368348 Log: ping(8): Fix a few mandoc related issues - new sentence, new line Modified: head/sbin/ping/ping.8 Modified: head/sbin/ping/ping.8

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

2020-12-04 Thread John Baldwin
Author: jhb Date: Fri Dec 4 20:14:25 2020 New Revision: 368347 URL: https://svnweb.freebsd.org/changeset/base/368347 Log: Various fixes for the MIPS DDB stack unwinder. - Fix kernel stack unwinding end-of-function false-positive The kernel stack unwinder assumes that any jr $ra

svn commit: r368346 - stable/12/libexec/rc/rc.d

2020-12-04 Thread Cy Schubert
Author: cy Date: Fri Dec 4 19:35:43 2020 New Revision: 368346 URL: https://svnweb.freebsd.org/changeset/base/368346 Log: Revert r366857. r366857 created a number of problems, tearing down interfaces too early in shutdown. This resulted in: - hung ssh sessions when shutting down or

svn commit: r368345 - head/libexec/rc/rc.d

2020-12-04 Thread Cy Schubert
Author: cy Date: Fri Dec 4 19:31:16 2020 New Revision: 368345 URL: https://svnweb.freebsd.org/changeset/base/368345 Log: Revert r366857. r366857 created a number of problems, tearing down interfaces too early in shutdown. This resulted in: - hung ssh sessions when shutting down or

svn commit: r368343 - head/sys/compat/freebsd32

2020-12-04 Thread Konstantin Belousov
Author: kib Date: Fri Dec 4 18:57:58 2020 New Revision: 368343 URL: https://svnweb.freebsd.org/changeset/base/368343 Log: Fix compat32 for ntp_adjtime(2). struct timex is not 32-bit safe, it uses longs for members. Provide translation. Reviewed by: brooks, cy Sponsored by: The

svn commit: r368344 - head/sys/compat/freebsd32

2020-12-04 Thread Konstantin Belousov
Author: kib Date: Fri Dec 4 18:58:27 2020 New Revision: 368344 URL: https://svnweb.freebsd.org/changeset/base/368344 Log: Regen Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c

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

2020-12-04 Thread Konstantin Belousov
Author: kib Date: Fri Dec 4 18:56:44 2020 New Revision: 368342 URL: https://svnweb.freebsd.org/changeset/base/368342 Log: Add kern_ntp_adjtime(9). Reviewed by: brooks, cy Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

IMPORTANT

2020-12-04 Thread majorstephenwilliams83
I've invited you to fill out the following form: Untitled form To fill it out, visit: https://docs.google.com/forms/d/e/1FAIpQLScp3kg7YAQIVqI-4lokSzZ-r5qv1YEjzWM_R79zKgMEz5iX_g/viewform?vc=0c=0w=1flr=0usp=mail_form_link Greetings, I am a Major with the United Nations troop in Iraq, on war

svn commit: r368341 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 16:51:59 2020 New Revision: 368341 URL: https://svnweb.freebsd.org/changeset/base/368341 Log: Fix mis-spelled macro in the kernel shim. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking Modified:

Re: svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
On 12/4/20 5:31 PM, Warner Losh wrote: Hi Alexander, I'm not sure how that definition will work together with existing code, mixing uint64_t, unsigned long, and unsigned long long. Will this cause more compiler warnings? This also will affect user-space and ports. I think for the boot loader

Re: svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Warner Losh
On Fri, Dec 4, 2020 at 9:06 AM Hans Petter Selasky wrote: > On 12/4/20 4:59 PM, Alexander Richardson wrote: > > On Fri, 4 Dec 2020 at 14:51, Hans Petter Selasky > wrote: > >> > >> Author: hselasky > >> Date: Fri Dec 4 14:50:55 2020 > >> New Revision: 368329 > >> URL:

Re: svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Alexander Richardson
On Fri, 4 Dec 2020 at 16:06, Hans Petter Selasky wrote: > > On 12/4/20 4:59 PM, Alexander Richardson wrote: > > On Fri, 4 Dec 2020 at 14:51, Hans Petter Selasky > > wrote: > >> > >> Author: hselasky > >> Date: Fri Dec 4 14:50:55 2020 > >> New Revision: 368329 > >> URL:

svn commit: r368340 - in head/sys: arm/rockchip arm64/rockchip arm64/rockchip/clk

2020-12-04 Thread Michal Meloun
Author: mmel Date: Fri Dec 4 16:24:44 2020 New Revision: 368340 URL: https://svnweb.freebsd.org/changeset/base/368340 Log: Add support for RK3288 SoC. Added: head/sys/arm/rockchip/files.rk32xx (contents, props changed) head/sys/arm/rockchip/rk32xx_machdep.c (contents, props changed)

Re: svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
On 12/4/20 4:59 PM, Alexander Richardson wrote: On Fri, 4 Dec 2020 at 14:51, Hans Petter Selasky wrote: Author: hselasky Date: Fri Dec 4 14:50:55 2020 New Revision: 368329 URL: https://svnweb.freebsd.org/changeset/base/368329 Log: Fix definition of int64_t and uint64_t when long is

svn commit: r368339 - stable/12/sys/fs/msdosfs

2020-12-04 Thread Konstantin Belousov
Author: kib Date: Fri Dec 4 16:05:31 2020 New Revision: 368339 URL: https://svnweb.freebsd.org/changeset/base/368339 Log: Fix msdosfs suspension. Unlike HEAD, stable/12 still uses the check for vfs_susp_clean != NULL as indicator that fs supports suspension. Satisfy the requirement by

Re: svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Alexander Richardson
On Fri, 4 Dec 2020 at 14:51, Hans Petter Selasky wrote: > > Author: hselasky > Date: Fri Dec 4 14:50:55 2020 > New Revision: 368329 > URL: https://svnweb.freebsd.org/changeset/base/368329 > > Log: > Fix definition of int64_t and uint64_t when long is 64-bit. This gets the > kernel > shim

svn commit: r368338 - head/tools/build

2020-12-04 Thread Alex Richardson
Author: arichardson Date: Fri Dec 4 15:53:44 2020 New Revision: 368338 URL: https://svnweb.freebsd.org/changeset/base/368338 Log: make.py: Also pass STRIPBIN This is required for cross-building to allow stripping the installed binaries. Submitted By: Henry Vogt Modified:

svn commit: r368337 - in head: . usr.sbin/crunch/crunchgen

2020-12-04 Thread Alex Richardson
Author: arichardson Date: Fri Dec 4 15:53:37 2020 New Revision: 368337 URL: https://svnweb.freebsd.org/changeset/base/368337 Log: crunchgen: fix NULL-deref bug introduced in r364647 While porting over the local changes from CheriBSD for upstreaming, I accidentally committed a broken

svn commit: r368336 - head/sys/compat/linuxkpi/common/include/linux

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 15:50:44 2020 New Revision: 368336 URL: https://svnweb.freebsd.org/changeset/base/368336 Log: Allow the rbtree header file in the LinuxKPI to be used in standalone code. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

svn commit: r368335 - head/sys/compat/linuxkpi/common/include/linux

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 15:46:48 2020 New Revision: 368335 URL: https://svnweb.freebsd.org/changeset/base/368335 Log: Allow the list header file in the LinuxKPI to be used in standalone code. Some style and spelling nits while at it. MFC after:1 week Sponsored by:

svn commit: r368334 - head/sys/dev/iicbus/pmic

2020-12-04 Thread Michal Meloun
Author: mmel Date: Fri Dec 4 15:23:43 2020 New Revision: 368334 URL: https://svnweb.freebsd.org/changeset/base/368334 Log: Add a driver for FAN53555 based PMIC. Added: head/sys/dev/iicbus/pmic/fan53555.c (contents, props changed) Added: head/sys/dev/iicbus/pmic/fan53555.c

svn commit: r368333 - head/gnu/lib

2020-12-04 Thread Kyle Evans
Author: kevans Date: Fri Dec 4 15:21:12 2020 New Revision: 368333 URL: https://svnweb.freebsd.org/changeset/base/368333 Log: gnu: don't build libgnuregex for WITH_GNU_GREP_COMPAT bsdgrep switched over to libregex back in r363823 to fill WITH_GNU_GREP_COMPAT, since libgnuregex in base is

svn commit: r368332 - head/sys/dev/iicbus/rtc

2020-12-04 Thread Michal Meloun
Author: mmel Date: Fri Dec 4 15:09:42 2020 New Revision: 368332 URL: https://svnweb.freebsd.org/changeset/base/368332 Log: Add a driver for HYM8563 based RTC. Added: head/sys/dev/iicbus/rtc/hym8563.c (contents, props changed) Added: head/sys/dev/iicbus/rtc/hym8563.c

svn commit: r368331 - head/sys/dev/iicbus/pmic

2020-12-04 Thread Michal Meloun
Author: mmel Date: Fri Dec 4 14:57:12 2020 New Revision: 368331 URL: https://svnweb.freebsd.org/changeset/base/368331 Log: Add a driver for ACT8846 used as PMIC for RK3288 SoC. Added: head/sys/dev/iicbus/pmic/ head/sys/dev/iicbus/pmic/act8846.c (contents, props changed)

svn commit: r368330 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 14:52:41 2020 New Revision: 368330 URL: https://svnweb.freebsd.org/changeset/base/368330 Log: Add more macros, types and prototypes for building kernel code into bootloaders. MFC after:1 week Sponsored by: Mellanox Technologies // NVIDIA Networking

svn commit: r368329 - head/stand/kshim

2020-12-04 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 4 14:50:55 2020 New Revision: 368329 URL: https://svnweb.freebsd.org/changeset/base/368329 Log: Fix definition of int64_t and uint64_t when long is 64-bit. This gets the kernel shim code in line with the rest of the kernel, sys/x86/include/_types.h. MFC

svn commit: r368328 - stable/12/usr.sbin/rtsold

2020-12-04 Thread Hajimu UMEMOTO
Author: ume Date: Fri Dec 4 14:09:12 2020 New Revision: 368328 URL: https://svnweb.freebsd.org/changeset/base/368328 Log: MFC r368111: fix casper initialization for setting scripts. Modified: stable/12/usr.sbin/rtsold/rtsold.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r368327 - head/sys/netinet

2020-12-04 Thread Richard Scheffenegger
Author: rscheff Date: Fri Dec 4 11:29:27 2020 New Revision: 368327 URL: https://svnweb.freebsd.org/changeset/base/368327 Log: Add TCP feature Proportional Rate Reduction (PRR) - RFC6937 PRR improves loss recovery and avoids RTOs in a wide range of scenarios (ACK thinning) over regular