svn commit: r337032 - head/sys/sys

2018-07-31 Thread Mark Johnston
Author: markj Date: Wed Aug 1 03:52:48 2018 New Revision: 337032 URL: https://svnweb.freebsd.org/changeset/base/337032 Log: Remove MT_NTYPES. Its last reference was removed in r253361. Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h =

svn commit: r337031 - head/sys/security/mac

2018-07-31 Thread Mark Johnston
Author: markj Date: Wed Aug 1 03:46:07 2018 New Revision: 337031 URL: https://svnweb.freebsd.org/changeset/base/337031 Log: Require that MAC label buffers be able to store a non-empty string. The buffer size may be used to initialize an sbuf in MAC_POLICY_EXTERNALIZE, and without this co

svn commit: r337030 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-07-31 Thread Alexander Motin
Author: mav Date: Wed Aug 1 03:21:17 2018 New Revision: 337030 URL: https://svnweb.freebsd.org/changeset/base/337030 Log: MFV r337029: 9426 metaslab size can exceed offset addressable by spacemap metaslab size can exceed offset addressable by spacemap. The vdev can address up to 2^63 *

svn commit: r337028 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-07-31 Thread Alexander Motin
Author: mav Date: Wed Aug 1 03:07:33 2018 New Revision: 337028 URL: https://svnweb.freebsd.org/changeset/base/337028 Log: MFV r337027: 9328 zap code can take advantage of c99 9329 panic in zap_leaf_lookup() due to concurrent zapification illumos/illumos-gate@bf26014c5541b6119f34e0d9529

svn commit: r337026 - head/sys/dev/bge

2018-07-31 Thread Cy Schubert
Author: cy Date: Wed Aug 1 02:59:56 2018 New Revision: 337026 URL: https://svnweb.freebsd.org/changeset/base/337026 Log: As non-sparc64 undconditionally returns 1, simplify #ifdefs. MFC after:1 week Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ===

svn commit: r337025 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-07-31 Thread Alexander Motin
Author: mav Date: Wed Aug 1 02:39:44 2018 New Revision: 337025 URL: https://svnweb.freebsd.org/changeset/base/337025 Log: MFV r337022: 9403 assertion failed in arc_buf_destroy() when concurrently reading block with checksum error This assertion (VERIFY) failure was reported when reading

Re: svn commit: r335873 - in head: . sys/amd64/amd64 sys/amd64/include sys/conf sys/i386/i386 sys/i386/include sys/sys sys/vm

2018-07-31 Thread Mark Millard via svn-src-head
> Author: mmacy > Date: Mon Jul 2 19:48:38 2018 > New Revision: 335873 > URL: > https://svnweb.freebsd.org/changeset/base/335873 > > > Log: > inline atomics and allow tied modules to inline locks > > - inline atomics in modules on i386 and amd64 (they were always > inline on other ar

svn commit: r337023 - in head: sys/amd64/vmm usr.sbin/jail

2018-07-31 Thread Marcelo Araujo
Author: araujo Date: Wed Aug 1 00:39:21 2018 New Revision: 337023 URL: https://svnweb.freebsd.org/changeset/base/337023 Log: - Add the ability to run bhyve(8) within a jail(8). This patch adds a new sysctl(8) knob "security.jail.vmm_allowed", by default this option is disable. Submi

svn commit: r337021 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-07-31 Thread Alexander Motin
Author: mav Date: Tue Jul 31 23:00:58 2018 New Revision: 337021 URL: https://svnweb.freebsd.org/changeset/base/337021 Log: MFV r337020:9443 panic when scrub a v10 pool illumos/illumos-gate@bb1f424574ac8e08069d0ba993c2a41ffe796794 Reviewed by: Serapheim Dimitropoulos Reviewed by: Geo

svn commit: r337019 - head/cddl/contrib/opensolaris

2018-07-31 Thread Alexander Motin
Author: mav Date: Tue Jul 31 22:57:27 2018 New Revision: 337019 URL: https://svnweb.freebsd.org/changeset/base/337019 Log: Record r337016 as already merged, since it came from us. Modified: Directory Properties: head/cddl/contrib/opensolaris/ (props changed)

svn commit: r337018 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip cddl/lib/libdtrace cddl/usr.sbin/dtrace/tests/common/ip cddl/usr.sbin/dtrace/tests/tools cddl/usr.sbin/dwatch/l...

2018-07-31 Thread Michael Tuexen
Author: tuexen Date: Tue Jul 31 22:56:03 2018 New Revision: 337018 URL: https://svnweb.freebsd.org/changeset/base/337018 Log: Add a dtrace provider for UDP-Lite. The dtrace provider for UDP-Lite is modeled after the UDP provider. This fixes the bug that UDP-Lite packets were triggering th

svn commit: r337017 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-07-31 Thread Alexander Motin
Author: mav Date: Tue Jul 31 22:50:50 2018 New Revision: 337017 URL: https://svnweb.freebsd.org/changeset/base/337017 Log: MFV r337014: 9421 zdb should detect and print out the number of "leaked" objects 9422 zfs diff and zdb should explicitly mark objects that are on the deleted queue

Re: svn commit: r337004 - head/sys/dev/ofw

2018-07-31 Thread Alexey Dokuchaev
On Tue, Jul 31, 2018 at 08:50:50PM +, Emmanuel Vadot wrote: > New Revision: 337004 > URL: https://svnweb.freebsd.org/changeset/base/337004 > > Log: > ofw_cpu: Add support for getting cpu clock via clock property > > Nominal Mhz is either expressed via the clock-frequency property > ...

svn commit: r337015 - head/sys/amd64/conf

2018-07-31 Thread Mark Johnston
Author: markj Date: Tue Jul 31 21:40:13 2018 New Revision: 337015 URL: https://svnweb.freebsd.org/changeset/base/337015 Log: COMPAT_LINUX32 has not depended on COMPAT_43 in some time. MFC after:3 days Modified: head/sys/amd64/conf/NOTES Modified: head/sys/amd64/conf/NOTES ==

svn commit: r337011 - head/sys/cddl/contrib/opensolaris

2018-07-31 Thread Alexander Motin
Author: mav Date: Tue Jul 31 21:09:13 2018 New Revision: 337011 URL: https://svnweb.freebsd.org/changeset/base/337011 Log: Record r337002 as already merged, since it came from us. Modified: Directory Properties: head/sys/cddl/contrib/opensolaris/ (props changed)

svn commit: r337009 - head/lib/clang/include/lld/Common

2018-07-31 Thread Ed Maste
Author: emaste Date: Tue Jul 31 21:06:28 2018 New Revision: 337009 URL: https://svnweb.freebsd.org/changeset/base/337009 Log: bump lld version number after r336972 arm(v7) VFP tag support Reported by: kevans Sponsored by: The FreeBSD Foundation Modified: head/lib/clang/include/lld/Com

svn commit: r337007 - in head: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common sys/c...

2018-07-31 Thread Alexander Motin
Author: mav Date: Tue Jul 31 21:06:04 2018 New Revision: 337007 URL: https://svnweb.freebsd.org/changeset/base/337007 Log: MFV r336991, r337001: 9102 zfs should be able to initialize storage devices The first access to a disk block can incur a performance penalty on some platforms (e.g.

svn commit: r337004 - head/sys/dev/ofw

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 20:50:50 2018 New Revision: 337004 URL: https://svnweb.freebsd.org/changeset/base/337004 Log: ofw_cpu: Add support for getting cpu clock via clock property Nominal Mhz is either expressed via the clock-frequency property or can be get via the clock property t

Re: svn commit: r336998 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
On Tue, 31 Jul 2018 19:12:31 + (UTC) Emmanuel Vadot wrote: > Author: manu > Date: Tue Jul 31 19:12:31 2018 > New Revision: 336998 > URL: https://svnweb.freebsd.org/changeset/base/336998 > > Log: > release: arm: Always boot armv6/v7 image with EFI > > boot.scr is a u-boot script that l

svn commit: r337000 - head/release/arm64

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 19:14:52 2018 New Revision: 337000 URL: https://svnweb.freebsd.org/changeset/base/337000 Log: release: arm64: Add PINE64-LTS configuration file Pine64 isn't produced anymore but Pine64-LTS is. This image works on the LTS release and the Sopine module. Re

svn commit: r336999 - head/release/tools

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 19:13:50 2018 New Revision: 336999 URL: https://svnweb.freebsd.org/changeset/base/336999 Log: release: arm: Enable multicons for arm64 Since we have now EFI framebuffer enabled for ARM64 if we boot on a board with an screen, u-boot will set up a EFI GOP frame

svn commit: r336998 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 19:12:31 2018 New Revision: 336998 URL: https://svnweb.freebsd.org/changeset/base/336998 Log: release: arm: Always boot armv6/v7 image with EFI boot.scr is a u-boot script that loads and execute ubldr.bin If not present u-boot will automatically boot loader.e

svn commit: r336997 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 19:10:50 2018 New Revision: 336997 URL: https://svnweb.freebsd.org/changeset/base/336997 Log: release: Restore copy of boot.scr for some board This is not a problem for 12-CURRENT as EFI boot works but it doesn't for 11. While here some board arm_install_ub

svn commit: r336996 - in head: share/man/man9 sys/arm/conf sys/arm64/conf sys/conf sys/dev/extres/nvmem

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 19:08:24 2018 New Revision: 336996 URL: https://svnweb.freebsd.org/changeset/base/336996 Log: nvmem: Add nvmem interface and helpers The nvmem interface helps provider of nvmem data to expose themselves to consumer. NVMEM is generally present on some embedde

svn commit: r336995 - head/release

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 18:57:11 2018 New Revision: 336995 URL: https://svnweb.freebsd.org/changeset/base/336995 Log: release: Deinstall u-boot ports before installing FORCE_PKG_REGISTER is broken so multiple invocation of release.sh for the same board will fails if /scratch isn't c

svn commit: r336994 - head/release

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 18:55:44 2018 New Revision: 336994 URL: https://svnweb.freebsd.org/changeset/base/336994 Log: release: arm: Use BOARDNAME in the image name Using KERNEL made sense when all boards had different kernel configuration. Now that all of them are using GENERIC use

svn commit: r336993 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 18:54:06 2018 New Revision: 336993 URL: https://svnweb.freebsd.org/changeset/base/336993 Log: release: rpi-b: add BOARDNAME variable Reviewed by: gjb Differential Revision:https://reviews.freebsd.org/D16514 Modified: head/release/arm/RPI-B.conf M

svn commit: r336992 - head/release/arm

2018-07-31 Thread Emmanuel Vadot
Author: manu Date: Tue Jul 31 18:52:43 2018 New Revision: 336992 URL: https://svnweb.freebsd.org/changeset/base/336992 Log: release: arm: Use GENERIC kernel for IMX6 based boards Switch the IMX.6 based board to GENERIC the kernel config. Reviewed by: gjb Differential Revision:

svn commit: r336987 - head/sys/vm

2018-07-31 Thread Konstantin Belousov
Author: kib Date: Tue Jul 31 18:00:47 2018 New Revision: 336987 URL: https://svnweb.freebsd.org/changeset/base/336987 Log: For compat32, emulate the same wraparound check as occurs on the real ILP32 system. Reported by and discussed with: asomers PR: 230162 Sponsored by: The F

svn commit: r336984 - head/sys/vm

2018-07-31 Thread Alan Cox
Author: alc Date: Tue Jul 31 17:41:48 2018 New Revision: 336984 URL: https://svnweb.freebsd.org/changeset/base/336984 Log: Allow vm object coalescing to occur in the midst of a vm object when the OBJ_ONEMAPPING flag is set. In other words, allow recycling of existing but unused subranges of

svn commit: r336983 - head/sys/dev/sound/pci/hda

2018-07-31 Thread Justin Hibbits
Author: jhibbits Date: Tue Jul 31 17:18:58 2018 New Revision: 336983 URL: https://svnweb.freebsd.org/changeset/base/336983 Log: snd_hda: Byteswap the buffer descriptor entries as needed The buffer descriptor list entries should be in little endian format. Byte swap them on BE. This is

svn commit: r336981 - head/sys/compat/freebsd32

2018-07-31 Thread Konstantin Belousov
Author: kib Date: Tue Jul 31 17:16:06 2018 New Revision: 336981 URL: https://svnweb.freebsd.org/changeset/base/336981 Log: Regenerate after r336980. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_sysc

svn commit: r336980 - head/sys/compat/freebsd32

2018-07-31 Thread Konstantin Belousov
Author: kib Date: Tue Jul 31 17:15:31 2018 New Revision: 336980 URL: https://svnweb.freebsd.org/changeset/base/336980 Log: Provide compat32 shims for sched_rr_get_interval(2). The interface uses struct timespec, which needs a translation. Reported and reviewed by: asomers PR: 2

svn commit: r336978 - in head: etc etc/pkg usr.sbin/pkg

2018-07-31 Thread Brad Davis
Author: brd Date: Tue Jul 31 16:42:03 2018 New Revision: 336978 URL: https://svnweb.freebsd.org/changeset/base/336978 Log: Move pkg/FreeBSD.conf to usr.sbin/pkg/ Approved by: bapt (mentor) Differential Revision:https://reviews.freebsd.org/D16491 Added: head/usr.sbin/pkg/FreeBS

svn commit: r336977 - in head: etc usr.sbin/blacklistd

2018-07-31 Thread Brad Davis
Author: brd Date: Tue Jul 31 16:39:38 2018 New Revision: 336977 URL: https://svnweb.freebsd.org/changeset/base/336977 Log: Move blacklistd.conf to usr.sbin/blacklistd/ This is prep for pkging base and helps tag and install config files with the correct packages. Approved by: bapt (m

svn commit: r336975 - head/usr.sbin/config

