svn commit: r323935 - head/sys/kern

2017-09-22 Thread Conrad Meyer
Author: cem Date: Fri Sep 22 20:01:12 2017 New Revision: 323935 URL: https://svnweb.freebsd.org/changeset/base/323935 Log: ddb(4): Add 'show badstacks' command to show witness badstacks Add a DDB command that mirrors sysctl debug.witness.badstacks. Reported by: rstone Reviewed by:

svn commit: r323920 - in stable/11/sys/x86: include x86

2017-09-22 Thread Konstantin Belousov
Author: kib Date: Fri Sep 22 10:49:04 2017 New Revision: 323920 URL: https://svnweb.freebsd.org/changeset/base/323920 Log: MFC r323325, r323450: If IOAPIC has PCI binding, match the PCI device against MADT enumerated IOAPIC. Modified: stable/11/sys/x86/include/apicvar.h

svn commit: r323919 - stable/11/sys/vm

2017-09-22 Thread Konstantin Belousov
Author: kib Date: Fri Sep 22 10:45:51 2017 New Revision: 323919 URL: https://svnweb.freebsd.org/changeset/base/323919 Log: MFC r323616: Batch freeing of the pages in vm_object_page_remove(). Modified: stable/11/sys/vm/vm_object.c Directory Properties: stable/11/ (props changed)

svn commit: r323921 - stable/11/sys/x86/iommu

2017-09-22 Thread Konstantin Belousov
Author: kib Date: Fri Sep 22 10:51:32 2017 New Revision: 323921 URL: https://svnweb.freebsd.org/changeset/base/323921 Log: MFC r323326: Use IOAPIC PCI rid as the interrupt TLP source id for DMAR interrupt remapping. Modified: stable/11/sys/x86/iommu/intel_drv.c Directory Properties:

svn commit: r323905 - in head/sys/boot/efi: include loader

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:29:26 2017 New Revision: 323905 URL: https://svnweb.freebsd.org/changeset/base/323905 Log: libefi: pdinfo_t pd_unit and pd_open should be unsigned The device index, partition index and reference counter are all positive numbers. However, since our

svn commit: r323907 - head/sys/boot/efi/libefi

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:37:42 2017 New Revision: 323907 URL: https://svnweb.freebsd.org/changeset/base/323907 Log: libefi: efipart.c cstyle fix for efipart_print_common() The else statement should have { } Modified: head/sys/boot/efi/libefi/efipart.c Modified:

svn commit: r323912 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/man/man1m

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:15:35 2017 New Revision: 323912 URL: https://svnweb.freebsd.org/changeset/base/323912 Log: 8592 ZFS channel programs - rollback illumos/illumos-gate@000cce6b6fad4a8b0eecef6e1251f6aca1719c55

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

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:27:27 2017 New Revision: 323918 URL: https://svnweb.freebsd.org/changeset/base/323918 Log: MFV r323917: 8648 Fix range locking in ZIL commit codepath illumos/illumos-gate@42b14111721da2ebd5159e7b45012a3eb0e3384c

svn commit: r323908 - head/sys/boot/efi/libefi

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:40:05 2017 New Revision: 323908 URL: https://svnweb.freebsd.org/changeset/base/323908 Log: libefi: efipart_hdinfo_add_filepath should check strtol result Use errno for error checking. Modified: head/sys/boot/efi/libefi/efipart.c Modified:

svn commit: r323909 - head/sys/boot/efi/libefi

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:44:36 2017 New Revision: 323909 URL: https://svnweb.freebsd.org/changeset/base/323909 Log: libefi: define EISA PNP constants Define EISA PNP constants and use them, also fix ID for 0x701 Modified: head/sys/boot/efi/libefi/efipart.c Modified:

svn commit: r323912 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/man/man1m

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:15:35 2017 New Revision: 323912 URL: https://svnweb.freebsd.org/changeset/base/323912 Log: 8592 ZFS channel programs - rollback illumos/illumos-gate@000cce6b6fad4a8b0eecef6e1251f6aca1719c55

svn commit: r323913 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/lib/libzfs_core/common vendor/illumos/dist/man/man1m

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:18:05 2017 New Revision: 323913 URL: https://svnweb.freebsd.org/changeset/base/323913 Log: 8600 ZFS channel programs - snapshot illumos/illumos-gate@2840dce1a029098fb784afd951d5f98089f850d8

svn commit: r323913 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/lib/libzfs_core/common vendor/illumos/dist/man/man1m

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:18:05 2017 New Revision: 323913 URL: https://svnweb.freebsd.org/changeset/base/323913 Log: 8600 ZFS channel programs - snapshot illumos/illumos-gate@2840dce1a029098fb784afd951d5f98089f850d8

