svn commit: r366354 - head/sys/dev/cxgbe

2020-10-01 Thread Navdeep Parhar
Author: np Date: Fri Oct 2 05:59:55 2020 New Revision: 366354 URL: https://svnweb.freebsd.org/changeset/base/366354 Log: cxgbe(4): validate largest_rx_cluster and safest_rx_cluster. These tunables can only be set to a valid cluster size (2K, 4K, 9K, or 16K) as documented in the man page.

Re: svn commit: r366344 - in head: lib/libmd sys/crypto/skein/amd64

2020-10-01 Thread Kyle Evans
On Thu, Oct 1, 2020 at 8:23 PM Cy Schubert wrote: > > In message om> > , Kyle Evans writes: > > On Thu, Oct 1, 2020 at 4:06 PM Ed Maste wrote: > > > > > > Author: emaste > > > Date: Thu Oct 1 21:05:50 2020 > > > New Revision: 366344 > > > URL: https://svnweb.freebsd.org/changeset/base/366344 >

svn commit: r366353 - head/sys/contrib/openzfs/module/os/freebsd/spl

2020-10-01 Thread Matt Macy
Author: mmacy Date: Fri Oct 2 01:25:08 2020 New Revision: 366353 URL: https://svnweb.freebsd.org/changeset/base/366353 Log: OpenZFS: don't call fpu_kern_thread on i386 Modified: head/sys/contrib/openzfs/module/os/freebsd/spl/spl_taskq.c Modified: head/sys/contrib/openzfs/module/os/freebsd/s

Re: svn commit: r366344 - in head: lib/libmd sys/crypto/skein/amd64

2020-10-01 Thread Cy Schubert
In message , Kyle Evans writes: > On Thu, Oct 1, 2020 at 4:06 PM Ed Maste wrote: > > > > Author: emaste > > Date: Thu Oct 1 21:05:50 2020 > > New Revision: 366344 > > URL: https://svnweb.freebsd.org/changeset/base/366344 > > > > Log: > > libmd: fix assembly optimized skein implementation > > >

Re: svn commit: r366344 - in head: lib/libmd sys/crypto/skein/amd64

2020-10-01 Thread Kyle Evans
On Thu, Oct 1, 2020 at 4:06 PM Ed Maste wrote: > > Author: emaste > Date: Thu Oct 1 21:05:50 2020 > New Revision: 366344 > URL: https://svnweb.freebsd.org/changeset/base/366344 > > Log: > libmd: fix assembly optimized skein implementation > > The assembly implementation incorrectly used logic

svn commit: r366351 - head/contrib/netbsd-tests/fs

2020-10-01 Thread Mitchell Horne
Author: mhorne Date: Fri Oct 2 00:52:31 2020 New Revision: 366351 URL: https://svnweb.freebsd.org/changeset/base/366351 Log: tmpfs tests: check for built-in tmpfs module As of r363471, tmpfs is included in all GENERIC kernel configs. This results in a warning being emitted for each call

Re: svn commit: r366350 - in head/sys/contrib/openzfs: . .github cmd/zfs config contrib/initramfs/scripts contrib/intel_qat include/os/freebsd/spl/sys include/os/linux/spl/sys include/sys include/s

2020-10-01 Thread Cy Schubert
Time to deorbit i386 once and for all. What a pain. --- spl_taskq.o --- /opt/src/svn-current/sys/contrib/openzfs/module/os/freebsd/spl/spl_taskq.c:1 74:3: error: implicit declaration of function 'fpu_kern_thread' is invalid in C99 [-Werror,-Wimplicit-function-declaration] fpu_kern

svn commit: r366350 - in head/sys/contrib/openzfs: . .github cmd/zfs config contrib/initramfs/scripts contrib/intel_qat include/os/freebsd/spl/sys include/os/linux/spl/sys include/sys include/sys/l...

