Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Ryan Moeller
> It's unclear from the context- is there any particular reason this > can't instead using sysctl kern.module_path and accept a semicolon > delimited list of directories for -k (maybe calling it -k kernelpath > instead)? No, that looks technically possible. -Ryan

Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Warner Losh
On Thu, Mar 12, 2020, 6:35 PM Kyle Evans wrote: > On Thu, Mar 12, 2020 at 6:05 PM Ryan Moeller wrote: > > > > Author: freqlabs > > Date: Thu Mar 12 23:04:40 2020 > > New Revision: 358923 > > URL: https://svnweb.freebsd.org/changeset/base/358923 > > > > Log: > > libpmcstat: Try /boot/modules

svn commit: r358928 - in head/sys/powerpc: booke powerpc

2020-03-12 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 13 01:27:37 2020 New Revision: 358928 URL: https://svnweb.freebsd.org/changeset/base/358928 Log: powerpc: Simplify _nodrop variants of FPU and vector register saves No need for an extra temporary. It doesn't even help with readability. Suggested by: kib

svn commit: r358927 - in stable/10/contrib/libarchive: cpio cpio/test libarchive libarchive/test

2020-03-12 Thread Martin Matuska
Author: mm Date: Fri Mar 13 01:06:08 2020 New Revision: 358927 URL: https://svnweb.freebsd.org/changeset/base/358927 Log: MFC r358533: Sync libarchive with vendor. Relevant vendor changes: Issue #1257: Add testcase for ZIPX files with LZMA_STREAM_END marker PR #1331: cpio.5: fix

svn commit: r358926 - in stable/11/contrib/libarchive: cpio cpio/test libarchive libarchive/test

2020-03-12 Thread Martin Matuska
Author: mm Date: Fri Mar 13 01:05:55 2020 New Revision: 358926 URL: https://svnweb.freebsd.org/changeset/base/358926 Log: MFC r358533: Sync libarchive with vendor. Relevant vendor changes: Issue #1257: Add testcase for ZIPX files with LZMA_STREAM_END marker PR #1331: cpio.5: fix

svn commit: r358925 - in stable/12/contrib/libarchive: cpio cpio/test libarchive libarchive/test

2020-03-12 Thread Martin Matuska
Author: mm Date: Fri Mar 13 01:05:40 2020 New Revision: 358925 URL: https://svnweb.freebsd.org/changeset/base/358925 Log: MFC r358533: Sync libarchive with vendor. Relevant vendor changes: Issue #1257: Add testcase for ZIPX files with LZMA_STREAM_END marker PR #1331: cpio.5: fix

Re: svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Kyle Evans
On Thu, Mar 12, 2020 at 6:05 PM Ryan Moeller wrote: > > Author: freqlabs > Date: Thu Mar 12 23:04:40 2020 > New Revision: 358923 > URL: https://svnweb.freebsd.org/changeset/base/358923 > > Log: > libpmcstat: Try /boot/modules if module not found > > Modules from ports/pkg are commonly

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

2020-03-12 Thread Navdeep Parhar
Author: np Date: Fri Mar 13 00:12:15 2020 New Revision: 358924 URL: https://svnweb.freebsd.org/changeset/base/358924 Log: cxgbe(4): Do not display error messages related to the CLIP table if it's not in use by TOE or KTLS. Reviewed by: jhb@ MFC after:1 week Sponsored by: Chelsio

svn commit: r358923 - in head: lib/libpmcstat usr.sbin/pmcstat

2020-03-12 Thread Ryan Moeller
Author: freqlabs Date: Thu Mar 12 23:04:40 2020 New Revision: 358923 URL: https://svnweb.freebsd.org/changeset/base/358923 Log: libpmcstat: Try /boot/modules if module not found Modules from ports/pkg are commonly installed to /boot/modules rather than to the same directory the kernel

svn commit: r358922 - head/sys/kern