svn commit: r323917 - vendor-sys/illumos/dist/uts/common/fs/zfs

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:23:24 2017 New Revision: 323917 URL: https://svnweb.freebsd.org/changeset/base/323917 Log: 8648 Fix range locking in ZIL commit codepath illumos/illumos-gate@42b14111721da2ebd5159e7b45012a3eb0e3384c

svn commit: r323906 - head/sys/boot/efi/libefi

2017-09-22 Thread Toomas Soome
Author: tsoome Date: Fri Sep 22 07:34:08 2017 New Revision: 323906 URL: https://svnweb.freebsd.org/changeset/base/323906 Log: libefi: efipart_strategy() should return ENXIO when there is no media We should return ENXIO to indicate the situation with device present, but no media.

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

2017-09-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 22 08:12:08 2017 New Revision: 323910 URL: https://svnweb.freebsd.org/changeset/base/323910 Log: Add support for 32-bit compatibility IOCTLs in the LinuxKPI. Bump the FreeBSD version to force recompilation of external kernel modules due to structure change.

svn commit: r323911 - vendor/illumos/dist/lib/libzfs/common

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:13:09 2017 New Revision: 323911 URL: https://svnweb.freebsd.org/changeset/base/323911 Log: 8502 illumos#7955 broke delegated datasets when libshare is not present illumos/illumos-gate@1c18e8fbd8db41a9fb39bd3ef7a18ee71ece20da

svn commit: r323916 - head/sys/dev/usb

2017-09-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri Sep 22 08:21:35 2017 New Revision: 323916 URL: https://svnweb.freebsd.org/changeset/base/323916 Log: Extend sysctl description for hw.usb.disable_enumeration . PR: 222505 Submitted by: Julian H. Stacey MFC after:1 week

svn commit: r323914 - vendor-sys/illumos/dist/uts/common/fs/zfs

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:18:49 2017 New Revision: 323914 URL: https://svnweb.freebsd.org/changeset/base/323914 Log: 8661 remove "zil-cw2" dtrace probe illumos/illumos-gate@bd9d3f904625846bdc61af8897a1072029c7aeb7

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

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:21:14 2017 New Revision: 323915 URL: https://svnweb.freebsd.org/changeset/base/323915 Log: MFV r323914: 8661 remove "zil-cw2" dtrace probe illumos/illumos-gate@bd9d3f904625846bdc61af8897a1072029c7aeb7

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

2017-09-22 Thread Stephen Hurd
Author: shurd Date: Sat Sep 23 01:39:16 2017 New Revision: 323944 URL: https://svnweb.freebsd.org/changeset/base/323944 Log: Make struct grouptask gt_name member a char array Previously, it was just a pointer which was copied, but some callers pass in a stack variable which will go out

svn commit: r323941 - in head/sys: dev/e1000 net

2017-09-22 Thread Stephen Hurd
Author: shurd Date: Sat Sep 23 01:33:20 2017 New Revision: 323941 URL: https://svnweb.freebsd.org/changeset/base/323941 Log: Some small packet performance improvements If the packet is smaller than MTU, disable the TSO flags. Move TCP header parsing inside the IS_TSO?() test. Add a new

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

2017-09-22 Thread Bjoern A. Zeeb
On 23 Sep 2017, at 1:35, Stephen Hurd wrote: > Author: shurd > Date: Sat Sep 23 01:35:14 2017 > New Revision: 323942 > URL: https://svnweb.freebsd.org/changeset/base/323942 > > Log: > Chain mbufs before passing to if_input() > > Build a list of mbufs to pass to if_input() after LRO. Results

svn commit: r323942 - head/sys/net

2017-09-22 Thread Stephen Hurd
Author: shurd Date: Sat Sep 23 01:35:14 2017 New Revision: 323942 URL: https://svnweb.freebsd.org/changeset/base/323942 Log: Chain mbufs before passing to if_input() Build a list of mbufs to pass to if_input() after LRO. Results in 12% small packet forwarding rate improvement.

svn commit: r323943 - head/sys/net

2017-09-22 Thread Stephen Hurd
Author: shurd Date: Sat Sep 23 01:37:01 2017 New Revision: 323943 URL: https://svnweb.freebsd.org/changeset/base/323943 Log: Make the rx budget a tunable This allows tuning the rx budget for special load profiles as well as more easily testing to determine sane defaults. Reviewed

Re: svn commit: r323393 - in head/sys: sys vm

