svn commit: r346730 - in head/sys/powerpc: aim powerpc

2019-04-25 Thread Justin Hibbits
Author: jhibbits Date: Fri Apr 26 03:18:49 2019 New Revision: 346730 URL: https://svnweb.freebsd.org/changeset/base/346730 Log: powerpc64: Clear FSCR SPR, so that it's in a known state This now turns any access to the DSCR SPR into a SIGILL. Later commits will make DCSR work correctly

svn commit: r346729 - head/sys/powerpc/include

2019-04-25 Thread Justin Hibbits
Author: jhibbits Date: Fri Apr 26 03:13:44 2019 New Revision: 346729 URL: https://svnweb.freebsd.org/changeset/base/346729 Log: powerpc: Fix whitespace in SPR header. Modified: head/sys/powerpc/include/spr.h Modified: head/sys/powerpc/include/spr.h

svn commit: r346728 - in head/sys/powerpc: include powerpc

2019-04-25 Thread Justin Hibbits
Author: jhibbits Date: Fri Apr 26 02:30:03 2019 New Revision: 346728 URL: https://svnweb.freebsd.org/changeset/base/346728 Log: powerpc: Add another feature2 flag, and update power9 definition Also fix the definition of PPC_FEATURE2_HTM_NOSUSPEND, a bad line copy. This now closer

svn commit: r346727 - stable/11/usr.sbin/acpi/acpidump

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 02:19:25 2019 New Revision: 346727 URL: https://svnweb.freebsd.org/changeset/base/346727 Log: MFC r343455: Fix tpm2 acpidump compilation on 32-bit Modified: stable/11/usr.sbin/acpi/acpidump/acpi.c Modified: stable/11/usr.sbin/acpi/acpidump/acpi.c

svn commit: r346726 - stable/12/usr.sbin/acpi/acpidump

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 02:16:57 2019 New Revision: 346726 URL: https://svnweb.freebsd.org/changeset/base/346726 Log: MFC r343455: Fix tpm2 acpidump compilation on 32-bit Modified: stable/12/usr.sbin/acpi/acpidump/acpi.c Modified: stable/12/usr.sbin/acpi/acpidump/acpi.c

Re: svn commit: r346716 - stable/11/usr.sbin/bhyve

2019-04-25 Thread Alexander Motin
On 25.04.2019 18:58, Rodney W. Grimes wrote: >> Author: mav >> Date: Thu Apr 25 22:53:25 2019 >> New Revision: 346716 >> URL: https://svnweb.freebsd.org/changeset/base/346716 >> >> Log: >> Fix build with r346707. >> >> Modified: >> stable/11/usr.sbin/bhyve/Makefile >> >> Modified:

svn commit: r346725 - in stable/11/sys: conf dev/random dev/tpm sys

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 01:58:36 2019 New Revision: 346725 URL: https://svnweb.freebsd.org/changeset/base/346725 Log: MFC r345438,r345842,r346259,r346261: TPM as possible entropy source r345438: Allow using TPM as entropy source TPM has a built-in RNG, with its own entropy

svn commit: r346724 - in stable/12/sys: conf dev/random dev/tpm sys

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 01:41:55 2019 New Revision: 346724 URL: https://svnweb.freebsd.org/changeset/base/346724 Log: MFC r345438,r345842,r346259,r346261: TPM as possible entropy source r345438: Allow using TPM as entropy source TPM has a built-in RNG, with its own entropy

svn commit: r346723 - in stable/12: sys/dev/tpm usr.sbin/acpi/acpidump

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 01:29:00 2019 New Revision: 346723 URL: https://svnweb.freebsd.org/changeset/base/346723 Log: MFC r343438: Use ACPI TPM2 table to probe tpmtis and tpmcrb device Sponsored by: Stormshield Modified: stable/12/sys/dev/tpm/tpm20.h

svn commit: r346722 - in stable/11: sys/dev/tpm usr.sbin/acpi/acpidump

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 01:20:39 2019 New Revision: 346722 URL: https://svnweb.freebsd.org/changeset/base/346722 Log: MFC r343438: Use ACPI TPM2 table to probe tpmtis and tpmcrb device Submitted by: Kornel Duleba Obtained from: Semihalf Sponsored by: Stormshield Modified:

Re: svn commit: r346386 - in head/sys: dev/bge dev/pci dev/twa x86/iommu

2019-04-25 Thread Tycho Nightingale
As Ryan suggests r232260 should be recommitted to get acc(4) fixed. However, given the age of the devices involved and the lack of support by the standard, I’d say the threshold isn’t met to reinstate the boundary globally preemptively. To get the insurance, which may not even be necessary,