2020-10-01 Thread Matt Macy
Author: mmacy Date: Thu Oct 1 23:28:21 2020 New Revision: 366350 URL: https://svnweb.freebsd.org/changeset/base/366350 Log: OpenZFS: MFV 2.0-rc3-gfc5966 - Annotate FreeBSD sysctls with CTLFLAG_MPSAFE - Reduce stack usage of Lua - Don't save user FPU context in kernel threads - Add su

svn commit: r366347 - head/sys/amd64/vmm/amd

2020-10-01 Thread Mark Johnston
Author: markj Date: Thu Oct 1 22:20:29 2020 New Revision: 366347 URL: https://svnweb.freebsd.org/changeset/base/366347 Log: Remove svn:executable from a couple of vmm(4) source files. MFC after:3 days Modified: Directory Properties: head/sys/amd64/vmm/amd/amdvi_priv.h (props chang

svn commit: r366346 - head/contrib/netbsd-tests/lib/libc/sys

2020-10-01 Thread Eric van Gyzen
Author: vangyzen Date: Thu Oct 1 21:52:57 2020 New Revision: 366346 URL: https://svnweb.freebsd.org/changeset/base/366346 Log: fix setitimer test for returned it_value An old it_value of {4,3} is valid. Allow it. Reviewed by: bdrewery MFC after:2 weeks Sponsored by: Dell EMC

svn commit: r366345 - in head: contrib/netbsd-tests/usr.bin/grep usr.bin/grep

2020-10-01 Thread Eric van Gyzen
Author: vangyzen Date: Thu Oct 1 21:48:22 2020 New Revision: 366345 URL: https://svnweb.freebsd.org/changeset/base/366345 Log: zgrep: fix exit status with multiple files zgrep should exit with success when given multiple files and the pattern is found in at least one file. Prior to this

svn commit: r366344 - in head: lib/libmd sys/crypto/skein/amd64

2020-10-01 Thread Ed Maste
Author: emaste Date: Thu Oct 1 21:05:50 2020 New Revision: 366344 URL: https://svnweb.freebsd.org/changeset/base/366344 Log: libmd: fix assembly optimized skein implementation The assembly implementation incorrectly used logical AND instead of bitwise AND. Fix, and re-enable in libmd.

svn commit: r366343 - head/sys/kern

2020-10-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 1 20:08:27 2020 New Revision: 366343 URL: https://svnweb.freebsd.org/changeset/base/366343 Log: Revert r366340. CR wasn't finished and it breaks the build. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c ===

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

2020-10-01 Thread Michael Tuexen
> On 1. Oct 2020, at 21:17, Bryan Drewery wrote: > > Author: bdrewery > Date: Thu Oct 1 19:17:03 2020 > New Revision: 366340 > URL: https://svnweb.freebsd.org/changeset/base/366340 > > Log: > Use unlocked page lookup for inmem() to avoid object lock contention > > Reviewed By: kib, markj >

svn commit: r366342 - head/lib/libc/gen

2020-10-01 Thread Kyle Evans
Author: kevans Date: Thu Oct 1 19:56:38 2020 New Revision: 366342 URL: https://svnweb.freebsd.org/changeset/base/366342 Log: auxv: partially revert r366207, cast buflen to unsigned int as needed The warning generated pre-r366207 is actually a sign comparison warning: error: comparison

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

2020-10-01 Thread Ravi Pokala
If you changed it to bool, shouldn't you be using "true" and "false"? Thanks, Ravi (rpokala@) -Original Message- From: on behalf of Bryan Drewery Date: 2020-10-01, Thursday at 12:17 To: , , Subject: svn commit: r366340 - head/sys/kern Author: bdrewery Date: Thu Oct 1 19:

svn commit: r366340 - head/sys/kern

2020-10-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 1 19:17:03 2020 New Revision: 366340 URL: https://svnweb.freebsd.org/changeset/base/366340 Log: Use unlocked page lookup for inmem() to avoid object lock contention Reviewed By: kib, markj Sponsored by: Dell EMC Isilon Submitted by: mlaier Differential

