svn commit: r355553 - head/sbin/swapon

2019-12-08 Thread Don Lewis
Author: truckman Date: Mon Dec 9 07:18:40 2019 New Revision: 33 URL: https://svnweb.freebsd.org/changeset/base/33 Log: Fix a logic bug in error handling code. It is an error if p == NULL. The linelen tests are only meaningful when p != NULL. Reported by: Coverity Coverity

svn commit: r355552 - head/sys/vm

2019-12-08 Thread Doug Moore
Author: dougm Date: Mon Dec 9 05:09:46 2019 New Revision: 32 URL: https://svnweb.freebsd.org/changeset/base/32 Log: Revert r355505. The code that it allowed to compile has been removed. Modified: head/sys/vm/vm_map.h Modified: head/sys/vm/vm_map.h

svn commit: r355551 - head/share/man/man4

2019-12-08 Thread Ian Lepore
Author: ian Date: Mon Dec 9 04:15:01 2019 New Revision: 31 URL: https://svnweb.freebsd.org/changeset/base/31 Log: Connect the gpioths(4) manpage to the build. Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile

svn commit: r355550 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Mon Dec 9 03:09:58 2019 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: Paste things correctly so that I'm added to the *end* of the copyright list. Modified: head/sys/dev/gpio/gpioths.c Modified: head/sys/dev/gpio/gpioths.c

svn commit: r355549 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Mon Dec 9 03:07:57 2019 New Revision: 355549 URL: https://svnweb.freebsd.org/changeset/base/355549 Log: Add myself to the copyright list. Also add an SPDX tag. And finally, fix a missing word and a spelling error in a comment. Modified: head/sys/dev/gpio/gpioths.c

svn commit: r355548 - head/share/man/man4

2019-12-08 Thread Ian Lepore
Author: ian Date: Mon Dec 9 03:02:54 2019 New Revision: 355548 URL: https://svnweb.freebsd.org/changeset/base/355548 Log: Add a man page for the gpioths(4) driver. Added: head/share/man/man4/gpioths.4 (contents, props changed) Added: head/share/man/man4/gpioths.4

svn commit: r355547 - head/share/man/man4

2019-12-08 Thread Ian Lepore
Author: ian Date: Mon Dec 9 02:29:16 2019 New Revision: 355547 URL: https://svnweb.freebsd.org/changeset/base/355547 Log: Fix a typo: the sysctl command is in chapter 8 of the manual, not 4. Modified: head/share/man/man4/ads111x.4 Modified: head/share/man/man4/ads111x.4

svn commit: r355546 - head/lib/libefivar

2019-12-08 Thread Warner Losh
Author: imp Date: Mon Dec 9 01:32:18 2019 New Revision: 355546 URL: https://svnweb.freebsd.org/changeset/base/355546 Log: Add additional sanity checks. Modified: head/lib/libefivar/efivar-dp-xlate.c Modified: head/lib/libefivar/efivar-dp-xlate.c

svn commit: r355545 - stable/11/sys/dev/mlx5/mlx5_core

2019-12-08 Thread Konstantin Belousov
Author: kib Date: Mon Dec 9 00:46:13 2019 New Revision: 355545 URL: https://svnweb.freebsd.org/changeset/base/355545 Log: MFC r355288: mlx5: Do not try to enable fwdumps if scan space did not responded. Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c Directory Properties:

svn commit: r355544 - stable/11/sys/dev/mlx5/mlx5_core

2019-12-08 Thread Konstantin Belousov
Author: kib Date: Mon Dec 9 00:45:31 2019 New Revision: 355544 URL: https://svnweb.freebsd.org/changeset/base/355544 Log: MFC r355287: mlx5: Downgrade assert about misbehaving hardware to error message. Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c Directory Properties:

svn commit: r355543 - stable/12/sys/dev/mlx5/mlx5_core

2019-12-08 Thread Konstantin Belousov
Author: kib Date: Mon Dec 9 00:43:11 2019 New Revision: 355543 URL: https://svnweb.freebsd.org/changeset/base/355543 Log: MFC r355288: mlx5: Do not try to enable fwdumps if scan space did not responded. Modified: stable/12/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c Directory Properties:

svn commit: r355542 - stable/12/sys/dev/mlx5/mlx5_core

2019-12-08 Thread Konstantin Belousov
Author: kib Date: Mon Dec 9 00:42:12 2019 New Revision: 355542 URL: https://svnweb.freebsd.org/changeset/base/355542 Log: MFC r355287: mlx5: Downgrade assert about misbehaving hardware to error message. Modified: stable/12/sys/dev/mlx5/mlx5_core/mlx5_fwdump.c Directory Properties:

svn commit: r355541 - stable/12/sys/vm

2019-12-08 Thread Mark Johnston
Author: markj Date: Mon Dec 9 00:34:34 2019 New Revision: 355541 URL: https://svnweb.freebsd.org/changeset/base/355541 Log: MFC r355469: Fix fault_type handling in vm_map_lookup(). Modified: stable/12/sys/vm/vm_map.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r355540 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Mon Dec 9 00:30:05 2019 New Revision: 355540 URL: https://svnweb.freebsd.org/changeset/base/355540 Log: Add FDT support to the gpioths driver. It now uses the newer gpio_pin_*() API and can attach based on either hints or fdt data. Modified: head/sys/dev/gpio/gpioths.c

svn commit: r355538 - in head: lib/libprocstat sys/vm

2019-12-08 Thread Doug Moore
Author: dougm Date: Sun Dec 8 22:33:51 2019 New Revision: 355538 URL: https://svnweb.freebsd.org/changeset/base/355538 Log: Define a vm_map method for user-space for advancing from a map entry to its successor in cases where examining a map entry requires a helper like kvm_read_all. Use

svn commit: r355537 - in head: share/man/man9 sys/cam/ctl sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/dev/beri/virtio sys/dev/md sys/dev/xen/blkback sys/fs/autofs sys/fs/cd9660 sys/fs/devfs ...

2019-12-08 Thread Mateusz Guzik
Author: mjg Date: Sun Dec 8 21:30:04 2019 New Revision: 355537 URL: https://svnweb.freebsd.org/changeset/base/355537 Log: vfs: introduce v_irflag and make v_type smaller The current vnode layout is not smp-friendly by having frequently read data avoidably sharing cachelines with very

svn commit: r355536 - head/sys/kern

2019-12-08 Thread Mateusz Guzik
Author: mjg Date: Sun Dec 8 21:13:07 2019 New Revision: 355536 URL: https://svnweb.freebsd.org/changeset/base/355536 Log: vfs: clean up vputx a little 1. replace hand-rolled macros for operation type with enum 2. unlock the vnode in vput itself, there is no need to branch on it.

svn commit: r355535 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Sun Dec 8 21:12:33 2019 New Revision: 355535 URL: https://svnweb.freebsd.org/changeset/base/355535 Log: Add a MODULE_DEPEND() for the gpioths driver. Also, note that the prior commit changed the sysctl format for the temperature from "I" to "IK", and correspondingly

svn commit: r355534 - head/sys/kern

2019-12-08 Thread Mateusz Guzik
Author: mjg Date: Sun Dec 8 21:11:25 2019 New Revision: 355534 URL: https://svnweb.freebsd.org/changeset/base/355534 Log: vfs: factor out vnode destruction out of vdrop Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

Re: svn commit: r355097 - in head: sys/kern tests/sys/kern

2019-12-08 Thread Mariusz Zaborski
On Mon, 2 Dec 2019 at 18:55, John Baldwin wrote: > > On 11/25/19 10:33 AM, Mariusz Zaborski wrote: > > Author: oshogbo > > Date: Mon Nov 25 18:33:21 2019 > > New Revision: 355097 > > URL: https://svnweb.freebsd.org/changeset/base/355097 > > > > Log: > > procdesc: allow to collect status through

svn commit: r355533 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Sun Dec 8 20:42:58 2019 New Revision: 355533 URL: https://svnweb.freebsd.org/changeset/base/355533 Log: Add support for more chips to the gpioths driver. Previously the driver supported the DHT11 sensor. Now it supports DHT11, DHT12, DHT21, DHT22, AM3201, AM3202.

svn commit: r355532 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Sun Dec 8 20:36:13 2019 New Revision: 355532 URL: https://svnweb.freebsd.org/changeset/base/355532 Log: Simplify sysctl stuff in the gpioths driver. There is no need to use local functions to handle the sysctls, they all just access simple readonly integer variables.

svn commit: r355531 - head/sys/dev/gpio

2019-12-08 Thread Ian Lepore
Author: ian Date: Sun Dec 8 20:13:42 2019 New Revision: 355531 URL: https://svnweb.freebsd.org/changeset/base/355531 Log: Several small fixes for the gpioths (temp/humidity sensor) driver. At the end of a read cycle, set the gpio pin to INPUT rather than OUTPUT. The state of the

svn commit: r355530 - head/sys/fs/nfsclient

2019-12-08 Thread Rick Macklem
Author: rmacklem Date: Sun Dec 8 16:59:36 2019 New Revision: 355530 URL: https://svnweb.freebsd.org/changeset/base/355530 Log: Delete an unused external declaration. Since nfsv4_opflag is no longer used in nfs_clcomsubs.c, delete the external declaration of it. Found during NFSv4.2 code

svn commit: r355529 - stable/11/sys/netipsec

2019-12-08 Thread Andrey V. Elsukov
Author: ae Date: Sun Dec 8 15:24:03 2019 New Revision: 355529 URL: https://svnweb.freebsd.org/changeset/base/355529 Log: MFC r355129: Add support for dummy ESP packets with next header field equal to IPPROTO_NONE. According to RFC4303 2.6 they should be silently dropped.

svn commit: r355528 - stable/12/sys/netipsec

2019-12-08 Thread Andrey V. Elsukov
Author: ae Date: Sun Dec 8 15:22:20 2019 New Revision: 355528 URL: https://svnweb.freebsd.org/changeset/base/355528 Log: MFC r355129: Add support for dummy ESP packets with next header field equal to IPPROTO_NONE. According to RFC4303 2.6 they should be silently dropped.