svn commit: r346721 - in stable/11/sys: conf dev/tpm modules/tpm

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 01:02:24 2019 New Revision: 346721 URL: https://svnweb.freebsd.org/changeset/base/346721 Log: MFC r342084,r342251,r342271,r342285: Introduce TPM2.0 driver r342084 Introduce driver for TPM 2.0 in CRB and FIFO (TIS) modes r342251 Include the new TPM 2.0

svn commit: r346720 - in stable/12/sys: conf dev/tpm modules/tpm

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 01:02:14 2019 New Revision: 346720 URL: https://svnweb.freebsd.org/changeset/base/346720 Log: MFC r342084,r342251,r342271,r342285: Introduce TPM2.0 driver r342084 Introduce driver for TPM 2.0 in CRB and FIFO (TIS) modes r342251 Include the new TPM 2.0

svn commit: r346719 - in stable/12: lib/libsecureboot lib/libsecureboot/efi lib/libsecureboot/h share/mk stand/efi/loader tools/build/options

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 00:48:52 2019 New Revision: 346719 URL: https://svnweb.freebsd.org/changeset/base/346719 Log: MFC r344840: Extend libsecureboot(old libve) to obtain trusted certificates from UEFI and implement revocation UEFI related headers were copied from edk2. A new

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

2019-04-25 Thread Marcin Wojtas
Author: mw Date: Fri Apr 26 00:39:30 2019 New Revision: 346718 URL: https://svnweb.freebsd.org/changeset/base/346718 Log: MFC r343911: Allow reading the UEFI variable size When loading bigger variables form UEFI it is necessary to know their size beforehand, so that an appropriate amount

Re: svn commit: r346386 - in head/sys: dev/bge dev/pci dev/twa x86/iommu

2019-04-25 Thread Scott Long
Yeah, it might be turning into an old wives tale at this point. I clearly remember it being discussed at the PCI-SIG in late 2003 when PCIe 1.0 was in its final draft stages. However, that was a long time ago, and it’s possible that even if it’s a limitation in some version or another of the

Re: svn commit: r346386 - in head/sys: dev/bge dev/pci dev/twa x86/iommu

2019-04-25 Thread Ryan Stone
+scottl@, who I believe explained this to us in the first place. As I recall, it had something to do with 64-bit DMA being expressed as segment base + 32-bit offset. DMA engines that blindly try to cross a 32-bit boundary end up back at the start of the segment and read/write the wrong memory

Re: svn commit: r346716 - stable/11/usr.sbin/bhyve

2019-04-25 Thread Rodney W. Grimes
> Author: mav > Date: Thu Apr 25 22:53:25 2019 > New Revision: 346716 > URL: https://svnweb.freebsd.org/changeset/base/346716 > > Log: > Fix build with r346707. > > Modified: > stable/11/usr.sbin/bhyve/Makefile > > Modified: stable/11/usr.sbin/bhyve/Makefile >

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

2019-04-25 Thread Rodney W. Grimes
Author: rgrimes Date: Thu Apr 25 22:53:55 2019 New Revision: 346717 URL: https://svnweb.freebsd.org/changeset/base/346717 Log: Make bhyve SMBIOS table topology aware When the CPU Topology was added to bhyve in r332298 the SMBIOS table was missed, this table passes topology information to

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

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 22:53:25 2019 New Revision: 346716 URL: https://svnweb.freebsd.org/changeset/base/346716 Log: Fix build with r346707. Modified: stable/11/usr.sbin/bhyve/Makefile Modified: stable/11/usr.sbin/bhyve/Makefile

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

2019-04-25 Thread Rodney W. Grimes
Author: rgrimes Date: Thu Apr 25 22:52:44 2019 New Revision: 346715 URL: https://svnweb.freebsd.org/changeset/base/346715 Log: Acpi MADT table correction for VM_MAXCPU > 21 The bhyve acpi MADT table was given a static space of 256 (0x100) bytes, this is enough space to allow VM_MAXCPU to

svn commit: r346714 - in head/sys/amd64: include vmm vmm/amd vmm/intel vmm/io

2019-04-25 Thread Rodney W. Grimes
Author: rgrimes Date: Thu Apr 25 22:51:36 2019 New Revision: 346714 URL: https://svnweb.freebsd.org/changeset/base/346714 Log: Add accessor function for vm->maxcpus Replace most VM_MAXCPU constant useses with an accessor function to vm->maxcpus which for now is initialized and kept at

svn commit: r346713 - head/sys/dev/gpio