svn commit: r366339 - in head: contrib/llvm-project/lld/docs contrib/llvm-project/llvm/include/llvm-c contrib/llvm-project/llvm/include/llvm/ADT contrib/llvm-project/llvm/lib/CodeGen contrib/llvm-p...

2020-10-01 Thread Dimitry Andric
Author: dim Date: Thu Oct 1 19:06:07 2020 New Revision: 366339 URL: https://svnweb.freebsd.org/changeset/base/366339 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp release/11.x llvmorg-11.0.0-rc5-0-g60a25202a7d. MFC after:4 weeks X-MFC-With: r364284

svn commit: r366337 - head/usr.sbin/ctld

2020-10-01 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Oct 1 18:56:44 2020 New Revision: 366337 URL: https://svnweb.freebsd.org/changeset/base/366337 Log: Don't ignore the return value from gethostname(3). It probably cannot happen, but it silences Coverity. Reviewed by: mav MFC after:2 weeks Sponsored by: N

svn commit: r366336 - head/sys/kern

2020-10-01 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Oct 1 18:45:31 2020 New Revision: 366336 URL: https://svnweb.freebsd.org/changeset/base/366336 Log: Only clear TDP_NERRNO when needed, ie when it's previously been set. Reviewed by: kib Tested by:pho Sponsored by: DARPA Differential Revision:https

svn commit: r366331 - head/usr.sbin/bhyve

2020-10-01 Thread John Baldwin
Author: jhb Date: Thu Oct 1 17:16:05 2020 New Revision: 366331 URL: https://svnweb.freebsd.org/changeset/base/366331 Log: bhyve: Fix build with option BHYVE_SNAPSHOT 'ident' was replaced with 'ata_ident' in revision r363596. Submitted by: Vitaliy Gusev Reviewed by: Darius Mihai

svn commit: r366330 - head/sys/dev/ichsmb

2020-10-01 Thread Emmanuel Vadot
Author: manu Date: Thu Oct 1 16:55:01 2020 New Revision: 366330 URL: https://svnweb.freebsd.org/changeset/base/366330 Log: ichsmb_pci: convert to pci_device_table / add PCI_PNP_INFO Submitted by: Greg V Reviewed by: mav Differential Revision:https://reviews.freebsd.org/D25260

svn commit: r366328 - in head/sys/amd64/vmm: . amd intel

2020-10-01 Thread John Baldwin
Author: jhb Date: Thu Oct 1 16:45:11 2020 New Revision: 366328 URL: https://svnweb.freebsd.org/changeset/base/366328 Log: Clear the upper 32-bits of registers in x86_emulate_cpuid(). Per the Intel manuals, CPUID is supposed to unconditionally zero the upper 32 bits of the involved (rax/r

svn commit: r366327 - in head/lib/libc: gen net

2020-10-01 Thread Enji Cooper
Author: ngie Date: Thu Oct 1 16:37:49 2020 New Revision: 366327 URL: https://svnweb.freebsd.org/changeset/base/366327 Log: Eliminate duplicate `afterinstallconfigs` target Define separate dependent targets which `afterinstallconfigs` relies on, in order to modify `${DESTDIR}/etc/master.p

Re: svn commit: r366207 - head/lib/libc/gen

2020-10-01 Thread Kyle Evans
On Thu, Oct 1, 2020 at 10:45 AM Konstantin Belousov wrote: > > On Mon, Sep 28, 2020 at 07:01:38PM +0300, Konstantin Belousov wrote: > > On Mon, Sep 28, 2020 at 10:06:55AM -0500, Kyle Evans wrote: > > > I would be tempted to just revert the rest of the local modifications > > > (sans negative check

svn commit: r366318 - in head/contrib/bc: . include src

2020-10-01 Thread Stefan Eßer
Author: se Date: Thu Oct 1 15:45:07 2020 New Revision: 366318 URL: https://svnweb.freebsd.org/changeset/base/366318 Log: Upgrade to version 3.1.6 This upgrade addresses one (benign) compiler warning when building with LLVM-12. Modified: head/contrib/bc/Makefile.in head/contrib/bc/NE

Re: svn commit: r366207 - head/lib/libc/gen

2020-10-01 Thread Konstantin Belousov
On Mon, Sep 28, 2020 at 07:01:38PM +0300, Konstantin Belousov wrote: > On Mon, Sep 28, 2020 at 10:06:55AM -0500, Kyle Evans wrote: > > I would be tempted to just revert the rest of the local modifications > > (sans negative check, maybe) and widen it in the one spot that the > > compiler complains

svn commit: r366315 - in head/sys/riscv: include riscv

2020-10-01 Thread Kristof Provost
Author: kp Date: Thu Oct 1 15:04:55 2020 New Revision: 366315 URL: https://svnweb.freebsd.org/changeset/base/366315 Log: riscv: Add memmmap so we can mmap /dev/mem Reviewed by: mhorne Sponsored by: Axiado Differential Revision:https://reviews.freebsd.org/D26622 Modified: he

Re: svn commit: r366312 - head/sys/dev/extres/syscon

2020-10-01 Thread Ed Maste
On Thu, 1 Oct 2020 at 05:50, Michal Meloun wrote: > > Author: mmel > Date: Thu Oct 1 09:50:08 2020 > New Revision: 366312 > URL: https://svnweb.freebsd.org/changeset/base/366312 > > Log: > Fix the inverted condition in mtx_asserts. > Mutex should be owned in affected functions. Thanks! The b

svn commit: r366314 - head/stand/lua

2020-10-01 Thread Kyle Evans
Author: kevans Date: Thu Oct 1 14:20:36 2020 New Revision: 366314 URL: https://svnweb.freebsd.org/changeset/base/366314 Log: lualoader: clear up some luacheck warnings - One (1) unused argument - One (1) trailing whitespace - Two (2) "non-standard global" (curenv, rewind) tools/bo

svn commit: r366313 - head/sys/arm64/conf

2020-10-01 Thread Ed Maste
Author: emaste Date: Thu Oct 1 13:29:29 2020 New Revision: 366313 URL: https://svnweb.freebsd.org/changeset/base/366313 Log: Add cd device to arm64 GENERIC Big-iron arm64 machines might have a CD, possibly provided by some IPMI emulation. Reported by: scottph Modified: head/sys/

Re: svn commit: r366161 - head/sys/dev/extres/syscon

2020-10-01 Thread Michal Meloun
On 30.09.2020 18:33, Ed Maste wrote: > On Fri, 25 Sep 2020 at 12:44, Michal Meloun wrote: >> >> Author: mmel >> Date: Fri Sep 25 16:44:01 2020 >> New Revision: 366161 >> URL: https://svnweb.freebsd.org/changeset/base/366161 > > The pine64 in CI is currently broken, panicking at boot with: > pa

svn commit: r366312 - head/sys/dev/extres/syscon

2020-10-01 Thread Michal Meloun
Author: mmel Date: Thu Oct 1 09:50:08 2020 New Revision: 366312 URL: https://svnweb.freebsd.org/changeset/base/366312 Log: Fix the inverted condition in mtx_asserts. Mutex should be owned in affected functions. Reborted by: emaste MFC after:4 weeks MFC with: r366161 Modifie

svn commit: r366311 - head/usr.sbin/crashinfo

2020-10-01 Thread Alexander Leidinger
Author: netchild Date: Thu Oct 1 08:57:36 2020 New Revision: 366311 URL: https://svnweb.freebsd.org/changeset/base/366311 Log: Remove nfsstat. Running nfsstat in crashinfo will give the stats of the running kernel instead of the stats of the crashed kernel. The current version uses sysctls

svn commit: r366310 - head/sys/kern

2020-10-01 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 1 08:46:21 2020 New Revision: 366310 URL: https://svnweb.freebsd.org/changeset/base/366310 Log: cache: properly report ENOTDIR on foo/bar lookups where foo is a file Reported by: fernape Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c