svn commit: r361571 - head/sys/net

2020-05-28 Thread Alexander V. Chernikov
Author: melifaro Date: Thu May 28 07:23:27 2020 New Revision: 361571 URL: https://svnweb.freebsd.org/changeset/base/361571 Log: Unlock rtentry before calling for epoch(9) destruction as the destruction may happen immediately, leading to panic. Reported by: bdragon Modified:

svn commit: r361577 - head/sys/dev/usb

2020-05-28 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 28 08:05:46 2020 New Revision: 361577 URL: https://svnweb.freebsd.org/changeset/base/361577 Log: Don't allow USB device drivers to parent own interface. It will prevent proper USB device detach. MFC after:3 days Sponsored by: Mellanox Technologies

svn commit: r361582 - head/sys/netgraph/bluetooth/drivers/ubt

2020-05-28 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 28 08:41:18 2020 New Revision: 361582 URL: https://svnweb.freebsd.org/changeset/base/361582 Log: Fix check for wMaxPacketSize in USB bluetooth driver, in case device is not FULL speed. MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r361574 - head/sys/netinet

2020-05-28 Thread Alexander V. Chernikov
Author: melifaro Date: Thu May 28 07:31:53 2020 New Revision: 361574 URL: https://svnweb.freebsd.org/changeset/base/361574 Log: Switch ip_output/icmp_reflect rt lookup calls with fib4_lookup. fib4_lookup_nh_ represents pre-epoch generation of fib api, providing less guarantees over

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

2020-05-28 Thread Alexander V. Chernikov
Author: melifaro Date: Thu May 28 08:00:08 2020 New Revision: 361576 URL: https://svnweb.freebsd.org/changeset/base/361576 Log: Use fib[46]_lookup() in mtu calculations. fib[46]_lookup_nh_ represents pre-epoch generation of fib api, providing less guarantees over pointer validness and

svn commit: r361580 - head/sys/dev/xen/control

2020-05-28 Thread Roger Pau Monné
Author: royger Date: Thu May 28 08:20:16 2020 New Revision: 361580 URL: https://svnweb.freebsd.org/changeset/base/361580 Log: xen/control: short circuit xctrl_on_watch_event on spurious event If there's no data to read from xenstore short-circuit xctrl_on_watch_event to return early,

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

2020-05-28 Thread Alexander V. Chernikov
Author: melifaro Date: Thu May 28 09:52:28 2020 New Revision: 361584 URL: https://svnweb.freebsd.org/changeset/base/361584 Log: Fix NOINET6 build broken by r361575. Reported by: ci, hps Modified: head/sys/fs/nfsclient/nfs_clport.c Modified: head/sys/fs/nfsclient/nfs_clport.c

svn commit: r361573 - head/sys/netinet6

2020-05-28 Thread Alexander V. Chernikov
Author: melifaro Date: Thu May 28 07:29:44 2020 New Revision: 361573 URL: https://svnweb.freebsd.org/changeset/base/361573 Log: Replace ip6_ouput fib6_lookup_nh_ calls with fib6_lookup(). fib6_lookup_nh_ represents pre-epoch generation of fib api, providing less guarantees over pointer

svn commit: r361581 - head/sys/dev/usb

2020-05-28 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 28 08:38:25 2020 New Revision: 361581 URL: https://svnweb.freebsd.org/changeset/base/361581 Log: Implement helper function, usbd_get_max_frame_length(), which allows kernel device drivers to correctly predict the default USB transfer frame length. MFC

svn commit: r361583 - head/sys/crypto/aesni

2020-05-28 Thread Marcin Wojtas
Author: mw Date: Thu May 28 09:13:20 2020 New Revision: 361583 URL: https://svnweb.freebsd.org/changeset/base/361583 Log: Change return types of hash update functions in SHA-NI r359374 introduced crypto_apply function which takes as argument a function pointer that is expected to return

Re: svn commit: r361575 - head/sys/fs/nfsclient

2020-05-28 Thread Hans Petter Selasky
On 2020-05-28 09:35, Alexander V. Chernikov wrote: Author: melifaro Date: Thu May 28 07:35:07 2020 New Revision: 361575 URL: https://svnweb.freebsd.org/changeset/base/361575 Log: Make NFS address selection use fib4_lookup(). fib4_lookup_nh_ represents pre-epoch generation of fib api,

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

2020-05-28 Thread Alexander V. Chernikov
Author: melifaro Date: Thu May 28 07:26:18 2020 New Revision: 361572 URL: https://svnweb.freebsd.org/changeset/base/361572 Log: Switch gif(4) path verification to fib[46]_check_urfp(). fibX_lookup_nh_ represents pre-epoch generation of fib api, providing less guarantees over pointer

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

2020-05-28 Thread Alexander V. Chernikov
Author: melifaro Date: Thu May 28 07:35:07 2020 New Revision: 361575 URL: https://svnweb.freebsd.org/changeset/base/361575 Log: Make NFS address selection use fib4_lookup(). fib4_lookup_nh_ represents pre-epoch generation of fib api, providing less guarantees over pointer validness and

svn commit: r361579 - head/sys/dev/xen/blkfront

2020-05-28 Thread Roger Pau Monné
Author: royger Date: Thu May 28 08:19:13 2020 New Revision: 361579 URL: https://svnweb.freebsd.org/changeset/base/361579 Log: xen/blkfront: use the correct type for disk sectors The correct type to use to represent disk sectors is blkif_sector_t (which is an uint64_t underneath). This

svn commit: r361578 - head/sys/x86/xen

2020-05-28 Thread Roger Pau Monné
Author: royger Date: Thu May 28 08:18:34 2020 New Revision: 361578 URL: https://svnweb.freebsd.org/changeset/base/361578 Log: xenpv: do not use low 1MB for Xen mappings on i386 On amd64 we already avoid using memory below 4GB in order to prevent clashes with MMIO regions, but i386 was

Re: svn commit: r361568 - head/sys/powerpc/aim

2020-05-28 Thread Konstantin Belousov
On Wed, May 27, 2020 at 09:41:01PM -0500, Justin Hibbits wrote: > On Thu, 28 May 2020 00:49:03 + (UTC) > Brandon Bergren wrote: > > > Author: bdragon > > Date: Thu May 28 00:49:02 2020 > > New Revision: 361568 > > URL: https://svnweb.freebsd.org/changeset/base/361568 > > > > Log: > >

Re: svn commit: r361491 - in head/sys: geom kern sys ufs/ffs ufs/ufs

2020-05-28 Thread Peter Jeremy
On 2020-May-25 23:47:32 +, Chuck Silvers wrote: >Author: chs >Date: Mon May 25 23:47:31 2020 >New Revision: 361491 >URL: https://svnweb.freebsd.org/changeset/base/361491 > >Log: > This commit enables a UFS filesystem to do a forcible unmount when > the underlying media fails or becomes

svn commit: r361586 - head/usr.sbin/bluetooth/hccontrol

2020-05-28 Thread Takanori Watanabe
Author: takawata Date: Thu May 28 13:48:33 2020 New Revision: 361586 URL: https://svnweb.freebsd.org/changeset/base/361586 Log: Fix connection event message string (n->\n) PR: 246664 Submitted by: Marc Veldman (m...@bumblngdork.com) Reported by: Jose Luis Duran (jldu...@gmail.com)

svn commit: r361587 - in head/sys/riscv: include riscv

2020-05-28 Thread Mitchell Horne
Author: mhorne Date: Thu May 28 14:56:11 2020 New Revision: 361587 URL: https://svnweb.freebsd.org/changeset/base/361587 Log: Add macros simplifying the fake preload setup This is in preparation for booting via loader(8). Lift these macros from arm64 so we don't need to worry about the

svn commit: r361590 - head/sys/cam/ctl

2020-05-28 Thread Alexander Motin
Author: mav Date: Thu May 28 18:12:05 2020 New Revision: 361590 URL: https://svnweb.freebsd.org/changeset/base/361590 Log: Remove ctl_free_beio() LUN and ctl_io dependencies. This slightly simplifies the code, plus may be a ground for asynchronous buffer free. MFC after:2 weeks

Re: svn commit: r361583 - head/sys/crypto/aesni

2020-05-28 Thread John Baldwin
On 5/28/20 2:13 AM, Marcin Wojtas wrote: > Author: mw > Date: Thu May 28 09:13:20 2020 > New Revision: 361583 > URL: https://svnweb.freebsd.org/changeset/base/361583 > > Log: > Change return types of hash update functions in SHA-NI > > r359374 introduced crypto_apply function which takes

svn commit: r361603 - head/lib/libc/sys

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Thu May 28 21:26:26 2020 New Revision: 361603 URL: https://svnweb.freebsd.org/changeset/base/361603 Log: Add an entry to Symbol.map for the rpctls_syscall added by r361599. Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D24949

svn commit: r361596 - head/usr.bin/fortune

2020-05-28 Thread Ed Maste
Author: emaste Date: Thu May 28 20:39:27 2020 New Revision: 361596 URL: https://svnweb.freebsd.org/changeset/base/361596 Log: fortune: remove warning about potentially offensive fortunes They were removed long ago. PR: 246736 Submitted by: Ruby Lazuli Lord MFC after:

Re: svn commit: r360964 - in head: lib/libclang_rt lib/libthr lib/msun libexec/rtld-elf libexec/tftpd/tests share/mk stand stand/arm/uboot stand/efi stand/efi/boot1 stand/efi/loader stand/i386/boot2 s

2020-05-28 Thread Eric van Gyzen
On 5/25/20 3:37 AM, Tijl Coosemans wrote: On Tue, 12 May 2020 15:22:41 + (UTC) Eric van Gyzen wrote: Author: vangyzen Date: Tue May 12 15:22:40 2020 New Revision: 360964 URL: https://svnweb.freebsd.org/changeset/base/360964 Log: Remove tests for obsolete compilers in the build system

svn commit: r361595 - in head/sys: amd64/amd64 i386/i386 vm

2020-05-28 Thread Mark Johnston
Author: markj Date: Thu May 28 19:41:00 2020 New Revision: 361595 URL: https://svnweb.freebsd.org/changeset/base/361595 Log: Fix boot on systems where NUMA domain 0 is unpopulated. - Add vm_phys_early_add_seg(), complementing vm_phys_early_alloc(), to ensure that segments registered

svn commit: r361601 - head/sys/dev/vt

2020-05-28 Thread Jason A. Harmening
Author: jah Date: Thu May 28 21:22:30 2020 New Revision: 361601 URL: https://svnweb.freebsd.org/changeset/base/361601 Log: vt(4): Add support for `vidcontrol -C' Extract scrollback buffer initialization into a common routine, used both during vt(4) init and in handling the CONS_CLRHIST

svn commit: r361602 - in head/sys: compat/freebsd32 kern

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Thu May 28 21:23:02 2020 New Revision: 361602 URL: https://svnweb.freebsd.org/changeset/base/361602 Log: Update the files created from the new syscalls.master from r361599. Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D24949

svn commit: r361605 - head/share/mk

2020-05-28 Thread Eric van Gyzen
Author: vangyzen Date: Thu May 28 21:56:31 2020 New Revision: 361605 URL: https://svnweb.freebsd.org/changeset/base/361605 Log: Revert part of r360964 ports/devel/linux_libusb builds FreeBSD libusb with GCC 4.8.5 from devel/linux-c7-devtools. Restore the tests for older GCC in

svn commit: r361606 - head

2020-05-28 Thread Eric van Gyzen
Author: vangyzen Date: Thu May 28 22:05:33 2020 New Revision: 361606 URL: https://svnweb.freebsd.org/changeset/base/361606 Log: Add an UPDATING entry for r360964 Reported by: rpokala Sponsored by: Dell EMC Isilon Modified: head/UPDATING Modified: head/UPDATING

svn commit: r361599 - in head/sys: compat/freebsd32 kern

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Thu May 28 21:06:10 2020 New Revision: 361599 URL: https://svnweb.freebsd.org/changeset/base/361599 Log: Add a syscall for the nfs-over-tls daemons to use. The nfs-over-tls daemons need a system call to perform operations such as associate a file descriptor with a

svn commit: r361604 - head/sys/cam/ctl

2020-05-28 Thread Alexander Motin
Author: mav Date: Thu May 28 21:30:29 2020 New Revision: 361604 URL: https://svnweb.freebsd.org/changeset/base/361604 Log: Make struct ctl_be_lun first element of struct ctl_be_*_lun. It allows to remove some extra pointer dereferences and slightly tightens up the code by unification.

svn commit: r361591 - head/release/tools

2020-05-28 Thread Glen Barber
Author: gjb Date: Thu May 28 18:48:30 2020 New Revision: 361591 URL: https://svnweb.freebsd.org/changeset/base/361591 Log: Include the shells/bash port on Vagrant images, which prevents a shell issue during startup. PR: 245051 MFC after:1 minute (if approved by re@)

svn commit: r361600 - in head/sys/contrib/dev/acpica: . compiler components/debugger components/utilities include

2020-05-28 Thread Jung-uk Kim
Author: jkim Date: Thu May 28 21:19:44 2020 New Revision: 361600 URL: https://svnweb.freebsd.org/changeset/base/361600 Log: MFV: r361597 Import ACPICA 20200528. Modified: head/sys/contrib/dev/acpica/changes.txt head/sys/contrib/dev/acpica/compiler/aslcompiler.l head/sys/contrib/dev

svn commit: r361607 - in head: . etc/mtree lib lib/libevent lib/libevent1 share/mk usr.sbin/ftp-proxy usr.sbin/ypldap

2020-05-28 Thread Ed Maste
(r361607) @@ -36,6 +36,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20200528: libevent renamed libevent1 +OLD_FILES+=usr/include/private/event/event.h +OLD_DIRS+=usr/include/private/event + # 20200523: new clang import which bumps version from 10.0.0 to 10.0.1.s OLD_FILES+=usr/lib/clang

svn commit: r361613 - head/sys/kern

2020-05-28 Thread John Baldwin
Author: jhb Date: Fri May 29 00:09:12 2020 New Revision: 361613 URL: https://svnweb.freebsd.org/changeset/base/361613 Log: Permit SO_NO_DDP and SO_NO_OFFLOAD to be read via getsockopt(2). MFC after:2 weeks Sponsored by: Chelsio Communications Differential Revision:

Re: svn commit: r361610 - head/sys/sys

2020-05-28 Thread John Baldwin
On 5/28/20 4:57 PM, Rick Macklem wrote: > Author: rmacklem > Date: Thu May 28 23:57:50 2020 > New Revision: 361610 > URL: https://svnweb.freebsd.org/changeset/base/361610 > > Log: > Oops, missed syscall.h and sysproto.h for r361602. > > Pointy hat goes on me. I still have a diff in

svn commit: r361616 - head/sys/cam/ctl

2020-05-28 Thread Alexander Motin
Author: mav Date: Fri May 29 02:32:48 2020 New Revision: 361616 URL: https://svnweb.freebsd.org/changeset/base/361616 Log: Move EXPDATASN/R2TSN from PDU to CTL_PRIV_FRONTEND. We any way have per-I/O space in CTL_PRIV_FRONTEND, while for PDU private fields I have better use ideas. Plus

svn commit: r361617 - head/sys/opencrypto

2020-05-28 Thread John Baldwin
Author: jhb Date: Fri May 29 05:41:21 2020 New Revision: 361617 URL: https://svnweb.freebsd.org/changeset/base/361617 Log: Increment the correct pointer when a crypto buffer spans an mbuf or iovec. When a crypto_cursor_copyback() request spanned multiple mbufs or iovecs, the pointer into

svn commit: r361610 - head/sys/sys

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Thu May 28 23:57:50 2020 New Revision: 361610 URL: https://svnweb.freebsd.org/changeset/base/361610 Log: Oops, missed syscall.h and sysproto.h for r361602. Pointy hat goes on me. Modified: head/sys/sys/syscall.h head/sys/sys/sysproto.h Modified:

svn commit: r361609 - head/sys/cam/ctl

2020-05-28 Thread Alexander Motin
Author: mav Date: Thu May 28 23:55:46 2020 New Revision: 361609 URL: https://svnweb.freebsd.org/changeset/base/361609 Log: Remove PDU_TOTAL_TRANSFER_LEN() macro. I don't see a point to copy io->scsiio.kern_total_len into the request PDU private field. The io is going to stay with us

svn commit: r361614 - head/sys/sys

2020-05-28 Thread Rick Macklem
Author: rmacklem Date: Fri May 29 00:10:19 2020 New Revision: 361614 URL: https://svnweb.freebsd.org/changeset/base/361614 Log: Oops two, missed syscall.mk as well. Modified: head/sys/sys/syscall.mk Modified: head/sys/sys/syscall.mk

svn commit: r361615 - head/sys/powerpc/powerpc

2020-05-28 Thread Justin Hibbits
Author: jhibbits Date: Fri May 29 00:46:31 2020 New Revision: 361615 URL: https://svnweb.freebsd.org/changeset/base/361615 Log: powerpc: Stop advertising that POWER8 and POWER9 support HTM HTM is on the chopping block, doesn't work on FreeBSD, and has only token support in PowerISA 3.1

svn commit: r361612 - head/sys/mips/mips

2020-05-28 Thread Adrian Chadd
Author: adrian Date: Fri May 29 00:05:43 2020 New Revision: 361612 URL: https://svnweb.freebsd.org/changeset/base/361612 Log: [mips] fix up the assembly generation of unaligned exception loads I noticed that unaligned accesses were returning garbage values. Give test data like this: