svn commit: r363595 - head/sys/kern

2020-07-26 Thread Kyle Evans
Author: kevans Date: Mon Jul 27 03:13:23 2020 New Revision: 363595 URL: https://svnweb.freebsd.org/changeset/base/363595 Log: makesyscalls.sh: spit out a deprecation notice to stderr This has for a while been replaced by makesyscalls.lua in the stock FreeBSD build. Ensure downstreams get

svn commit: r363590 - head/sys/net

2020-07-26 Thread Matt Macy
Author: mmacy Date: Mon Jul 27 01:17:59 2020 New Revision: 363590 URL: https://svnweb.freebsd.org/changeset/base/363590 Log: iflib: fix LOR with bpf detach Reported by: grehan@ Approved by: grehan@ MFC after:1 week Sponsored by: Netgate Differential Revision: https://reviews.f

svn commit: r363587 - head/sys/fs/nfs

2020-07-26 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 26 23:13:10 2020 New Revision: 363587 URL: https://svnweb.freebsd.org/changeset/base/363587 Log: Fix the NFSv4 client so that it checks for support of TimeCreate before trying to set it. r362490 added support for setting of the TimeCreate (va_birthtime) attr

svn commit: r363586 - head/sys/fs/nfsserver

2020-07-26 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 26 23:03:41 2020 New Revision: 363586 URL: https://svnweb.freebsd.org/changeset/base/363586 Log: Fix the NFS server so that it sets va_birthtime. r362490 marked that the NFSv4 attribute TimeCreate (va_birthtime) is supported, but it did not change the NFS s

svn commit: r363585 - head/sys/geom

2020-07-26 Thread Xin LI
Author: delphij Date: Sun Jul 26 22:30:55 2020 New Revision: 363585 URL: https://svnweb.freebsd.org/changeset/base/363585 Log: gctl_get_geom: Skip validation of g_class. The caller from kernel is expected to provide an valid g_class pointer, instead of traversing the global g_class list,

svn commit: r363584 - head/sys/geom

2020-07-26 Thread Xin LI
Author: delphij Date: Sun Jul 26 22:30:01 2020 New Revision: 363584 URL: https://svnweb.freebsd.org/changeset/base/363584 Log: geom_map and geom_redboot: Remove unused ctlreq handler. The two classes do not take any verbs and always gctl_error for all requests, so don't bother to provide

svn commit: r363576 - head/usr.bin/vmstat

2020-07-26 Thread Ian Lepore
Author: ian Date: Sun Jul 26 18:33:29 2020 New Revision: 363576 URL: https://svnweb.freebsd.org/changeset/base/363576 Log: Describe the value in the 're' column of vmstat(8) in terms of freebsd's vm implementation. The old description was left over from the 4.4 BSD Lite import in 1994, and

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

2020-07-26 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 26 18:33:29 2020 New Revision: 363575 URL: https://svnweb.freebsd.org/changeset/base/363575 Log: Fix r363565 lockdep.h needs sys/lock.h for LOCK_CLASS Modified: head/sys/compat/linuxkpi/common/include/linux/lockdep.h Modified: head/sys/compat/linuxkpi/common/i

svn commit: r363574 - in head/sys: conf riscv/conf riscv/riscv

2020-07-26 Thread Jessica Clarke
Author: jrtc27 Date: Sun Jul 26 18:21:02 2020 New Revision: 363574 URL: https://svnweb.freebsd.org/changeset/base/363574 Log: riscv: Include syscon_power device driver in GENERIC kernel config QEMU's RISC-V virt machine provides syscon-power and syscon-reset devices as the means by which

svn commit: r363573 - in head/sys: conf dev/extres/syscon

2020-07-26 Thread Jessica Clarke
Author: jrtc27 Date: Sun Jul 26 18:19:50 2020 New Revision: 363573 URL: https://svnweb.freebsd.org/changeset/base/363573 Log: Add syscon power and reset control device driver This device driver supports both syscon-power and syscon-reset devices, as specified in [1] and [2]. These provide

svn commit: r363572 - in head/stand/efi/loader/arch: arm riscv

2020-07-26 Thread Jessica Clarke
Author: jrtc27 Date: Sun Jul 26 18:17:36 2020 New Revision: 363572 URL: https://svnweb.freebsd.org/changeset/base/363572 Log: loader: Avoid -Wpointer-to-int cast warnings for Arm and RISC-V On RISC-V, Clang warns with: cast to smaller integer type 'unsigned int' from 'void (*)(void

svn commit: r363571 - in head/sys: conf dev/goldfish riscv/conf

2020-07-26 Thread Jessica Clarke
Author: jrtc27 Date: Sun Jul 26 18:15:16 2020 New Revision: 363571 URL: https://svnweb.freebsd.org/changeset/base/363571 Log: Add Goldfish RTC device driver for RISC-V This device was originally used as part of the goldfish virtual hardware platform used for emulating Android on QEMU, but

svn commit: r363569 - head/usr.bin/vmstat

2020-07-26 Thread Ian Lepore
Author: ian Date: Sun Jul 26 17:50:39 2020 New Revision: 363569 URL: https://svnweb.freebsd.org/changeset/base/363569 Log: Remove commented-out lines describing the old never-implemented -t option. In 2018, r338094 removed the commented-out code for supporting the -t command line option w

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

2020-07-26 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 26 17:21:24 2020 New Revision: 363567 URL: https://svnweb.freebsd.org/changeset/base/363567 Log: Revert r363564 linux/sizes.h doesn't exists in base ... sorry. Modified: head/sys/compat/linuxkpi/common/include/linux/dma-mapping.h Modified: head/sys/compat/linu

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

2020-07-26 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 26 16:31:49 2020 New Revision: 363566 URL: https://svnweb.freebsd.org/changeset/base/363566 Log: linuxkpi: Add taint* defines This isn't used for us but allow us to port drivers more easily. Reviewed by: hselasky Sponsored by: The FreeBSD Foundation Diff

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

2020-07-26 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 26 16:30:59 2020 New Revision: 363565 URL: https://svnweb.freebsd.org/changeset/base/363565 Log: linuxkpi: Include hardirq.h in preempt.h and lockdep.h in hardirq.h Linux does the same, this avoids ifdef or extra includes in ported drivers. Reviewed by: emas

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

2020-07-26 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 26 16:30:01 2020 New Revision: 363564 URL: https://svnweb.freebsd.org/changeset/base/363564 Log: linuxkpi: Include linux/sizes.h in dma-mapping.h Linux does the same, this avoids ifdef or extra includes in ported drivers. Reviewed by: emaste, hselasky Spon

svn commit: r363563 - head/bin/chio

2020-07-26 Thread Ed Maste
Author: emaste Date: Sun Jul 26 15:10:33 2020 New Revision: 363563 URL: https://svnweb.freebsd.org/changeset/base/363563 Log: chio: avoid out of bounds read ch_ces is alloacated with space for total_elem entries. CID: 1418536 Reported by: Coverity Scan Sponsored by: The F

svn commit: r363562 - head/sys/sys

2020-07-26 Thread Mateusz Guzik
Author: mjg Date: Sun Jul 26 13:30:33 2020 New Revision: 363562 URL: https://svnweb.freebsd.org/changeset/base/363562 Log: Bump __FreeBSD_version after introduction of lockless lookup to the VFS layer Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h =

svn commit: r363560 - in head/sys: dev/iommu x86/iommu

2020-07-26 Thread Ruslan Bukin
Author: br Date: Sun Jul 26 12:29:22 2020 New Revision: 363560 URL: https://svnweb.freebsd.org/changeset/base/363560 Log: Rename DMAR flags: o DMAR_DOMAIN_* -> IOMMU_DOMAIN_* o DMAR_PGF_* -> IOMMU_PGF_* Reviewed by: kib Sponsored by: DARPA/AFRL Differential Revision:https:/

svn commit: r363555 - head/sys/conf

2020-07-26 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 26 10:07:05 2020 New Revision: 363555 URL: https://svnweb.freebsd.org/changeset/base/363555 Log: arm64: Only compile imx8 files if soc_freescale_imx8 is selected No Objection from: gonzo Modified: head/sys/conf/files.arm64 Modified: head/sys/conf/files.arm64

svn commit: r363543 - in head/usr.bin/sed: . tests

2020-07-26 Thread Yuri Pankov
Author: yuripv Date: Sun Jul 26 09:15:05 2020 New Revision: 363543 URL: https://svnweb.freebsd.org/changeset/base/363543 Log: sed: treat '[' as ordinary character in 'y' command 'y' does not handle bracket expressions, treat '[' as ordinary character and do not apply bracket expression ch