svn commit: r333241 - head/sys/amd64/amd64

2018-05-03 Thread Mateusz Guzik
Author: mjg Date: Fri May 4 04:05:07 2018 New Revision: 333241 URL: https://svnweb.freebsd.org/changeset/base/333241 Log: amd64: get rid of the pessimized bcopy in syscall arg copy The code was unnecessarily conditionally copying either 5 or 6 args. It can blindly copy 6, which also

svn commit: r333240 - in head/sys: powerpc/powerpc sys

2018-05-03 Thread Mateusz Guzik
Author: mjg Date: Fri May 4 04:00:48 2018 New Revision: 333240 URL: https://svnweb.freebsd.org/changeset/base/333240 Log: Allow __builtin_memmove instead of bcopy for small buffers of known size See r323329 for an explanation why this is a good idea. Modified:

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

2018-05-03 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 4 03:44:12 2018 New Revision: 333239 URL: https://svnweb.freebsd.org/changeset/base/333239 Log: msdosfs: long names of files are created incorrectly. This fixes a regression that happened in r120492 (2003) where libkiconv was introduced and we went from

svn commit: r333238 - head/share/man/man9

2018-05-03 Thread Kyle Evans
Author: kevans Date: Fri May 4 03:23:45 2018 New Revision: 333238 URL: https://svnweb.freebsd.org/changeset/base/333238 Log: style(9): add some additional useful FILES/xref information Submitted by: 0mp Reviewed by: imp Differential Revision:https://reviews.freebsd.org/D15196

svn commit: r333237 - head/share/man/man5

2018-05-03 Thread Kyle Evans
Author: kevans Date: Fri May 4 03:17:44 2018 New Revision: 333237 URL: https://svnweb.freebsd.org/changeset/base/333237 Log: Regen src.conf(5) after r333236 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r333236 - in head: share/mk tools/build/options usr.bin/grep usr.bin/grep/regex

2018-05-03 Thread Kyle Evans
Author: kevans Date: Fri May 4 03:13:25 2018 New Revision: 333236 URL: https://svnweb.freebsd.org/changeset/base/333236 Log: bsdgrep: annihilate our in-tree TRE, previously disabled by default It was an old TRE that had plenty of bugs and no performance gain over regex(3). I disabled it

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

2018-05-03 Thread Peter Grehan
Author: grehan Date: Fri May 4 01:36:49 2018 New Revision: 333235 URL: https://svnweb.freebsd.org/changeset/base/333235 Log: Allow arbitrary numbers of columns for VNC server screen resolution. The prior code only allowed multiples of 32 for the numbers of columns. Remove this

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

2018-05-03 Thread Ed Maste
Author: emaste Date: Fri May 4 00:56:41 2018 New Revision: 333234 URL: https://svnweb.freebsd.org/changeset/base/333234 Log: zfs_ioctl: avoid out-of-bound read admbugs: 796 Submitted by: Domagoj Stolfa Reported by: Ilja Van Sprundel

svn commit: r333233 - in head/sys: geom/part sys/disk

2018-05-03 Thread Ed Maste
Author: emaste Date: Fri May 4 00:34:27 2018 New Revision: 333233 URL: https://svnweb.freebsd.org/changeset/base/333233 Log: gpart: add fat32lba MBR partition type FAT32 partition with LBA addressing. Reviewed by: marcel MFC after:3 days Sponsored by: The FreeBSD Foundation

svn commit: r333232 - svnadmin/conf

2018-05-03 Thread Glen Barber
Author: gjb Date: Thu May 3 23:59:39 2018 New Revision: 333232 URL: https://svnweb.freebsd.org/changeset/base/333232 Log: Require explicit re@ approval for commits to stable/11, as the code freeze for 11.2-RELEASE is now in effect. Approved by: re (implicit) Sponsored by: The FreeBSD

RE: svn commit: r333227 - svnadmin/conf

2018-05-03 Thread Cy Schubert
Welcome back Matt! --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -Original

svn commit: r333230 - head/sys/dev/pci

