svn commit: r311964 - head/sys/geom/raid

2017-01-11 Thread Conrad E. Meyer
Author: cem Date: Thu Jan 12 06:58:31 2017 New Revision: 311964 URL: https://svnweb.freebsd.org/changeset/base/311964 Log: g_raid: Prevent tasters from attempting excessively large reads Some g_raid tasters attempt metadata reads in multiples of the provider sectorsize. Reads larger

svn commit: r311963 - head/sys/kern

2017-01-11 Thread Ravi Pokala
Author: rpokala Date: Thu Jan 12 06:38:03 2017 New Revision: 311963 URL: https://svnweb.freebsd.org/changeset/base/311963 Log: Remove writability requirement for single-mbuf, contiguous-range m_pulldown() m_pulldown() only needs to determine if a mbuf is writable if it is going to copy

svn commit: r311962 - head/sys/dev/sfxge

2017-01-11 Thread Andrew Rybchenko
Author: arybchik Date: Thu Jan 12 06:30:44 2017 New Revision: 311962 URL: https://svnweb.freebsd.org/changeset/base/311962 Log: sfxge(4): stats refresh in SW should depend on HW update period The period should be taken into account by the function which refreshes driver stats.

svn commit: r311961 - head/sys/dev/sfxge/common

2017-01-11 Thread Andrew Rybchenko
Author: arybchik Date: Thu Jan 12 06:29:14 2017 New Revision: 311961 URL: https://svnweb.freebsd.org/changeset/base/311961 Log: sfxge(4): do not ignore requested MAC stats update period Firmware version which takes PERIOD_MS parameter into account is required. Reviewed by:philip

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2017-01-11 Thread Conrad Meyer
More context and fix here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214654 Best, Conrad On Wed, Jan 11, 2017 at 6:35 PM, Conrad Meyer wrote: > This appears to have broken Chromium[0]: > > FAILED: obj/services/ui/ws/lib/window_manager_display_root.o > clang++39 -MMD

Re: svn commit: r311950 - head/sys/contrib/ipfilter/netinet

2017-01-11 Thread John Baldwin
On Thursday, January 12, 2017 12:01:02 AM Bjoern A. Zeeb wrote: > Author: bz > Date: Thu Jan 12 00:01:02 2017 > New Revision: 311950 > URL: https://svnweb.freebsd.org/changeset/base/311950 > > Log: > Get rid of a compiler warning which I saw too often. > Include netinet/in.h before

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

2017-01-11 Thread Scott Long
Author: scottl Date: Thu Jan 12 01:13:05 2017 New Revision: 311958 URL: https://svnweb.freebsd.org/changeset/base/311958 Log: Print out the number of queues/MSIx vectors. Sponsored by: Netflix Modified: head/sys/dev/mpr/mpr_table.c head/sys/dev/mps/mps_table.c Modified:

svn commit: r311954 - in head: lib/libc/gen share/man/man4 sys/kern sys/sys

2017-01-11 Thread Ian Lepore
Author: ian Date: Thu Jan 12 00:48:06 2017 New Revision: 311954 URL: https://svnweb.freebsd.org/changeset/base/311954 Log: Rework tty_drain() to poll the hardware for completion, and restore drain timeout handling to historical freebsd behavior. The primary reason for these changes is

svn commit: r311953 - head/usr.sbin/pciconf

2017-01-11 Thread Conrad E. Meyer
Author: cem Date: Thu Jan 12 00:34:37 2017 New Revision: 311953 URL: https://svnweb.freebsd.org/changeset/base/311953 Log: pciconf(8): Reallow trailing colon in selectors Reallow device selectors to have a trailing colon, as documented in the manual page. This was broken along with some

svn commit: r311952 - head/sys/ddb

2017-01-11 Thread Mark Johnston
Author: markj Date: Thu Jan 12 00:22:36 2017 New Revision: 311952 URL: https://svnweb.freebsd.org/changeset/base/311952 Log: Enable the use of ^C and ^S/^Q in DDB. This lets one interrupt DDB's output, which is useful if paging is disabled and the output device is slow. Submitted

svn commit: r311951 - head/sys/dev/sdhci

2017-01-11 Thread Ian Lepore
Author: ian Date: Thu Jan 12 00:09:31 2017 New Revision: 311951 URL: https://svnweb.freebsd.org/changeset/base/311951 Log: Include sys/systm.h for use of bootverbose. Fixes powerpc MPC85XXSPE build. Modified: head/sys/dev/sdhci/sdhci_fdt_gpio.c Modified: head/sys/dev/sdhci/sdhci_fdt_gpio.c

svn commit: r311950 - head/sys/contrib/ipfilter/netinet

2017-01-11 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jan 12 00:01:02 2017 New Revision: 311950 URL: https://svnweb.freebsd.org/changeset/base/311950 Log: Get rid of a compiler warning which I saw too often. Include netinet/in.h before ip_compat.t which will then check if IPPROTO_IPIP is defined or not. Doing it the other

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

2017-01-11 Thread Navdeep Parhar
Author: np Date: Wed Jan 11 23:48:17 2017 New Revision: 311949 URL: https://svnweb.freebsd.org/changeset/base/311949 Log: cxgbe/tom: Add VIMAGE support to the TOE driver. Active Open: - Save the socket's vnet at the time of the active open (t4_connect) and switch to it when

svn commit: r311948 - head/sys/dev/rtwn/rtl8192c

2017-01-11 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 11 23:32:40 2017 New Revision: 311948 URL: https://svnweb.freebsd.org/changeset/base/311948 Log: rtwn: fix R92C_TXDW4_RTSRATE_M definition (0x3f -> 0x1f) Submitted by: kevlo Modified: head/sys/dev/rtwn/rtl8192c/r92c_tx_desc.h Modified:

svn commit: r311947 - head/usr.bin/rpcgen

2017-01-11 Thread Pedro F. Giffuni
Author: pfg Date: Wed Jan 11 23:05:29 2017 New Revision: 311947 URL: https://svnweb.freebsd.org/changeset/base/311947 Log: rpcgen(1): Avoid unused variable warning on generated code. Avoid "unused variable 'i'" warnings in generated .c files by only emitting the "int i;" for non-opaque

svn commit: r311946 - head/contrib/elftoolchain/libelftc

2017-01-11 Thread Ed Maste
Author: emaste Date: Wed Jan 11 22:54:04 2017 New Revision: 311946 URL: https://svnweb.freebsd.org/changeset/base/311946 Log: readelf: add S390 relocation types From https://refspecs.linuxfoundation.org/ELF/zSeries/lzsabi0_zSeries.html Reviewed by: bz MFC after:1 month

svn commit: r311945 - head/usr.bin/fortune/fortune

2017-01-11 Thread Colin Percival
Author: cperciva Date: Wed Jan 11 22:50:57 2017 New Revision: 311945 URL: https://svnweb.freebsd.org/changeset/base/311945 Log: Remove obsolete path from fortune(6). This was inadvertantly left over when fortune and other games moved from /usr/games to /usr/bin; I am removing rather than

Re: svn commit: r311929 - head/sys/boot/common

2017-01-11 Thread Dimitry Andric
On 11 Jan 2017, at 23:32, Ngie Cooper wrote: > > On Wed, Jan 11, 2017 at 2:10 PM, Dimitry Andric wrote: > > ... > >> The line: >> >>extern int errno; >> >> expanded to: >> >>extern int (* __error()); >> >> which is a declaration of an

Re: svn commit: r311929 - head/sys/boot/common

2017-01-11 Thread Ngie Cooper
On Wed, Jan 11, 2017 at 2:32 PM, Ngie Cooper wrote: > On Wed, Jan 11, 2017 at 2:10 PM, Dimitry Andric wrote: > > ... > >> The line: >> >> extern int errno; >> >> expanded to: >> >> extern int (* __error()); >> >> which is a declaration of an

Re: svn commit: r311929 - head/sys/boot/common

2017-01-11 Thread Ngie Cooper
On Wed, Jan 11, 2017 at 2:10 PM, Dimitry Andric wrote: ... > The line: > > extern int errno; > > expanded to: > > extern int (* __error()); > > which is a declaration of an external function pointer called __error > (albeit with an empty parameter list). Since nobody

Re: svn commit: r311929 - head/sys/boot/common

2017-01-11 Thread Dimitry Andric
On 11 Jan 2017, at 22:42, Ian Lepore wrote: > > On Wed, 2017-01-11 at 13:35 -0800, Ngie Cooper wrote: >> On Wed, Jan 11, 2017 at 10:47 AM, Dimitry Andric >> wrote: >>> >>> Author: dim >>> Date: Wed Jan 11 18:47:00 2017 >>> New Revision: 311929 >>> URL:

Re: svn commit: r311929 - head/sys/boot/common

2017-01-11 Thread Ian Lepore
On Wed, 2017-01-11 at 13:35 -0800, Ngie Cooper wrote: > On Wed, Jan 11, 2017 at 10:47 AM, Dimitry Andric > wrote: > > > > Author: dim > > Date: Wed Jan 11 18:47:00 2017 > > New Revision: 311929 > > URL: https://svnweb.freebsd.org/changeset/base/311929 > > > > Log: > >   Don't

