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

2020-06-09 Thread Takanori Watanabe
Author: takawata Date: Wed Jun 10 05:01:00 2020 New Revision: 362005 URL: https://svnweb.freebsd.org/changeset/base/362005 Log: Add le_read_channel_map and le_read_remote_features command PR: 247051 Submitted by: Marc Veldman marc at bumblingdork.com Modified: head/usr.sbin/bluetooth

svn commit: r362004 - head/sys/netgraph/bluetooth/include

2020-06-09 Thread Takanori Watanabe
Author: takawata Date: Wed Jun 10 04:54:02 2020 New Revision: 362004 URL: https://svnweb.freebsd.org/changeset/base/362004 Log: Add LE events: READ_REMOTE_FEATURES_COMPL LONG_TERM_KEY_REQUEST REMOTE_CONN_PARAM_REQUEST DATA_LENGTH_CHANGE READ_LOCAL_P256_PK_COMPL GEN_DHKEY_COMPL ENH_

svn commit: r362003 - head/sys/powerpc/powernv

2020-06-09 Thread Justin Hibbits
Author: jhibbits Date: Wed Jun 10 04:08:16 2020 New Revision: 362003 URL: https://svnweb.freebsd.org/changeset/base/362003 Log: powerpc/powernv: Don't use the vmem quantum cache for OPAL PCI MSI allocations vmem quantum cache is only needed when doing a lot of concurrent allocations, whic

svn commit: r362002 - head/sys/powerpc/mpc85xx

2020-06-09 Thread Justin Hibbits
Author: jhibbits Date: Wed Jun 10 04:04:59 2020 New Revision: 362002 URL: https://svnweb.freebsd.org/changeset/base/362002 Log: powerpc/mpc85xx: Don't use the quantum cache in vmem for MPIC MSIs The qcache is unnecessary for this purpose, it's only needed when there are lots of concurrent

svn commit: r362001 - in stable/12/sys: fs/tmpfs sys

2020-06-09 Thread Ryan Moeller
Author: freqlabs Date: Wed Jun 10 03:57:10 2020 New Revision: 362001 URL: https://svnweb.freebsd.org/changeset/base/362001 Log: MFC r361748: tmpfs: Preserve alignment of struct fid fields On 64-bit platforms, the two short fields in `struct tmpfs_fid` are padded to the 64-bit alignme

svn commit: r362000 - head/sys/sys

2020-06-09 Thread Doug Moore
Author: dougm Date: Wed Jun 10 03:36:17 2020 New Revision: 362000 URL: https://svnweb.freebsd.org/changeset/base/362000 Log: Fixup r361997 by balancing parens. Duh. Modified: head/sys/sys/tree.h Modified: head/sys/sys/tree.h ==

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

2020-06-09 Thread Ravi Pokala
Hi Doug, Shoot, it's still failing, but in a different way: /usr/home/rpokala/freebsd/dev/base/head/sys/kern/subr_stats.c:3385:14: error: expected ')' qstr);

svn commit: r361999 - head/lib/libc/tests/gen

2020-06-09 Thread Kyle Evans
Author: kevans Date: Wed Jun 10 03:04:36 2020 New Revision: 361999 URL: https://svnweb.freebsd.org/changeset/base/361999 Log: Add missing shell script from r361995 Pointy hat: kevans Reported by: rpokala X-MFC-With: r361995 Added: head/lib/libc/tests/gen/spawnp_enoexec.sh (con

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

2020-06-09 Thread Rick Macklem
Author: rmacklem Date: Wed Jun 10 02:51:39 2020 New Revision: 361998 URL: https://svnweb.freebsd.org/changeset/base/361998 Log: Add two functions that create M_EXTPG mbufs with anonymous pages. These two functions are needed by nfs-over-tls, but could also be useful for other purposes.

svn commit: r361997 - head/sys/sys

2020-06-09 Thread Doug Moore
Author: dougm Date: Wed Jun 10 02:50:25 2020 New Revision: 361997 URL: https://svnweb.freebsd.org/changeset/base/361997 Log: Restore an RB_COLOR macro, for the benefit of a bit of DIAGNOSTIC code that depends on it. Reported by: rpokala, mjguzik Reviewed by: markj Differential Revis

svn commit: r361996 - head/lib/libc/gen

2020-06-09 Thread Kyle Evans
Author: kevans Date: Wed Jun 10 01:32:13 2020 New Revision: 361996 URL: https://svnweb.freebsd.org/changeset/base/361996 Log: execvPe: obviate the need for potentially large stack allocations Some environments in which execvPe may be called have a limited amount of stack available. Curren

svn commit: r361995 - in head/lib/libc: gen tests/gen

2020-06-09 Thread Kyle Evans
Author: kevans Date: Wed Jun 10 01:30:37 2020 New Revision: 361995 URL: https://svnweb.freebsd.org/changeset/base/361995 Log: execvp: fix up the ENOEXEC fallback If execve fails with ENOEXEC, execvp is expected to rebuild the command with /bin/sh instead and try again. The previous v

Re: svn commit: r361994 - in head/sys/mips: cavium/cryptocteon nlm/dev/sec

2020-06-09 Thread Kyle Evans
On Tue, Jun 9, 2020 at 7:09 PM John Baldwin wrote: > > Author: jhb > Date: Wed Jun 10 00:09:31 2020 > New Revision: 361994 > URL: https://svnweb.freebsd.org/changeset/base/361994 > > Log: > Add some default cases for unreachable code to silence compiler warnings. > > This was caused by r361481

svn commit: r361994 - in head/sys/mips: cavium/cryptocteon nlm/dev/sec

2020-06-09 Thread John Baldwin
Author: jhb Date: Wed Jun 10 00:09:31 2020 New Revision: 361994 URL: https://svnweb.freebsd.org/changeset/base/361994 Log: Add some default cases for unreachable code to silence compiler warnings. This was caused by r361481 when the buffer type was changed from an int to an enum. Rep

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

2020-06-09 Thread Mateusz Guzik
Author: mjg Date: Tue Jun 9 23:03:48 2020 New Revision: 361993 URL: https://svnweb.freebsd.org/changeset/base/361993 Log: cred: distribute reference count per thread This avoids dirtying creds in the common case, see the comment in kern_prot.c for details. Reviewed by: kib Differ

Re: svn commit: r361984 - in head/sys: compat/linuxkpi/common/include/linux sys

2020-06-09 Thread Mateusz Guzik
This broke lint kernels as they define DIAGNOSTIC and fail in kern/subr_stat.c: /usr/src/sys/kern/subr_stats.c:3384:9: error: implicit declaration of function 'RB_COLOR' is invalid in C99 [-Werror,-Wimplicit-function-declaration] RB_COLOR(rbctd64, rblnk),

svn commit: r361992 - in head/sys: conf dev/ixl modules/ixl

2020-06-09 Thread Eric Joyner
Author: erj Date: Tue Jun 9 22:42:54 2020 New Revision: 361992 URL: https://svnweb.freebsd.org/changeset/base/361992 Log: ixl(4): Add FW recovery mode support and other things Update the iflib version of ixl driver based on the OOT version ixl-1.11.29. Major changes: - Extract if

svn commit: r361991 - in head: share/man/man9 sys/crypto/aesni sys/crypto/armv8 sys/crypto/blake2 sys/crypto/via sys/geom/eli sys/mips/cavium/cryptocteon sys/opencrypto

2020-06-09 Thread John Baldwin
Author: jhb Date: Tue Jun 9 22:26:07 2020 New Revision: 361991 URL: https://svnweb.freebsd.org/changeset/base/361991 Log: Add a crypto capability flag for accelerated software drivers. Use this in GELI to print out a different message when accelerated software such as AESNI is used vs pl

svn commit: r361990 - in head/sys: crypto/via mips/cavium/cryptocteon

2020-06-09 Thread John Baldwin
Author: jhb Date: Tue Jun 9 22:19:36 2020 New Revision: 361990 URL: https://svnweb.freebsd.org/changeset/base/361990 Log: Mark padlock(4) and cryptocteon(4) as software drivers. Both already return the accelerated software priority from cryptodev_probesession. Sponsored by: Chelsio

svn commit: r361989 - stable/9/sys/dev/usb

2020-06-09 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 9 22:15:45 2020 New Revision: 361989 URL: https://svnweb.freebsd.org/changeset/base/361989 Log: Adapt merge of r361581 to 9-stable to unbreak kernel compilation. This is a direct commit. Sponsored by: Mellanox Technologies Modified: stable/9/sys/dev/u

svn commit: r361988 - head/sys/powerpc/booke

2020-06-09 Thread Justin Hibbits
Author: jhibbits Date: Tue Jun 9 21:59:13 2020 New Revision: 361988 URL: https://svnweb.freebsd.org/changeset/base/361988 Log: powerpc/pmap: Fix wired memory leak in booke64 page directories Properly handle reference counts in the 64-bit pmap page directories. Otherwise all page table pa

svn commit: r361987 - head/sys/netinet/cc

2020-06-09 Thread Richard Scheffenegger
Author: rscheff Date: Tue Jun 9 21:07:58 2020 New Revision: 361987 URL: https://svnweb.freebsd.org/changeset/base/361987 Log: Prevent TCP Cubic to abruptly increase cwnd after slow-start Introducing flags to track the initial Wmax dragging and exit from slow-start in TCP Cubic. This prev

svn commit: r361986 - in head: contrib/bmake contrib/bmake/mk usr.bin/bmake

2020-06-09 Thread Simon J. Gerraty
Author: sjg Date: Tue Jun 9 20:52:35 2020 New Revision: 361986 URL: https://svnweb.freebsd.org/changeset/base/361986 Log: Merge bmake-20200606 Relevant items from ChangeLog: o dir.c: cached_stats - don't confuse stat and lstat results. o var.c: add :Or for reverse sort.

svn commit: r361985 - head/sys/arm/freescale/imx

2020-06-09 Thread Andreas Tobler
Author: andreast Date: Tue Jun 9 20:27:35 2020 New Revision: 361985 URL: https://svnweb.freebsd.org/changeset/base/361985 Log: Fix boot of wandquad after DTS update In the recent dts sync the name of the aips-bus@ changed to bus@. Reflect this change and add an additional OF_finddevice i

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

2020-06-09 Thread Doug Moore
Author: dougm Date: Tue Jun 9 20:19:11 2020 New Revision: 361984 URL: https://svnweb.freebsd.org/changeset/base/361984 Log: To reduce the size of an rb_node, drop the color field. Set the least significant bit in the pointer to the node from its parent to indicate that the node is red. Have

svn commit: r361983 - stable/11/libexec/rtld-elf

2020-06-09 Thread Konstantin Belousov
Author: kib Date: Tue Jun 9 19:16:49 2020 New Revision: 361983 URL: https://svnweb.freebsd.org/changeset/base/361983 Log: MFC r361725, r361728: Do not allow to load ET_DYN object with DF_1_PIE flag set. Modified: stable/11/libexec/rtld-elf/rtld.c stable/11/libexec/rtld-elf/rtld.h Directo

svn commit: r361982 - head/sys/net

2020-06-09 Thread Vincenzo Maffione
Author: vmaffione Date: Tue Jun 9 19:15:43 2020 New Revision: 361982 URL: https://svnweb.freebsd.org/changeset/base/361982 Log: iflib: netmap: honor netmap_irx_irq return values In the receive interrupt routine, always call netmap_rx_irq(). The latter function will return != NM_IRQ_PASS

svn commit: r361981 - releng/11.4/release/doc/share/xml stable/11/release/doc/share/xml

2020-06-09 Thread Glen Barber
Author: gjb Date: Tue Jun 9 19:07:44 2020 New Revision: 361981 URL: https://svnweb.freebsd.org/changeset/base/361981 Log: Fix a typo. Submitted by: yuripv Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: releng/11.4/release/doc/share/xml/

svn commit: r361981 - releng/11.4/release/doc/share/xml stable/11/release/doc/share/xml

2020-06-09 Thread Glen Barber
Author: gjb Date: Tue Jun 9 19:07:44 2020 New Revision: 361981 URL: https://svnweb.freebsd.org/changeset/base/361981 Log: Fix a typo. Submitted by: yuripv Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: stable/11/release/doc/share/xml/se

svn commit: r361980 - head/release

2020-06-09 Thread Emmanuel Vadot
Author: manu Date: Tue Jun 9 18:13:52 2020 New Revision: 361980 URL: https://svnweb.freebsd.org/changeset/base/361980 Log: release: amd64 efi boot name is bootx64 efi_boot_name is just used for arm image so no harm done. Reported by: gonzo MFC after:3 days Modified: head/rel