2017-09-22 Thread Mateusz Guzik
On Thu, Sep 14, 2017 at 12:32 AM, Gleb Smirnoff wrote: > On Mon, Sep 11, 2017 at 09:30:10AM +0200, Mateusz Guzik wrote: > M> First, there is a bunch of counter(9) fields. I don't know the original > M> reasoning. I would expect these counters to be statically defined in a >

Re: svn commit: r323923 - in head: lib/libufs sbin/dumpfs sbin/fsck_ffs sbin/fsdb sbin/newfs sys/kern sys/libkern sys/sys sys/ufs/ffs

2017-09-22 Thread Ed Maste
)On 22 September 2017 at 14:45, Kirk McKusick wrote: > Author: mckusick > Date: Fri Sep 22 12:45:15 2017 > New Revision: 323923 > URL: https://svnweb.freebsd.org/changeset/base/323923 > > Log: > Continuing efforts to provide hardening of FFS, this change adds a i386 and

svn commit: r323923 - in head: lib/libufs sbin/dumpfs sbin/fsck_ffs sbin/fsdb sbin/newfs sys/kern sys/libkern sys/sys sys/ufs/ffs

2017-09-22 Thread Kirk McKusick
Author: mckusick Date: Fri Sep 22 12:45:15 2017 New Revision: 323923 URL: https://svnweb.freebsd.org/changeset/base/323923 Log: Continuing efforts to provide hardening of FFS, this change adds a check hash to cylinder groups. If a check hash fails when a cylinder group is read, no further

svn commit: r323922 - in head/sys/dev: mpr mps

2017-09-22 Thread Scott Long
Author: scottl Date: Fri Sep 22 12:07:03 2017 New Revision: 323922 URL: https://svnweb.freebsd.org/changeset/base/323922 Log: Clean up error messages related to device discovery Sponsored by: Netflix Modified: head/sys/dev/mpr/mpr_sas_lsi.c head/sys/dev/mps/mps_sas_lsi.c Modified:

svn commit: r323902 - head/sys/netinet

2017-09-22 Thread Michael Tuexen
Author: tuexen Date: Fri Sep 22 06:07:47 2017 New Revision: 323902 URL: https://svnweb.freebsd.org/changeset/base/323902 Log: Add missing socket lock. MFC after:1 week Modified: head/sys/netinet/sctp_pcb.c Modified: head/sys/netinet/sctp_pcb.c

svn commit: r323903 - stable/11/usr.bin/grep/regex

2017-09-22 Thread Ed Maste
Author: emaste Date: Fri Sep 22 06:16:21 2017 New Revision: 323903 URL: https://svnweb.freebsd.org/changeset/base/323903 Log: MFC r323611: fastmatch.h: remove duplicate #defines Modified: stable/11/usr.bin/grep/regex/fastmatch.h Directory Properties: stable/11/ (props changed) Modified:

svn commit: r323904 - head/sys/netinet

2017-09-22 Thread Michael Tuexen
Author: tuexen Date: Fri Sep 22 06:33:01 2017 New Revision: 323904 URL: https://svnweb.freebsd.org/changeset/base/323904 Log: Add missing locking. Found by Coverity while scanning the usrsctp library. MFC after:1 week Modified: head/sys/netinet/sctp_input.c Modified:

svn commit: r323925 - in stable: 10/release/tools 11/release/tools

2017-09-22 Thread Glen Barber
Author: gjb Date: Fri Sep 22 14:40:04 2017 New Revision: 323925 URL: https://svnweb.freebsd.org/changeset/base/323925 Log: MFC r323924: Revert r323812 from release/tools/arm.subr, which has broken the build on arm/armv6 images. Pointyhat:gjb (myself) MFC note: releng/10.4

svn commit: r323924 - head/release/tools

2017-09-22 Thread Glen Barber
Author: gjb Date: Fri Sep 22 14:34:27 2017 New Revision: 323924 URL: https://svnweb.freebsd.org/changeset/base/323924 Log: Revert r323812 from release/tools/arm.subr, which has broken the build on arm/armv6 images. Pointyhat:gjb (myself) MFC after:immediate MFC note:

Re: svn commit: r323923 - in head: lib/libufs sbin/dumpfs sbin/fsck_ffs sbin/fsdb sbin/newfs sys/kern sys/libkern sys/sys sys/ufs/ffs

2017-09-22 Thread Conrad Meyer
On Fri, Sep 22, 2017 at 5:45 AM, Kirk McKusick wrote: > Author: mckusick > Date: Fri Sep 22 12:45:15 2017 > New Revision: 323923 > URL: https://svnweb.freebsd.org/changeset/base/323923 > > Log: > Continuing efforts to provide hardening of FFS, this change adds a > check

