svn commit: r351246 - in stable: 11/sys/opencrypto 12/sys/opencrypto

2019-08-19 Thread John Baldwin
Author: jhb Date: Tue Aug 20 01:30:35 2019 New Revision: 351246 URL: https://svnweb.freebsd.org/changeset/base/351246 Log: MFC 348876: Add warnings to /dev/crypto for deprecated algorithms. These algorithms are deprecated algorithms that will have no in-kernel consumers in FreeBSD 13.

svn commit: r351243 - in stable: 11/sys/kgssapi/krb5 12/sys/kgssapi/krb5

2019-08-19 Thread John Baldwin
Author: jhb Date: Tue Aug 20 00:50:17 2019 New Revision: 351243 URL: https://svnweb.freebsd.org/changeset/base/351243 Log: MFC 348875: Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429. All of these algorithms are explicitly marked SHOULD NOT in one of these

svn commit: r351243 - in stable: 11/sys/kgssapi/krb5 12/sys/kgssapi/krb5

2019-08-19 Thread John Baldwin
Author: jhb Date: Tue Aug 20 00:50:17 2019 New Revision: 351243 URL: https://svnweb.freebsd.org/changeset/base/351243 Log: MFC 348875: Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429. All of these algorithms are explicitly marked SHOULD NOT in one of these

svn commit: r351242 - in stable: 11/sys/kern 12/sys/kern

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 23:57:37 2019 New Revision: 351242 URL: https://svnweb.freebsd.org/changeset/base/351242 Log: MFC 349616: Fix description of debug.obsolete_panic. Modified: stable/12/sys/kern/subr_bus.c Directory Properties: stable/12/ (props changed) Changes in other areas

svn commit: r351242 - in stable: 11/sys/kern 12/sys/kern

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 23:57:37 2019 New Revision: 351242 URL: https://svnweb.freebsd.org/changeset/base/351242 Log: MFC 349616: Fix description of debug.obsolete_panic. Modified: stable/11/sys/kern/subr_bus.c Directory Properties: stable/11/ (props changed) Changes in other areas

svn commit: r351236 - in stable: 11/sys/dev/cxgbe/tom 12/sys/dev/cxgbe/tom

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 22:31:04 2019 New Revision: 351236 URL: https://svnweb.freebsd.org/changeset/base/351236 Log: MFC 349467: Hold an explicit reference on the socket for the aiotx task. Previously, the aiotx task relied on the aio jobs in the queue to hold a reference on the

svn commit: r351236 - in stable: 11/sys/dev/cxgbe/tom 12/sys/dev/cxgbe/tom

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 22:31:04 2019 New Revision: 351236 URL: https://svnweb.freebsd.org/changeset/base/351236 Log: MFC 349467: Hold an explicit reference on the socket for the aiotx task. Previously, the aiotx task relied on the aio jobs in the queue to hold a reference on the

svn commit: r351234 - in stable: 11/sys/vm 12/sys/vm

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 21:59:02 2019 New Revision: 351234 URL: https://svnweb.freebsd.org/changeset/base/351234 Log: MFC 348874: Remove an overly-aggressive assertion. While it is true that the new vmspace passed to vmspace_switch_aio will always have a valid reference due to the

svn commit: r351234 - in stable: 11/sys/vm 12/sys/vm

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 21:59:02 2019 New Revision: 351234 URL: https://svnweb.freebsd.org/changeset/base/351234 Log: MFC 348874: Remove an overly-aggressive assertion. While it is true that the new vmspace passed to vmspace_switch_aio will always have a valid reference due to the

svn commit: r351228 - in stable: 11/sys/dev/cxgbe/tom 12/sys/dev/cxgbe/tom

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 18:50:56 2019 New Revision: 351228 URL: https://svnweb.freebsd.org/changeset/base/351228 Log: MFC 348791: Fix debug trace after removal of pdu_overhead. Modified: stable/12/sys/dev/cxgbe/tom/t4_tls.c Directory Properties: stable/12/ (props changed) Changes

svn commit: r351228 - in stable: 11/sys/dev/cxgbe/tom 12/sys/dev/cxgbe/tom

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 18:50:56 2019 New Revision: 351228 URL: https://svnweb.freebsd.org/changeset/base/351228 Log: MFC 348791: Fix debug trace after removal of pdu_overhead. Modified: stable/11/sys/dev/cxgbe/tom/t4_tls.c Directory Properties: stable/11/ (props changed) Changes

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

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 17:28:12 2019 New Revision: 351224 URL: https://svnweb.freebsd.org/changeset/base/351224 Log: Trim a spurious blank line I added in r348969. I did not bump .Dd since there is no content change. MFC after:3 days Modified: head/share/man/man9/sysctl.9

svn commit: r351222 - in stable: 11/share/man/man9 12/share/man/man9

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 17:27:06 2019 New Revision: 351222 URL: https://svnweb.freebsd.org/changeset/base/351222 Log: MFC 348969: Document sysctl nodes that translate their values. This documents the behavior of sysctl_msec_to_ticks. The MFC does not document

svn commit: r351222 - in stable: 11/share/man/man9 12/share/man/man9

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 17:27:06 2019 New Revision: 351222 URL: https://svnweb.freebsd.org/changeset/base/351222 Log: MFC 348969: Document sysctl nodes that translate their values. This documents the behavior of sysctl_msec_to_ticks. The MFC does not document

svn commit: r351060 - in stable: 11/sys/amd64/vmm/io 12/sys/amd64/vmm/io

2019-08-14 Thread John Baldwin
Author: jhb Date: Wed Aug 14 23:31:53 2019 New Revision: 351060 URL: https://svnweb.freebsd.org/changeset/base/351060 Log: MFC 348695: Support MSI-X for passthrough devices with a separate PBA BAR. pci_alloc_msix() requires both the table and PBA BARs to be allocated by the driver. ppt

svn commit: r351060 - in stable: 11/sys/amd64/vmm/io 12/sys/amd64/vmm/io

2019-08-14 Thread John Baldwin
Author: jhb Date: Wed Aug 14 23:31:53 2019 New Revision: 351060 URL: https://svnweb.freebsd.org/changeset/base/351060 Log: MFC 348695: Support MSI-X for passthrough devices with a separate PBA BAR. pci_alloc_msix() requires both the table and PBA BARs to be allocated by the driver. ppt

svn commit: r351059 - in stable: 11/usr.sbin/bhyve 12/usr.sbin/bhyve

2019-08-14 Thread John Baldwin
Author: jhb Date: Wed Aug 14 23:28:43 2019 New Revision: 351059 URL: https://svnweb.freebsd.org/changeset/base/351059 Log: MFC 348694: Don't simulate PBA access if the PBA is in a separate BAR. bhyve has to virtualize the MSI-X table to trap reads and writes to that table and map those

svn commit: r351059 - in stable: 11/usr.sbin/bhyve 12/usr.sbin/bhyve

2019-08-14 Thread John Baldwin
Author: jhb Date: Wed Aug 14 23:28:43 2019 New Revision: 351059 URL: https://svnweb.freebsd.org/changeset/base/351059 Log: MFC 348694: Don't simulate PBA access if the PBA is in a separate BAR. bhyve has to virtualize the MSI-X table to trap reads and writes to that table and map those

svn commit: r351058 - in stable: 11/sys/netinet6 12/sys/netinet6

2019-08-14 Thread John Baldwin
Author: jhb Date: Wed Aug 14 23:25:58 2019 New Revision: 351058 URL: https://svnweb.freebsd.org/changeset/base/351058 Log: MFC 347465: Apply r280991 to ip6_fragment. This uses m_dup_pkthdr() to copy all of the metadata about a packet to each of its fragments including VLAN tags, mbuf

svn commit: r351058 - in stable: 11/sys/netinet6 12/sys/netinet6

2019-08-14 Thread John Baldwin
Author: jhb Date: Wed Aug 14 23:25:58 2019 New Revision: 351058 URL: https://svnweb.freebsd.org/changeset/base/351058 Log: MFC 347465: Apply r280991 to ip6_fragment. This uses m_dup_pkthdr() to copy all of the metadata about a packet to each of its fragments including VLAN tags, mbuf

svn commit: r351057 - in stable: 11/sys/netinet 12/sys/netinet

2019-08-14 Thread John Baldwin
Author: jhb Date: Wed Aug 14 23:05:57 2019 New Revision: 351057 URL: https://svnweb.freebsd.org/changeset/base/351057 Log: MFC 346360: Push down INP_WLOCK slightly in tcp_ctloutput. The inp lock is not needed for testing the V6 flag as that flag is set once when the inp is created and

svn commit: r351057 - in stable: 11/sys/netinet 12/sys/netinet

2019-08-14 Thread John Baldwin
Author: jhb Date: Wed Aug 14 23:05:57 2019 New Revision: 351057 URL: https://svnweb.freebsd.org/changeset/base/351057 Log: MFC 346360: Push down INP_WLOCK slightly in tcp_ctloutput. The inp lock is not needed for testing the V6 flag as that flag is set once when the inp is created and

svn commit: r351054 - head/sys/x86/x86

2019-08-14 Thread John Baldwin
Author: jhb Date: Wed Aug 14 22:13:11 2019 New Revision: 351054 URL: https://svnweb.freebsd.org/changeset/base/351054 Log: Stop listing "on motherboard" as the parent of nexus devices on x86. Reviewed by: imp Differential Revision:https://reviews.freebsd.org/D21256 Modified:

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

2019-08-13 Thread John Baldwin
Author: jhb Date: Tue Aug 13 21:15:59 2019 New Revision: 351003 URL: https://svnweb.freebsd.org/changeset/base/351003 Log: Fix build with DRM and INVARIANTS enabled. The DRM drivers use the lockdep assertion macros with spinlock_t locks which are backed by mutexes, not sx locks. This

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

2019-08-07 Thread John Baldwin
On 8/6/19 9:56 AM, Glen Barber wrote: > On Sat, Aug 03, 2019 at 01:06:18AM +0000, John Baldwin wrote: >> Author: jhb >> Date: Sat Aug 3 01:06:17 2019 >> New Revision: 350550 >> URL: https://svnweb.freebsd.org/changeset/base/350550 >> >> Log: >> F

svn commit: r350666 - head/usr.bin/netstat

2019-08-06 Thread John Baldwin
Author: jhb Date: Wed Aug 7 00:53:27 2019 New Revision: 350666 URL: https://svnweb.freebsd.org/changeset/base/350666 Log: Tidy up the list of auth and encryption algorithms for IPsec stats. - Use keyed-md5 and keyed_sha1 instead of md5 and sha1 to match the names accepted by setkey

svn commit: r350664 - head/sys/conf

2019-08-06 Thread John Baldwin
Author: jhb Date: Tue Aug 6 23:22:25 2019 New Revision: 350664 URL: https://svnweb.freebsd.org/changeset/base/350664 Log: Fix LOCAL_MODULES and improve the make output. The exists() check guarding the invocation of ls was not working correctly as it was expanding '$L' to determine the

svn commit: r350662 - in head/sys: dev/acpica i386/pci

2019-08-06 Thread John Baldwin
Author: jhb Date: Tue Aug 6 23:15:04 2019 New Revision: 350662 URL: https://svnweb.freebsd.org/changeset/base/350662 Log: Detect invalid PCI devices more correctly in PCI interrupt router drivers. - Check for an invalid device (vendor is invalid) before reading the header type

svn commit: r350619 - in stable: 11/usr.sbin/bhyve 12/usr.sbin/bhyve

2019-08-05 Thread John Baldwin
Author: jhb Date: Mon Aug 5 22:04:16 2019 New Revision: 350619 URL: https://svnweb.freebsd.org/changeset/base/350619 Log: MFC 350618: Validate guest-supplied length of headers for TSO transmit requests. When transmitting a large TCP packet, the final transmit descriptor includes the

svn commit: r350619 - in stable: 11/usr.sbin/bhyve 12/usr.sbin/bhyve

2019-08-05 Thread John Baldwin
Author: jhb Date: Mon Aug 5 22:04:16 2019 New Revision: 350619 URL: https://svnweb.freebsd.org/changeset/base/350619 Log: MFC 350618: Validate guest-supplied length of headers for TSO transmit requests. When transmitting a large TCP packet, the final transmit descriptor includes the

svn commit: r350618 - head/usr.sbin/bhyve

2019-08-05 Thread John Baldwin
Author: jhb Date: Mon Aug 5 21:39:55 2019 New Revision: 350618 URL: https://svnweb.freebsd.org/changeset/base/350618 Log: Validate guest-supplied length of headers for TSO transmit requests. When transmitting a large TCP packet, the final transmit descriptor includes the length of the

svn commit: r350551 - in head/sys: amd64/amd64 i386/i386 i386/include

2019-08-02 Thread John Baldwin
Author: jhb Date: Sat Aug 3 01:36:05 2019 New Revision: 350551 URL: https://svnweb.freebsd.org/changeset/base/350551 Log: Don't reset memory attributes when mapping physical addresses for ACPI. Previously, AcpiOsMemory was using pmap_mapbios which would always map the requested address

svn commit: r350550 - head/share/mk

2019-08-02 Thread John Baldwin
Author: jhb Date: Sat Aug 3 01:06:17 2019 New Revision: 350550 URL: https://svnweb.freebsd.org/changeset/base/350550 Log: Flip REPRODUCIBLE_BUILD back to off by default in head. Having the full uname output can be useful on head even with unmodified trees or trees that newvers.sh fails

svn commit: r350549 - head/sys/kern

2019-08-02 Thread John Baldwin
Author: jhb Date: Sat Aug 3 01:02:52 2019 New Revision: 350549 URL: https://svnweb.freebsd.org/changeset/base/350549 Log: Set ISOPEN in namei flags when opening executable interpreters. These vnodes are explicitly opened via VOP_OPEN via exec_check_permissions identical to the main

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread John Baldwin
On 8/1/19 11:09 AM, Ian Lepore wrote: > On Thu, 2019-08-01 at 10:39 -0700, John Baldwin wrote: >> On 7/31/19 8:13 PM, Ed Maste wrote: >>> On Thu, 1 Aug 2019 at 12:51, Rodney W. Grimes < >>> free...@gndrsh.dnsmgr.net> wrote: >>>> >>>> That wo

Re: svn commit: r350512 - head/tests/sys/kern

2019-08-01 Thread John Baldwin
; Suggested by: jhb > Sponsored by: The FreeBSD Foundation Thanks Li-Wen! -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r350505 - in head: contrib/binutils/binutils/doc gnu/usr.bin/binutils/objdump

2019-08-01 Thread John Baldwin
quot; to "XYZ is removed" if a deprecation note is added and merged and later it is removed) rather than only having a running journal ala UPDATING. On the question of whether we want a dedicated section just for deprecation notices, I'm not sure. Probably we can just stick with the layout of

Re: svn commit: r350211 - head/tests/sys/kern

2019-07-30 Thread John Baldwin
ce it outside of CI? Also, I see in followups that you disabled several more meaning that I can't rely on running ptrace_test directly for my own testing via kyua anymore. :( Is there some kind of flag we can set with kyua to say "run all the tests because they work everywhere else e

svn commit: r350179 - head/lib/libutil

2019-07-20 Thread John Baldwin
Author: jhb Date: Sat Jul 20 16:03:54 2019 New Revision: 350179 URL: https://svnweb.freebsd.org/changeset/base/350179 Log: expand_number(3) parses suffixes, not prefixes. While here, tidy the opening sentence a bit. MFC after:2 weeks Differential Revision:

svn commit: r350178 - head/sys/amd64/vmm/io

2019-07-20 Thread John Baldwin
Author: jhb Date: Sat Jul 20 15:59:49 2019 New Revision: 350178 URL: https://svnweb.freebsd.org/changeset/base/350178 Log: Improve the precision of bhyve's vPIT. Use 'struct bintime' instead of 'sbintime_t' to manage times in vPIT to postpone rounding to final results rather than

Re: svn commit: r350069 - head/usr.bin/truss

2019-07-16 Thread John Baldwin
On 7/16/19 3:59 PM, John Baldwin wrote: > Author: jhb > Date: Tue Jul 16 22:59:15 2019 > New Revision: 350069 > URL: https://svnweb.freebsd.org/changeset/base/350069 > > Log: > Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss. > > This removes all of the architect

svn commit: r350069 - head/usr.bin/truss

2019-07-16 Thread John Baldwin
Author: jhb Date: Tue Jul 16 22:59:15 2019 New Revision: 350069 URL: https://svnweb.freebsd.org/changeset/base/350069 Log: Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss. This removes all of the architecture-specific functions from truss. A per-ABI structure is still needed to map

Re: svn commit: r350049 - head/contrib/amd/amd

2019-07-16 Thread John Baldwin
ail to compile. > > And, with CFI applied to the kernel, would cause a panic. :) > > Good catch and thanks for the great work! How would an incorrect function prototype in userland cause a kernel panic? -- John Baldwin ___ svn-src-al

Re: svn commit: r349391 - head/sys/kern

2019-07-15 Thread John Baldwin
6384)); fp->f_seqcount = lmin(fp->f_seqcount, IO_SEQMAX); C) if (fp->f_seqcount + howmany(resid, 16384) < fp->f_seqcount) fp->f_seqcount = IO_SEQMAX; else fp->f_seqcount = lmin(IO_SEQMAX, fp->f_seqcount + howmany(resid, 16384))

svn commit: r350017 - in head: lib/libc/sys sys/kern sys/sys tests/sys/kern

2019-07-15 Thread John Baldwin
Author: jhb Date: Mon Jul 15 21:48:02 2019 New Revision: 350017 URL: https://svnweb.freebsd.org/changeset/base/350017 Log: Add ptrace op PT_GET_SC_RET. This ptrace operation returns a structure containing the error and return values from the current system call. It is only valid when a

Re: svn commit: r350013 - in head/sys: amd64/amd64 amd64/ia32 arm/arm arm64/arm64 i386/i386 kern mips/mips powerpc/powerpc riscv/riscv sparc64/sparc64

2019-07-15 Thread John Baldwin
On 7/15/19 2:25 PM, John Baldwin wrote: > Author: jhb > Date: Mon Jul 15 21:25:16 2019 > New Revision: 350013 > URL: https://svnweb.freebsd.org/changeset/base/350013 > > Log: > Don't pass error from syscallenter() to syscallret(). > > syscallret() doesn't us

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

2019-07-15 Thread John Baldwin
Author: jhb Date: Mon Jul 15 21:26:55 2019 New Revision: 350014 URL: https://svnweb.freebsd.org/changeset/base/350014 Log: Add a test for PT_GET_SC_ARGS. Reviewed by: kib MFC after:1 month Sponsored by: DARPA Differential Revision:https://reviews.freebsd.org/D20899

svn commit: r350013 - in head/sys: amd64/amd64 amd64/ia32 arm/arm arm64/arm64 i386/i386 kern mips/mips powerpc/powerpc riscv/riscv sparc64/sparc64

2019-07-15 Thread John Baldwin
Author: jhb Date: Mon Jul 15 21:25:16 2019 New Revision: 350013 URL: https://svnweb.freebsd.org/changeset/base/350013 Log: Don't pass error from syscallenter() to syscallret(). syscallret() doesn't use error anymore. Fix a few other places to permit removing the return value from

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

2019-07-15 Thread John Baldwin
Author: jhb Date: Mon Jul 15 21:16:01 2019 New Revision: 350012 URL: https://svnweb.freebsd.org/changeset/base/350012 Log: Always set td_errno to the error value of a system call. Early errors prior to a system call did not set td_errno. This commit sets td_errno for all errors during

svn commit: r349962 - in stable: 11/sys/amd64/vmm 12/sys/amd64/vmm

2019-07-12 Thread John Baldwin
Author: jhb Date: Sat Jul 13 00:51:11 2019 New Revision: 349962 URL: https://svnweb.freebsd.org/changeset/base/349962 Log: MFC 347238: vmm(4): Pass through RDSEED feature bit to guests Modified: stable/11/sys/amd64/vmm/x86.c Directory Properties: stable/11/ (props changed) Changes in

svn commit: r349962 - in stable: 11/sys/amd64/vmm 12/sys/amd64/vmm

2019-07-12 Thread John Baldwin
Author: jhb Date: Sat Jul 13 00:51:11 2019 New Revision: 349962 URL: https://svnweb.freebsd.org/changeset/base/349962 Log: MFC 347238: vmm(4): Pass through RDSEED feature bit to guests Modified: stable/12/sys/amd64/vmm/x86.c Directory Properties: stable/12/ (props changed) Changes in

svn commit: r349961 - stable/12/usr.sbin/bhyve

2019-07-12 Thread John Baldwin
Author: jhb Date: Sat Jul 13 00:23:20 2019 New Revision: 349961 URL: https://svnweb.freebsd.org/changeset/base/349961 Log: MFC 343068: Use capsicum_helpers(3) that allow us to simplify the code and its functions will return success when the kernel is built without support of the

svn commit: r349959 - stable/11/usr.sbin/bhyve

2019-07-12 Thread John Baldwin
Author: jhb Date: Sat Jul 13 00:12:35 2019 New Revision: 349959 URL: https://svnweb.freebsd.org/changeset/base/349959 Log: Add Capsicumification of the virtio_console device model. This is a direct commit to stable/11. This change was missed when merging virtio_console to 11 because the

svn commit: r349958 - in stable: 11/sys/amd64/vmm 11/sys/amd64/vmm/amd 11/sys/x86/x86 11/usr.sbin/bhyve 12/sys/amd64/vmm 12/sys/amd64/vmm/amd 12/sys/x86/x86 12/usr.sbin/bhyve

2019-07-12 Thread John Baldwin
Author: jhb Date: Fri Jul 12 22:31:12 2019 New Revision: 349958 URL: https://svnweb.freebsd.org/changeset/base/349958 Log: MFC 339911,339936,343075,343166,348592: Various AMD CPU-specific fixes. 339911: Emulate machine check related MSR_EXTFEATURES to allow guest OSes to boot on AMD FX

svn commit: r349958 - in stable: 11/sys/amd64/vmm 11/sys/amd64/vmm/amd 11/sys/x86/x86 11/usr.sbin/bhyve 12/sys/amd64/vmm 12/sys/amd64/vmm/amd 12/sys/x86/x86 12/usr.sbin/bhyve

2019-07-12 Thread John Baldwin
Author: jhb Date: Fri Jul 12 22:31:12 2019 New Revision: 349958 URL: https://svnweb.freebsd.org/changeset/base/349958 Log: MFC 339911,339936,343075,343166,348592: Various AMD CPU-specific fixes. 339911: Emulate machine check related MSR_EXTFEATURES to allow guest OSes to boot on AMD FX

svn commit: r349955 - in stable: 11/sys/amd64/amd64 11/sys/x86/include 12/sys/amd64/amd64 12/sys/x86/include

2019-07-12 Thread John Baldwin
Author: jhb Date: Fri Jul 12 20:05:30 2019 New Revision: 349955 URL: https://svnweb.freebsd.org/changeset/base/349955 Log: MFC 348210: Add a constant for the LS config MSR on AMD CPUs. Modified: stable/12/sys/amd64/amd64/initcpu.c stable/12/sys/x86/include/specialreg.h Directory

svn commit: r349955 - in stable: 11/sys/amd64/amd64 11/sys/x86/include 12/sys/amd64/amd64 12/sys/x86/include

2019-07-12 Thread John Baldwin
Author: jhb Date: Fri Jul 12 20:05:30 2019 New Revision: 349955 URL: https://svnweb.freebsd.org/changeset/base/349955 Log: MFC 348210: Add a constant for the LS config MSR on AMD CPUs. Modified: stable/11/sys/amd64/amd64/initcpu.c stable/11/sys/x86/include/specialreg.h Directory

Re: svn commit: r349893 - in head/sys: modules/tcp/rack netinet netinet/tcp_stacks sys

2019-07-11 Thread John Baldwin
gt; After I get the DSACK fixes in my next change to get BBR in will > be the LRO work… > > So maybe I should just settle on using M_PROTO12 for that > what do you think? If M_PROTO12 isn't used in the tree, then the approach we've used in the past is to bump up the M_PR

Re: svn commit: r349893 - in head/sys: modules/tcp/rack netinet netinet/tcp_stacks sys

2019-07-10 Thread John Baldwin
or here: #ifndef TCPHPTS fatal error missing option TCPHSTS in the build; #endif -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r349871 - head/sys/kern

2019-07-09 Thread John Baldwin
Author: jhb Date: Tue Jul 9 23:58:12 2019 New Revision: 349871 URL: https://svnweb.freebsd.org/changeset/base/349871 Log: Use 'retval' label for first error in syscallenter(). This is more consistent with the rest of the function and lets us unindent most of the function. Reviewed

Re: svn commit: r349763 - in stable/12/sys: kern sys

2019-07-08 Thread John Baldwin
On 7/5/19 3:02 PM, Hans Petter Selasky wrote: > On 2019-07-05 17:49, John Baldwin wrote: >> How does this not break the module KBI? You've removed epoch_*_KBI symbols >> used >> by existing modules, and you appear to have changed the size of the >> 'struct epoch_tr

Re: svn commit: r349763 - in stable/12/sys: kern sys

2019-07-05 Thread John Baldwin
och_tracker_t et); > +void epoch_exit_preempt(epoch_t epoch, epoch_tracker_t et); > +void epoch_enter(epoch_t epoch); > +void epoch_exit(epoch_t epoch); > > - > -#if defined(KLD_MODULE) && !defined(KLD_TIED) > -#define epoch_enter_preempt(e, t)e

Re: svn commit: r349735 - releng/11.3/release/doc/en_US.ISO8859-1/errata

2019-07-05 Thread John Baldwin
post-release. > + > + > + > + [2019-07-04] An issue booting virtual > + machines compiled with version 8.0.0 or later > + had been reported late in the release cycle. An errata > + notice is planned post-release. > +

Re: svn commit: r349641 - head/tools/build/mk

2019-07-03 Thread John Baldwin
if we shouldn't try to make OLD_LIBS a bit smarter by having it expand to also include the lib32 (and libsoft) variants. Having some kind of helper to deal with the non-dynamic libs would also be nice (it would remove libfoo.a, libfoo_p.a, and libfoo.so which always live in /usr/lib, /usr/lib32, and /usr/

Re: svn commit: r349640 - head

2019-07-03 Thread John Baldwin
@ -825,6 +825,7 @@ OLD_FILES+=usr/share/man/man3/arc4random_stir.3.gz > OLD_FILES+=usr/bin/send-pr > # 20180725: Cleanup old libcasper.so.0 > OLD_LIBS+=lib/libcasper.so.0 > +OLD_LIBS+=lib32/libcasper.so.0 Should this be usr/lib32 instead of lib32? -- John Baldwin

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

2019-07-03 Thread John Baldwin
Author: jhb Date: Wed Jul 3 16:06:11 2019 New Revision: 349649 URL: https://svnweb.freebsd.org/changeset/base/349649 Log: Use unmapped (M_NOMAP) mbufs for zero-copy AIO writes via TOE. Previously the TOE code used its own custom unmapped mbufs via EXT_FLAG_VENDOR1. The old version

svn commit: r349617 - head/sys/kern

2019-07-02 Thread John Baldwin
Author: jhb Date: Tue Jul 2 22:58:21 2019 New Revision: 349617 URL: https://svnweb.freebsd.org/changeset/base/349617 Log: Invoke ext_free function when freeing an unmapped mbuf. Fix a mis-merge when extracting the unmapped mbuf changes from Netflix's in-kernel TLS changes where the call

svn commit: r349616 - head/sys/kern

2019-07-02 Thread John Baldwin
Author: jhb Date: Tue Jul 2 22:57:24 2019 New Revision: 349616 URL: https://svnweb.freebsd.org/changeset/base/349616 Log: Fix description of debug.obsolete_panic. MFC after:1 week Modified: head/sys/kern/subr_bus.c Modified: head/sys/kern/subr_bus.c

svn commit: r349534 - head/sys/dev/mlx5/mlx5_en

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:53:07 2019 New Revision: 349534 URL: https://svnweb.freebsd.org/changeset/base/349534 Log: Add support for IFCAP_NOMAP to mlx5(4). Since mlx5 uses bus_dma, this only required adding the capability flag. Submitted by: gallatin Reviewed by: gallatin,

svn commit: r349533 - in head/sys/dev/cxgbe: . tom

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:52:21 2019 New Revision: 349533 URL: https://svnweb.freebsd.org/changeset/base/349533 Log: Add support for IFCAP_NOMAP to cxgbe(4). Since cxgbe(4) uses sglist instead of bus_dma, this required updates to the code that generates scatter/gather lists for

svn commit: r349532 - head/sys/net

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:51:38 2019 New Revision: 349532 URL: https://svnweb.freebsd.org/changeset/base/349532 Log: Support IFCAP_NOMAP in vlan(4). Enable IFCAP_NOMAP for a vlan interface if it is supported by the underlying trunk device. Reviewed by: gallatin, hselasky, rrs

svn commit: r349531 - head/sys/kern

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:50:25 2019 New Revision: 349531 URL: https://svnweb.freebsd.org/changeset/base/349531 Log: Compress pending socket buffer data once it is marked ready. Apply similar logic from sbcompress to pending data in the socket buffer once it is marked ready via

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

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:49:35 2019 New Revision: 349530 URL: https://svnweb.freebsd.org/changeset/base/349530 Log: Add support for using unmapped mbufs with sendfile(2). This can be enabled at runtime via the kern.ipc.mb_use_ext_pgs sysctl. It is disabled by default.

svn commit: r349529 - in head: sbin/ifconfig share/man/man9 sys/conf sys/kern sys/net sys/netinet sys/netinet6 sys/sys

2019-06-28 Thread John Baldwin
Author: jhb Date: Sat Jun 29 00:48:33 2019 New Revision: 349529 URL: https://svnweb.freebsd.org/changeset/base/349529 Log: Add an external mbuf buffer type that holds multiple unmapped pages. Unmapped mbufs allow sendfile to carry multiple pages of data in a single mbuf, without mapping

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

2019-06-28 Thread John Baldwin
Author: jhb Date: Fri Jun 28 19:49:47 2019 New Revision: 349516 URL: https://svnweb.freebsd.org/changeset/base/349516 Log: Sync mbuf flags, types, and external buffer types with . Sponsored by: Netflix Modified: head/share/man/man9/mbuf.9 Modified: head/share/man/man9/mbuf.9

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

2019-06-28 Thread John Baldwin
Author: jhb Date: Fri Jun 28 19:37:48 2019 New Revision: 349515 URL: https://svnweb.freebsd.org/changeset/base/349515 Log: Use a tab after #define for EXT_* constants. This matches other #define's in this manpage as well as . Sponsored by: Netflix Modified:

Re: svn commit: r349482 - in head/contrib/elftoolchain: common readelf

2019-06-28 Thread John Baldwin
s quite right. RVE is for RV32E which is not using compressed ('C') instructions, but using a smaller register file (16 GPRs instead of 32) which is in theory intended for embedded / microprocessor variants. The riscv-elf-psabi-doc describes it as: EF_RISCV_RVE (0x0008): This bit is set when

svn commit: r349475 - head/sys/kern

2019-06-27 Thread John Baldwin
Author: jhb Date: Thu Jun 27 22:50:11 2019 New Revision: 349475 URL: https://svnweb.freebsd.org/changeset/base/349475 Log: Fix comment in sofree() to reference sbdestroy(). r160875 added sbdestroy() as a wrapper around sbrelease_internal to be called from sofree(), yet the comment added

svn commit: r349474 - head/sys/netinet

2019-06-27 Thread John Baldwin
Author: jhb Date: Thu Jun 27 22:34:05 2019 New Revision: 349474 URL: https://svnweb.freebsd.org/changeset/base/349474 Log: Reject attempts to register a TCP stack being unloaded. Reviewed by: gallatin MFC after:2 weeks Sponsored by: Netflix Differential Revision:

svn commit: r349470 - head/usr.sbin/bhyve

2019-06-27 Thread John Baldwin
Author: jhb Date: Thu Jun 27 21:45:40 2019 New Revision: 349470 URL: https://svnweb.freebsd.org/changeset/base/349470 Log: Use __FBSDID() and sort #includes. No functional change. Modified: head/usr.sbin/bhyve/net_utils.c Modified: head/usr.sbin/bhyve/net_utils.c

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

2019-06-27 Thread John Baldwin
Author: jhb Date: Thu Jun 27 19:36:30 2019 New Revision: 349467 URL: https://svnweb.freebsd.org/changeset/base/349467 Log: Hold an explicit reference on the socket for the aiotx task. Previously, the aiotx task relied on the aio jobs in the queue to hold a reference on the socket.

svn commit: r348998 - head/usr.sbin/bhyve

2019-06-12 Thread John Baldwin
Author: jhb Date: Wed Jun 12 16:49:01 2019 New Revision: 348998 URL: https://svnweb.freebsd.org/changeset/base/348998 Log: Remove a spurious break when setting up a 64-bit memory BAR. This was causing 'enbit' to not be initialized in this case. CID: 1401924 Reported by:

svn commit: r348974 - head/sys/opencrypto

2019-06-11 Thread John Baldwin
Author: jhb Date: Tue Jun 11 23:28:07 2019 New Revision: 348974 URL: https://svnweb.freebsd.org/changeset/base/348974 Log: Move declaration of warninterval out from under COMPAT_FREEBSD32. This fixes builds of kernels without COMPAT_FREEBSD32. Reported by: tinderbox MFC after:1

svn commit: r348970 - in head: share/man/man9 sys/kern sys/kgssapi/krb5 sys/netipsec sys/opencrypto sys/sys

2019-06-11 Thread John Baldwin
Author: jhb Date: Tue Jun 11 23:00:55 2019 New Revision: 348970 URL: https://svnweb.freebsd.org/changeset/base/348970 Log: Make the warning intervals for deprecated crypto algorithms tunable. New sysctl/tunables can now set the interval (in seconds) between rate-limited crypto warnings.

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

2019-06-11 Thread John Baldwin
Author: jhb Date: Tue Jun 11 22:57:25 2019 New Revision: 348969 URL: https://svnweb.freebsd.org/changeset/base/348969 Log: Document sysctl nodes that translate their values. This documents the behavior of sysctl_msec_to_ticks and SYSCTL_{ADD,}_SBINTIME_[UM]SEC. Reviewed by: cem

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

2019-06-11 Thread John Baldwin
Author: jhb Date: Tue Jun 11 22:07:39 2019 New Revision: 348966 URL: https://svnweb.freebsd.org/changeset/base/348966 Log: Sort opt_foo.h #includes and add a missing blank line in ip_output(). Modified: head/sys/netinet/ip_output.c head/sys/netinet6/ip6_output.c Modified:

svn commit: r348965 - head/sys/sys

2019-06-11 Thread John Baldwin
Author: jhb Date: Tue Jun 11 22:06:31 2019 New Revision: 348965 URL: https://svnweb.freebsd.org/changeset/base/348965 Log: Add M_NOFREE to M_FLAG_BITS. Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h ==

svn commit: r348964 - head/sys/kern

2019-06-11 Thread John Baldwin
Author: jhb Date: Tue Jun 11 22:06:05 2019 New Revision: 348964 URL: https://svnweb.freebsd.org/changeset/base/348964 Log: Trim an extra space. Modified: head/sys/kern/kern_sendfile.c Modified: head/sys/kern/kern_sendfile.c

Re: svn commit: r348876 - head/sys/opencrypto

2019-06-10 Thread John Baldwin
On 6/10/19 12:26 PM, John Baldwin wrote: > Author: jhb > Date: Mon Jun 10 19:26:57 2019 > New Revision: 348876 > URL: https://svnweb.freebsd.org/changeset/base/348876 > > Log: > Add warnings to /dev/crypto for deprecated algorithms. > > These algorithm

Re: svn commit: r348876 - head/sys/opencrypto

2019-06-10 Thread John Baldwin
On 6/10/19 12:26 PM, John Baldwin wrote: > Author: jhb > Date: Mon Jun 10 19:26:57 2019 > New Revision: 348876 > URL: https://svnweb.freebsd.org/changeset/base/348876 > > Log: > Add warnings to /dev/crypto for deprecated algorithms. > > These algorithm

Re: svn commit: r348875 - head/sys/kgssapi/krb5

2019-06-10 Thread John Baldwin
On 6/10/19 12:22 PM, John Baldwin wrote: > Author: jhb > Date: Mon Jun 10 19:22:36 2019 > New Revision: 348875 > URL: https://svnweb.freebsd.org/changeset/base/348875 > > Log: > Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429. > >

svn commit: r348876 - head/sys/opencrypto

2019-06-10 Thread John Baldwin
Author: jhb Date: Mon Jun 10 19:26:57 2019 New Revision: 348876 URL: https://svnweb.freebsd.org/changeset/base/348876 Log: Add warnings to /dev/crypto for deprecated algorithms. These algorithms are deprecated algorithms that will have no in-kernel consumers in FreeBSD 13. Specifically,

svn commit: r348875 - head/sys/kgssapi/krb5

2019-06-10 Thread John Baldwin
Author: jhb Date: Mon Jun 10 19:22:36 2019 New Revision: 348875 URL: https://svnweb.freebsd.org/changeset/base/348875 Log: Add warnings for Kerberos GSS algorithms deprecated in RFCs 6649 and 8429. All of these algorithms are explicitly marked SHOULD NOT in one of these RFCs.

svn commit: r348874 - head/sys/vm

2019-06-10 Thread John Baldwin
Author: jhb Date: Mon Jun 10 19:01:54 2019 New Revision: 348874 URL: https://svnweb.freebsd.org/changeset/base/348874 Log: Remove an overly-aggressive assertion. While it is true that the new vmspace passed to vmspace_switch_aio will always have a valid reference due to the AIO job or

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

2019-06-07 Thread John Baldwin
Author: jhb Date: Fri Jun 7 21:30:11 2019 New Revision: 348791 URL: https://svnweb.freebsd.org/changeset/base/348791 Log: Fix debug trace after removal of pdu_overhead. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/tom/t4_tls.c Modified:

svn commit: r348779 - head/usr.sbin/bhyve

2019-06-07 Thread John Baldwin
Author: jhb Date: Fri Jun 7 15:53:27 2019 New Revision: 348779 URL: https://svnweb.freebsd.org/changeset/base/348779 Log: Keep the shadow PCIR_COMMAND synced with the real one for pass through. This ensures that bhyve properly recognizes when decoding is disabled for BARs on passthru

svn commit: r348778 - head/usr.sbin/bhyve

2019-06-07 Thread John Baldwin
Author: jhb Date: Fri Jun 7 15:48:12 2019 New Revision: 348778 URL: https://svnweb.freebsd.org/changeset/base/348778 Log: Enable memory and I/O decoding in PCI devices on demand. Rather than uncoditionally setting the MEMEN and PORTEN bits in PCIR_COMMAND for PCI devices, set the

svn commit: r348755 - stable/12/share/man/man4

2019-06-06 Thread John Baldwin
Author: jhb Date: Thu Jun 6 20:03:23 2019 New Revision: 348755 URL: https://svnweb.freebsd.org/changeset/base/348755 Log: MFC 348542: Add 'device cxgbe' explicitly in the synopsis. ccr depends on symbols exported by the cxgbe driver as well as having a runtime dependency. While the

svn commit: r348756 - stable/11/share/man/man4

2019-06-06 Thread John Baldwin
Author: jhb Date: Thu Jun 6 20:03:55 2019 New Revision: 348756 URL: https://svnweb.freebsd.org/changeset/base/348756 Log: MFC 348542: Add 'device cxgbe' explicitly in the synopsis. ccr depends on symbols exported by the cxgbe driver as well as having a runtime dependency. While the

Re: svn commit: r348737 - head/sys/kern

2019-06-06 Thread John Baldwin
On 6/6/19 11:21 AM, Ian Lepore wrote: > On Thu, 2019-06-06 at 12:04 -0600, Alan Somers wrote: >> On Thu, Jun 6, 2019 at 12:01 PM John Baldwin wrote: >>> >>> On 6/6/19 10:39 AM, Alan Somers wrote: >>>> On Thu, Jun 6, 2019 at 11:35 AM Rodney W. Grimes &g

<    4   5   6   7   8   9   10   11   12   13   >