svn commit: r348795 - in head/sys/powerpc: aim include powerpc

2019-06-07 Thread Justin Hibbits
Author: jhibbits Date: Sat Jun 8 03:07:08 2019 New Revision: 348795 URL: https://svnweb.freebsd.org/changeset/base/348795 Log: powerpc/pmap: Move the SLB spill handlers to a better place The SLB spill handlers are AIM-specific, and belong better with the rest of the SLB code anyway. No

svn commit: r348794 - head/sys/powerpc/aim

2019-06-07 Thread Justin Hibbits
Author: jhibbits Date: Sat Jun 8 02:36:07 2019 New Revision: 348794 URL: https://svnweb.freebsd.org/changeset/base/348794 Log: powerpc/aim: Use nitems() for calculating size of phys_avail in AIM pmaps Same thing was already done in r347164 for Book-E pmap. Modified:

svn commit: r348791 - head/sys/dev/cxgbe/tom

2019-06-07 Thread John Baldwin
Author: jhb Date: Fri Jun 7 21:30:11 2019 New Revision: 348791 URL: https://svnweb.freebsd.org/changeset/base/348791 Log: Fix debug trace after removal of pdu_overhead. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/tom/t4_tls.c Modified:

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

2019-06-07 Thread Alexander Motin
Author: mav Date: Fri Jun 7 20:59:24 2019 New Revision: 348790 URL: https://svnweb.freebsd.org/changeset/base/348790 Log: Fix comparison signedness in arc_is_overflowing(). When ARC size is very small, aggsum_lower_bound(_size) may return negative values, that due to unsigned comparison

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

2019-06-07 Thread Alexander Motin
Author: mav Date: Fri Jun 7 19:03:17 2019 New Revision: 348788 URL: https://svnweb.freebsd.org/changeset/base/348788 Log: Explicitly start ARC adjustment on limits change. While formally it is not necessary, but the sooner it start, the sooner it finish, and supposedly less disturbing

svn commit: r348786 - in head/sys: cam/nvme dev/nvme

2019-06-07 Thread Chuck Tuffli
Author: chuck Date: Fri Jun 7 18:34:48 2019 New Revision: 348786 URL: https://svnweb.freebsd.org/changeset/base/348786 Log: Fix nda(4) PCIe link status output Differentiate between PCI Express Endpoint devices and Root Complex Integrated Endpoints in the nda driver. The Link Status and

svn commit: r348785 - in head/sys: amd64/amd64 arm/arm arm/nvidia/drm2 compat/linuxkpi/common/src dev/drm2/ttm dev/ti dev/xen/gntdev i386/i386 mips/mips riscv/riscv vm

2019-06-07 Thread Mark Johnston
Author: markj Date: Fri Jun 7 18:23:29 2019 New Revision: 348785 URL: https://svnweb.freebsd.org/changeset/base/348785 Log: Replace uses of vm_page_unwire(m, PQ_NONE) with vm_page_unwire_noq(m). These calls are not the same in general: the former will dequeue the page if it is enqueued,

svn commit: r348783 - in head/sys/powerpc: aim pseries

2019-06-07 Thread Leandro Lupori
Author: luporl Date: Fri Jun 7 17:58:59 2019 New Revision: 348783 URL: https://svnweb.freebsd.org/changeset/base/348783 Log: [PPC64] Support QEMU/KVM pseries without hugepages This set of changes make it possible to run FreeBSD for PowerPC64/pseries, under QEMU/KVM, without requiring

svn commit: r348782 - head/share/examples/bhyve

2019-06-07 Thread Mark Johnston
Author: markj Date: Fri Jun 7 17:54:26 2019 New Revision: 348782 URL: https://svnweb.freebsd.org/changeset/base/348782 Log: vmrun: Add a missing close-paren to the usage message. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/share/examples/bhyve/vmrun.sh

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

2019-06-07 Thread Chuck Tuffli
Author: chuck Date: Fri Jun 7 17:09:49 2019 New Revision: 348781 URL: https://svnweb.freebsd.org/changeset/base/348781 Log: bhyve: Add PCIe Integrated Endpoint capability The NVMe CAM driver reports the PCIe Link Capability and Status for devices. For emulated bhyve NVMe devices, this

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

2019-06-07 Thread John Baldwin
Author: jhb Date: Fri Jun 7 15:53:27 2019 New Revision: 348779 URL: https://svnweb.freebsd.org/changeset/base/348779 Log: Keep the shadow PCIR_COMMAND synced with the real one for pass through. This ensures that bhyve properly recognizes when decoding is disabled for BARs on passthru

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

2019-06-07 Thread John Baldwin
Author: jhb Date: Fri Jun 7 15:48:12 2019 New Revision: 348778 URL: https://svnweb.freebsd.org/changeset/base/348778 Log: Enable memory and I/O decoding in PCI devices on demand. Rather than uncoditionally setting the MEMEN and PORTEN bits in PCIR_COMMAND for PCI devices, set the

svn commit: r348777 - head

2019-06-07 Thread Alex Richardson
Author: arichardson Date: Fri Jun 7 15:23:52 2019 New Revision: 348777 URL: https://svnweb.freebsd.org/changeset/base/348777 Log: Add a basic clang-format configuration file This gets reasonably close to the existing format in sys/kern but will probably require some changes to upstream

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

2019-06-07 Thread Andriy Gapon
On 07/06/2019 16:04, Slawa Olhovchenkov wrote: > On Fri, Jun 07, 2019 at 06:35:42AM +, Andriy Gapon wrote: > >> Author: avg >> Date: Fri Jun 7 06:35:42 2019 >> New Revision: 348772 >> URL: https://svnweb.freebsd.org/changeset/base/348772 >> >> Log: >> Restore ARC MFU/MRU pressure >> >>

svn commit: r348776 - in head: contrib/elftoolchain/elfdump contrib/elftoolchain/readelf sys/sys

2019-06-07 Thread Christian S.J. Peron
Author: csjp Date: Fri Jun 7 14:51:55 2019 New Revision: 348776 URL: https://svnweb.freebsd.org/changeset/base/348776 Log: Teach readelf about some OpenBSD ELF program headers - Add constants for OpenBSD wxneeded, bootdata and randomize to the FreeBSD elf_common.h file. This is the

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

2019-06-07 Thread Slawa Olhovchenkov
On Fri, Jun 07, 2019 at 06:35:42AM +, Andriy Gapon wrote: > Author: avg > Date: Fri Jun 7 06:35:42 2019 > New Revision: 348772 > URL: https://svnweb.freebsd.org/changeset/base/348772 > > Log: > Restore ARC MFU/MRU pressure > > Before r305323 (MFV r302991: 6950 ARC should cache

svn commit: r348774 - head/sys/sys

2019-06-07 Thread Andrey V. Elsukov
Author: ae Date: Fri Jun 7 08:30:35 2019 New Revision: 348774 URL: https://svnweb.freebsd.org/changeset/base/348774 Log: Use underscores for internal variable name to avoid conflicts. MFC after:1 week Modified: head/sys/sys/counter.h Modified: head/sys/sys/counter.h

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

2019-06-07 Thread Andriy Gapon
Author: avg Date: Fri Jun 7 06:35:42 2019 New Revision: 348772 URL: https://svnweb.freebsd.org/changeset/base/348772 Log: Restore ARC MFU/MRU pressure Before r305323 (MFV r302991: 6950 ARC should cache compressed data) arc_read() code did this for access to a ghost buffer: