svn commit: r363630 - in head: lib/libpmc sys/dev/hwpmc

2020-07-27 Thread Ryan Moeller
Author: freqlabs Date: Tue Jul 28 02:56:26 2020 New Revision: 363630 URL: https://svnweb.freebsd.org/changeset/base/363630 Log: libpmc: Use known pmc_cpuid buffer size Use the existing PMC_CPUID_LEN to size pmc_cpuid in the kernel and various buffers for reading it in libpmc. This avoids

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

2020-07-27 Thread Kyle Evans
On Mon, Jul 27, 2020 at 11:39 AM Rodney W. Grimes wrote: > > > Hi, > > > > Helpful addition. Might it help people more to make the message point to > > the replacement of the deprecated functionality? > > > > Regards, > > Ronald. > > I tend to agree here, the functionality was not depricated, > i

svn commit: r363628 - head/sys/kern

2020-07-27 Thread Kyle Evans
Author: kevans Date: Tue Jul 28 01:05:40 2020 New Revision: 363628 URL: https://svnweb.freebsd.org/changeset/base/363628 Log: makesyscalls.sh: improve the 'this is going away' message Reported by: Ronald Klop, rgrimes Modified: head/sys/kern/makesyscalls.sh Modified: head/sys/kern/make

svn commit: r363627 - head/crypto/openssh

2020-07-27 Thread Ed Maste
Author: emaste Date: Tue Jul 28 00:24:12 2020 New Revision: 363627 URL: https://svnweb.freebsd.org/changeset/base/363627 Log: ssh: Remove AES-CBC ciphers from default server and client lists A base system OpenSSH update in 2016 or so removed a number of ciphers from the default lists offe

svn commit: r363624 - in head/sys: arm64/arm64 arm64/include conf dev/acpica dev/pci x86/include x86/x86

2020-07-27 Thread Alexander Motin
Author: mav Date: Mon Jul 27 21:19:41 2020 New Revision: 363624 URL: https://svnweb.freebsd.org/changeset/base/363624 Log: Add initial driver for ACPI Platform Error Interfaces. APEI allows platform to report different kinds of errors to OS in several ways. We've found that Supermicro X1

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

2020-07-27 Thread Mark Johnston
Author: markj Date: Mon Jul 27 19:05:53 2020 New Revision: 363623 URL: https://svnweb.freebsd.org/changeset/base/363623 Log: cxgbe(4): Stop checking for failures from malloc(M_WAITOK). PR: 240545 Submitted by: Andrew Reiter Reviewed by: np MFC after:1 week Differenti

svn commit: r363622 - head/sys/sys

2020-07-27 Thread Alan Somers
Author: asomers Date: Mon Jul 27 18:57:28 2020 New Revision: 363622 URL: https://svnweb.freebsd.org/changeset/base/363622 Log: Restrict definition of CTL_P1003_1B_MAXID to the kernel This constant is only used to size an array within the kernel. There are probably no legitimate uses in us

svn commit: r363621 - head/bin/sh

2020-07-27 Thread Piotr Pawel Stefaniak
Author: pstef Date: Mon Jul 27 18:46:20 2020 New Revision: 363621 URL: https://svnweb.freebsd.org/changeset/base/363621 Log: sh(1): print a newline when ^D quits sh I've always found this a little bit confusing: > sh $ ^D> sh $ ^D> Reviewed by: 0mp, jilles MFC after:1 week

Re: svn commit: r363598 - head/usr.sbin/nologin

2020-07-27 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Hi! > > On 7/27/20 6:41 PM, Rodney W. Grimes wrote: > >> Author: 0mp (doc,ports committer) > >> Date: Mon Jul 27 10:45:47 2020 > >> New Revision: 363598 > >> URL: https://svnweb.freebsd.org/changeset/base/363598 > >> > >> Log: > >>nologin.8: Impro

Re: svn commit: r363598 - head/usr.sbin/nologin

2020-07-27 Thread Mateusz Piotrowski
Hi! On 7/27/20 6:41 PM, Rodney W. Grimes wrote: Author: 0mp (doc,ports committer) Date: Mon Jul 27 10:45:47 2020 New Revision: 363598 URL: https://svnweb.freebsd.org/changeset/base/363598 Log: nologin.8: Improve wording I disagree that this improves wording. The norm of action for "logging

svn commit: r363620 - head/usr.bin/comm

2020-07-27 Thread Fernando ApesteguĂ­a
Author: fernape (ports committer) Date: Mon Jul 27 16:51:23 2020 New Revision: 363620 URL: https://svnweb.freebsd.org/changeset/base/363620 Log: comm(1): Add EXAMPLES section Add two very simple examples. Approved by: manpages (gbe@) Differential Revision: https://reviews.freebsd.or

Re: svn commit: r363598 - head/usr.sbin/nologin

2020-07-27 Thread Rodney W. Grimes
> Author: 0mp (doc,ports committer) > Date: Mon Jul 27 10:45:47 2020 > New Revision: 363598 > URL: https://svnweb.freebsd.org/changeset/base/363598 > > Log: > nologin.8: Improve wording I disagree that this improves wording. The norm of action for "logging" in Unix is to "write to syslog", not

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

2020-07-27 Thread Rodney W. Grimes
> Hi, > > Helpful addition. Might it help people more to make the message point to the > replacement of the deprecated functionality? > > Regards, > Ronald. I tend to agree here, the functionality was not depricated, it was replaced by a new implementation in another language. It would be bett

svn commit: r363619 - head/sys/riscv/riscv

2020-07-27 Thread John Baldwin
Author: jhb Date: Mon Jul 27 16:37:18 2020 New Revision: 363619 URL: https://svnweb.freebsd.org/changeset/base/363619 Log: Trim some extraneous parentheses. Reported by: kib (do_trap_user) Sponsored by: DARPA Modified: head/sys/riscv/riscv/intr_machdep.c head/sys/riscv/riscv/trap.c

svn commit: r363618 - head/sys/powerpc/powerpc

2020-07-27 Thread John Baldwin
Author: jhb Date: Mon Jul 27 16:34:31 2020 New Revision: 363618 URL: https://svnweb.freebsd.org/changeset/base/363618 Log: Set si_addr to dar for MMU and alignment faults. Reviewed by: kib Sponsored by: DARPA Differential Revision:https://reviews.freebsd.org/D25776 Modified:

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

2020-07-27 Thread John Baldwin
Author: jhb Date: Mon Jul 27 16:32:21 2020 New Revision: 363617 URL: https://svnweb.freebsd.org/changeset/base/363617 Log: Fix si_addr value for breakpoints in a delay slot. Reviewed by: kib Obtained from:CheriBSD Sponsored by: DARPA Differential Revision:https://revi

svn commit: r363616 - head/sys/geom/eli

2020-07-27 Thread John Baldwin
Author: jhb Date: Mon Jul 27 16:31:21 2020 New Revision: 363616 URL: https://svnweb.freebsd.org/changeset/base/363616 Log: Fix indentation. Modified: head/sys/geom/eli/g_eli_integrity.c head/sys/geom/eli/g_eli_privacy.c Modified: head/sys/geom/eli/g_eli_integrity.c

svn commit: r363615 - head/sys/arm/arm

2020-07-27 Thread John Baldwin
Author: jhb Date: Mon Jul 27 16:29:21 2020 New Revision: 363615 URL: https://svnweb.freebsd.org/changeset/base/363615 Log: Set si_trapno to the fault index from fsr. Reviewed by: kib Sponsored by: DARPA Differential Revision:https://reviews.freebsd.org/D25772 Modified: head/

svn commit: r363614 - head/sys/riscv/riscv

2020-07-27 Thread John Baldwin
Author: jhb Date: Mon Jul 27 16:28:44 2020 New Revision: 363614 URL: https://svnweb.freebsd.org/changeset/base/363614 Log: Set si_trapno to the exception code from scause. Reviewed by: kib Obtained from:CheriBSD Sponsored by: DARPA Differential Revision:https://review

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

2020-07-27 Thread John Baldwin
Author: jhb Date: Mon Jul 27 16:25:18 2020 New Revision: 363613 URL: https://svnweb.freebsd.org/changeset/base/363613 Log: Don't include T_USER in si_trapno reported to userland. Signals are only reported for user traps, so T_USER is redundant. It is also a software convention and not in

svn commit: r363611 - head/usr.bin/truncate

2020-07-27 Thread Fernando ApesteguĂ­a
Author: fernape (ports committer) Date: Mon Jul 27 15:25:04 2020 New Revision: 363611 URL: https://svnweb.freebsd.org/changeset/base/363611 Log: truncate(1): Add EXAMPLES section Add four simple examples showing the use of -c, -r and -s Approved by: manpages (bcr@) Differential Revi

svn commit: r363608 - in head/sys/dev: mpr mps

2020-07-27 Thread Mark Johnston
Author: markj Date: Mon Jul 27 14:28:55 2020 New Revision: 363608 URL: https://svnweb.freebsd.org/changeset/base/363608 Log: mpr(4), mps(4): Stop checking for failures from malloc(M_WAITOK). PR: 240545 Submitted by: Andrew Reiter Reviewed by: imp MFC after:1 week Dif

svn commit: r363607 - head/sys/vm

2020-07-27 Thread Mark Johnston
Author: markj Date: Mon Jul 27 14:25:10 2020 New Revision: 363607 URL: https://svnweb.freebsd.org/changeset/base/363607 Log: vm_page_free_invalid(): Relax the xbusy assertion. vm_page_assert_xbusied() asserts that the busying thread is the current thread. For some uses of vm_page_free_in

svn commit: r363599 - head/share/man/man3

2020-07-27 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Mon Jul 27 11:42:22 2020 New Revision: 363599 URL: https://svnweb.freebsd.org/changeset/base/363599 Log: tree.3: Bump date after 363450 (WAVL) While here: - Address whitespace warnings. - Start sentences on a new line. Modified: head/share/man/

svn commit: r363598 - head/usr.sbin/nologin

2020-07-27 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Mon Jul 27 10:45:47 2020 New Revision: 363598 URL: https://svnweb.freebsd.org/changeset/base/363598 Log: nologin.8: Improve wording Reported by: yuripv Reviewed by: bcr, yuripv MFC after:3 days Differential Revision:https://reviews

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

2020-07-27 Thread Ronald Klop
Hi, Helpful addition. Might it help people more to make the message point to the replacement of the deprecated functionality? Regards, Ronald. Van: Kyle Evans Datum: maandag, 27 juli 2020 05:13 Aan: src-committ...@freebsd.org, svn-src-...@freebsd.org, svn-src-head@freebsd.org Onderwerp: svn

svn commit: r363597 - head/sys/arm/allwinner/clkng

2020-07-27 Thread Andriy Gapon
Author: avg Date: Mon Jul 27 09:10:02 2020 New Revision: 363597 URL: https://svnweb.freebsd.org/changeset/base/363597 Log: actually enable gate control for allwinner's r-ccu ir clock The gate control bit offset was correctly specified, but AW_CLK_HAS_GATE flag was not set. Tested with (

Re: svn commit: r363382 - head/sys/dev/gpio

2020-07-27 Thread Andriy Gapon
On 21/07/2020 10:35, Andriy Gapon wrote: > Author: avg > Date: Tue Jul 21 07:35:03 2020 > New Revision: 363382 > URL: https://svnweb.freebsd.org/changeset/base/363382 > > Log: > gpioiic: never drive lines active high > > I2C communication is done by a combination of driving a line low or >

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

2020-07-27 Thread Peter Grehan
Author: grehan Date: Mon Jul 27 07:56:55 2020 New Revision: 363596 URL: https://svnweb.freebsd.org/changeset/base/363596 Log: Support the setting of additional AHCI controller parameters. Allow the serial number, firmware revision, model number and nominal media rotation rate (nmrr) param