2018-05-03 Thread Peter Grehan
Author: grehan Date: Thu May 3 22:51:44 2018 New Revision: 333230 URL: https://svnweb.freebsd.org/changeset/base/333230 Log: Allow PCI VGA devices to be detached. GPUs often have a VGA PCI class code and are probed/attached by the VGA driver. Allow them to be detached so they can be

svn commit: r333229 - head/sys/x86/include

2018-05-03 Thread Konstantin Belousov
Author: kib Date: Thu May 3 21:45:59 2018 New Revision: 333229 URL: https://svnweb.freebsd.org/changeset/base/333229 Log: Add helper macros to hide some boring repeatable ceremonies to define ifuncs on x86. Also keep helpers to define 'pseudo-ifuncs' which are emulated by the indirect

svn commit: r333228 - in head/sys: amd64/amd64 i386/i386 kern sys

2018-05-03 Thread Konstantin Belousov
Author: kib Date: Thu May 3 21:37:46 2018 New Revision: 333228 URL: https://svnweb.freebsd.org/changeset/base/333228 Log: Implement support for ifuncs in the kernel linker. Required MD bits are only provided for x86. Reviewed by: jhb (previous version, as part of the larger patch)

svn commit: r333227 - svnadmin/conf

2018-05-03 Thread Sean Bruno
Author: sbruno Date: Thu May 3 20:43:39 2018 New Revision: 333227 URL: https://svnweb.freebsd.org/changeset/base/333227 Log: Welcome back Matt Macy to the ranks of FreeBSD committers. Approved by: core Modified: svnadmin/conf/access svnadmin/conf/mentors Modified:

Re: svn commit: r333175 - in head/sys: kern net netinet netinet6 sys

2018-05-03 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Thu, 3 May 2018 12:53:05 -0700 "K. Macy" schrieb: > Can you give any context on what they're doing? In addition - even on > a production kernel it's possible to compile in DDB to at least get a > backtrace. Your report only

svn commit: r333226 - stable/11/sys/net

2018-05-03 Thread Brooks Davis
Author: brooks Date: Thu May 3 20:05:57 2018 New Revision: 333226 URL: https://svnweb.freebsd.org/changeset/base/333226 Log: MFC r332997: Translate 32-bit ifmedia requests into native ones. We use transformation rather than accessors as virtually ever driver implements SIOCGIFMEDIA

Re: svn commit: r333175 - in head/sys: kern net netinet netinet6 sys

2018-05-03 Thread K. Macy
Can you give any context on what they're doing? In addition - even on a production kernel it's possible to compile in DDB to at least get a backtrace. Your report only gives us enough information to know that there is _an_ issue. It's difficult to proceed on this alone. I do have a report from the

svn commit: r333225 - head/sys/dts/arm/overlays

2018-05-03 Thread Kyle Evans
Author: kevans Date: Thu May 3 19:49:40 2018 New Revision: 333225 URL: https://svnweb.freebsd.org/changeset/base/333225 Log: Garbage collect the a83t emac overlays The 4.16 DTS import brought in emac support for the a83t. Since these boards' DTS is pulled from /boot and I forgot to hook

svn commit: r333224 - in stable/11/bin/sh: . tests/builtins

2018-05-03 Thread Jilles Tjoelker
Author: jilles Date: Thu May 3 19:47:25 2018 New Revision: 333224 URL: https://svnweb.freebsd.org/changeset/base/333224 Log: MFC r333092: sh: Don't have [ match any [[:class:]] Added: stable/11/bin/sh/tests/builtins/case23.0 - copied unchanged from r333092,

svn commit: r333223 - head/sys/modules/dtb/allwinner

2018-05-03 Thread Kyle Evans
Author: kevans Date: Thu May 3 19:45:48 2018 New Revision: 333223 URL: https://svnweb.freebsd.org/changeset/base/333223 Log: dtb/allwinner: Add a83t-sid overlay Modified: head/sys/modules/dtb/allwinner/Makefile Modified: head/sys/modules/dtb/allwinner/Makefile

Re: svn commit: r333211 - head/sys/netinet/cc