2019-04-25 Thread Ian Lepore
Author: ian Date: Thu Apr 25 22:27:56 2019 New Revision: 346713 URL: https://svnweb.freebsd.org/changeset/base/346713 Log: Fix typo: the 4th argument to GPIO_PIN_ACCESS_32 is the set of pins to change, not the variable used to return the original pin state. PR: 237378

svn commit: r346712 - head/sys/compat/linuxkpi/common/src

2019-04-25 Thread Johannes Lundberg
Author: johalun Date: Thu Apr 25 21:54:32 2019 New Revision: 346712 URL: https://svnweb.freebsd.org/changeset/base/346712 Log: Don't call cdev_init where cdev_alloc is called. cdev_alloc already handles initialization. Reported by: johalun Reviewed by: hps Approved by: imp

svn commit: r346711 - stable/12

2019-04-25 Thread Enji Cooper
Author: ngie Date: Thu Apr 25 21:42:02 2019 New Revision: 346711 URL: https://svnweb.freebsd.org/changeset/base/346711 Log: MFC r346056: Fix a typo when sanity checking in the bootstrap-tools target The path is incorrect for the linker in the error message. It should have been

svn commit: r346710 - in stable/12: lib/libc/net sys/fs/nfsclient sys/netinet sys/netinet/netdump sys/netpfil/ipfw/nat64 sys/netpfil/pf

2019-04-25 Thread Rodney W. Grimes
Author: rgrimes Date: Thu Apr 25 21:28:28 2019 New Revision: 346710 URL: https://svnweb.freebsd.org/changeset/base/346710 Log: MFC: r345888: Use IN_foo() macros from sys/netinet/in.h inplace of handcrafted code There are a few places that use hand crafted versions of the macros from

svn commit: r346709 - head/usr.sbin/nfsdumpstate

2019-04-25 Thread Rick Macklem
Author: rmacklem Date: Thu Apr 25 21:25:32 2019 New Revision: 346709 URL: https://svnweb.freebsd.org/changeset/base/346709 Log: Add support to nfsdumpstate for printing of INET6 addresses for locks. r346190 added support for printing of INET6 addresses for the "-o" option (all opens) but

svn commit: r346708 - in head: share/man/man4 sys/net

2019-04-25 Thread Stephen Hurd
Author: shurd Date: Thu Apr 25 21:24:56 2019 New Revision: 346708 URL: https://svnweb.freebsd.org/changeset/base/346708 Log: iflib: Better control over queue core assignment By default, cores are now assigned to queues in a sequential manner rather than all NICs starting at the first

svn commit: r346707 - in stable/11: sys/amd64/vmm/intel usr.sbin/bhyve

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 21:09:07 2019 New Revision: 346707 URL: https://svnweb.freebsd.org/changeset/base/346707 Log: MFC r339826 (by yuripv): Provide basic descriptions for VMX exit reason (from "Intel 64 and IA-32 Architectures Software Developer’s Manual Volume 3"). Add the

svn commit: r346706 - in stable/12: sys/amd64/vmm/intel usr.sbin/bhyve

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 21:04:38 2019 New Revision: 346706 URL: https://svnweb.freebsd.org/changeset/base/346706 Log: MFC r339826 (by yuripv): Provide basic descriptions for VMX exit reason (from "Intel 64 and IA-32 Architectures Software Developer’s Manual Volume 3"). Add the

svn commit: r346705 - head/lib/libbe

2019-04-25 Thread Kyle Evans
Author: kevans Date: Thu Apr 25 20:48:25 2019 New Revision: 346705 URL: https://svnweb.freebsd.org/changeset/base/346705 Log: libbe(3): Fix libcompat build SHLIBDIR should still be optionally set, just before src.opts.mk is included so that libcompat can properly override it. This fixes

Re: svn commit: r346386 - in head/sys: dev/bge dev/pci dev/twa x86/iommu

2019-04-25 Thread John Baldwin
I had looked for the aac change, but wasn't able to find it, perhaps because I looked at tags created in aac.c rather than aac_pci.c. I agree aac will need to be re-patched. I'm not really certain how many other devices are actually broken. They would all be due to a firmware bug, nothing

svn commit: r346704 - head/stand/efi/loader

2019-04-25 Thread Warner Losh
Author: imp Date: Thu Apr 25 20:23:13 2019 New Revision: 346704 URL: https://svnweb.freebsd.org/changeset/base/346704 Log: Add the proper range of years for Netflix's copyright on this file. Note that I wrote it. Modified: head/stand/efi/loader/main.c Modified:

svn commit: r346703 - head/stand/efi/loader

2019-04-25 Thread Warner Losh
Author: imp Date: Thu Apr 25 20:10:02 2019 New Revision: 346703 URL: https://svnweb.freebsd.org/changeset/base/346703 Log: Move initialization of the block device handles earlier (we're just snagging them from UEFI BIOS). Call the device type init routines earlier as well, as they don't