svn commit: r361979 - releng/11.4/release/doc/share/xml

2020-06-09 Thread Glen Barber
Author: gjb Date: Tue Jun 9 17:35:14 2020 New Revision: 361979 URL: https://svnweb.freebsd.org/changeset/base/361979 Log: Document SA-20:17. Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: releng/11.4/release/doc/share/xml/security.xml Mo

svn commit: r361978 - stable/11/release/doc/share/xml

2020-06-09 Thread Glen Barber
Author: gjb Date: Tue Jun 9 17:34:29 2020 New Revision: 361978 URL: https://svnweb.freebsd.org/changeset/base/361978 Log: Document SA-20:17, EN-20:11, EN-20:12. Fix a copy/paste error while here. Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: stable/11/release/doc/s

svn commit: r361977 - head/lib/libusb

2020-06-09 Thread Kyle Evans
Author: kevans Date: Tue Jun 9 17:17:43 2020 New Revision: 361977 URL: https://svnweb.freebsd.org/changeset/base/361977 Log: libusb: improve compatibility Specifically, add LIBUSB_CLASS_PHYSICAL and the libusb_has_capability API. Descriptions and functionality for these derived from the

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

2020-06-09 Thread Ruslan Bukin
Author: br Date: Tue Jun 9 17:07:42 2020 New Revision: 361976 URL: https://svnweb.freebsd.org/changeset/base/361976 Log: Similar to UART on ThunderX2, the ARM Coresight (ETM component) set ResourceProducer on memory resources: ignore it. Tested on ARM N1SDP board. Sponsored by: DARP

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

2020-06-09 Thread John Baldwin
Author: jhb Date: Tue Jun 9 16:43:23 2020 New Revision: 361975 URL: https://svnweb.freebsd.org/changeset/base/361975 Log: Refactor ptrace() ABI compatibility. Add a freebsd32_ptrace() and move as many freebsd32 shims as possible to freebsd32_ptrace(). Aside from register sets, freebsd32

svn commit: r361974 - in head/sys: arm64/coresight conf

2020-06-09 Thread Ruslan Bukin
Author: br Date: Tue Jun 9 16:43:16 2020 New Revision: 361974 URL: https://svnweb.freebsd.org/changeset/base/361974 Log: ARM Embedded Trace Macrocell v4.x driver: o Split-out FDT attachment to a separate file; o Add ACPI attachment. Sponsored by: DARPA, AFRL Added: head/sys/arm64/co

svn commit: r361973 - in releng: 11.3 11.3/sys/conf 11.4 11.4/sys/conf 12.1 12.1/sys/conf

2020-06-09 Thread Gordon Tetlow
. +20200609 p10 FreeBSD-SA-20:17.usb + +Fix USB HID descriptor parsing error. [SA-20:17.usb] + 20200512 p9 FreeBSD-EN-20:08.tzdata FreeBSD-EN-20:10.build FreeBSD-SA-20:12.libalias Modified: releng/11.3/sys/conf/newvers.sh

svn commit: r361972 - in releng: 11.3/lib/libusbhid 11.3/sys/dev/usb 11.4/lib/libusbhid 11.4/sys/dev/usb 12.1/lib/libusbhid 12.1/sys/dev/usb

2020-06-09 Thread Gordon Tetlow
Author: gordon Date: Tue Jun 9 16:13:54 2020 New Revision: 361972 URL: https://svnweb.freebsd.org/changeset/base/361972 Log: Fix USB HID descriptor parsing error. Approved by: so Approved by: re (implicit) Security: FreeBSD-SA-20:17.usb Security: CVE-2020-7456 Modified:

svn commit: r361971 - releng/12.1/sys/net

2020-06-09 Thread Gordon Tetlow
Author: gordon Date: Tue Jun 9 16:11:54 2020 New Revision: 361971 URL: https://svnweb.freebsd.org/changeset/base/361971 Log: Fix iflib watchdog timeout resetting idle queues. Approved by: so Security: FreeBSD-EN-20:12.iflib Modified: releng/12.1/sys/net/iflib.c Modified: releng/

svn commit: r361970 - releng/12.1/sys/dev/ena