2020-03-12 Thread Conrad Meyer
Author: cem Date: Thu Mar 12 21:26:36 2020 New Revision: 358922 URL: https://svnweb.freebsd.org/changeset/base/358922 Log: kern_shutdown: Add missing EKCD ifdef Submitted by: Puneeth Jothaiah Reviewed by: bdrewery Sponsored by: Dell EMC Isilon Modified:

svn commit: r358921 - stable/12/sys/dev/hwpmc

2020-03-12 Thread Matt Macy
Author: mmacy Date: Thu Mar 12 20:59:00 2020 New Revision: 358921 URL: https://svnweb.freebsd.org/changeset/base/358921 Log: Fix sample check in hwpmc Don't drop samples with callchain pending Tested by: mjg@ MFC of r353483 Modified: stable/12/sys/dev/hwpmc/hwpmc_mod.c

svn commit: r358920 - stable/12/lib/libefivar

2020-03-12 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Thu Mar 12 20:51:04 2020 New Revision: 358920 URL: https://svnweb.freebsd.org/changeset/base/358920 Log: MFC 339729: efivar(3): Fix some typos and improve style - Fix some typos. - Remove redundant semicolons from the synopsis section. -

svn commit: r358919 - head/usr.bin/logger

2020-03-12 Thread Mariusz Zaborski
Author: oshogbo Date: Thu Mar 12 19:55:51 2020 New Revision: 358919 URL: https://svnweb.freebsd.org/changeset/base/358919 Log: logger: capsicumize Submitted by: Tiger Gao Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D23744 Modified:

svn commit: r358918 - stable/12/tests/sys/netpfil/pf

2020-03-12 Thread Li-Wen Hsu
Author: lwhsu Date: Thu Mar 12 19:10:53 2020 New Revision: 358918 URL: https://svnweb.freebsd.org/changeset/base/358918 Log: MFC r358852: Skip sys.netpfil.pf.nat.exhaust on amd64 in CI as it sometimes panics kernel PR: 244703 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r358917 - stable/12/contrib/smbfs/mount_smbfs

2020-03-12 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Thu Mar 12 19:00:28 2020 New Revision: 358917 URL: https://svnweb.freebsd.org/changeset/base/358917 Log: MFC r339990: mount_smbfs(8): Add the STANDARDS and HISTORY sections - Document that mount_smbfs(8) only supports SMB1 and that SMB2 and SMB3

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

2020-03-12 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Thu Mar 12 18:28:23 2020 New Revision: 358916 URL: https://svnweb.freebsd.org/changeset/base/358916 Log: ftw.3: Follow style(9) in the example Reported by: oshogbo Approved by: bcr (mentor) MFC after:2 weeks Differential Revision:

Re: svn commit: r358902 - head/lib/libc/powerpc64/string

2020-03-12 Thread Brandon Bergren
To be clear here, I meant non qword-aligned, as it was the VSX implementation that was actually tripping up here. The problem manifested when the source and destination didn't match on the least significant nybble. Apparently it's also somewhat uncommon for programs to ever do anything with

Re: svn commit: r358655 - head/sbin/mount_nfs

2020-03-12 Thread Gleb Smirnoff
On Thu, Mar 05, 2020 at 11:15:04PM +0100, Dimitry Andric wrote: D> > S> > Why don't just declare the buffer as: D> > S> > D> > S> > struct if_msghdr buf; D> > S> > D> > S> > and then do: D> > S> > D> > S> > nread = read(s, , sizeof buf); D> > S> > D> > S> > ? You are never reading more than

svn commit: r358914 - stable/12/sys/kern

2020-03-12 Thread Konstantin Belousov
Author: kib Date: Thu Mar 12 16:09:41 2020 New Revision: 358914 URL: https://svnweb.freebsd.org/changeset/base/358914 Log: MFC r358676: buffer pager: deref ucred immediately after read. Modified: stable/12/sys/kern/vfs_bio.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r358913 - stable/12/usr.bin/posixshmcontrol

2020-03-12 Thread Konstantin Belousov
Author: kib Date: Thu Mar 12 16:07:41 2020 New Revision: 358913 URL: https://svnweb.freebsd.org/changeset/base/358913 Log: MFC r358826: posixshmcontrol: add an undocumented alias 'list' for the 'ls' command. Modified: stable/12/usr.bin/posixshmcontrol/posixshmcontrol.c Directory

svn commit: r358912 - head/tools/build/mk

2020-03-12 Thread Enji Cooper
Author: ngie Date: Thu Mar 12 16:06:26 2020 New Revision: 358912 URL: https://svnweb.freebsd.org/changeset/base/358912 Log: Remove /usr/share/snmp/defs/tc.def with delete-old if MK_BSNMP == no This removes a lingering file on new installs of CURRENT, originally added in r345797. MFC

svn commit: r358911 - in head/sys/netinet: . tcp_stacks

2020-03-12 Thread Michael Tuexen
Author: tuexen Date: Thu Mar 12 15:37:41 2020 New Revision: 358911 URL: https://svnweb.freebsd.org/changeset/base/358911 Log: Use KMOD_TCPSTAT_INC instead of TCPSTAT_INC for RACK and BBR, since these are kernel modules. Also add a KMOD_TCPSTAT_ADD and use that instead of TCPSTAT_ADD.

svn commit: r358910 - head

2020-03-12 Thread Ed Maste
Author: emaste Date: Thu Mar 12 14:01:17 2020 New Revision: 358910 URL: https://svnweb.freebsd.org/changeset/base/358910 Log: Makefile.inc1: move dependency hack comment to the block it applies to Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r358909 - head

2020-03-12 Thread Ed Maste
Author: emaste Date: Thu Mar 12 13:42:08 2020 New Revision: 358909 URL: https://svnweb.freebsd.org/changeset/base/358909 Log: Extend r358907 to explicitly remove stale lib32 dependency After r325072 stale lib32 dependencies were not remooved. A more holistic approach is needed to

svn commit: r358908 - in head/sys: conf modules powerpc/conf

2020-03-12 Thread Leandro Lupori
Author: luporl Date: Thu Mar 12 12:47:10 2020 New Revision: 358908 URL: https://svnweb.freebsd.org/changeset/base/358908 Log: Enable ixl device on PowerPC64 The ixl driver now works on PowerPC64 and may be compiled in-kernel and as a module. Reviewed by: alfredo, erj Sponsored

svn commit: r358907 - head

2020-03-12 Thread Dimitry Andric
Author: dim Date: Thu Mar 12 11:39:04 2020 New Revision: 358907 URL: https://svnweb.freebsd.org/changeset/base/358907 Log: Allow -DNO_CLEAN build across r358851. The openmp 10.0.0 import renamed one .c file to .cpp, and this is something our dependency system does not handle correctly.

Re: svn commit: r358733 - head/sys/sys

2020-03-12 Thread Andriy Gapon
On 12/03/2020 09:48, Alan Cox wrote: > Just to be clear, this is not just a matter of whether our release fences are > poorly or inefficiently implemented.  Release fences (as defined by the C/C++ > standards that inspire our atomics) have *different* semantics than release > stores. Specifically,

Re: svn commit: r358733 - head/sys/sys

2020-03-12 Thread Alan Cox
On 3/11/20 9:16 PM, Mateusz Guzik wrote: On 3/10/20, Konstantin Belousov wrote: On Tue, Mar 10, 2020 at 12:22:09AM +0100, Mateusz Guzik wrote: On 3/9/20, Konstantin Belousov wrote: On Mon, Mar 09, 2020 at 01:56:17AM +0100, Mateusz Guzik wrote: On 3/8/20, Mateusz Guzik wrote: Author: mjg

svn commit: r358906 - head/stand/i386/libi386

2020-03-12 Thread Toomas Soome
Author: tsoome Date: Thu Mar 12 06:45:08 2020 New Revision: 358906 URL: https://svnweb.freebsd.org/changeset/base/358906 Log: test if port does exist via using scratch register The SCR, scratch register was not present on the 8250 and 8250B UART, so we can use to test if we actually do