svn commit: r346702 - in head/stand/efi: include libefi

2019-04-25 Thread Warner Losh
Author: imp Date: Thu Apr 25 20:09:49 2019 New Revision: 346702 URL: https://svnweb.freebsd.org/changeset/base/346702 Log: Add efi_freebsd_delenv Add a wrapper around efi_delenv akin to efi_freebsd_getenv and efi_getenv. Modified: head/stand/efi/include/efilib.h

svn commit: r346701 - in head/stand: efi/loader fdt

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 20:08:43 2019 New Revision: 346701 URL: https://svnweb.freebsd.org/changeset/base/346701 Log: loader: fdt: Add fdt_is_setup function When efi_autoload is called it will call fdt_setup_fdtp which setup the dtb and overlays. If a user already loaded at dtb or

svn commit: r346700 - head/lib/libbe

2019-04-25 Thread Kyle Evans
Author: kevans Date: Thu Apr 25 20:02:11 2019 New Revision: 346700 URL: https://svnweb.freebsd.org/changeset/base/346700 Log: libbe(3): Fix mis-application of patch (SHLIBDIR) Rob's patch in D18564 cemented the SHLIBDIR because bsd.own.mk (included by src.opts.mk) sets it to /usr/lib.

Re: svn commit: r346386 - in head/sys: dev/bge dev/pci dev/twa x86/iommu

2019-04-25 Thread Ryan Stone
Following up, this is what will have to be re-instated in the aac driver: http://svn.freebsd.org/changeset/base/232260 However, my biggest concern is that we have no idea how many new devices with the broken behaviour might have been introduced since we fixed the problem in general. How does

Re: svn commit: r346386 - in head/sys: dev/bge dev/pci dev/twa x86/iommu

2019-04-25 Thread Ryan Stone
This change makes me *very* uncomfortable. It was originally brought in due to issues with Adaptec RAID cards using the aac(9) driver. The symptoms of the bug included silent corruption of data as it was written to disk. Are we sure that this change is a good idea, given how catastrophic it is

Re: svn commit: r346687 - head/sys/compat/linuxkpi/common/src

2019-04-25 Thread Konstantin Belousov
On Thu, Apr 25, 2019 at 02:56:36PM -0400, Tycho Nightingale wrote: > > > > On Apr 25, 2019, at 2:50 PM, John Baldwin wrote: > > > > On 4/25/19 11:43 AM, Konstantin Belousov wrote: > >> On Thu, Apr 25, 2019 at 06:13:56PM +, Tycho Nightingale wrote: > >>> Author: tychon > >>> Date: Thu Apr

Re: svn commit: r346687 - head/sys/compat/linuxkpi/common/src

2019-04-25 Thread Tycho Nightingale
> On Apr 25, 2019, at 2:50 PM, John Baldwin wrote: > > On 4/25/19 11:43 AM, Konstantin Belousov wrote: >> On Thu, Apr 25, 2019 at 06:13:56PM +, Tycho Nightingale wrote: >>> Author: tychon >>> Date: Thu Apr 25 18:13:55 2019 >>> New Revision: 346687 >>> URL:

Re: svn commit: r346687 - head/sys/compat/linuxkpi/common/src

2019-04-25 Thread John Baldwin
On 4/25/19 11:43 AM, Konstantin Belousov wrote: > On Thu, Apr 25, 2019 at 06:13:56PM +, Tycho Nightingale wrote: >> Author: tychon >> Date: Thu Apr 25 18:13:55 2019 >> New Revision: 346687 >> URL: https://svnweb.freebsd.org/changeset/base/346687 >> >> Log: >> LinuxKPI buildfix for ppc64

svn commit: r346699 - stable/11/sys/cddl/compat/opensolaris/kern

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 18:49:29 2019 New Revision: 346699 URL: https://svnweb.freebsd.org/changeset/base/346699 Log: MFC r340731 (by markj): Use taskqueue_quiesce(9) to implement taskq_wait(). Modified: stable/11/sys/cddl/compat/opensolaris/kern/opensolaris_taskq.c Directory

Re: svn commit: r346683 - head/usr.sbin/bsdinstall/scripts

2019-04-25 Thread Emmanuel Vadot
On Thu, 25 Apr 2019 11:22:34 -0700 Enji Cooper wrote: > > > On Apr 25, 2019, at 09:47, Emmanuel Vadot wrote: > > > > Author: manu > > Date: Thu Apr 25 16:47:15 2019 > > New Revision: 346683 > > URL: https://svnweb.freebsd.org/changeset/base/346683 > > > > Log: > > bsdinstall: up the

Re: svn commit: r346688 - head/sys/net

2019-04-25 Thread Rodney W. Grimes
> On Thu, Apr 25, 2019 at 1:24 PM Rodney W. Grimes > wrote: > > > > [ Charset UTF-8 unsupported, converting... ] > > > Author: kevans > > > Date: Thu Apr 25 18:22:22 2019 > > > New Revision: 346688 > > > URL: https://svnweb.freebsd.org/changeset/base/346688 > > > > > > Log: > > > tap(4): Add a

svn commit: r346698 - in head/sys/modules/allwinner: . aw_pwm

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 18:44:03 2019 New Revision: 346698 URL: https://svnweb.freebsd.org/changeset/base/346698 Log: arm: allwinner: aw_pwm: compile it as module too MFC after:1 month Added: head/sys/modules/allwinner/aw_pwm/ head/sys/modules/allwinner/aw_pwm/Makefile

svn commit: r346697 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/aw_rsb

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 18:43:01 2019 New Revision: 346697 URL: https://svnweb.freebsd.org/changeset/base/346697 Log: arm: allwinner: Add pnp info to aw_rsb and compile it as module too MFC after:1 month Added: head/sys/modules/allwinner/aw_rsb/

Re: svn commit: r346687 - head/sys/compat/linuxkpi/common/src

2019-04-25 Thread Konstantin Belousov
On Thu, Apr 25, 2019 at 06:13:56PM +, Tycho Nightingale wrote: > Author: tychon > Date: Thu Apr 25 18:13:55 2019 > New Revision: 346687 > URL: https://svnweb.freebsd.org/changeset/base/346687 > > Log: > LinuxKPI buildfix for ppc64 after r346645. > > Proposed by:hselasky >

svn commit: r346696 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/if_awg

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 18:42:27 2019 New Revision: 346696 URL: https://svnweb.freebsd.org/changeset/base/346696 Log: arm: allwinner: Add pnp info to if_awg and compile it as module too While here make it depend on aw_sid as it's needed for mac generation. MFC after:1 month

svn commit: r346694 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/aw_rtc

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 18:41:05 2019 New Revision: 346694 URL: https://svnweb.freebsd.org/changeset/base/346694 Log: arm: allwinner: Add pnp info to aw_rtc and compile it as module too MFC after:1 month Added: head/sys/modules/allwinner/aw_rtc/

svn commit: r346693 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/axp81x

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 18:40:23 2019 New Revision: 346693 URL: https://svnweb.freebsd.org/changeset/base/346693 Log: arm: allwinner: Add pnp info to axp81x and compile it as module too MFC after:1 month Added: head/sys/modules/allwinner/axp81x/

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

2019-04-25 Thread John Baldwin
Author: jhb Date: Thu Apr 25 18:42:07 2019 New Revision: 346695 URL: https://svnweb.freebsd.org/changeset/base/346695 Log: Remove p_code from struct proc. Contrary to the comments, it was never used by core dumps or debuggers. Instead, it used to hold the signal code of a pending

svn commit: r346692 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/aw_thermal

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 18:39:41 2019 New Revision: 346692 URL: https://svnweb.freebsd.org/changeset/base/346692 Log: arm: allwinner: Add pnp info to aw_thermal and compile it as module too MFC after:1 month Added: head/sys/modules/allwinner/aw_thermal/

svn commit: r346691 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/aw_sid

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 18:38:38 2019 New Revision: 346691 URL: https://svnweb.freebsd.org/changeset/base/346691 Log: arm: allwinner: Add pnpinfo for aw_sid and add module Makefile MFC after:1 month Added: head/sys/modules/allwinner/aw_sid/

svn commit: r346690 - in stable/11/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 18:30:47 2019 New Revision: 346690 URL: https://svnweb.freebsd.org/changeset/base/346690 Log: MFC r344569, r344618, r344621 (by bapt): r344569: Implement parallel mounting for ZFS filesystem It was first implemented on Illumos and then ported to ZoL.

Re: svn commit: r346688 - head/sys/net

2019-04-25 Thread Kyle Evans
On Thu, Apr 25, 2019 at 1:24 PM Rodney W. Grimes wrote: > > [ Charset UTF-8 unsupported, converting... ] > > Author: kevans > > Date: Thu Apr 25 18:22:22 2019 > > New Revision: 346688 > > URL: https://svnweb.freebsd.org/changeset/base/346688 > > > > Log: > > tap(4): Add a MODULE_VERSION >

svn commit: r346689 - head/sys/net