Re: svn commit: r311929 - head/sys/boot/common

2017-01-11 Thread Ngie Cooper
On Wed, Jan 11, 2017 at 10:47 AM, Dimitry Andric wrote: > Author: dim > Date: Wed Jan 11 18:47:00 2017 > New Revision: 311929 > URL: https://svnweb.freebsd.org/changeset/base/311929 > > Log: > Don't include in reloc_elf.c, as it includes just > after it, which has a

svn commit: r311942 - head/contrib/elftoolchain/libelftc

2017-01-11 Thread Ed Maste
Author: emaste Date: Wed Jan 11 21:28:22 2017 New Revision: 311942 URL: https://svnweb.freebsd.org/changeset/base/311942 Log: readelf: add more PPC64 relocation types found in LLVM MFC after:2 weeks MFC with: r311941 Sponsored by: The FreeBSD Foundation Modified:

svn commit: r311941 - head/contrib/elftoolchain/libelftc

2017-01-11 Thread Ed Maste
Author: emaste Date: Wed Jan 11 21:18:14 2017 New Revision: 311941 URL: https://svnweb.freebsd.org/changeset/base/311941 Log: readelf: add PPC64 relocation types Reported by: Mark Millard MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r311935 - head/sys/dev/ntb/if_ntb

2017-01-11 Thread Alexander Motin
Author: mav Date: Wed Jan 11 20:23:45 2017 New Revision: 311935 URL: https://svnweb.freebsd.org/changeset/base/311935 Log: Pretend we support some IOCTLs to not scary upper layers. MFC after:2 weeks Modified: head/sys/dev/ntb/if_ntb/if_ntb.c Modified:

svn commit: r311933 - head/sys/boot/efi/boot1

2017-01-11 Thread Dimitry Andric
Author: dim Date: Wed Jan 11 20:00:24 2017 New Revision: 311933 URL: https://svnweb.freebsd.org/changeset/base/311933 Log: Use proper prototypes in struct boot_module_t With clang 4.0.0, we are getting the following warnings about struct boot_module_t in efi's boot_module.h: In file

svn commit: r311932 - head/sys/boot/efi/include

2017-01-11 Thread Dimitry Andric
Author: dim Date: Wed Jan 11 19:59:27 2017 New Revision: 311932 URL: https://svnweb.freebsd.org/changeset/base/311932 Log: Make EFI_RESERVED_SERVICE a proper prototype With clang 4.0.0, the EFI API header causes the following warning: In file included from

Re: svn commit: r311931 - head/sys/dev/e1000

2017-01-11 Thread Andrey V. Elsukov
On 11.01.2017 22:29, Sean Bruno wrote: Author: sbruno Date: Wed Jan 11 19:29:33 2017 New Revision: 311931 URL: https://svnweb.freebsd.org/changeset/base/311931 Log: Restore v6 offload caps for igb(4) class devices. Modified: head/sys/dev/e1000/if_em.h

svn commit: r311930 - head/share/misc

2017-01-11 Thread Jean-Sébastien Pédron
Author: dumbbell Date: Wed Jan 11 19:29:28 2017 New Revision: 311930 URL: https://svnweb.freebsd.org/changeset/base/311930 Log: committers-ports.dot: Add myself Approved by: antoine (mentor) Differential Revision:https://reviews.freebsd.org/D9143 Modified:

svn commit: r311931 - head/sys/dev/e1000

2017-01-11 Thread Sean Bruno
Author: sbruno Date: Wed Jan 11 19:29:33 2017 New Revision: 311931 URL: https://svnweb.freebsd.org/changeset/base/311931 Log: Restore v6 offload caps for igb(4) class devices. Reported by: tuxen Modified: head/sys/dev/e1000/em_txrx.c head/sys/dev/e1000/if_em.h

svn commit: r311929 - head/sys/boot/common

2017-01-11 Thread Dimitry Andric
Author: dim Date: Wed Jan 11 18:47:00 2017 New Revision: 311929 URL: https://svnweb.freebsd.org/changeset/base/311929 Log: Don't include in reloc_elf.c, as it includes just after it, which has a conflicting definition of errno. This leads to the following warning with clang 4.0.0:

Re: svn commit: r311911 - in head/sys: conf dev/sdhci modules modules/sdhci_acpi

2017-01-11 Thread Oleksandr Tymoshenko
Ngie Cooper (yaneurabeya) (yaneurab...@gmail.com) wrote: > > > On Jan 10, 2017, at 5:53 PM, Oleksandr Tymoshenko wrote: > > > > Author: gonzo > > Date: Wed Jan 11 01:53:54 2017 > > New Revision: 311911 > > URL: https://svnweb.freebsd.org/changeset/base/311911 > > > > Log: >

Re: svn commit: r311895 - in head: etc/mtree usr.bin/tail usr.bin/tail/tests

2017-01-11 Thread Alan Somers
On Wed, Jan 11, 2017 at 5:53 AM, Sergey Kandaurov wrote: > On 10 January 2017 at 23:43, Alan Somers wrote: >> >> Author: asomers >> Date: Tue Jan 10 20:43:32 2017 >> New Revision: 311895 >> URL: https://svnweb.freebsd.org/changeset/base/311895 >> >> Log:

svn commit: r311928 - head/usr.bin/tail

2017-01-11 Thread Alan Somers
Author: asomers Date: Wed Jan 11 16:09:25 2017 New Revision: 311928 URL: https://svnweb.freebsd.org/changeset/base/311928 Log: Fix build of usr.bin/tail with GCC Submitted by: pluknet Reported by: pluknet MFC after:27 days X-MFC-with: 311895 Sponsored by: Spectra Logic Corp

Re: svn commit: r311895 - in head: etc/mtree usr.bin/tail usr.bin/tail/tests

2017-01-11 Thread Sergey Kandaurov
On 10 January 2017 at 23:43, Alan Somers wrote: > Author: asomers > Date: Tue Jan 10 20:43:32 2017 > New Revision: 311895 > URL: https://svnweb.freebsd.org/changeset/base/311895 > > Log: > Fix memory leaks during "tail -r" of an irregular file > [..] -typedef struct bf {

svn commit: r311926 - head/contrib/netbsd-tests/lib/libc/regex

2017-01-11 Thread Ngie Cooper
Author: ngie Date: Wed Jan 11 10:20:35 2017 New Revision: 311926 URL: https://svnweb.freebsd.org/changeset/base/311926 Log: Consolidate __NetBSD__ #ifdef MFC after:3 days Modified: head/contrib/netbsd-tests/lib/libc/regex/debug.c Modified:

Re: svn commit: r286649 - in head: contrib/netbsd-tests/lib/libc/locale lib/libc/tests/locale

2017-01-11 Thread Ngie Cooper (yaneurabeya)
> On Aug 11, 2015, at 6:45 PM, Craig Rodrigues wrote: > > On Tue, Aug 11, 2015 at 2:59 PM, Jilles Tjoelker > wrote: > Author: jilles > Date: Tue Aug 11 21:59:36 2015 > New Revision: 286649 > URL:

svn commit: r311925 - in head/contrib/netbsd-tests/lib/libc: . c063 gen gen/posix_spawn string sys

2017-01-11 Thread Ngie Cooper
Author: ngie Date: Wed Jan 11 09:51:34 2017 New Revision: 311925 URL: https://svnweb.freebsd.org/changeset/base/311925 Log: Import testcase updates with code contributed back to NetBSD This also (inadvertently) contains an update to contrib/netbsd-tests/lib/libc/sys/t_wait.c (new

svn commit: r311924 - head/contrib/netbsd-tests/lib/libc/gen

2017-01-11 Thread Ngie Cooper
Author: ngie Date: Wed Jan 11 09:34:42 2017 New Revision: 311924 URL: https://svnweb.freebsd.org/changeset/base/311924 Log: Fix whitespace in comment MFC after:3 days Modified: head/contrib/netbsd-tests/lib/libc/gen/t_setdomainname.c

Re: svn commit: r311911 - in head/sys: conf dev/sdhci modules modules/sdhci_acpi

2017-01-11 Thread Ngie Cooper (yaneurabeya)
> On Jan 10, 2017, at 5:53 PM, Oleksandr Tymoshenko wrote: > > Author: gonzo > Date: Wed Jan 11 01:53:54 2017 > New Revision: 311911 > URL: https://svnweb.freebsd.org/changeset/base/311911 > > Log: > [sdhci] Add ACPI platform support for SDHCI driver > > - Create ACPI

svn commit: r311923 - head/sys/modules/sdhci_acpi

2017-01-11 Thread Ngie Cooper
Author: ngie Date: Wed Jan 11 08:43:58 2017 New Revision: 311923 URL: https://svnweb.freebsd.org/changeset/base/311923 Log: Add acpi_if.h and opt_acpi.h to Makefile to unbreak "make depend" with sys/modules/sdhci_acpi MFC after:6 days X-MFC with: r311911 Reported by: Jenkins