2018-05-03 Thread Jonathan T. Looney
On Thu, May 3, 2018 at 11:01 AM, Sean Bruno wrote: > > @@ -242,8 +241,8 @@ tf_cwnd(int ticks_since_cong, int rtt_ticks, unsigned > { > > /* Equation 4 of I-D. */ > - return (((wmax * CUBIC_BETA) + (((THREE_X_PT2 * ticks_since_cong * > - smss) <<

Re: svn commit: r333175 - in head/sys: kern net netinet netinet6 sys

2018-05-03 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Wed, 2 May 2018 19:36:29 + (UTC) Stephen Hurd schrieb: > Author: shurd > Date: Wed May 2 19:36:29 2018 > New Revision: 333175 > URL: https://svnweb.freebsd.org/changeset/base/333175 > > Log: > Separate list

svn commit: r333222 - in head/sys: dev/acpica dev/acpica/Osd x86/acpica

2018-05-03 Thread Jung-uk Kim
Author: jkim Date: Thu May 3 19:00:50 2018 New Revision: 333222 URL: https://svnweb.freebsd.org/changeset/base/333222 Log: Redo r332918 with the ACPICA API and remove debug.acpi.suspend_deep_bounce. AcpiOsEnterSleep() was meant to implement this feature. Reviewed by: avg Modified:

svn commit: r333221 - head/share/man/man4

2018-05-03 Thread Kyle Evans
Author: kevans Date: Thu May 3 18:20:35 2018 New Revision: 333221 URL: https://svnweb.freebsd.org/changeset/base/333221 Log: rsu(4) does not require legal.realtek.license_ack=1 The rsu firmware license check has been disabled since r292756. Changes rsu(4) since the license ack is no

svn commit: r333220 - head/share/man/man9

2018-05-03 Thread Benno Rice
Author: benno Date: Thu May 3 17:52:40 2018 New Revision: 333220 URL: https://svnweb.freebsd.org/changeset/base/333220 Log: Add a stub manual page for iflib(9). Currently 'man -k iflib' would find you the right pages for iflib documentation, namely iflibdd(9) and iflibdi(9) but 'man

svn commit: r333219 - head/share/man/man9

2018-05-03 Thread Benno Rice
Author: benno Date: Thu May 3 17:49:26 2018 New Revision: 333219 URL: https://svnweb.freebsd.org/changeset/base/333219 Log: Document ifdi_tx_queues_alloc and ifdi_rx_queues_alloc. Prior to this change the manual page documented ifdi_queues_alloc which has been replaced by separate

svn commit: r333218 - head/sys/net

2018-05-03 Thread Stephen Hurd
Author: shurd Date: Thu May 3 17:02:31 2018 New Revision: 333218 URL: https://svnweb.freebsd.org/changeset/base/333218 Log: Allow iflib NIC drivers to sleep rather than busy wait Since the move to SMP NIC driver locking has had to go through serious contortions using mtx around long

svn commit: r333217 - stable/11/contrib/ofed/libibumad

2018-05-03 Thread Slava Shwartsman
Author: slavash Date: Thu May 3 16:19:47 2018 New Revision: 333217 URL: https://svnweb.freebsd.org/changeset/base/333217 Log: MFC r333115: libibumad/umad.c: In get_port, ignore sysctl get rate errors This can cause ibpanic in ibstat when width is not set properly as can occur when

svn commit: r333216 - stable/10/sys/dev/e1000

2018-05-03 Thread Marius Strobl
Author: marius Date: Thu May 3 15:47:49 2018 New Revision: 333216 URL: https://svnweb.freebsd.org/changeset/base/333216 Log: MFC: r330803 Use FALLTHROUGH. Modified: stable/10/sys/dev/e1000/e1000_82575.c stable/10/sys/dev/e1000/e1000_mbx.c stable/10/sys/dev/e1000/e1000_phy.c

svn commit: r333215 - stable/11/sys/dev/e1000

2018-05-03 Thread Marius Strobl
Author: marius Date: Thu May 3 15:47:42 2018 New Revision: 333215 URL: https://svnweb.freebsd.org/changeset/base/333215 Log: MFC: r330803 Use FALLTHROUGH. Modified: stable/11/sys/dev/e1000/e1000_82575.c stable/11/sys/dev/e1000/e1000_mbx.c stable/11/sys/dev/e1000/e1000_phy.c

svn commit: r333213 - stable/11/sys/dev/e1000

2018-05-03 Thread Marius Strobl
Author: marius Date: Thu May 3 15:40:56 2018 New Revision: 333213 URL: https://svnweb.freebsd.org/changeset/base/333213 Log: MFC: r327312, r327842, r327865 - Add initial support for Intel Ice Lake and Cannon Lake Ethernet MACs. - Add workaround for Intel Sky Lake and Kabby Lake Ethernet

svn commit: r333214 - stable/10/sys/dev/e1000

2018-05-03 Thread Marius Strobl
Author: marius Date: Thu May 3 15:41:04 2018 New Revision: 333214 URL: https://svnweb.freebsd.org/changeset/base/333214 Log: MFC: r327312, r327842, r327865 - Add initial support for Intel Ice Lake and Cannon Lake Ethernet MACs. - Add workaround for Intel Sky Lake and Kabby Lake Ethernet

svn commit: r333212 - head/sys/dev/amdsbwd

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 15:33:18 2018 New Revision: 333212 URL: https://svnweb.freebsd.org/changeset/base/333212 Log: amdsbwd: add suspend and resume methods Without the suspend method the watchdog may fire in S1 state. Without the resume method the watchdog is not re-enabled after

svn commit: r333211 - head/sys/netinet/cc

2018-05-03 Thread Sean Bruno
Author: sbruno Date: Thu May 3 15:01:27 2018 New Revision: 333211 URL: https://svnweb.freebsd.org/changeset/base/333211 Log: cc_cubic: - Update cubic parameters to draft-ietf-tcpm-cubic-04 Submitted by: Matt Macy Reviewed by: lstewart Differential Revision:

svn commit: r333210 - in head: share/man/man4 sys/dev/nxge

2018-05-03 Thread Sean Bruno
Author: sbruno Date: Thu May 3 14:48:42 2018 New Revision: 333210 URL: https://svnweb.freebsd.org/changeset/base/333210 Log: nxge(4) deprecation notice Submitted by: kbowling Reviewed by: brooks Sponsored by: Limelight Networks Differential Revision:

svn commit: r333209 - head/sys/dev/acpica

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 13:14:31 2018 New Revision: 333209 URL: https://svnweb.freebsd.org/changeset/base/333209 Log: hpet: use macros instead of magic values for the timer mode MFC after:1 week Modified: head/sys/dev/acpica/acpi_hpet.c Modified:

svn commit: r333208 - head/sys/amd64/amd64

2018-05-03 Thread Konstantin Belousov
Author: kib Date: Thu May 3 10:17:37 2018 New Revision: 333208 URL: https://svnweb.freebsd.org/changeset/base/333208 Log: Style. Sponsored by: The FreeBSD Foundation MFC after:3 days Differential revision:https://reviews.freebsd.org/D13838 Modified:

svn commit: r333206 - stable/11/sys/netinet6

2018-05-03 Thread Andrey V. Elsukov
Author: ae Date: Thu May 3 08:15:32 2018 New Revision: 333206 URL: https://svnweb.freebsd.org/changeset/base/333206 Log: MFC r332886: icmp6_reflect() sends ICMPv6 message with new IPv6 header. So, it is considered as originated by our host packet. And thus rcvif should be NULL,

svn commit: r333207 - stable/11/sys/netipsec

2018-05-03 Thread Andrey V. Elsukov
Author: ae Date: Thu May 3 08:17:12 2018 New Revision: 333207 URL: https://svnweb.freebsd.org/changeset/base/333207 Log: MFC r333016: Merge r1.22-1.23 from NetBSD: Don't assume M_PKTHDR is set only on the first mbuf of the chain. The check is replaced by (m1 != m), which is

svn commit: r333205 - in stable/10/sys: amd64/amd64 i386/i386 powerpc/aim powerpc/booke sys

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 07:57:08 2018 New Revision: 333205 URL: https://svnweb.freebsd.org/changeset/base/333205 Log: MFC r332752: set kdb_why to "trap" when calling kdb_trap from trap_fatal This will allow to hook a ddb script to "kdb.enter.trap" event. Previously there was no

svn commit: r333204 - in stable/11/sys: amd64/amd64 i386/i386 powerpc/powerpc sys

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 07:47:03 2018 New Revision: 333204 URL: https://svnweb.freebsd.org/changeset/base/333204 Log: MFC r332752: set kdb_why to "trap" when calling kdb_trap from trap_fatal This will allow to hook a ddb script to "kdb.enter.trap" event. Previously there was no

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

2018-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 3 07:38:45 2018 New Revision: 333203 URL: https://svnweb.freebsd.org/changeset/base/333203 Log: MFC r333100: Improve fix in r304629 by allowing configuration of the behaviour through a SYSCTL instead of a compile time define. Add quirk by default for all

svn commit: r333202 - in stable/10/sys/powerpc: aim booke

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 07:37:49 2018 New Revision: 333202 URL: https://svnweb.freebsd.org/changeset/base/333202 Log: follow-up to r333201 for powerpc, no kdb_active check in trap_fatal This is a direct commit as there are two copies of trap_fatal for powerpc in this branch.

svn commit: r333201 - in stable/10/sys: amd64/amd64 i386/i386

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 07:34:10 2018 New Revision: 333201 URL: https://svnweb.freebsd.org/changeset/base/333201 Log: MFC r332730: don't check for kdb reentry in trap_fatal(), it's impossible Sponsored by: Panzura Modified: stable/10/sys/amd64/amd64/trap.c

svn commit: r333200 - in stable/11/sys: amd64/amd64 i386/i386 powerpc/powerpc

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 07:31:09 2018 New Revision: 333200 URL: https://svnweb.freebsd.org/changeset/base/333200 Log: MFC r332730: don't check for kdb reentry in trap_fatal(), it's impossible Sponsored by: Panzura Modified: stable/11/sys/amd64/amd64/trap.c

svn commit: r333198 - stable/10/usr.sbin/mountd

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 07:28:49 2018 New Revision: 333198 URL: https://svnweb.freebsd.org/changeset/base/333198 Log: MFC r332559: mountd: fix a crash when getgrouplist reports too many groups Sponsored by: Panzura Modified: stable/10/usr.sbin/mountd/mountd.c Directory Properties:

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

2018-05-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 3 07:29:08 2018 New Revision: 333199 URL: https://svnweb.freebsd.org/changeset/base/333199 Log: MFC r333100: Improve fix in r304629 by allowing configuration of the behaviour through a SYSCTL instead of a compile time define. Add quirk by default for all

svn commit: r333197 - stable/11/usr.sbin/mountd

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 07:28:04 2018 New Revision: 333197 URL: https://svnweb.freebsd.org/changeset/base/333197 Log: MFC r332559: mountd: fix a crash when getgrouplist reports too many groups Sponsored by: Panzura Modified: stable/11/usr.sbin/mountd/mountd.c Directory Properties:

svn commit: r333196 - in stable/10: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/...

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 07:22:24 2018 New Revision: 333196 URL: https://svnweb.freebsd.org/changeset/base/333196 Log: MFC r332426: allow ZFS pool to have temporary name for duration of current import The change adds -t option to zpool create and -t option to zpool import in its

svn commit: r333195 - head/share/syscons/keymaps

2018-05-03 Thread Ruey-Cherng Yu
Author: rcyu (doc committer) Date: Thu May 3 06:52:47 2018 New Revision: 333195 URL: https://svnweb.freebsd.org/changeset/base/333195 Log: - Add us.iso Macbook/Macbook Pro keyboard support Approved by: delphij Differential Revision:https://reviews.freebsd.org/D14504 Added:

svn commit: r333194 - in stable/11: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common/fs/...

2018-05-03 Thread Andriy Gapon
Author: avg Date: Thu May 3 06:34:07 2018 New Revision: 333194 URL: https://svnweb.freebsd.org/changeset/base/333194 Log: MFC r332426: allow ZFS pool to have temporary name for duration of current import The change adds -t option to zpool create and -t option to zpool import in its