2019-04-25 Thread Kyle Evans
Author: kevans Date: Thu Apr 25 18:26:34 2019 New Revision: 346689 URL: https://svnweb.freebsd.org/changeset/base/346689 Log: tap(4): Correct driver name... Reported by: rgrimes Pointy hat to:kevans MFC after:3 days X-MFC-With: r346688 Modified:

Re: svn commit: r346688 - head/sys/net

2019-04-25 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: kevans > Date: Thu Apr 25 18:22:22 2019 > New Revision: 346688 > URL: https://svnweb.freebsd.org/changeset/base/346688 > > Log: > tap(4): Add a MODULE_VERSION ^^^ > > Otherwise tap(4) can be loaded by loader despite being compiled

Re: svn commit: r346683 - head/usr.sbin/bsdinstall/scripts

2019-04-25 Thread Enji Cooper
> On Apr 25, 2019, at 09:47, Emmanuel Vadot wrote: > > Author: manu > Date: Thu Apr 25 16:47:15 2019 > New Revision: 346683 > URL: https://svnweb.freebsd.org/changeset/base/346683 > > Log: > bsdinstall: up the interface before calling dhclient Hi Emmanuel! Just curious.. What issue did

svn commit: r346688 - head/sys/net

2019-04-25 Thread Kyle Evans
Author: kevans Date: Thu Apr 25 18:22:22 2019 New Revision: 346688 URL: https://svnweb.freebsd.org/changeset/base/346688 Log: tap(4): Add a MODULE_VERSION Otherwise tap(4) can be loaded by loader despite being compiled into the kernel, causing a panic as things try to double-initialize.

svn commit: r346687 - head/sys/compat/linuxkpi/common/src

2019-04-25 Thread Tycho Nightingale
Author: tychon Date: Thu Apr 25 18:13:55 2019 New Revision: 346687 URL: https://svnweb.freebsd.org/changeset/base/346687 Log: LinuxKPI buildfix for ppc64 after r346645. Proposed by: hselasky Sponsored by: Dell EMC Isilon Modified: head/sys/compat/linuxkpi/common/src/linux_pci.c

svn commit: r346686 - in stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 17:28:36 2019 New Revision: 346686 URL: https://svnweb.freebsd.org/changeset/base/346686 Log: MFC r345200: MFV r336930: 9284 arc_reclaim_thread has 2 jobs `arc_reclaim_thread()` calls `arc_adjust()` after calling `arc_kmem_reap_now()`; `arc_adjust()` signals

svn commit: r346685 - in stable/11/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 17:25:13 2019 New Revision: 346685 URL: https://svnweb.freebsd.org/changeset/base/346685 Log: MFC r344601 (by sef): Set process title during zfs send. This adds a '-V' option to 'zfs send', which sets the process title once a second to the progress

svn commit: r346684 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 17:22:41 2019 New Revision: 346684 URL: https://svnweb.freebsd.org/changeset/base/346684 Log: MFC r340311: Do not ignore arc_adjust() return value. This covers scenario when ARC may not shrink as fast as it could: 1. arc_size < arc_c and arc_adjust() does not

svn commit: r346683 - head/usr.sbin/bsdinstall/scripts

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 16:47:15 2019 New Revision: 346683 URL: https://svnweb.freebsd.org/changeset/base/346683 Log: bsdinstall: up the interface before calling dhclient MFC after:1 week Modified: head/usr.sbin/bsdinstall/scripts/netconfig_ipv4 Modified:

svn commit: r346682 - head/etc/mtree

2019-04-25 Thread Emmanuel Vadot
Author: manu Date: Thu Apr 25 16:45:24 2019 New Revision: 346682 URL: https://svnweb.freebsd.org/changeset/base/346682 Log: mtree: Add more runtime package tag When using pkgbase those empty directories aren't packaged otherwise. Reviewed by: bapt MFC after:1 week

svn commit: r346681 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 15:56:32 2019 New Revision: 346681 URL: https://svnweb.freebsd.org/changeset/base/346681 Log: MFC r339298 (by allanjude): Add missing sysctls for tuning vdev queue depths for new I/O types This connects new tunables that were added but not exposed in:

svn commit: r346679 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 15:51:00 2019 New Revision: 346679 URL: https://svnweb.freebsd.org/changeset/base/346679 Log: MFC r339009 (by allanjude): Avoid panic when adjusting priority of a read in the face of an IO error PR: 231516 Reported by:sbruno Approved by:

svn commit: r346680 - head/lib/libbe

2019-04-25 Thread Kyle Evans
Author: kevans Date: Thu Apr 25 15:51:09 2019 New Revision: 346680 URL: https://svnweb.freebsd.org/changeset/base/346680 Log: libbe(3): Copy received properties as well This was inherently broken on send|recv datasets. Reported and tested by: Wes Maag MFC after:3 days

