svn commit: r357726 - head/sys/dev/usb/controller

2020-02-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 10 11:09:56 2020 New Revision: 357726 URL: https://svnweb.freebsd.org/changeset/base/357726 Log: Add USB host controller PCI ID's for Hygon. Differential Revision:https://reviews.freebsd.org/D23564 MFC after:1 week Sponsored by: Mellanox Techno

svn commit: r357727 - head/sys/compat/linux

2020-02-10 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Feb 10 13:24:14 2020 New Revision: 357727 URL: https://svnweb.freebsd.org/changeset/base/357727 Log: Make linux(4) use kern_socketpair(9) instead of going through sys_socketpair(). It's a cleanup; no functional changes. Reviewed by: kib MFC after:2 weeks

Re: svn commit: r357683 - head/lib/libc/string

2020-02-10 Thread Renato Botelho
On 08/02/20 18:17, Eitan Adler wrote: Author: eadler Date: Sat Feb 8 21:17:48 2020 New Revision: 357683 URL: https://svnweb.freebsd.org/changeset/base/357683 Log: memset.3: better fix previous typo Upon re-reading the whole sentence this is a better fix. MFC with: r357681 Mod

svn commit: r357728 - head/sys/sys

2020-02-10 Thread Mateusz Guzik
Author: mjg Date: Mon Feb 10 13:52:25 2020 New Revision: 357728 URL: https://svnweb.freebsd.org/changeset/base/357728 Log: Tidy up zpcpu_replace* - only compute the target address once - remove spurious type casting, zpcpu_get already return the correct type While here add missing ne

svn commit: r357729 - head/sys/kern

2020-02-10 Thread Mateusz Guzik
Author: mjg Date: Mon Feb 10 13:54:34 2020 New Revision: 357729 URL: https://svnweb.freebsd.org/changeset/base/357729 Log: vfs: fix lock recursion in vrele vrele is supposed to be called with an unlocked vnode, but this was never asserted for if v_usecount was > 0. For such counts the loc

svn commit: r357730 - in head/sys: cam/ata cam/nvme cam/scsi ufs/ffs ufs/ufs

2020-02-10 Thread Scott Long
Author: scottl Date: Mon Feb 10 14:27:28 2020 New Revision: 357730 URL: https://svnweb.freebsd.org/changeset/base/357730 Log: Revert r357710 and 357711 until they can be debugged Modified: head/sys/cam/ata/ata_da.c head/sys/cam/nvme/nvme_da.c head/sys/cam/scsi/scsi_da.c head/sys/ufs/ffs

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

2020-02-10 Thread Pedro Giffuni
Hi; On 10/02/2020 08:52, Mateusz Guzik wrote: Author: mjg Date: Mon Feb 10 13:52:25 2020 New Revision: 357728 URL: https://svnweb.freebsd.org/changeset/base/357728 Log: Tidy up zpcpu_replace* - only compute the target address once - remove spurious type casting, zpcpu_get already

svn commit: r357734 - head/usr.sbin/binmiscctl

2020-02-10 Thread Warner Losh
Author: imp Date: Mon Feb 10 17:16:26 2020 New Revision: 357734 URL: https://svnweb.freebsd.org/changeset/base/357734 Log: Remove sparc64 example. Reivewed by: cy@, bcr@ Differential Revision: https://reviews.freebsd.org/D23593 Modified: head/usr.sbin/binmiscctl/binmiscctl.8 Modified:

svn commit: r357735 - head/usr.sbin/tzsetup

2020-02-10 Thread Warner Losh
Author: imp Date: Mon Feb 10 17:16:41 2020 New Revision: 357735 URL: https://svnweb.freebsd.org/changeset/base/357735 Log: Remove sparc64 ifdef Now we default to setting the hardware clock to UTC everywhere. sparc64 was the old odd-man out before. Reivewed by: cy@, bcr@ Differentia

svn commit: r357737 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2020-02-10 Thread Warner Losh
Author: imp Date: Mon Feb 10 17:16:50 2020 New Revision: 357737 URL: https://svnweb.freebsd.org/changeset/base/357737 Log: Fix a comment for the SUN geom class. Reivewed by: cy@, bcr@ Differential Revision: https://reviews.freebsd.org/D23593 Modified: head/usr.sbin/bsnmpd/modules/snmp_

svn commit: r357736 - head/usr.sbin/bsnmpd/modules/snmp_bridge

2020-02-10 Thread Warner Losh
Author: imp Date: Mon Feb 10 17:16:45 2020 New Revision: 357736 URL: https://svnweb.freebsd.org/changeset/base/357736 Log: Fix comment. It mentioned sparc64 specifically, but alignment issues are present elsewhere. Reivewed by: cy@, bcr@ Differential Revision: https://reviews.freebsd.or

svn commit: r357738 - head/usr.sbin/config

2020-02-10 Thread Warner Losh
Author: imp Date: Mon Feb 10 17:16:54 2020 New Revision: 357738 URL: https://svnweb.freebsd.org/changeset/base/357738 Log: For valid arch values (really $MACHINE), remove references to alpha and sparc64. Add references to arm64 and riscv Reivewed by: cy@, bcr@ Differential Revision: htt

svn commit: r357740 - head/usr.sbin/ntp

2020-02-10 Thread Warner Losh
Author: imp Date: Mon Feb 10 17:17:03 2020 New Revision: 357740 URL: https://svnweb.freebsd.org/changeset/base/357740 Log: Refresh architecture list with latest: Remove: sparc, sparc64 (twice), ia64, alpha Add: riscv64 Remove now-useless sparc64 ifdef Reivewed by: cy@, bcr@ Di

svn commit: r357739 - in head/usr.sbin: . eeprom

2020-02-10 Thread Warner Losh
Author: imp Date: Mon Feb 10 17:16:59 2020 New Revision: 357739 URL: https://svnweb.freebsd.org/changeset/base/357739 Log: Remove sparc64 specific eeprom command This command was only ever for sparc64, so remove it. Remove usr.sbin/Makeiile.sparc64 as well since it only references ofwdump

svn commit: r357741 - head/usr.sbin/ntp/libntpevent

2020-02-10 Thread Warner Losh
Author: imp Date: Mon Feb 10 17:17:08 2020 New Revision: 357741 URL: https://svnweb.freebsd.org/changeset/base/357741 Log: Remove ifdefs for ia64 and sparc64. Reivewed by: cy@, bcr@ Differential Revision: https://reviews.freebsd.org/D23593 Modified: head/usr.sbin/ntp/libntpevent/Makefi

Re: svn commit: r357740 - head/usr.sbin/ntp

2020-02-10 Thread Mitchell Horne
On Mon, Feb 10, 2020 at 12:17 PM Warner Losh wrote: > > Author: imp > Date: Mon Feb 10 17:17:03 2020 > New Revision: 357740 > URL: https://svnweb.freebsd.org/changeset/base/357740 > > Log: > Refresh architecture list with latest: > > Remove: sparc, sparc64 (twice), ia64, alpha > Add: riscv64

Re: svn commit: r357683 - head/lib/libc/string

2020-02-10 Thread Ian Lepore
On Mon, 2020-02-10 at 10:46 -0300, Renato Botelho wrote: > On 08/02/20 18:17, Eitan Adler wrote: > > Author: eadler > > Date: Sat Feb 8 21:17:48 2020 > > New Revision: 357683 > > URL: https://svnweb.freebsd.org/changeset/base/357683 > > > > Log: > >memset.3: better fix previous typo > > >

svn commit: r357742 - head/sys/vm

2020-02-10 Thread Jonathan T. Looney
Author: jtl Date: Mon Feb 10 18:06:38 2020 New Revision: 357742 URL: https://svnweb.freebsd.org/changeset/base/357742 Log: Modify the vm.panic_on_oom sysctl to take a count of events. Currently, the vm.panic_on_oom sysctl is a boolean which controls the behavior of the VM system when it e

Re: svn commit: r357695 - in head: sys/kern sys/sys usr.bin/procstat

2020-02-10 Thread John Baldwin
On 2/9/20 4:10 AM, Konstantin Belousov wrote: > Author: kib > Date: Sun Feb 9 12:10:37 2020 > New Revision: 357695 > URL: https://svnweb.freebsd.org/changeset/base/357695 > > Log: > Add AT_BSDFLAGS auxv entry. > > The intent is to provide bsd-specific flags relevant to interpreter > and

Re: svn commit: r357703 - head/share/mk

2020-02-10 Thread John Baldwin
On 2/9/20 10:53 AM, Kyle Evans wrote: > Author: kevans > Date: Sun Feb 9 18:53:53 2020 > New Revision: 357703 > URL: https://svnweb.freebsd.org/changeset/base/357703 > > Log: > mips: mark GOOGLETEST broken, due to no fault of its own > > As explained in the comment; GOOGLETEST cannot curre

Re: svn commit: r357740 - head/usr.sbin/ntp

2020-02-10 Thread John Baldwin
On 2/10/20 9:17 AM, Warner Losh wrote: > Author: imp > Date: Mon Feb 10 17:17:03 2020 > New Revision: 357740 > URL: https://svnweb.freebsd.org/changeset/base/357740 > > Log: > Refresh architecture list with latest: > > Remove: sparc, sparc64 (twice), ia64, alpha > Add: riscv64 > > Re

Re: svn commit: r357703 - head/share/mk

2020-02-10 Thread Kyle Evans
On Mon, Feb 10, 2020 at 12:13 PM John Baldwin wrote: > > On 2/9/20 10:53 AM, Kyle Evans wrote: > > Author: kevans > > Date: Sun Feb 9 18:53:53 2020 > > New Revision: 357703 > > URL: https://svnweb.freebsd.org/changeset/base/357703 > > > > Log: > > mips: mark GOOGLETEST broken, due to no fault o

Re: svn commit: r357740 - head/usr.sbin/ntp

2020-02-10 Thread Warner Losh
On Mon, Feb 10, 2020 at 11:15 AM John Baldwin wrote: > On 2/10/20 9:17 AM, Warner Losh wrote: > > Author: imp > > Date: Mon Feb 10 17:17:03 2020 > > New Revision: 357740 > > URL: https://svnweb.freebsd.org/changeset/base/357740 > > > > Log: > > Refresh architecture list with latest: > > > > R

svn commit: r357743 - head/usr.sbin/ntp

2020-02-10 Thread Warner Losh
Author: imp Date: Mon Feb 10 18:28:02 2020 New Revision: 357743 URL: https://svnweb.freebsd.org/changeset/base/357743 Log: Use __riscv instead of __riscv__ I misread arch(7) when I added this... Noticed by: jhb@ and mhorne@ Modified: head/usr.sbin/ntp/config.h Modified: head/usr.sb

Re: svn commit: r357695 - in head: sys/kern sys/sys usr.bin/procstat

2020-02-10 Thread Konstantin Belousov
On Mon, Feb 10, 2020 at 10:11:43AM -0800, John Baldwin wrote: > On 2/9/20 4:10 AM, Konstantin Belousov wrote: > > Author: kib > > Date: Sun Feb 9 12:10:37 2020 > > New Revision: 357695 > > URL: https://svnweb.freebsd.org/changeset/base/357695 > > > > Log: > > Add AT_BSDFLAGS auxv entry. > >

Re: svn commit: r357361 - in head/sys: kern sys ufs/ufs vm

