svn commit: r356034 - head/usr.sbin/fstyp

2019-12-22 Thread Conrad Meyer
Author: cem Date: Mon Dec 23 05:43:18 2019 New Revision: 356034 URL: https://svnweb.freebsd.org/changeset/base/356034 Log: fstyp(8): Detect APFS containers APFS NXSBs are more like slices (or zvols?) than individual filesystem, but go ahead and detect them nicely as well. Added: head/u

svn commit: r356033 - head/usr.sbin/fstyp

2019-12-22 Thread Conrad Meyer
Author: cem Date: Mon Dec 23 05:43:01 2019 New Revision: 356033 URL: https://svnweb.freebsd.org/changeset/base/356033 Log: fstyp(8): Detect HFS+ / HFSX volumes Added: head/usr.sbin/fstyp/hfsplus.c (contents, props changed) Modified: head/usr.sbin/fstyp/Makefile head/usr.sbin/fstyp/fstyp

svn commit: r356032 - head/usr.sbin/fstyp

2019-12-22 Thread Conrad Meyer
Author: cem Date: Mon Dec 23 02:41:13 2019 New Revision: 356032 URL: https://svnweb.freebsd.org/changeset/base/356032 Log: fstyp(8): Use iconv(3) to convert NTFS vol labels correctly Rather than hackily extracting only the ASCII subset of UTF-16LE, go ahead and convert the label to the us

svn commit: r356031 - head/stand/i386/gptboot

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 22:33:22 2019 New Revision: 356031 URL: https://svnweb.freebsd.org/changeset/base/356031 Log: In gptboot, don't assume a partition number is a single digit, 1-9. GPT partitions can have 128 partitions, so parse contiguous digits and then validate that the number

svn commit: r356030 - head/sys/modules/uart

2019-12-22 Thread Mark Johnston
Author: markj Date: Sun Dec 22 22:10:20 2019 New Revision: 356030 URL: https://svnweb.freebsd.org/changeset/base/356030 Log: Compile uart_cpu_acpi.c, added in r348195, into uart.ko. PR: 242771 MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/sys/modu

svn commit: r356029 - in head: sbin/ifconfig share/man/man4 sys/net

2019-12-22 Thread Mark Johnston
Author: markj Date: Sun Dec 22 21:56:47 2019 New Revision: 356029 URL: https://svnweb.freebsd.org/changeset/base/356029 Log: lagg: Clean up handling of the rr_limit option. - Don't allow an unprivileged user to set the stride. [1] - Only set the stride under the softc lock. - Rename the

svn commit: r356028 - head/sys/vm

2019-12-22 Thread Doug Moore
Author: dougm Date: Sun Dec 22 21:53:05 2019 New Revision: 356028 URL: https://svnweb.freebsd.org/changeset/base/356028 Log: Fix typo using RB_INITIALIZER. The macro RB_INITIALIZER ignores its argument, but is documented to require "&head" as argument to initialize "head". So using "_v

svn commit: r356027 - stable/12/stand/efi/libefi

2019-12-22 Thread Toomas Soome
Author: tsoome Date: Sun Dec 22 20:36:57 2019 New Revision: 356027 URL: https://svnweb.freebsd.org/changeset/base/356027 Log: MFC r355844: loader.efi: efi_readkey_ex needs to key despite the shift status or toggle status From UEFI specification 2.8, page 434: "It should also be noted t

svn commit: r356026 - head/sys/vm

2019-12-22 Thread Jeff Roberson
Author: jeff Date: Sun Dec 22 20:35:50 2019 New Revision: 356026 URL: https://svnweb.freebsd.org/changeset/base/356026 Log: Fix a bug introduced in r356002. Prior versions of this patchset had vm_page_remove() rather than !vm_page_wired() as the condition for free. When this changed back to

svn commit: r356025 - stable/12/usr.bin/uniq

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 20:34:15 2019 New Revision: 356025 URL: https://svnweb.freebsd.org/changeset/base/356025 Log: MFC r355777: Support --all-repeats in uniq(1) for compatibility with gnu coreutils. This adds a new -D/--all-repeats option to uniq(1), which outputs each copy o

svn commit: r356024 - stable/12/sys/dev/iicbus

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 20:06:08 2019 New Revision: 356024 URL: https://svnweb.freebsd.org/changeset/base/356024 Log: MFC r355685: Clean up some of my copyrights; add SPDX tag and remove All rights reserved. Modified: stable/12/sys/dev/iicbus/ads111x.c stable/12/sys/dev/iicbus/ds1

svn commit: r356023 - stable/12/sys/dev/iicbus

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 20:04:35 2019 New Revision: 356023 URL: https://svnweb.freebsd.org/changeset/base/356023 Log: MFC r355688: If device_delete_children() returns an error, bail on the rest of the detach work and return the error. Especially don't call iicbus_reset() since the

svn commit: r356022 - in stable/12: share/man/man9 sys/arm/broadcom/bcm2835 sys/arm/freescale/imx sys/arm/ti sys/dev/glxiic sys/dev/ichsmb sys/dev/ow sys/kern sys/sys

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 19:30:13 2019 New Revision: 356022 URL: https://svnweb.freebsd.org/changeset/base/356022 Log: MFC r355598, r355727, r355735, r355858 r355598: Do not attach children of owc_gpiobus until interrupts are working. The children of the bus need to do IO on the

svn commit: r356021 - in stable: 11/sys/arm/versatile 12/sys/arm/versatile

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 19:14:33 2019 New Revision: 356021 URL: https://svnweb.freebsd.org/changeset/base/356021 Log: MFC r355932: VERSATILEPB: also use default get_fkeystr/diag In head/, this config was broken from the defaulting commits, but in stable branches we left the genkbd

svn commit: r356021 - in stable: 11/sys/arm/versatile 12/sys/arm/versatile

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 19:14:33 2019 New Revision: 356021 URL: https://svnweb.freebsd.org/changeset/base/356021 Log: MFC r355932: VERSATILEPB: also use default get_fkeystr/diag In head/, this config was broken from the defaulting commits, but in stable branches we left the genkbd

svn commit: r356020 - in stable: 11/sys/arm/samsung/exynos 11/sys/arm/versatile 11/sys/arm/xilinx 11/sys/dev/gpio 11/sys/dev/quicc 11/sys/dev/rp 11/sys/dev/usb/input 11/sys/kern 11/sys/powerpc/psim...

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 19:06:45 2019 New Revision: 356020 URL: https://svnweb.freebsd.org/changeset/base/356020 Log: MFC r355206, r355212, r355257, r355271: tty nits r355206: tty_pts: don't rely on tty header pollution for sys/mutex.h r355212: tty_rel_gone: add locking assertion

svn commit: r356020 - in stable: 11/sys/arm/samsung/exynos 11/sys/arm/versatile 11/sys/arm/xilinx 11/sys/dev/gpio 11/sys/dev/quicc 11/sys/dev/rp 11/sys/dev/usb/input 11/sys/kern 11/sys/powerpc/psim...

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 19:06:45 2019 New Revision: 356020 URL: https://svnweb.freebsd.org/changeset/base/356020 Log: MFC r355206, r355212, r355257, r355271: tty nits r355206: tty_pts: don't rely on tty header pollution for sys/mutex.h r355212: tty_rel_gone: add locking assertion

svn commit: r356019 - in stable/12: share/man/man4 sys/dev/usb/serial

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 18:55:09 2019 New Revision: 356019 URL: https://svnweb.freebsd.org/changeset/base/356019 Log: MFC r355572: Allow baud rates of 1,228,800 and 1,843,200 on CP2101/2/3 usb-serial adapters. The datasheets for these chips claim the maximum is 921,600, but testin

svn commit: r356018 - in stable/12: share/man/man4 sys/dev/gpio sys/modules/gpio sys/modules/gpio/gpioths

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 18:51:05 2019 New Revision: 356018 URL: https://svnweb.freebsd.org/changeset/base/356018 Log: MFC r355467, r355499, r355531-r355533, r355535, r355540, r355548-r31, r355565 r355467: Implement bus_rescan for gpiobus(4). This allows on-the-fly reconfigurati

svn commit: r356017 - stable/12/sys/modules/i2c/ads111x

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 18:11:57 2019 New Revision: 356017 URL: https://svnweb.freebsd.org/changeset/base/356017 Log: MFC r355738: Include ofw_bus_if.h in SRCS only on systems configured with the FDT option. Modified: stable/12/sys/modules/i2c/ads111x/Makefile Directory Properties:

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

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 18:10:01 2019 New Revision: 356016 URL: https://svnweb.freebsd.org/changeset/base/356016 Log: MFC r355547: Fix a typo: the sysctl command is in chapter 8 of the manual. Modified: stable/12/share/man/man4/ads111x.4 Modified: stable/12/share/man/man4/ads111x.4