svn commit: r323926 - releng/10.4/release/tools

2017-09-22 Thread Glen Barber
Author: gjb Date: Fri Sep 22 14:56:43 2017 New Revision: 323926 URL: https://svnweb.freebsd.org/changeset/base/323926 Log: MFS10 r323925: MFC r323924: Revert r323812 from release/tools/arm.subr, which has broken the build on arm/armv6 images. Pointyhat:gjb (myself) Approved

svn commit: r323925 - in stable: 10/release/tools 11/release/tools

2017-09-22 Thread Glen Barber
Author: gjb Date: Fri Sep 22 14:40:04 2017 New Revision: 323925 URL: https://svnweb.freebsd.org/changeset/base/323925 Log: MFC r323924: Revert r323812 from release/tools/arm.subr, which has broken the build on arm/armv6 images. Pointyhat:gjb (myself) MFC note: releng/10.4

svn commit: r323930 - stable/11/usr.sbin/i2c

2017-09-22 Thread Ian Lepore
Author: ian Date: Fri Sep 22 15:47:35 2017 New Revision: 323930 URL: https://svnweb.freebsd.org/changeset/base/323930 Log: MFC r323465: Make i2c -s (device scan) work on hardware that supports only full xfers. The existing scan code is based on sending an i2c START condition and if

svn commit: r323932 - head/sys/ufs/ffs

2017-09-22 Thread Konstantin Belousov
Author: kib Date: Fri Sep 22 16:42:41 2017 New Revision: 323932 URL: https://svnweb.freebsd.org/changeset/base/323932 Log: Fix 32bit build. Reported by: emaste Sponsored by: The FreeBSD Foundation Modified: head/sys/ufs/ffs/ffs_alloc.c Modified: head/sys/ufs/ffs/ffs_alloc.c

svn commit: r323928 - releng/10.4/sys/conf

2017-09-22 Thread Marius Strobl
Author: marius Date: Fri Sep 22 15:27:50 2017 New Revision: 323928 URL: https://svnweb.freebsd.org/changeset/base/323928 Log: Update releng/10.4 to RC2 again so the revision of sys/conf/newvers.sh will reflect the (hopefully) final 10.4-RC2 builds. Approved by: re (implicit) Modified:

svn commit: r323929 - in stable/11/sys/modules/i2c: ds1307 ds13rtc ds3231 isl12xx nxprtc s35390a

2017-09-22 Thread Ian Lepore
Author: ian Date: Fri Sep 22 15:40:56 2017 New Revision: 323929 URL: https://svnweb.freebsd.org/changeset/base/323929 Log: MFC r323642: Add a missing header file to SRCS to fix out-of-kernel builds. PR: 222354 Submitted by: eugen@ Pointy hat: ian@ Modified:

svn commit: r323927 - releng/10.4/sys/conf

2017-09-22 Thread Marius Strobl
Author: marius Date: Fri Sep 22 15:27:02 2017 New Revision: 323927 URL: https://svnweb.freebsd.org/changeset/base/323927 Log: Revert releng/10.4 to RC1 again. Approved by: re (implicit) Modified: releng/10.4/sys/conf/newvers.sh Modified: releng/10.4/sys/conf/newvers.sh

svn commit: r323931 - in stable/11/sys: arm/at91 arm/broadcom/bcm2835 arm/freescale/imx arm/ti dev/glxiic dev/iicbus modules/i2c modules/i2c/icee

2017-09-22 Thread Ian Lepore
Author: ian Date: Fri Sep 22 15:53:22 2017 New Revision: 323931 URL: https://svnweb.freebsd.org/changeset/base/323931 Log: MFC r323474, r323553, r323691 r323474: Add a default implementation that returns ENODEV for start, repeat_start, stop, read, and write methods. Some controllers

svn commit: r323933 - head/sys/arm/include

2017-09-22 Thread John Baldwin
Author: jhb Date: Fri Sep 22 17:57:38 2017 New Revision: 323933 URL: https://svnweb.freebsd.org/changeset/base/323933 Log: Correct HWCAP_VFP3* values to match Linux. Reviewed by: andrew, ian MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D12388

svn commit: r323934 - in head/sys/arm: arm include

2017-09-22 Thread John Baldwin
Author: jhb Date: Fri Sep 22 17:58:57 2017 New Revision: 323934 URL: https://svnweb.freebsd.org/changeset/base/323934 Log: Detect NEON and set HWCAP_NEON if present. Reviewed by: andrew, ian MFC after:2 weeks Differential Revision:https://reviews.freebsd.org/D12389