2020-02-10 Thread Mateusz Guzik
On 2/3/20, John Baldwin wrote: > On 1/31/20 10:46 PM, Mateusz Guzik wrote: >> Author: mjg >> Date: Sat Feb 1 06:46:55 2020 >> New Revision: 357361 >> URL: https://svnweb.freebsd.org/changeset/base/357361 >> >> Log: >> vfs: replace VOP_MARKATIME with VOP_MMAPPED >> >> The routine is only provi

svn commit: r357744 - head/sys/kern

2020-02-10 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 10 20:23:08 2020 New Revision: 357744 URL: https://svnweb.freebsd.org/changeset/base/357744 Log: Fix for unbalanced EPOCH(9) usage in the generic kernel interrupt handler. Interrupt handlers are removed via intr_event_execute_handlers() when IH_DEAD is set

svn commit: r357745 - head/sys/kern

2020-02-10 Thread Li-Wen Hsu
Author: lwhsu Date: Mon Feb 10 20:53:59 2020 New Revision: 357745 URL: https://svnweb.freebsd.org/changeset/base/357745 Log: Restore the behavior of allowing empty string in a string sysctl Added as a special case to avoid unnecessary memory operations. Reviewed by: delphij Sponsore

svn commit: r357746 - head/sys/kern

2020-02-10 Thread Mateusz Guzik
Author: mjg Date: Mon Feb 10 22:28:54 2020 New Revision: 357746 URL: https://svnweb.freebsd.org/changeset/base/357746 Log: vfs: fix device count leak on vrele racing with vgone The race is: CPU1CPU2 devfs_reclaim_vch

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

2020-02-10 Thread Gleb Smirnoff
On Mon, Feb 10, 2020 at 01:52:26PM +, Mateusz Guzik wrote: M> Author: mjg M> Date: Mon Feb 10 13:52:25 2020 M> New Revision: 357728 M> URL: https://svnweb.freebsd.org/changeset/base/357728 M> M> Log: M> Tidy up zpcpu_replace* M> M> - only compute the target address once M> - remove sp

svn commit: r357749 - head/release/tools

2020-02-10 Thread Colin Percival
Author: cperciva Date: Tue Feb 11 04:03:22 2020 New Revision: 357749 URL: https://svnweb.freebsd.org/changeset/base/357749 Log: Remove /qemu from EC2 ARM AMIs I forgot to do this as part of r345858 -- I added it to the vm_extra_pre_umount in vmimage.subr but forgot that function was ove

svn commit: r357750 - head/release/tools

2020-02-10 Thread Colin Percival
Author: cperciva Date: Tue Feb 11 04:05:45 2020 New Revision: 357750 URL: https://svnweb.freebsd.org/changeset/base/357750 Log: Mount /dev while deinstalling pkg inside EC2 AMIs. This gets rid of (harmless) warnings: "pkg: Cannot open /dev/null:No such file or directory". MFC after:

svn commit: r357756 - head/usr.sbin/periodic/etc/daily

2020-02-10 Thread Kyle Evans
Author: kevans Date: Tue Feb 11 06:12:02 2020 New Revision: 357756 URL: https://svnweb.freebsd.org/changeset/base/357756 Log: backup-passwd: mask out all passwords in the diff The previous expression borked if a username had a plus or hyphen in it. This is needlessly restrictive- at leSt

svn commit: r357757 - in head: contrib/file contrib/file/doc contrib/file/m4 contrib/file/magic contrib/file/magic/Magdir contrib/file/python contrib/file/src contrib/file/tests lib/libmagic

2020-02-10 Thread Xin LI
Author: delphij Date: Tue Feb 11 07:02:48 2020 New Revision: 357757 URL: https://svnweb.freebsd.org/changeset/base/357757 Log: MFV r357712: file 5.38. MFC after:2 weeks Added: head/contrib/file/magic/Magdir/forth - copied unchanged from r357712, vendor/file/dist/magic/Magdir/for