svn commit: r355746 - head/sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Sat Dec 14 05:21:56 2019 New Revision: 355746 URL: https://svnweb.freebsd.org/changeset/base/355746 Log: uma dbg: flexible size for slab debug bitset too Recently (r355315) the size of the struct uma_slab bitset field us_free became dynamic instead of conservative.

svn commit: r355745 - stable/12/contrib/openresolv

2019-12-13 Thread Pedro F. Giffuni
Author: pfg Date: Sat Dec 14 03:14:46 2019 New Revision: 355745 URL: https://svnweb.freebsd.org/changeset/base/355745 Log: MFC 354924: MFV 354917, 354918, 354919 openresolv: update to version 3.9.2 Added: stable/12/contrib/openresolv/LICENSE - copied unchanged from r354924,

svn commit: r355744 - head/sys/netpfil/pf

2019-12-13 Thread Kristof Provost
Author: kp Date: Sat Dec 14 02:06:07 2019 New Revision: 355744 URL: https://svnweb.freebsd.org/changeset/base/355744 Log: pf: Make request_maxcount runtime adjustable There's no reason for this to be a tunable. It's perfectly safe to change this at runtime. Reviewed by: Lutz

svn commit: r355743 - head/sbin/pfctl

2019-12-13 Thread Kristof Provost
Author: kp Date: Sat Dec 14 02:03:47 2019 New Revision: 355743 URL: https://svnweb.freebsd.org/changeset/base/355743 Log: pfctl: Warn users when they run into kernel limits Warn users when they try to add/delete/modify more items than the kernel will allow. Reviewed by: allanjude

svn commit: r355742 - in head/sys: kern sys

2019-12-13 Thread Mateusz Guzik
Author: mjg Date: Sat Dec 14 00:43:17 2019 New Revision: 355742 URL: https://svnweb.freebsd.org/changeset/base/355742 Log: Remove the useless return value from proc_set_cred Modified: head/sys/kern/kern_prot.c head/sys/sys/ucred.h Modified: head/sys/kern/kern_prot.c

svn commit: r355741 - in head: sys/dev/pci usr.sbin/pciconf

2019-12-13 Thread Scott Long
Author: scottl Date: Fri Dec 13 23:46:59 2019 New Revision: 355741 URL: https://svnweb.freebsd.org/changeset/base/355741 Log: Add accessors for the Vendor Specific Extended Capability (VSEC) Parse out the VSEC. If the user invokes a second -c command line option, do a hex dump of the

svn commit: r355740 - head/sys/dev/cxgbe/tom

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 23:33:54 2019 New Revision: 355740 URL: https://svnweb.freebsd.org/changeset/base/355740 Log: Expand net epoch in the cxgbe TOE driver to satisfy assertions. Reviewed by: np Sponsored by: Chelsio Communications Differential Revision:

svn commit: r355739 - in head/sys/contrib/dev/acpica: . common compiler components/debugger components/dispatcher components/executer components/hardware include include/platform

2019-12-13 Thread Jung-uk Kim
Author: jkim Date: Fri Dec 13 23:28:52 2019 New Revision: 355739 URL: https://svnweb.freebsd.org/changeset/base/355739 Log: MFV: r355716 Merge ACPICA 20191213. Modified: head/sys/contrib/dev/acpica/changes.txt head/sys/contrib/dev/acpica/common/dmtables.c head/sys/contrib/dev

svn commit: r355738 - head/sys/modules/i2c/ads111x

2019-12-13 Thread Ian Lepore
Author: ian Date: Fri Dec 13 23:22:49 2019 New Revision: 355738 URL: https://svnweb.freebsd.org/changeset/base/355738 Log: Include ofw_bus_if.h in SRCS only on systems configured with the FDT option. Modified: head/sys/modules/i2c/ads111x/Makefile Modified:

svn commit: r355737 - head/share/man/man9

2019-12-13 Thread Warner Losh
Author: imp Date: Fri Dec 13 22:32:05 2019 New Revision: 355737 URL: https://svnweb.freebsd.org/changeset/base/355737 Log: Better copyright advice Document the common practices around copyrights with "all rights reserved" in them as new copyright notices get added. It's an open

svn commit: r355736 - head/stand/libsa/zfs

2019-12-13 Thread Andriy Gapon
Author: avg Date: Fri Dec 13 22:04:13 2019 New Revision: 355736 URL: https://svnweb.freebsd.org/changeset/base/355736 Log: zfs boot: fix a crash in a rarely taken path in fzap_lookup Instead of passing NULL to fzap_name_equal and crashing, just return ENOENT. This happened when higher

Re: svn commit: r355735 - in head/sys: arm/broadcom/bcm2835 arm/mv dev/ow

2019-12-13 Thread Ravi Pokala
Thanks! -Ravi (rpokala@) -Original Message- From: on behalf of Warner Losh Date: 2019-12-13, Friday at 13:39 To: , , Subject: svn commit: r355735 - in head/sys: arm/broadcom/bcm2835 arm/mv dev/ow Author: imp Date: Fri Dec 13 21:39:20 2019 New Revision: 355735 URL:

svn commit: r355735 - in head/sys: arm/broadcom/bcm2835 arm/mv dev/ow

2019-12-13 Thread Warner Losh
Author: imp Date: Fri Dec 13 21:39:20 2019 New Revision: 355735 URL: https://svnweb.freebsd.org/changeset/base/355735 Log: Be consistent about checking return value from bus_delayed_attach_children. Most places checked, but a couple last minute changes didn't. Make them all use the

svn commit: r355734 - head/share/man/man9

2019-12-13 Thread Warner Losh
Author: imp Date: Fri Dec 13 21:39:10 2019 New Revision: 355734 URL: https://svnweb.freebsd.org/changeset/base/355734 Log: Don't use contractions. Fix the date. Contractions cause problems for translators, so s/aren't/are not/ in the one place this slipped through. While here,

svn commit: r355733 - in head/sys/fs: nfsclient nfsserver

2019-12-13 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 13 21:38:08 2019 New Revision: 355733 URL: https://svnweb.freebsd.org/changeset/base/355733 Log: Silence some "might not be initialized" warnings for riscv64. None of these case were actually using the variable(s) uninitialized, but I figured that silencing

svn commit: r355732 - in head: . share/man/man9 sys/kern sys/netgraph sys/sys

2019-12-13 Thread John Baldwin
2019(r355731) +++ head/ObsoleteFiles.inc Fri Dec 13 21:03:12 2019(r355732) @@ -36,6 +36,9 @@ # xargs -n1 | sort | uniq -d; # done +# 20191213: remove timeout(9) +OLD_FILES+=usr/share/man/man9/timeout.9.gz +OLD_FILES+=usr/share/man/man9/untimeout.9.gz # 20191128: Removal

svn commit: r355731 - stable/11/crypto/openssh

2019-12-13 Thread Ed Maste
Author: emaste Date: Fri Dec 13 20:45:45 2019 New Revision: 355731 URL: https://svnweb.freebsd.org/changeset/base/355731 Log: sftp: disallow creation (of empty files) in read-only mode Direct commit to stable/11; already fixed in newer OpenSSH in 12 and later. PR: 233801

svn commit: r355730 - in head/sys/dev/cxgbe: . crypto

2019-12-13 Thread Navdeep Parhar
Author: np Date: Fri Dec 13 20:38:58 2019 New Revision: 355730 URL: https://svnweb.freebsd.org/changeset/base/355730 Log: cxgbe(4): Use the _XT variant of the CPL used to transmit NIC traffic. CPL_TX_PKT_XT disables the internal parser on the chip and instead relies on the driver to

svn commit: r355729 - head/lib/libc/powerpc64

2019-12-13 Thread Brandon Bergren
Author: bdragon Date: Fri Dec 13 20:30:26 2019 New Revision: 355729 URL: https://svnweb.freebsd.org/changeset/base/355729 Log: [PowerPC] Fully define gdtoa settings on powerpc64. The settings in arith.h were not fully defined on powerpc64 after the gdtoa switchover. Generate them using

Re: svn commit: r355727 - in head: share/man/man9 sys/arm/broadcom/bcm2835 sys/arm/freescale/imx sys/arm/mv sys/arm/ti sys/dev/glxiic sys/dev/ichsmb sys/dev/ow sys/kern sys/sys

2019-12-13 Thread Ravi Pokala
Hi Warner, This change takes a bunch of cases of > config_intrhook_oneshot((ich_func_t)bus_generic_attach, dev); > return (0) And replaces them with a *mix* of: > return (bus_delayed_attach_children(dev)); and > bus_delayed_attach_children(dev); > return (0) Why the two different idioms?

svn commit: r355728 - head/sys/dev/smartpqi

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 19:56:48 2019 New Revision: 355728 URL: https://svnweb.freebsd.org/changeset/base/355728 Log: Use callout(9) instead of deprecated timeout(9). Reviewed by: imp Tested by:Scott Benesh Differential Revision:https://reviews.freebsd.org/D22598

Re: svn commit: r355725 - in head/sys: kern sys

2019-12-13 Thread John Baldwin
On 12/13/19 11:27 AM, Hans Petter Selasky wrote: > On 2019-12-13 20:26, John Baldwin wrote: >> deprecated timeout(9) > > Are you planning to nuke the timeout(9) API? Yes, only one consumer left and that is in review. D22602 is the removal. It always runs under Giant, is unreliable since

Re: svn commit: r355724 - in head: sys/amd64/include sys/amd64/vmm/amd sys/amd64/vmm/intel usr.sbin/bhyve

2019-12-13 Thread John Baldwin
On 12/13/19 11:21 AM, John Baldwin wrote: > Author: jhb > Date: Fri Dec 13 19:21:58 2019 > New Revision: 355724 > URL: https://svnweb.freebsd.org/changeset/base/355724 > > Log: > Support software breakpoints in the debug server on Intel CPUs. > > - Allow the userland hypervisor to

svn commit: r355727 - in head: share/man/man9 sys/arm/broadcom/bcm2835 sys/arm/freescale/imx sys/arm/mv sys/arm/ti sys/dev/glxiic sys/dev/ichsmb sys/dev/ow sys/kern sys/sys

2019-12-13 Thread Warner Losh
Author: imp Date: Fri Dec 13 19:39:33 2019 New Revision: 355727 URL: https://svnweb.freebsd.org/changeset/base/355727 Log: Create new wrapper function: bus_delayed_attach_children() Delay the attachment of children, when requested, until after interrutps are running. This is often needed

Re: svn commit: r355725 - in head/sys: kern sys

2019-12-13 Thread Hans Petter Selasky
On 2019-12-13 20:26, John Baldwin wrote: deprecated timeout(9) Are you planning to nuke the timeout(9) API? --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to

svn commit: r355726 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 19:27:51 2019 New Revision: 355726 URL: https://svnweb.freebsd.org/changeset/base/355726 Log: Use a callout instead of timeout(9) for delayed zio's. Reviewed by: avg Differential Revision:https://reviews.freebsd.org/D22597 Modified:

svn commit: r355725 - in head/sys: kern sys

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 19:26:04 2019 New Revision: 355725 URL: https://svnweb.freebsd.org/changeset/base/355725 Log: Use callout(9) instead of deprecated timeout(9) for fail points. Allocate the callout structure on-demand from fail_point_use_timeout_path() since most fail points

svn commit: r355724 - in head: sys/amd64/include sys/amd64/vmm/amd sys/amd64/vmm/intel usr.sbin/bhyve

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 19:21:58 2019 New Revision: 355724 URL: https://svnweb.freebsd.org/changeset/base/355724 Log: Support software breakpoints in the debug server on Intel CPUs. - Allow the userland hypervisor to intercept breakpoint exceptions (BP#) in the guest. A new

svn commit: r355723 - in head/sys: compat/linux kern sys

2019-12-13 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Dec 13 18:44:02 2019 New Revision: 355723 URL: https://svnweb.freebsd.org/changeset/base/355723 Log: Add kern_kill() and use it in Linuxulator. It's just a cleanup, no functional changes. Reviewed by: kib MFC after:2 weeks Sponsored by: The FreeBSD

svn commit: r355722 - in head/sys: compat/linux kern sys

2019-12-13 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Dec 13 18:39:36 2019 New Revision: 355722 URL: https://svnweb.freebsd.org/changeset/base/355722 Log: Add kern_getsid() and use it in Linuxulator; no functional changes. Reviewed by: kib MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential

svn commit: r355721 - head/sys/dev/nvme

2019-12-13 Thread Warner Losh
Author: imp Date: Fri Dec 13 18:35:48 2019 New Revision: 355721 URL: https://svnweb.freebsd.org/changeset/base/355721 Log: Move to using bool instead of boolean_t While there are subtle semantic differences between bool and boolean_t, none of them matter in these cases. Prefer

svn commit: r355720 - head/sys/vm

2019-12-13 Thread Mark Johnston
Author: markj Date: Fri Dec 13 18:28:01 2019 New Revision: 355720 URL: https://svnweb.freebsd.org/changeset/base/355720 Log: Restore the reservation of boot pages for bucket zones after r355707. uma_startup2() sets booted = BOOT_BUCKETS after calling bucket_init(), but before that

svn commit: r355719 - head/sys/sys

2019-12-13 Thread Brandon Bergren
Author: bdragon Date: Fri Dec 13 18:18:14 2019 New Revision: 355719 URL: https://svnweb.freebsd.org/changeset/base/355719 Log: [PowerPC] Enable TLS usage in system libraries on ELFv2. Currently, __NO_TLS is defined to 1 on powerpc64. TLS usage works much better on ELFv2 due to the modern

svn commit: r355718 - head/sbin/devd

2019-12-13 Thread Alexander Motin
Author: mav Date: Fri Dec 13 17:52:09 2019 New Revision: 355718 URL: https://svnweb.freebsd.org/changeset/base/355718 Log: Fix $() handling, broken since the beginning at r108014. Due to off-by-one error in brackets counting it consumed the rest of the string, preventing later variables

svn commit: r355717 - vendor-sys/acpica/20191213

2019-12-13 Thread Jung-uk Kim
Author: jkim Date: Fri Dec 13 16:51:56 2019 New Revision: 355717 URL: https://svnweb.freebsd.org/changeset/base/355717 Log: Tag ACPICA 20191213. Added: vendor-sys/acpica/20191213/ - copied from r355716, vendor-sys/acpica/dist/ ___ svn-src-all

svn commit: r355716 - in vendor-sys/acpica/dist: . source/common source/compiler source/components/debugger source/components/dispatcher source/components/executer source/components/hardware source...

2019-12-13 Thread Jung-uk Kim
Author: jkim Date: Fri Dec 13 16:51:08 2019 New Revision: 355716 URL: https://svnweb.freebsd.org/changeset/base/355716 Log: Import ACPICA 20191213. Modified: vendor-sys/acpica/dist/changes.txt vendor-sys/acpica/dist/source/common/dmtables.c vendor-sys/acpica/dist/source/compiler

svn commit: r355715 - head

2019-12-13 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 13 16:28:48 2019 New Revision: 355715 URL: https://svnweb.freebsd.org/changeset/base/355715 Log: Add an entry to RELNOTES for r355677. Modified: head/RELNOTES Modified: head/RELNOTES

Re: svn commit: r355609 - head

2019-12-13 Thread Ed Maste
On Thu, 12 Dec 2019 at 18:46, Bryan Drewery wrote: > > What ever happened to POLA? > > Name 1 good reason this should be an .error?! Or even a .warning for > that matter. > > The argument I keep hearing is "we have to maintain these 3 lines of > code", ok, well now it's just an annoyance to

svn commit: r355714 - head

2019-12-13 Thread Ed Maste
Author: emaste Date: Fri Dec 13 14:48:44 2019 New Revision: 355714 URL: https://svnweb.freebsd.org/changeset/base/355714 Log: revert r355609 Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 == ---

Re: svn commit: r341578 - head/sys/dev/mlx5/mlx5_en

2019-12-13 Thread Hans Petter Selasky
On 2019-12-13 14:40, Andrey V. Elsukov wrote: On 05.12.2018 17:20, Slava Shwartsman wrote: Author: slavash Date: Wed Dec 5 14:20:57 2018 New Revision: 341578 URL: https://svnweb.freebsd.org/changeset/base/341578 Log: mlx5en: Remove the DRBR and associated logic in the transmit path.

Re: svn commit: r341578 - head/sys/dev/mlx5/mlx5_en

2019-12-13 Thread Andrey V. Elsukov
On 05.12.2018 17:20, Slava Shwartsman wrote: > Author: slavash > Date: Wed Dec 5 14:20:57 2018 > New Revision: 341578 > URL: https://svnweb.freebsd.org/changeset/base/341578 > > Log: > mlx5en: Remove the DRBR and associated logic in the transmit path. > > The hardware queues are deep

svn commit: r355713 - head/stand/libsa