svn commit: r356015 - stable/12/share/man/man7

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 17:59:24 2019 New Revision: 356015 URL: https://svnweb.freebsd.org/changeset/base/356015 Log: MFC r355411: Fix a trivial typo and add a missing word. Modified: stable/12/share/man/man7/arch.7 Modified: stable/12/share/man/man7/arch.7

svn commit: r356014 - stable/12/libexec/rc/rc.d

2019-12-22 Thread Ian Lepore
Author: ian Date: Sun Dec 22 17:57:59 2019 New Revision: 356014 URL: https://svnweb.freebsd.org/changeset/base/356014 Log: MFC r355100: Allow opt-out of automatic ntpd leapfile checking/fetching. When a system has no internet connection, or when it is configured to obtain ntpd leapfi

svn commit: r356013 - in stable: 11/sys/arm/samsung/exynos 11/sys/dev/adb 11/sys/dev/atkbdc 11/sys/dev/gpio 11/sys/dev/hyperv/input 11/sys/dev/kbd 11/sys/dev/kbdmux 11/sys/dev/uart 11/sys/dev/usb/i...

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 17:15:48 2019 New Revision: 356013 URL: https://svnweb.freebsd.org/changeset/base/356013 Log: MFC r355796-r355797, r355799: kbd: defaults for get_fkeystr/diag The genkbd version of these remains exposed for stable branches, but keyboard drivers that just wa

svn commit: r356013 - in stable: 11/sys/arm/samsung/exynos 11/sys/dev/adb 11/sys/dev/atkbdc 11/sys/dev/gpio 11/sys/dev/hyperv/input 11/sys/dev/kbd 11/sys/dev/kbdmux 11/sys/dev/uart 11/sys/dev/usb/i...

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 17:15:48 2019 New Revision: 356013 URL: https://svnweb.freebsd.org/changeset/base/356013 Log: MFC r355796-r355797, r355799: kbd: defaults for get_fkeystr/diag The genkbd version of these remains exposed for stable branches, but keyboard drivers that just wa

svn commit: r356012 - in stable: 11/sys/arm/versatile 11/sys/dev/gpio 11/sys/dev/hyperv/input 11/sys/dev/usb/input 12/sys/arm/versatile 12/sys/dev/gpio 12/sys/dev/hyperv/input 12/sys/dev/usb/input

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 17:06:56 2019 New Revision: 356012 URL: https://svnweb.freebsd.org/changeset/base/356012 Log: MFC r355793: kbd drivers: use kbdd_* indirection for diag invocation Modified: stable/12/sys/arm/versatile/pl050.c stable/12/sys/dev/gpio/gpiokeys.c stable/12/sys/

svn commit: r356012 - in stable: 11/sys/arm/versatile 11/sys/dev/gpio 11/sys/dev/hyperv/input 11/sys/dev/usb/input 12/sys/arm/versatile 12/sys/dev/gpio 12/sys/dev/hyperv/input 12/sys/dev/usb/input

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 17:06:56 2019 New Revision: 356012 URL: https://svnweb.freebsd.org/changeset/base/356012 Log: MFC r355793: kbd drivers: use kbdd_* indirection for diag invocation Modified: stable/11/sys/arm/versatile/pl050.c stable/11/sys/dev/gpio/gpiokeys.c stable/11/sys/

svn commit: r356011 - in stable: 11/sys/dev/kbd 12/sys/dev/kbd

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 17:04:16 2019 New Revision: 356011 URL: https://svnweb.freebsd.org/changeset/base/356011 Log: Fix kbdd_diag definition This is a direct commit to stable branches as these have been converted to inline functions in head, which will likely not get MFC'd due t

svn commit: r356011 - in stable: 11/sys/dev/kbd 12/sys/dev/kbd

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 17:04:16 2019 New Revision: 356011 URL: https://svnweb.freebsd.org/changeset/base/356011 Log: Fix kbdd_diag definition This is a direct commit to stable branches as these have been converted to inline functions in head, which will likely not get MFC'd due t

svn commit: r356010 - stable/11/sbin/camcontrol

2019-12-22 Thread Alexander Motin
Author: mav Date: Sun Dec 22 17:01:44 2019 New Revision: 356010 URL: https://svnweb.freebsd.org/changeset/base/356010 Log: MFC r355788: Properly detect ATA sanitize errors. It seems I read specifications not careful enough. There are devices not setting successful completion bit, causing

svn commit: r356009 - stable/12/sbin/camcontrol

2019-12-22 Thread Alexander Motin
Author: mav Date: Sun Dec 22 17:00:53 2019 New Revision: 356009 URL: https://svnweb.freebsd.org/changeset/base/356009 Log: MFC r355788: Properly detect ATA sanitize errors. It seems I read specifications not careful enough. There are devices not setting successful completion bit, causing

svn commit: r356008 - in stable: 11/sys/dev/kbd 12/sys/dev/kbd

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 16:57:19 2019 New Revision: 356008 URL: https://svnweb.freebsd.org/changeset/base/356008 Log: MFC r355842: kbd: const'ify a couple of keyboard_driver fields Modified: stable/11/sys/dev/kbd/kbdreg.h Directory Properties: stable/11/ (props changed) Changes i

svn commit: r356008 - in stable: 11/sys/dev/kbd 12/sys/dev/kbd

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 16:57:19 2019 New Revision: 356008 URL: https://svnweb.freebsd.org/changeset/base/356008 Log: MFC r355842: kbd: const'ify a couple of keyboard_driver fields Modified: stable/12/sys/dev/kbd/kbdreg.h Directory Properties: stable/12/ (props changed) Changes i

svn commit: r356007 - in stable: 11/sys/dev/adb 11/sys/dev/atkbdc 11/sys/dev/hyperv/input 11/sys/dev/uart 12/sys/dev/adb 12/sys/dev/atkbdc 12/sys/dev/hyperv/input 12/sys/dev/uart

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 16:04:12 2019 New Revision: 356007 URL: https://svnweb.freebsd.org/changeset/base/356007 Log: MFC r355794: keyboard switch definitions: standardize on c99 initializers Modified: stable/11/sys/dev/adb/adb_kbd.c stable/11/sys/dev/atkbdc/atkbd.c stable/11/sys/

svn commit: r356007 - in stable: 11/sys/dev/adb 11/sys/dev/atkbdc 11/sys/dev/hyperv/input 11/sys/dev/uart 12/sys/dev/adb 12/sys/dev/atkbdc 12/sys/dev/hyperv/input 12/sys/dev/uart

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 16:04:12 2019 New Revision: 356007 URL: https://svnweb.freebsd.org/changeset/base/356007 Log: MFC r355794: keyboard switch definitions: standardize on c99 initializers Modified: stable/12/sys/dev/adb/adb_kbd.c stable/12/sys/dev/atkbdc/atkbd.c stable/12/sys/

svn commit: r356006 - in stable/12/sys: arm/broadcom/bcm2835 arm/conf conf

2019-12-22 Thread Kyle Evans
Author: kevans Date: Sun Dec 22 15:55:52 2019 New Revision: 356006 URL: https://svnweb.freebsd.org/changeset/base/356006 Log: MFC r355867, r355875: rpi mapping detection fixes r355867: arm: add SOC_BRCM_BCM2837 option, include it in GENERIC r355875: bcm2835_vcbus: add legacy compat mappin

svn commit: r356005 - in head/contrib/llvm-project/libcxx/include: . ext

2019-12-22 Thread Dimitry Andric
Author: dim Date: Sun Dec 22 11:58:44 2019 New Revision: 356005 URL: https://svnweb.freebsd.org/changeset/base/356005 Log: Merge commit f97936fab from llvm git (by Eric Fiselier): [libc++] Cleanup and enable multiple warnings. Too many warnings are being disabled too quickly. Warni

svn commit: r356004 - in head: . contrib/llvm-project/clang/include/clang/CodeGen contrib/llvm-project/clang/lib/Basic/Targets contrib/llvm-project/clang/lib/CodeGen contrib/llvm-project/clang/lib/...

2019-12-22 Thread Dimitry Andric
; # done +# 20191222: new clang import which bumps version from 9.0.0 to 9.0.1. +OLD_FILES+=usr/lib/clang/9.0.0/include/cuda_wrappers/algorithm +OLD_FILES+=usr/lib/clang/9.0.0/include/cuda_wrappers/complex +OLD_FILES+=usr/lib/clang/9.0.0/include/cuda_wrappers/new +OLD_DIRS+=usr/lib/clang/9.0.0

svn commit: r356003 - in stable/12: stand/libsa/zfs sys/cddl/boot/zfs

2019-12-22 Thread Toomas Soome
Author: tsoome Date: Sun Dec 22 08:22:02 2019 New Revision: 356003 URL: https://svnweb.freebsd.org/changeset/base/356003 Log: MFC r354283, r354323, r354363, r354364, r354593, r355773, r355786: loader: we do not support booting from pool with log device loader: factor out label and uberblo