2020-06-09 Thread Gordon Tetlow
Author: gordon Date: Tue Jun 9 16:10:57 2020 New Revision: 361970 URL: https://svnweb.freebsd.org/changeset/base/361970 Log: Fix stability issues in ena(4) driver. Approved by: so Security: FreeBSD-EN-20:11.ena Modified: releng/12.1/sys/dev/ena/ena.c releng/12.1/sys/dev/ena/ena

svn commit: r361969 - head/sys/arm64/coresight

2020-06-09 Thread Ruslan Bukin
Author: br Date: Tue Jun 9 16:06:10 2020 New Revision: 361969 URL: https://svnweb.freebsd.org/changeset/base/361969 Log: Fix style: wrap long lines. Sponsored by: DARPA, AFRL Modified: head/sys/arm64/coresight/coresight.c Modified: head/sys/arm64/coresight/coresight.c =

svn commit: r361968 - in head/sys: arm64/coresight conf

2020-06-09 Thread Ruslan Bukin
Author: br Date: Tue Jun 9 15:56:41 2020 New Revision: 361968 URL: https://svnweb.freebsd.org/changeset/base/361968 Log: Rename coresight drivers: use underscores in filenames. Sponsored by: DARPA, AFRL Added: head/sys/arm64/coresight/coresight_cmd.c - copied unchanged from r361967

svn commit: r361967 - head/sys/kern

2020-06-09 Thread Mateusz Guzik
Author: mjg Date: Tue Jun 9 15:17:23 2020 New Revision: 361967 URL: https://svnweb.freebsd.org/changeset/base/361967 Log: Assert on pg_jobc state. Stolen from NetBSD. Modified: head/sys/kern/kern_proc.c Modified: head/sys/kern/kern_proc.c ===

Re: svn commit: r361885 - head/sys/net80211

2020-06-09 Thread Mateusz Guzik
On 6/7/20, Adrian Chadd wrote: > Author: adrian > Date: Sun Jun 7 04:57:48 2020 > New Revision: 361885 > URL: https://svnweb.freebsd.org/changeset/base/361885 > > Log: > [net80211] Add a method to return the vap's ifname. > > This removes the requirement to know what's in the ifp. > > (If s

svn commit: r361966 - stable/11/sys/sys

2020-06-09 Thread Ed Maste
Author: emaste Date: Tue Jun 9 14:20:16 2020 New Revision: 361966 URL: https://svnweb.freebsd.org/changeset/base/361966 Log: MFC r361657: elf_common.h: define DF_1_PIE DF_1_PIE indicates that the object is a position-independent executable. Reference: https://docs.oracle.com/cd/E367

svn commit: r361965 - head/sys/vm

2020-06-09 Thread Mateusz Guzik
Author: mjg Date: Tue Jun 9 14:16:18 2020 New Revision: 361965 URL: https://svnweb.freebsd.org/changeset/base/361965 Log: vm: rework swap_pager_status to execute in constant time The lock-protected iteration is trivially avoidable. This removes a serialisation point from Linux binarie

svn commit: r361964 - head/sys/dev/cpufreq

2020-06-09 Thread Emmanuel Vadot
Author: manu Date: Tue Jun 9 09:42:39 2020 New Revision: 361964 URL: https://svnweb.freebsd.org/changeset/base/361964 Log: coufreq_dt: Rename DEBUG to DPRINTF DEBUG is a kernel configuration flag and if used cpufreq_dt.c will fail the build of kernel. PR: 246867 Submitte

svn commit: r361963 - stable/12/libexec/rtld-elf

2020-06-09 Thread Konstantin Belousov
Author: kib Date: Tue Jun 9 09:04:57 2020 New Revision: 361963 URL: https://svnweb.freebsd.org/changeset/base/361963 Log: MFC r361725, r361728: Do not allow to load ET_DYN object with DF_1_PIE flag set. Modified: stable/12/libexec/rtld-elf/rtld.c stable/12/libexec/rtld-elf/rtld.h Directo

svn commit: r361962 - head/bin/ps

2020-06-09 Thread Yuri Pankov
Author: yuripv Date: Tue Jun 9 07:07:29 2020 New Revision: 361962 URL: https://svnweb.freebsd.org/changeset/base/361962 Log: ps: remove xo_no_setlocale() call Apparently libxo was fixed to do the right thing on FreeBSD, and calling xo_no_setlocale() is no longer needed. Reported by: