Re: svn commit: r330663 - head/sys/kern

2018-03-08 Thread Conrad Meyer
On Thu, Mar 8, 2018 at 8:42 PM, Bruce Evans wrote: > On Thu, 8 Mar 2018, Mark Johnston wrote: >> ... >> +++ head/sys/kern/kern_shutdown.c Thu Mar 8 17:04:36 2018 >> (r330663) >> @@ -1115,6 +1115,12 @@ dump_check_bounds(struct dumperinfo *di, off_t >> offset, >> >> if (length != 0 &&

svn commit: r330681 - head/sys/fs/fdescfs

2018-03-08 Thread Hajimu UMEMOTO
Author: ume Date: Fri Mar 9 04:45:24 2018 New Revision: 330681 URL: https://svnweb.freebsd.org/changeset/base/330681 Log: Fix Bad file descriptor error. MFC after:1 week Modified: head/sys/fs/fdescfs/fdesc_vnops.c Modified: head/sys/fs/fdescfs/fdesc_vnops.c

Re: svn commit: r330663 - head/sys/kern

2018-03-08 Thread Bruce Evans
On Thu, 8 Mar 2018, Mark Johnston wrote: Log: Return E2BIG if we run out of space writing a compressed kernel dump. E2BIG a very wrong errno. It means "Argment list too long". It is broken as designed, with "too" encrypted as "2" and no indication of what is too big. EFBIG is not so wrong.

Re: svn commit: r328011 - in head/sys/amd64/vmm: amd intel

2018-03-08 Thread Kubilay Kocak
On 9/03/2018 8:57 am, Ed Maste wrote: > On 15 January 2018 at 13:37, Tycho Nightingale wrote: >> Author: tychon >> Date: Mon Jan 15 18:37:03 2018 >> New Revision: 328011 >> URL: https://svnweb.freebsd.org/changeset/base/328011 >> >> Log: >> Provide some mitigation against CVE-2017-5715 by cleari

svn commit: r330676 - head/sys/kern

2018-03-08 Thread Brooks Davis
Author: brooks Date: Fri Mar 9 00:50:40 2018 New Revision: 330676 URL: https://svnweb.freebsd.org/changeset/base/330676 Log: Copyout a whole int to cpuset_domain's policy pointer. The previous code only copied 16-bits and corrupted the target int. Reviewed by: kib, markj Sponsored

svn commit: r330675 - head/sys/netinet

2018-03-08 Thread Sean Bruno
Author: sbruno Date: Fri Mar 9 00:08:43 2018 New Revision: 330675 URL: https://svnweb.freebsd.org/changeset/base/330675 Log: Update tcp_lro with tested bugfixes from Netflix and LLNW: rrs - Lets make the LRO code look for true dup-acks and window update acks fly on through

svn commit: r330674 - head/sys/arm/conf

2018-03-08 Thread Emmanuel Vadot
Author: manu Date: Thu Mar 8 22:54:50 2018 New Revision: 330674 URL: https://svnweb.freebsd.org/changeset/base/330674 Log: arm: Add GENERIC-MMCCAM kernel config MMCCAM is the new mmc stack currently developped by kibab@, add a kernel configuration file that include GENERIC so it's easier

svn commit: r330673 - in head/sys: arm/nvidia dev/sdhci

2018-03-08 Thread Emmanuel Vadot
Author: manu Date: Thu Mar 8 22:49:36 2018 New Revision: 330673 URL: https://svnweb.freebsd.org/changeset/base/330673 Log: Fix build when option MMCCAM is defined. Modified: head/sys/arm/nvidia/tegra_sdhci.c head/sys/dev/sdhci/sdhci_fdt.c Modified: head/sys/arm/nvidia/tegra_sdhci.c ==

svn commit: r330672 - head/cddl/usr.sbin/dwatch/libexec

2018-03-08 Thread Devin Teske
Author: dteske Date: Thu Mar 8 22:32:18 2018 New Revision: 330672 URL: https://svnweb.freebsd.org/changeset/base/330672 Log: Fix display of wrong pid from dtrace_sched(4) Fix a comment while here. Sponsored by: Smule, Inc. Modified: head/cddl/usr.sbin/dwatch/libexec/sched Modified

Re: svn commit: r302595 - in head/sys: kern net

2018-03-08 Thread Oliver Pinter
On 7/11/16, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Mon Jul 11 21:25:28 2016 > New Revision: 302595 > URL: https://svnweb.freebsd.org/changeset/base/302595 > > Log: > Remove assumptions in MI code that the BSP is CPU 0. > > MFC after: 2 weeks Please MFC this commit to 11-STABLE,

svn commit: r330671 - head/sys/dev/iwi

2018-03-08 Thread Konstantin Belousov
Author: kib Date: Thu Mar 8 22:04:54 2018 New Revision: 330671 URL: https://svnweb.freebsd.org/changeset/base/330671 Log: Remove unused variable. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iwi/if_iwi.c Modified: head/sys/dev/iwi/if_iwi.c ===

svn commit: r330670 - head/sys/dev/mlx5/mlx5_core

2018-03-08 Thread Konstantin Belousov
Author: kib Date: Thu Mar 8 22:03:43 2018 New Revision: 330670 URL: https://svnweb.freebsd.org/changeset/base/330670 Log: Make mlx5 compilable on ILP32 arches. Sponsored by: Mellanox Technologies MFC after:1 week Modified: head/sys/dev/mlx5/mlx5_core/mlx5_health.c Modified: head/

Re: svn commit: r328011 - in head/sys/amd64/vmm: amd intel

2018-03-08 Thread Ed Maste
On 15 January 2018 at 13:37, Tycho Nightingale wrote: > Author: tychon > Date: Mon Jan 15 18:37:03 2018 > New Revision: 328011 > URL: https://svnweb.freebsd.org/changeset/base/328011 > > Log: > Provide some mitigation against CVE-2017-5715 by clearing registers > upon returning from the guest

svn commit: r330668 - head/sys/dev/bktr

2018-03-08 Thread Ed Maste
Author: emaste Date: Thu Mar 8 19:24:10 2018 New Revision: 330668 URL: https://svnweb.freebsd.org/changeset/base/330668 Log: bktr: correct Japan IF frequency PR: 36451 Submitted by: Hijiri Umemoto MFC after:2 weeks Modified: head/sys/dev/bktr/bktr_tuner.c Modified: h

svn commit: r330667 - head/sys/dev/asmc

2018-03-08 Thread Ed Maste
Author: emaste Date: Thu Mar 8 18:52:47 2018 New Revision: 330667 URL: https://svnweb.freebsd.org/changeset/base/330667 Log: asmc: update temperature sensor name/description PR: 225911 Submitted by: Trev MFC after:1 week Modified: head/sys/dev/asmc/asmcvar.h Modified

svn commit: r330666 - head/sys/dev/iwi

2018-03-08 Thread Andriy Voskoboinyk
Author: avos Date: Thu Mar 8 18:42:23 2018 New Revision: 330666 URL: https://svnweb.freebsd.org/changeset/base/330666 Log: iwi(4): factor out rateset setup into iwi_set_rateset(). No functional change intended. Modified: head/sys/dev/iwi/if_iwi.c Modified: head/sys/dev/iwi/if_iwi.c ===

svn commit: r330665 - head/sbin/ipfw

2018-03-08 Thread Conrad Meyer
Author: cem Date: Thu Mar 8 17:23:18 2018 New Revision: 330665 URL: https://svnweb.freebsd.org/changeset/base/330665 Log: ipfw(8): Fix endianness for Legacy and Ipv4 table hostname values The lookup_host() helper subroutine emits a struct in_addr value in network byte order via caller pa

svn commit: r330663 - head/sys/kern

2018-03-08 Thread Mark Johnston
Author: markj Date: Thu Mar 8 17:04:36 2018 New Revision: 330663 URL: https://svnweb.freebsd.org/changeset/base/330663 Log: Return E2BIG if we run out of space writing a compressed kernel dump. ENOSPC causes the MD kernel dump code to retry the dump, but this is undesirable in the case w

svn commit: r330662 - head/sys/dev/mlx5/mlx5_ib

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 16:27:31 2018 New Revision: 330662 URL: https://svnweb.freebsd.org/changeset/base/330662 Log: Set correct SL in completion for RoCE in mlx5ib(4). There is a difference when parsing a completion entry between Ethernet and IB ports. When link layer is Ether

svn commit: r330660 - head/sys/dev/mlx5/mlx5_core

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 16:19:01 2018 New Revision: 330660 URL: https://svnweb.freebsd.org/changeset/base/330660 Log: Add call to setup firmware data dump structure during device load in mlx5core. Do not consider the inability to create a firmware dump fatal, but inform about

svn commit: r330659 - head/sys/dev/mlx5/mlx5_en

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 15:58:30 2018 New Revision: 330659 URL: https://svnweb.freebsd.org/changeset/base/330659 Log: Avoid more LFENCE/SFENCe on x86 in mlx5en(4), by using the FreeBSD native fences. Submitted by: kib@ MFC after:1 week Sponsored by: Mellanox Technologies

svn commit: r330658 - head/sys/dev/mlx5/mlx5_en

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 15:53:04 2018 New Revision: 330658 URL: https://svnweb.freebsd.org/changeset/base/330658 Log: Fix mlx5en(4) driver to properly call m_defrag(). When the mlx5en(4) driver was converted to using BUSDMA(9) the call to m_defrag() was moved after the part of t

svn commit: r330657 - head/sys/dev/mlx5/mlx5_en

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 15:47:17 2018 New Revision: 330657 URL: https://svnweb.freebsd.org/changeset/base/330657 Log: Use vport rather than physical-port MTU in mlx5en(4). Set and report vport MTU rather than physical MTU, The driver will set both vport and physical port mtu a

svn commit: r330656 - head/sys/dev/mlx5/mlx5_en

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 15:43:41 2018 New Revision: 330656 URL: https://svnweb.freebsd.org/changeset/base/330656 Log: Use the device unit number for naming the ifnet interface in mlx5en(4). Currently the ifnet interface is named mceX, where X is a monotonically incremented value

svn commit: r330655 - head/sys/dev/mlx5

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 15:37:09 2018 New Revision: 330655 URL: https://svnweb.freebsd.org/changeset/base/330655 Log: Remove duplicate prototypes. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/cmd.h Modified: head/sys/dev/mlx5/cmd.h ===

svn commit: r330654 - head/usr.sbin/mlx5tool

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 15:28:13 2018 New Revision: 330654 URL: https://svnweb.freebsd.org/changeset/base/330654 Log: Check that the address is specified in mlx5tool(8). Submitted by: kib@ MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/usr.sbin/mlx5

svn commit: r330653 - in head: etc/mtree include share/man/man4 share/man/man5 share/mk sys/conf sys/dev/mlx5 sys/dev/mlx5/mlx5_core sys/modules/mlx5 targets/pseudo/userland tools/build/options usr...

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 15:21:56 2018 New Revision: 330653 URL: https://svnweb.freebsd.org/changeset/base/330653 Log: Add kernel and userspace code to dump the firmware state of supported ConnectX-4/5 devices in mlx5core. The dump is obtained by reading a predefined register map

svn commit: r330652 - head/share/misc

2018-03-08 Thread Slava Shwartsman
Author: slavash Date: Thu Mar 8 14:33:59 2018 New Revision: 330652 URL: https://svnweb.freebsd.org/changeset/base/330652 Log: Add myself and Hans Petter Selasky Approved by:hselasky (mentor), kib (mentor) Sponsored by: Mellanox Technologies Modified: head/share/misc/committers-s

Re: svn commit: r315480 - in head/sys: dev/syscons dev/vt kern teken

2018-03-08 Thread Bruce Evans
On Wed, 7 Mar 2018, Eitan Adler wrote: On 18 March 2017 at 04:13, Bruce Evans wrote: Author: bde Date: Sat Mar 18 11:13:54 2017 New Revision: 315480 URL: https://svnweb.freebsd.org/changeset/base/315480 Log: Fix bright colors for syscons, and make them work for the first time for vt. Res

svn commit: r330651 - in head/sys: conf dev/mlx5 dev/mlx5/mlx5_core modules/mlx5

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 11:59:47 2018 New Revision: 330651 URL: https://svnweb.freebsd.org/changeset/base/330651 Log: Add vendor specific capability interface support in mlx5core. Add the ability to access the vendor specific space gateway in order to support reading and writing

svn commit: r330650 - head/sys/dev/mlx5/mlx5_core

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 11:58:27 2018 New Revision: 330650 URL: https://svnweb.freebsd.org/changeset/base/330650 Log: Use device_printf() instead of printf() when printing warnings and errors to dmesg(8) in mlx5core. Submitted by: Matthew Finlay MFC after:1 week Sponsor

svn commit: r330649 - in head/sys/dev/mlx5: . mlx5_core mlx5_en

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 11:40:39 2018 New Revision: 330649 URL: https://svnweb.freebsd.org/changeset/base/330649 Log: Add support for per priority flow control, PFC, to mlx5en(4). Add support for PFC and implement reading the per priority statistics using the sysctl(8) interface

svn commit: r330648 - in head/sys: conf dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_ib modules/mlx5ib

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 11:23:14 2018 New Revision: 330648 URL: https://svnweb.freebsd.org/changeset/base/330648 Log: Add support for explicit congestion notification, ECN, to mlx5ib(4). ECN configuration and statistics is available through a set of sysctl(8) nodes under sys.cla

svn commit: r330647 - in head/sys/dev/mlx5: . mlx5_core mlx5_en mlx5_ib

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 10:43:42 2018 New Revision: 330647 URL: https://svnweb.freebsd.org/changeset/base/330647 Log: Use the autogenerated interface file for all commands in mlx5core. This patch accumulates the following Linux commits: - 90b3e38d048f09b22fb50bcd460cea65fd00b2d7

svn commit: r330646 - in head/sys/dev/mlx5: . mlx5_core

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 09:58:41 2018 New Revision: 330646 URL: https://svnweb.freebsd.org/changeset/base/330646 Log: Fix race between PCI error handlers and health work in mlx5core. linux commit 05ac2c0b7438ea08c5d54b48797acf9b22cb2f6f Submitted by: Matthew Finlay MFC aft

svn commit: r330645 - head/sys/dev/mlx5/mlx5_core

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 09:51:33 2018 New Revision: 330645 URL: https://svnweb.freebsd.org/changeset/base/330645 Log: Avoid calling sleeping function from the health poll thread in mlx5core. linux commit c1d4d2e92ad670168a17a57dfa182a5a5baa72d4 Submitted by: Matthew Finlay

svn commit: r330644 - in head/sys/dev/mlx5: . mlx5_core

2018-03-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Mar 8 09:47:09 2018 New Revision: 330644 URL: https://svnweb.freebsd.org/changeset/base/330644 Log: Updates for PCI and health monitor recovery in mlx5core. This patch accumulates the following Linux commits: mlx5_health.c - 78ccb25861d76a8fc5c678d762180e6918

Re: svn commit: r315480 - in head/sys: dev/syscons dev/vt kern teken

2018-03-08 Thread Eitan Adler
On 18 March 2017 at 04:13, Bruce Evans wrote: > Author: bde > Date: Sat Mar 18 11:13:54 2017 > New Revision: 315480 > URL: https://svnweb.freebsd.org/changeset/base/315480 > > Log: > Fix bright colors for syscons, and make them work for the first time > for vt. Restore syscons' rendering of b