2019-12-13 Thread Toomas Soome
Author: tsoome Date: Fri Dec 13 12:36:16 2019 New Revision: 355713 URL: https://svnweb.freebsd.org/changeset/base/355713 Log: loader: cd9660_open() warn: is 'buf' large enough for 'struct iso_primary_descriptor'? We do allocate amount of memory (void * or char *), and then assign this

svn commit: r355712 - head/sys/netpfil/ipfw

2019-12-13 Thread Andrey V. Elsukov
Author: ae Date: Fri Dec 13 11:47:58 2019 New Revision: 355712 URL: https://svnweb.freebsd.org/changeset/base/355712 Log: Make TCP options parsing stricter. Rework tcpopts_parse() to be more strict. Use const pointer. Add length checks for specific TCP options. The main purpose of the

svn commit: r355711 - in head: lib/libmemstat sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 11:21:28 2019 New Revision: 355711 URL: https://svnweb.freebsd.org/changeset/base/355711 Log: Revert r355706 & r355710 The quick fix didn't work. I'll sort it out tomorrow. Revert r355710: "libmemstat: unbreak build" Revert r355706: "uma dbg:

svn commit: r355710 - head/lib/libmemstat

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 10:34:19 2019 New Revision: 355710 URL: https://svnweb.freebsd.org/changeset/base/355710 Log: libmemstat: unbreak build r355706 added an instance of offsetof() to the UMA private kernel header file uma_int.h. Userspace memstat_uma.c includes that header,

svn commit: r355709 - in head: share/man/man9 sys/i386/i386 sys/kern sys/sparc64/sparc64 sys/sys sys/x86/x86

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:32:16 2019 New Revision: 355709 URL: https://svnweb.freebsd.org/changeset/base/355709 Log: bitset: rename confusing macro NAND to ANDNOT s/BIT_NAND/BIT_ANDNOT/, and for CPU and DOMAINSET too. The actual implementation is "and not" (or "but not"), i.e.

svn commit: r355707 - head/sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:32:03 2019 New Revision: 355707 URL: https://svnweb.freebsd.org/changeset/base/355707 Log: uma: delay bucket_init() until we might actually enable buckets This helps with a bootstrapping problem in upcoming work. We don't first enable buckets until

svn commit: r355706 - head/sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:31:59 2019 New Revision: 355706 URL: https://svnweb.freebsd.org/changeset/base/355706 Log: uma dbg: flexible size for slab debug bitset too Recently (r355315) the size of the struct uma_slab bitset field us_free became dynamic instead of conservative.

svn commit: r355708 - head/sys/vm

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:32:09 2019 New Revision: 355708 URL: https://svnweb.freebsd.org/changeset/base/355708 Log: uma: report slab efficiency Reviewed by: jeff Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd.org/D22766 Modified:

svn commit: r355705 - in head: lib/geom/part sys/geom/part

2019-12-13 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Dec 13 09:28:44 2019 New Revision: 355705 URL: https://svnweb.freebsd.org/changeset/base/355705 Log: Add kern.geom.part.separator tunable. This makes it possible to specify an optional separator to insert before partition name; eg if it's set to "c/", you'll get

svn commit: r355704 - stable/12/sys/mips/mips

2019-12-13 Thread Ryan Libby
Author: rlibby Date: Fri Dec 13 09:19:24 2019 New Revision: 355704 URL: https://svnweb.freebsd.org/changeset/base/355704 Log: MFC r355343: mips busdma: bzero map on alloc Modified: stable/12/sys/mips/mips/busdma_machdep.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r355703 - head/stand/common

2019-12-13 Thread Toomas Soome
Author: tsoome Date: Fri Dec 13 08:41:37 2019 New Revision: 355703 URL: https://svnweb.freebsd.org/changeset/base/355703 Log: loader: clean up devopen and devclose a bit devopen should undo setup of f->f_dev in case of error. devclose can just call free(). MFC after:1 week

svn commit: r355702 - head/stand/common

2019-12-13 Thread Toomas Soome
Author: tsoome Date: Fri Dec 13 08:20:20 2019 New Revision: 355702 URL: https://svnweb.freebsd.org/changeset/base/355702 Log: loader: vdisk dereference after free print out the information and then free the memory used. MFC after:1 week Modified: head/stand/common/vdisk.c