svn commit: r346678 - head/lib/libvgl

2019-04-25 Thread Bruce Evans
Author: bde Date: Thu Apr 25 15:48:23 2019 New Revision: 346678 URL: https://svnweb.freebsd.org/changeset/base/346678 Log: Restore doing nothing for calls to VGLEnd() after the first. I broke this in r346631. VGLEnd() clears some state variables as it restores state, but not all of them,

svn commit: r346677 - in head/sys: dev/cxgbe dev/mlx5/mlx5_en kern netinet netinet6

2019-04-25 Thread Andrew Gallatin
Author: gallatin Date: Thu Apr 25 15:37:28 2019 New Revision: 346677 URL: https://svnweb.freebsd.org/changeset/base/346677 Log: Track TCP connection's NUMA domain in the inpcb Drivers can now pass up numa domain information via the mbuf numa domain field. This information is then used

svn commit: r346676 - in stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 15:31:35 2019 New Revision: 346676 URL: https://svnweb.freebsd.org/changeset/base/346676 Log: MFC r337594 (by mmacy): ZFS/MFV:Use cached feature info in spa_add_feature_stats() commit 417104bdd3c7ce07ec58674dd078f9891c3bc780 Author: Ned Bass Date:

svn commit: r346675 - head/stand/common

2019-04-25 Thread Ian Lepore
Author: ian Date: Thu Apr 25 15:09:21 2019 New Revision: 346675 URL: https://svnweb.freebsd.org/changeset/base/346675 Log: Restore the ability to open a raw disk or partition in loader(8). The disk_open() function searches for "the best partition" when slice and partition information is

svn commit: r346674 - in stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 14:41:29 2019 New Revision: 346674 URL: https://svnweb.freebsd.org/changeset/base/346674 Log: MFC r345200: MFV r336930: 9284 arc_reclaim_thread has 2 jobs `arc_reclaim_thread()` calls `arc_adjust()` after calling `arc_kmem_reap_now()`; `arc_adjust()` signals

svn commit: r346673 - in stable/12/cddl/contrib/opensolaris: cmd/zfs lib/libzfs/common

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 14:39:52 2019 New Revision: 346673 URL: https://svnweb.freebsd.org/changeset/base/346673 Log: MFC r344601 (by sef): Set process title during zfs send. This adds a '-V' option to 'zfs send', which sets the process title once a second to the progress

svn commit: r346672 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-04-25 Thread Alexander Motin
Author: mav Date: Thu Apr 25 14:33:38 2019 New Revision: 346672 URL: https://svnweb.freebsd.org/changeset/base/346672 Log: MFC r340311: Do not ignore arc_adjust() return value. This covers scenario when ARC may not shrink as fast as it could: 1. arc_size < arc_c and arc_adjust() does not

svn commit: r346671 - head/sys/net

2019-04-25 Thread Kyle Evans
Author: kevans Date: Thu Apr 25 13:46:12 2019 New Revision: 346671 URL: https://svnweb.freebsd.org/changeset/base/346671 Log: tun(4): Don't allow open of open or dying devices Previously, a pid check was used to prevent open of the tun(4); this works, but may not make the most sense as

svn commit: r346670 - head/sys/net

2019-04-25 Thread Kyle Evans
Author: kevans Date: Thu Apr 25 12:44:08 2019 New Revision: 346670 URL: https://svnweb.freebsd.org/changeset/base/346670 Log: tun/tap: close race between destroy/ioctl handler It seems that there should be a better way to handle this, but this seems to be the more common approach and it

svn commit: r346669 - stable/10/sys/dev/usb/controller

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 12:02:17 2019 New Revision: 346669 URL: https://svnweb.freebsd.org/changeset/base/346669 Log: MFC r346229 and r346248: Fix spelling and remove superfluous USB keyword. Submitted by: Dmitry Luhtionov Sponsored by: Mellanox Technologies

svn commit: r346667 - stable/12/sys/dev/usb/controller

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 12:00:06 2019 New Revision: 346667 URL: https://svnweb.freebsd.org/changeset/base/346667 Log: MFC r346229 and r346248: Fix spelling and remove superfluous USB keyword. Submitted by: Dmitry Luhtionov Sponsored by: Mellanox Technologies

svn commit: r346668 - stable/11/sys/dev/usb/controller

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 12:01:11 2019 New Revision: 346668 URL: https://svnweb.freebsd.org/changeset/base/346668 Log: MFC r346229 and r346248: Fix spelling and remove superfluous USB keyword. Submitted by: Dmitry Luhtionov Sponsored by: Mellanox Technologies

svn commit: r346666 - in stable/11: lib/libcuse sys/fs/cuse

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 11:57:34 2019 New Revision: 34 URL: https://svnweb.freebsd.org/changeset/base/34 Log: MFC r346356: Implement flag for telling cuse(3) clients if the peer is running in 32-bit compat mode or not. This is useful when implementing compatibility

svn commit: r346665 - in stable/12: lib/libcuse sys/fs/cuse

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 11:56:07 2019 New Revision: 346665 URL: https://svnweb.freebsd.org/changeset/base/346665 Log: MFC r346356: Implement flag for telling cuse(3) clients if the peer is running in 32-bit compat mode or not. This is useful when implementing compatibility

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

2019-04-25 Thread Tycho Nightingale
> On Apr 25, 2019, at 5:13 AM, Hans Petter Selasky wrote: > > On 4/25/19 8:09 AM, Li-Wen Hsu wrote: >> On Thu, Apr 25, 2019 at 5:31 AM Tycho Nightingale wrote: >>> >>> Author: tychon >>> Date: Wed Apr 24 20:30:45 2019 >>> New Revision: 346645 >>> URL:

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

2019-04-25 Thread Hans Petter Selasky
On 4/25/19 8:09 AM, Li-Wen Hsu wrote: On Thu, Apr 25, 2019 at 5:31 AM Tycho Nightingale wrote: Author: tychon Date: Wed Apr 24 20:30:45 2019 New Revision: 346645 URL: https://svnweb.freebsd.org/changeset/base/346645 ... Modified: head/sys/compat/linuxkpi/common/src/linux_pci.c

svn commit: r346664 - head/sys/compat/linuxkpi/common/src

2019-04-25 Thread Hans Petter Selasky
Author: hselasky Date: Thu Apr 25 09:13:15 2019 New Revision: 346664 URL: https://svnweb.freebsd.org/changeset/base/346664 Log: LinuxKPI buildfix for 32-bit DMA architectures after r346645. The APIs expect a 64-bit DMA key. This is fine as long as the DMA is less than or equal to 64

svn commit: r346663 - stable/12/sys/x86/iommu

2019-04-25 Thread Konstantin Belousov
Author: kib Date: Thu Apr 25 08:28:54 2019 New Revision: 346663 URL: https://svnweb.freebsd.org/changeset/base/346663 Log: MFC r346352, r346355: Correct handling of RMRR during early enumeration stages. Modified: stable/12/sys/x86/iommu/busdma_dmar.c stable/12/sys/x86/iommu/intel_ctx.c

svn commit: r346662 - stable/12/sys/x86/iommu

2019-04-25 Thread Konstantin Belousov
Author: kib Date: Thu Apr 25 08:27:00 2019 New Revision: 346662 URL: https://svnweb.freebsd.org/changeset/base/346662 Log: MFC r346351: Remove witness warning. dmar_bus_dmamap_create() does not sleep. Modified: stable/12/sys/x86/iommu/busdma_dmar.c Directory Properties: stable/12/

svn commit: r346661 - stable/12/sys/x86/iommu

2019-04-25 Thread Konstantin Belousov
Author: kib Date: Thu Apr 25 08:25:48 2019 New Revision: 346661 URL: https://svnweb.freebsd.org/changeset/base/346661 Log: MFC r346350: Reduce verbosity, do not announce details of irte programming by default. Modified: stable/12/sys/x86/iommu/intel_intrmap.c Directory Properties:

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

2019-04-25 Thread Konstantin Belousov
On Thu, Apr 25, 2019 at 07:38:21AM +0200, Wojciech Macek wrote: > Intel does not reorder reads against the condition "if" here. I know for > sure that ARM does, but therestill might be some other architectures that > also suffers such behavior - I just don't have any means to verify. > I remember

Re: svn commit: r341586 - head/sys/dev/mlx5/mlx5_en

2019-04-25 Thread Slava Shwartsman
On 17-Apr-19 00:28, John Baldwin wrote: On 4/16/19 8:32 AM, Hans Petter Selasky wrote: On 4/16/19 4:39 PM, Andrey V. Elsukov wrote: On 05.12.2018 17:25, Slava Shwartsman wrote: Author: slavash Date: Wed Dec 5 14:25:03 2018 New Revision: 341586 URL:

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

2019-04-25 Thread Li-Wen Hsu
On Thu, Apr 25, 2019 at 5:31 AM Tycho Nightingale wrote: > > Author: tychon > Date: Wed Apr 24 20:30:45 2019 > New Revision: 346645 > URL: https://svnweb.freebsd.org/changeset/base/346645 ... > Modified: head/sys/compat/linuxkpi/common/src/linux_pci.c >