2018-07-31 Thread Kyle Evans
Author: kevans Date: Tue Jul 31 16:08:17 2018 New Revision: 336975 URL: https://svnweb.freebsd.org/changeset/base/336975 Log: Remove variable re-inserted during mis-application of r336973 Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c

svn commit: r336974 - head/usr.sbin/config

2018-07-31 Thread Kyle Evans
Author: kevans Date: Tue Jul 31 16:04:49 2018 New Revision: 336974 URL: https://svnweb.freebsd.org/changeset/base/336974 Log: Re-insert variable disappeared during mis-application of r336973 Modified: head/usr.sbin/config/mkmakefile.c Modified: head/usr.sbin/config/mkmakefile.c =

svn commit: r336973 - head/usr.sbin/config

2018-07-31 Thread Kyle Evans
Author: kevans Date: Tue Jul 31 16:03:30 2018 New Revision: 336973 URL: https://svnweb.freebsd.org/changeset/base/336973 Log: config(8): Strip comments from env lines Consolidates the small bits of logic required for preprocessing a line before inclusion into a file or nvlist. Modified:

svn commit: r336972 - in head/contrib/llvm/tools/lld/ELF: . Arch

2018-07-31 Thread Ed Maste
Author: emaste Date: Tue Jul 31 15:25:03 2018 New Revision: 336972 URL: https://svnweb.freebsd.org/changeset/base/336972 Log: lld: [ELF][ARM] Implement support for Tag_ABI_VFP_args The Tag_ABI_VFP_args build attribute controls the procedure call standard used for floating point parameters

svn commit: r336971 - in head/sys: arm64/arm64 arm64/include dev/psci

2018-07-31 Thread Andrew Turner
Author: andrew Date: Tue Jul 31 15:08:02 2018 New Revision: 336971 URL: https://svnweb.freebsd.org/changeset/base/336971 Log: Use int for the pcpu_ssbd argument. This is included from userland and may not include the needed headers to get the bool definition. Reported by: manu Pointy h

svn commit: r336970 - head/contrib/llvm/include/llvm/Support

2018-07-31 Thread Ed Maste
Author: emaste Date: Tue Jul 31 14:14:41 2018 New Revision: 336970 URL: https://svnweb.freebsd.org/changeset/base/336970 Log: llvm: [ARM] Complete enumeration values for Tag_ABI_VFP_args The LLD implementation of Tag_ABI_VFP_args needs to check the rarely seen values of 3 (toolchain speci

svn commit: r336969 - head/contrib/llvm/include/llvm/BinaryFormat

2018-07-31 Thread Ed Maste
Author: emaste Date: Tue Jul 31 14:12:09 2018 New Revision: 336969 URL: https://svnweb.freebsd.org/changeset/base/336969 Log: llvm: [ELF][ARM] Add Arm ABI names for float ABI ELF Header flags The ELF for the Arm architecture document defines, for EF_ARM_EABI_VER5 and above, the flags EF_A

svn commit: r336967 - in head/sys: arm64/arm64 arm64/include dev/psci

2018-07-31 Thread Andrew Turner
Author: andrew Date: Tue Jul 31 12:53:27 2018 New Revision: 336967 URL: https://svnweb.freebsd.org/changeset/base/336967 Log: Implement the SSBD (CVE-2018-3639) workaround on arm64 This calls into the Arm Trusted Firmware to enable and disable the workaround for the Speculative Store Bypa

svn commit: r336966 - head/sys/fs/msdosfs

2018-07-31 Thread Ed Maste
Author: emaste Date: Tue Jul 31 12:44:28 2018 New Revision: 336966 URL: https://svnweb.freebsd.org/changeset/base/336966 Log: msdosfs: trim EOL whitespace Modified: head/sys/fs/msdosfs/msdosfs_conv.c head/sys/fs/msdosfs/msdosfs_denode.c head/sys/fs/msdosfs/msdosfs_lookup.c head/sys/fs/m

svn commit: r336965 - head/sys/fs/cd9660

2018-07-31 Thread Ed Maste
Author: emaste Date: Tue Jul 31 12:36:46 2018 New Revision: 336965 URL: https://svnweb.freebsd.org/changeset/base/336965 Log: cd9660: replace bcopy/bzero with C standard equivalents To reduce diffs against NetBSD. Modified: head/sys/fs/cd9660/cd9660_lookup.c head/sys/fs/cd9660/cd9660_r

svn commit: r336964 - head/sys/ofed/include/rdma

2018-07-31 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jul 31 11:23:44 2018 New Revision: 336964 URL: https://svnweb.freebsd.org/changeset/base/336964 Log: Only NULL check the VNET pointer when VIMAGE is enabled in ibcore. Else a NULL VNET pointer should be ignored. This fixes address resolving when VIMAGE is disabled.