Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-16 Thread Alexey Dokuchaev
On Thu, Apr 16, 2020 at 03:12:15PM -0700, Colin Percival wrote: > On 2020-04-16 15:05, Oliver Pinter wrote: > > On Thursday, April 16, 2020, Colin Percival > > wrote: > > Log: > > Alert devd when acpi_video brightness changes > > > > Please add this to relea

svn commit: r360036 - in head/sys: conf modules modules/krpc modules/xdr rpc xdr

2020-04-16 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 17 06:04:20 2020 New Revision: 360036 URL: https://svnweb.freebsd.org/changeset/base/360036 Log: Split XDR into separate kernel module. Make krpc depend on xdr. Reviewed by: rmacklem Differential Revision:https://reviews.freebsd.org/D24408 Added:

svn commit: r360037 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-04-16 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 17 06:05:08 2020 New Revision: 360037 URL: https://svnweb.freebsd.org/changeset/base/360037 Log: Make ZFS depend on xdr.ko only. It doesn't need kernel RPC. Differential Revision:https://reviews.freebsd.org/D24408 Modified: head/sys/cddl/contrib/ope

svn commit: r360035 - in head/sys: rpc xdr

2020-04-16 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 17 06:02:13 2020 New Revision: 360035 URL: https://svnweb.freebsd.org/changeset/base/360035 Log: Move M_RPC malloc type into XDR. Both RPC and XDR libraries use this type, but since RPC depends on XDR (not vice versa) we need it defined in XDR to make the modul

svn commit: r360034 - head/sys/netgraph

2020-04-16 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 17 05:59:38 2020 New Revision: 360034 URL: https://svnweb.freebsd.org/changeset/base/360034 Log: Don't initialize m->m_data to m->m_pktdat, this is already done by the mbuf allocator. That was the last remnant of such code in the kernel. Modified: head/sys/net

Re: svn commit: r360033 - head/tests/sys/kqueue/libkqueue

2020-04-16 Thread Kyle Evans
On Thu, Apr 16, 2020 at 9:33 PM Ian Lepore wrote: > > On Fri, 2020-04-17 at 02:22 +, Kyle Evans wrote: > > Author: kevans > > Date: Fri Apr 17 02:22:15 2020 > > New Revision: 360033 > > URL: https://svnweb.freebsd.org/changeset/base/360033 > > > > Log: > > tests: kqueue: use a more precise t

Re: svn commit: r360033 - head/tests/sys/kqueue/libkqueue

2020-04-16 Thread Ian Lepore
On Fri, 2020-04-17 at 02:22 +, Kyle Evans wrote: > Author: kevans > Date: Fri Apr 17 02:22:15 2020 > New Revision: 360033 > URL: https://svnweb.freebsd.org/changeset/base/360033 > > Log: > tests: kqueue: use a more precise timer for the NOTE_ABSTIME test > > Originally noticed while att

svn commit: r360033 - head/tests/sys/kqueue/libkqueue

2020-04-16 Thread Kyle Evans
Author: kevans Date: Fri Apr 17 02:22:15 2020 New Revision: 360033 URL: https://svnweb.freebsd.org/changeset/base/360033 Log: tests: kqueue: use a more precise timer for the NOTE_ABSTIME test Originally noticed while attempting to run the kqueue tests under qemu-user-static, this apparent

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

2020-04-16 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 17 02:21:46 2020 New Revision: 360032 URL: https://svnweb.freebsd.org/changeset/base/360032 Log: Add a sanity check for nes_numsecflavor to the NFS server. Ryan Moeller reported crashes in the NFS server that appear to be caused by stack corruption in nfsrv_

svn commit: r360031 - head/sys/security/audit

2020-04-16 Thread Kyle Evans
Author: kevans Date: Fri Apr 17 02:09:31 2020 New Revision: 360031 URL: https://svnweb.freebsd.org/changeset/base/360031 Log: audit_canon_path_vp: don't panic if cdir == NULL cdir may have simply failed to resolve (e.g. fget_cap failure in namei leading to NULL dp passed to AUDIT_ARG_UPAT

svn commit: r360030 - stable/11/sys/ufs/ffs

2020-04-16 Thread Konstantin Belousov
Author: kib Date: Fri Apr 17 01:52:27 2020 New Revision: 360030 URL: https://svnweb.freebsd.org/changeset/base/360030 Log: MFC r359766: ufs: apply suspension for non-forced rw unmounts. Modified: stable/11/sys/ufs/ffs/ffs_vfsops.c Directory Properties: stable/11/ (props changed) Modifi

svn commit: r360029 - stable/12/sys/ufs/ffs

2020-04-16 Thread Konstantin Belousov
Author: kib Date: Fri Apr 17 01:06:51 2020 New Revision: 360029 URL: https://svnweb.freebsd.org/changeset/base/360029 Log: MFC r359766: ufs: apply suspension for non-forced rw unmounts. Modified: stable/12/sys/ufs/ffs/ffs_vfsops.c Directory Properties: stable/12/ (props changed) Modifi

svn commit: r360028 - head/bin/sh

2020-04-16 Thread Adrian Chadd
Author: adrian Date: Thu Apr 16 23:31:39 2020 New Revision: 360028 URL: https://svnweb.freebsd.org/changeset/base/360028 Log: [sh] Fix a "may be unused" warning on mips-gcc mips-gcc for mips32 was complaining that c was potentially used before being set. Setting it to 0 before calling fd

svn commit: r360027 - head/stand/libsa

2020-04-16 Thread Adrian Chadd
Author: adrian Date: Thu Apr 16 23:29:49 2020 New Revision: 360027 URL: https://svnweb.freebsd.org/changeset/base/360027 Log: [libsa] Fix typecast of pointer for st_dev This code was trying to use a pointer value for st_dev, which is definitely not a pointer. Instead, cast to uintptr_t s

svn commit: r360026 - in head/sys/net: . route

2020-04-16 Thread Adrian Chadd
Author: adrian Date: Thu Apr 16 23:28:47 2020 New Revision: 360026 URL: https://svnweb.freebsd.org/changeset/base/360026 Log: Remove an duplicate definition of nhops_dump_sysctl() One of the source files included both nhop.h and shared.h, leading to this clashing. Tested with: mips-g

Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-16 Thread Colin Percival
On 2020-04-16 15:05, Oliver Pinter wrote: > On Thursday, April 16, 2020, Colin Percival > wrote: > Log: >   Alert devd when acpi_video brightness changes > > Please add this to release notes! I considered that, but so far I don't have any evidence that other

Re: svn commit: r360025 - head/sys/dev/acpica

2020-04-16 Thread Oliver Pinter
On Thursday, April 16, 2020, Colin Percival wrote: > Author: cperciva > Date: Thu Apr 16 21:56:52 2020 > New Revision: 360025 > URL: https://svnweb.freebsd.org/changeset/base/360025 > > Log: > Alert devd when acpi_video brightness changes > > On my Dell Latitude 7390 laptop, the brightness ho

svn commit: r360025 - head/sys/dev/acpica

2020-04-16 Thread Colin Percival
Author: cperciva Date: Thu Apr 16 21:56:52 2020 New Revision: 360025 URL: https://svnweb.freebsd.org/changeset/base/360025 Log: Alert devd when acpi_video brightness changes On my Dell Latitude 7390 laptop, the brightness hotkeys (Fn+) send ACPI notifications which acpi_video handles by

svn commit: r360024 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 i386/linux kern powerpc/powerpc sys

2020-04-16 Thread Brooks Davis
Author: brooks Date: Thu Apr 16 21:53:17 2020 New Revision: 360024 URL: https://svnweb.freebsd.org/changeset/base/360024 Log: Convert canary, execpathp, and pagesizes to pointers. Use AUXARGS_ENTRY_PTR to export these pointers. This is a followup to r359987 and r359988. Reviewed by:

svn commit: r360023 - head/sys/powerpc/aim

2020-04-16 Thread John Baldwin
Author: jhb Date: Thu Apr 16 20:46:35 2020 New Revision: 360023 URL: https://svnweb.freebsd.org/changeset/base/360023 Log: Use %zu to print a size_t value instead of %ju. This fixes the build for 32-bit kernels. Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/m

svn commit: r360022 - head/sys/mips/conf

2020-04-16 Thread John Baldwin
Author: jhb Date: Thu Apr 16 20:45:54 2020 New Revision: 360022 URL: https://svnweb.freebsd.org/changeset/base/360022 Log: Add 'gpio' since mmc now requires gpio_if.h. Modified: head/sys/mips/conf/std.XLP Modified: head/sys/mips/conf/std.XLP ==

svn commit: r360021 - head/sys/arm/nvidia

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 20:44:23 2020 New Revision: 360021 URL: https://svnweb.freebsd.org/changeset/base/360021 Log: arm: nvidia: pcie: Rename class name to pcib Reported by: jhb Modified: head/sys/arm/nvidia/tegra_pcie.c Modified: head/sys/arm/nvidia/tegra_pcie.c ==

svn commit: r360020 - in head/sys: netinet netinet6

2020-04-16 Thread Jonathan T. Looney
Author: jtl Date: Thu Apr 16 20:17:24 2020 New Revision: 360020 URL: https://svnweb.freebsd.org/changeset/base/360020 Log: Avoid calling protocol drain routines more than once per reclamation event. mb_reclaim() calls the protocol drain routines for each protocol in each domain. Some prot

Re: svn commit: r360018 - in head/sys/arm: mv nvidia

2020-04-16 Thread John Baldwin
On 4/16/20 11:37 AM, Emmanuel Vadot wrote: > Author: manu > Date: Thu Apr 16 18:37:11 2020 > New Revision: 360018 > URL: https://svnweb.freebsd.org/changeset/base/360018 > > Log: > arm: Fix duplicate pcib DRIVER_MODULE > > Name each pcib driver uniquely. > This remove the warning printed

svn commit: r360019 - head/tests/sys/kern

2020-04-16 Thread Jonathan T. Looney
Author: jtl Date: Thu Apr 16 20:07:34 2020 New Revision: 360019 URL: https://svnweb.freebsd.org/changeset/base/360019 Log: Add a regression test for the changes in r359922 and r359923. Note that the Python code has been tested on both Python 2.7 and 3.7. Reviewed by: olivier MFC aft

svn commit: r360018 - in head/sys/arm: mv nvidia

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 18:37:11 2020 New Revision: 360018 URL: https://svnweb.freebsd.org/changeset/base/360018 Log: arm: Fix duplicate pcib DRIVER_MODULE Name each pcib driver uniquely. This remove the warning printed at each arm boot : module_register: cannot register simplebus

Re: svn commit: r359511 - head/bin/sh

2020-04-16 Thread Adrian Chadd
hi! This broke compiling using external gcc toolchain for mips32. I'm going to go poke at it a bit more but it looks like there's a /lot/ of warnings. :-) -adrian On Wed, 1 Apr 2020 at 08:13, Edward Tomasz Napierala wrote: > > Author: trasz > Date: Wed Apr 1 15:12:51 2020 > New Revision: 359

svn commit: r360017 - head/sys/net

2020-04-16 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Apr 16 17:53:23 2020 New Revision: 360017 URL: https://svnweb.freebsd.org/changeset/base/360017 Log: Fix userland build broken by r360014. Modified: head/sys/net/route.h Modified: head/sys/net/route.h

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

2020-04-16 Thread John Baldwin
Author: jhb Date: Thu Apr 16 17:41:32 2020 New Revision: 360016 URL: https://svnweb.freebsd.org/changeset/base/360016 Log: Document TCP_TLS_MODE_TOE. Modified: head/share/man/man4/tcp.4 Modified: head/share/man/man4/tcp.4 ==

svn commit: r360015 - head/sys/kern

2020-04-16 Thread Brooks Davis
Author: brooks Date: Thu Apr 16 17:24:13 2020 New Revision: 360015 URL: https://svnweb.freebsd.org/changeset/base/360015 Log: style(9): end continued line with operator. Modified: head/sys/kern/kern_sysctl.c Modified: head/sys/kern/kern_sysctl.c ==

svn commit: r360014 - in head/sys: net netinet netinet6

2020-04-16 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Apr 16 17:20:18 2020 New Revision: 360014 URL: https://svnweb.freebsd.org/changeset/base/360014 Log: Add nhop parameter to rti_filter callback. One of the goals of the new routing KPI defined in r359823 is to entirely hide`struct rtentry` from the consumers. It

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

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 16:59:37 2020 New Revision: 360013 URL: https://svnweb.freebsd.org/changeset/base/360013 Log: arm: Fix duplicate ehci DRIVER_MODULE Name each ehci driver uniquely. This remove the warning printed at each arm boot : module_register: cannot register simplebus

svn commit: r360012 - in head/sys/amd64: include vmm

2020-04-16 Thread Conrad Meyer
Author: cem Date: Thu Apr 16 16:50:33 2020 New Revision: 360012 URL: https://svnweb.freebsd.org/changeset/base/360012 Log: vmm(4): Expose instruction decode to userspace build Permit instruction decoding logic to be compiled outside of the kernel for rapid iteration and validation. R

Re: svn commit: r360004 - head/sys/i386/i386

2020-04-16 Thread Scott Long
> On Apr 16, 2020, at 10:01 AM, Brooks Davis wrote: > > On Thu, Apr 16, 2020 at 05:27:14AM +, Scott Long wrote: >> Author: scottl >> Date: Thu Apr 16 05:27:13 2020 >> New Revision: 360004 >> URL: https://svnweb.freebsd.org/changeset/base/360004 >> >> Log: >> Fix ps_strings type change for

Re: svn commit: r360004 - head/sys/i386/i386

2020-04-16 Thread Brooks Davis
On Thu, Apr 16, 2020 at 05:27:14AM +, Scott Long wrote: > Author: scottl > Date: Thu Apr 16 05:27:13 2020 > New Revision: 360004 > URL: https://svnweb.freebsd.org/changeset/base/360004 > > Log: > Fix ps_strings type change for i386 Thanks for the fix. I did do a make tinderbox, but missed

svn commit: r360011 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/aw_mmc

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 16:00:21 2020 New Revision: 360011 URL: https://svnweb.freebsd.org/changeset/base/360011 Log: arm: allwinner: aw_mmc: Make it possible to unload the module While here, add a makefile in sys/modules/allwinner so it is built. Also add the PNP info so devmatch w

svn commit: r360009 - head/sys/dev/mmc

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 15:58:58 2020 New Revision: 360009 URL: https://svnweb.freebsd.org/changeset/base/360009 Log: mmc_fdt_helpers: Drain the cd pin taskqueue in mmc_fdt_gpio_teardown We have no use for it now. MFC after:1 month Modified: head/sys/dev/mmc/mmc_fdt_helper

svn commit: r360010 - in head: share/man/man7 sys/netinet

2020-04-16 Thread Richard Scheffenegger
Author: rscheff Date: Thu Apr 16 15:59:23 2020 New Revision: 360010 URL: https://svnweb.freebsd.org/changeset/base/360010 Log: Reduce default TCP delayed ACK timeout to 40ms. Reviewed by: kbowling, tuexen Approved by: tuexen (mentor) MFC after:2 weeks Sponsored by: NetApp, Inc.

svn commit: r360008 - head/sys/dev/mmc

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 12:32:28 2020 New Revision: 360008 URL: https://svnweb.freebsd.org/changeset/base/360008 Log: mmc_fdt_helpers: Always init the timout We use the taskqueue to schedule card detection so always init it. This is a proper solution instead of r359965. MFC aft

svn commit: r360007 - head/sys/dev/mmc

2020-04-16 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 16 12:31:12 2020 New Revision: 360007 URL: https://svnweb.freebsd.org/changeset/base/360007 Log: Revert r359965 This cause board without a cd-gpio to not schedule a card detection. Modified: head/sys/dev/mmc/mmc_fdt_helpers.c Modified: head/sys/dev/mmc/mmc_fdt

svn commit: r360006 - stable/11/usr.bin/wc

2020-04-16 Thread Eugene Grosbein
Author: eugen Date: Thu Apr 16 11:49:13 2020 New Revision: 360006 URL: https://svnweb.freebsd.org/changeset/base/360006 Log: MFC r359801: wc(1): document SIGINFO handling in the manual page. Modified: stable/11/usr.bin/wc/wc.1 Directory Properties: stable/11/ (props changed) Modified: st

svn commit: r360005 - stable/12/usr.bin/wc

2020-04-16 Thread Eugene Grosbein
Author: eugen Date: Thu Apr 16 11:47:53 2020 New Revision: 360005 URL: https://svnweb.freebsd.org/changeset/base/360005 Log: MFC r359801: wc(1): document SIGINFO handling in the manual page. Modified: stable/12/usr.bin/wc/wc.1 Directory Properties: stable/12/ (props changed) Modified: st

Re: svn commit: r328242 - head/lib/libregex

2020-04-16 Thread Hans Petter Selasky
On 2020-04-16 10:58, Hans Petter Selasky wrote: Hi Kyle, There is a sed regression between older 12.1 and 13-current likely caused by libregex changes. I will try to bisect: Can you have a look at this: Expected result: printf "#define MEDIA_BUS_FMT_SRGGB16_1X16\t\t\t0x3020\n" | sed -e 's/

Re: svn commit: r328242 - head/lib/libregex

2020-04-16 Thread Hans Petter Selasky
Hi Kyle, There is a sed regression between older 12.1 and 13-current likely caused by libregex changes. I will try to bisect: Can you have a look at this: Expected result: printf "#define MEDIA_BUS_FMT_SRGGB16_1X16\t\t\t0x3020\n" | sed -e 's/.*FMT_//; s/\t.*//; s/.*/{ \"&\", MEDIA_BUS_FMT_