svn commit: r324487 - head/sys/dev/hyperv/vmbus

2017-10-10 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 10 08:16:55 2017 New Revision: 324487 URL: https://svnweb.freebsd.org/changeset/base/324487 Log: hyperv/vmbus: Add tunable to pin/unpin event tasks. Event tasks are pinned to their respective CPU by default, in the same fashion as they were. Unpin the

svn commit: r324489 - head/sys/dev/hyperv/netvsc

2017-10-10 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 10 08:32:03 2017 New Revision: 324489 URL: https://svnweb.freebsd.org/changeset/base/324489 Log: hyperv/hn: Workaround erroneous hash type observed on WS2016. Background: - UDP 4-tuple hash type is unconditionally enabled in Hyper-V on WS2016, which is

svn commit: r324488 - in head/sys/dev/hyperv: include vmbus

2017-10-10 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 10 08:23:19 2017 New Revision: 324488 URL: https://svnweb.freebsd.org/changeset/base/324488 Log: hyperv/vmbus: Expose Hyper-V major version. MFC after:3 days Sponsored by: Microsoft Modified: head/sys/dev/hyperv/include/hyperv.h

svn commit: r324490 - head/sys/contrib/rdma/krping

2017-10-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 10 12:10:19 2017 New Revision: 324490 URL: https://svnweb.freebsd.org/changeset/base/324490 Log: Add support for parsing and using IPv6 addresses in krping. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r324492 - head/sys/ofed/include/rdma

2017-10-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 10 12:36:41 2017 New Revision: 324492 URL: https://svnweb.freebsd.org/changeset/base/324492 Log: Make sure the IPv6 scope ID gets zeroed inside the GID. Else searching for a valid GID entry based on IPv6 addresses can fail. Sponsored by: Mellanox

svn commit: r324494 - head/sys/arm64/include

2017-10-10 Thread Andrew Turner
Author: andrew Date: Tue Oct 10 13:02:58 2017 New Revision: 324494 URL: https://svnweb.freebsd.org/changeset/base/324494 Log: Add machine/fpu.h on arm64 for compatibility with amd64. Sponsored by: DARPA, AFRL Added: head/sys/arm64/include/fpu.h (contents, props changed) Added:

svn commit: r324495 - in head/sys: arm64/arm64 arm64/include conf modules

2017-10-10 Thread Andrew Turner
Author: andrew Date: Tue Oct 10 13:05:26 2017 New Revision: 324495 URL: https://svnweb.freebsd.org/changeset/base/324495 Log: Support the EFI Runtime Services on arm64. As with amd64 we use the 1:1 mapping. This uses the new common code shared with amd64. The RTC should only be accessed

svn commit: r324496 - head

2017-10-10 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 10 13:06:11 2017 New Revision: 324496 URL: https://svnweb.freebsd.org/changeset/base/324496 Log: Do not print error when running make check-old on system without catpages directories Reported by: dim Modified: head/Makefile.inc1 Modified:

svn commit: r324493 - in head/sys/arm64: arm64 include

2017-10-10 Thread Andrew Turner
Author: andrew Date: Tue Oct 10 12:54:36 2017 New Revision: 324493 URL: https://svnweb.freebsd.org/changeset/base/324493 Log: Move the pmap_l0_index, etc. macros to pte.h. These will be used by the EFI Runtime Services code. Sponsored by: DARPA, AFRL Modified:

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

2017-10-10 Thread Jason Eggleston
Sendfile does return EPIPE today. All that has to happen is receiving a RST after sendfile starts looping. There is a race condition, which still exists after this suggested patch, where ECONNRESET could be returned. But mostly it is EPIPE. On Oct 10, 2017 12:17 AM, "Konstantin Belousov"

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

2017-10-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Oct 10 12:24:52 2017 New Revision: 324491 URL: https://svnweb.freebsd.org/changeset/base/324491 Log: Use common rdma_ip2gid() function instead of custom mlx5_ip2gid() one. Sponsored by: Mellanox Technologies MFC after:1 week Modified:

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
On 10/10/2017 19:42, Ian Lepore wrote: > On Tue, 2017-10-10 at 19:20 +0300, Andriy Gapon wrote: >> On 10/10/2017 19:12, Ian Lepore wrote: >>> >>> i2c -s is not a thing that's done routinely in a production system or >>> normal system operations... it's something a person does manually when >>>

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Ian Lepore
On Tue, 2017-10-10 at 19:23 +0300, Andriy Gapon wrote: > On 10/10/2017 19:12, Ian Lepore wrote: > > > > On Tue, 2017-10-10 at 17:45 +0300, Andriy Gapon wrote: > > > > > > On 12/09/2017 00:49, Ian Lepore wrote: > > > > > > > > > > > > Author: ian > > > > Date: Mon Sep 11 21:49:38 2017 > > > >

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
On 10/10/2017 20:03, Ian Lepore wrote: > This conversation is making me think harder about what's happening on > the bus during the two different kinds of scans, and I'm realizing the > answer is "almost exactly the same thing in both cases". > > A "normal" scan is a START, followed by 9 clocks

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
On 12/09/2017 00:49, Ian Lepore wrote: > Author: ian > Date: Mon Sep 11 21:49:38 2017 > New Revision: 323465 > URL: https://svnweb.freebsd.org/changeset/base/323465 > > Log: > Make i2c -s (device scan) work on hardware that supports only full xfers. > > The existing scan code is based on

svn commit: r324497 - head/usr.bin/su

2017-10-10 Thread Ngie Cooper
Author: ngie Date: Tue Oct 10 15:41:35 2017 New Revision: 324497 URL: https://svnweb.freebsd.org/changeset/base/324497 Log: Mute gcc warning about p not being possibly initialized I'm running into this warning on a tinderbox run with gcc 4.2.1 with mips and powerpc. MFC after:1

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
On 10/10/2017 19:12, Ian Lepore wrote: > i2c -s is not a thing that's done routinely in a production system or > normal system operations... it's something a person does manually when > trying to configure or debug a system.  In that situation, there is > more harm in being told there are no

Re: svn commit: r324406 - head/sys/modules/em

2017-10-10 Thread Rodney W. Grimes
> > > On Oct 9, 2017, at 18:54, Ian Lepore wrote: > > ... > > > I think the right answer here is just > > > > LINKS= ${KMODDIR}/${KMOD}.ko ${KMODDIR}/if_igb.ko > > That will definitely work and is probably the best pattern. > Thanks, > -Ngie I concur, a hard link

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Ian Lepore
On Tue, 2017-10-10 at 19:20 +0300, Andriy Gapon wrote: > On 10/10/2017 19:12, Ian Lepore wrote: > > > > i2c -s is not a thing that's done routinely in a production system or > > normal system operations... it's something a person does manually when > > trying to configure or debug a system.  In

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Ian Lepore
On Tue, 2017-10-10 at 17:45 +0300, Andriy Gapon wrote: > On 12/09/2017 00:49, Ian Lepore wrote: > > > > Author: ian > > Date: Mon Sep 11 21:49:38 2017 > > New Revision: 323465 > > URL: https://svnweb.freebsd.org/changeset/base/323465 > > > > Log: > >   Make i2c -s (device scan) work on hardware

svn commit: r324499 - head/sbin/growfs

2017-10-10 Thread Kirk McKusick
Author: mckusick Date: Tue Oct 10 16:17:03 2017 New Revision: 324499 URL: https://svnweb.freebsd.org/changeset/base/324499 Log: Growfs got missed in r323923 that added a check hash to cylinder groups. This makes the needed changes to add/update cylinder group check hashes when a filesystem

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
On 10/10/2017 19:12, Ian Lepore wrote: > On Tue, 2017-10-10 at 17:45 +0300, Andriy Gapon wrote: >> On 12/09/2017 00:49, Ian Lepore wrote: >>> >>> Author: ian >>> Date: Mon Sep 11 21:49:38 2017 >>> New Revision: 323465 >>> URL: https://svnweb.freebsd.org/changeset/base/323465 >>> >>> Log: >>>  

svn commit: r324500 - head/sys/modules/em

2017-10-10 Thread Sean Bruno
Author: sbruno Date: Tue Oct 10 19:14:40 2017 New Revision: 324500 URL: https://svnweb.freebsd.org/changeset/base/324500 Log: Hard link if_igb.ko to if_em.ko. Use a LINK directive to ensure that this is more friendly to the tree. Tested this with loader.conf:if_igb_load="YES" and it

svn commit: r324501 - head/sys/dev/acpica/Osd

2017-10-10 Thread Jung-uk Kim
Author: jkim Date: Tue Oct 10 19:20:38 2017 New Revision: 324501 URL: https://svnweb.freebsd.org/changeset/base/324501 Log: Do not check whether AcpiOsGetTimer() is called during boot. From ACPICA 20170929, AcpiOsGetTimer() should be available early because While() loop timeout mechanism

svn commit: r324502 - in head: sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/dispatcher sys/contrib/dev/acpica/components/ha...

2017-10-10 Thread Jung-uk Kim
Author: jkim Date: Tue Oct 10 19:33:24 2017 New Revision: 324502 URL: https://svnweb.freebsd.org/changeset/base/324502 Log: Merge ACPICA 20170929 (take 2). Added: head/sys/contrib/dev/acpica/compiler/aslallocate.c (contents, props changed) - copied, changed from r324104,

svn commit: r324504 - head/sys/dev/qlxgbe

2017-10-10 Thread David C Somayajulu
Author: davidcs Date: Tue Oct 10 20:45:45 2017 New Revision: 324504 URL: https://svnweb.freebsd.org/changeset/base/324504 Log: Revert Commit r324290 Add sanity checks in ql_hw_send() qla_send() to ensure that empty slots in Tx Ring map to empty slot in Tx_buf array before Transmits. If

svn commit: r324503 - head/sys/dev/uart

2017-10-10 Thread Ed Maste
Author: emaste Date: Tue Oct 10 20:08:30 2017 New Revision: 324503 URL: https://svnweb.freebsd.org/changeset/base/324503 Log: uart: detect 256-byte FIFOs Submitted by: Zakary Nafziger Sponsored by: The FreeBSD Foundation Modified:

svn commit: r324506 - head/sys/fs/nfs

2017-10-10 Thread Rick Macklem
Author: rmacklem Date: Tue Oct 10 21:05:40 2017 New Revision: 324506 URL: https://svnweb.freebsd.org/changeset/base/324506 Log: Fix forced dismount when a pNFS mount is hung on a DS. When a "pnfs" NFSv4.1 mount is hung because of an unresponsive DS, a forced dismount wouldn't work,

svn commit: r324505 - in stable/10/lib/libc: gen tests/gen

2017-10-10 Thread Pedro F. Giffuni
Author: pfg Date: Tue Oct 10 21:04:40 2017 New Revision: 324505 URL: https://svnweb.freebsd.org/changeset/base/324505 Log: MFC r322368, r322371: fnmatch(3): improve POSIX conformance. In a recent interpretation[1], "\\" shall return a non-zero value (indicating either no match or an

svn commit: r324507 - head/sbin/growfs

2017-10-10 Thread Ed Maste
Author: emaste Date: Tue Oct 10 21:16:07 2017 New Revision: 324507 URL: https://svnweb.freebsd.org/changeset/base/324507 Log: growfs: ANSIfy cgckhash() The build was broken on GCC-using architectures with: growfs.c: In function 'cgckhash': growfs.c:1753: warning: old-style function

svn commit: r324479 - stable/11/sys/dev/hyperv/netvsc

2017-10-10 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 10 06:03:23 2017 New Revision: 324479 URL: https://svnweb.freebsd.org/changeset/base/324479 Log: MFC 324048 hyperv/hn: Set tcp header offset for CSUM/LSO offloading. No observable effect; better safe than sorry. Sponsored by: Microsoft

svn commit: r324480 - stable/11/sys/dev/hyperv/netvsc

2017-10-10 Thread Sepherosa Ziehau
Author: sephe Date: Tue Oct 10 06:12:07 2017 New Revision: 324480 URL: https://svnweb.freebsd.org/changeset/base/324480 Log: MFC 324049,324077 324049 hyperv/hn: Fix UDP checksum offload issue in Azure. UDP checksum offload does not work in Azure if following conditions are

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

2017-10-10 Thread Konstantin Belousov
On Mon, Oct 09, 2017 at 04:20:52PM -0700, Gleb Smirnoff wrote: > Sean & Jason, > > On Sat, Oct 07, 2017 at 11:30:57PM +, Sean Bruno wrote: > S> Author: sbruno > S> Date: Sat Oct 7 23:30:57 2017 > S> New Revision: 324405 > S> URL: https://svnweb.freebsd.org/changeset/base/324405 > S> > S>

svn commit: r324508 - head/sys/kern

2017-10-10 Thread Sean Bruno
Author: sbruno Date: Tue Oct 10 22:21:05 2017 New Revision: 324508 URL: https://svnweb.freebsd.org/changeset/base/324508 Log: match sendfile() error handling to send(). Sendfile() should match the error checking order of send() which is currently: SBS_CANTSENDMORE so_error

svn commit: r324515 - in stable: 10/lib/libc/net 11/lib/libc/net

2017-10-10 Thread Cy Schubert
Author: cy Date: Wed Oct 11 05:07:37 2017 New Revision: 324515 URL: https://svnweb.freebsd.org/changeset/base/324515 Log: MFC r324249, 324260, and 324277 Clarify the wording describing the stayopen flag and style fixes. Modified: stable/10/lib/libc/net/gethostbyname.3 Directory

svn commit: r324515 - in stable: 10/lib/libc/net 11/lib/libc/net

2017-10-10 Thread Cy Schubert
Author: cy Date: Wed Oct 11 05:07:37 2017 New Revision: 324515 URL: https://svnweb.freebsd.org/changeset/base/324515 Log: MFC r324249, 324260, and 324277 Clarify the wording describing the stayopen flag and style fixes. Modified: stable/11/lib/libc/net/gethostbyname.3 Directory

svn commit: r324516 - head/sys/dev/hyperv/netvsc

2017-10-10 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 11 05:15:49 2017 New Revision: 324516 URL: https://svnweb.freebsd.org/changeset/base/324516 Log: hyperv/hn: Workaround erroneous hash type observed on WS2016 for VF. The background was described in r324489. MFC after:3 days Sponsored by: Microsoft

svn commit: r324517 - head/sys/dev/hyperv/netvsc

2017-10-10 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 11 05:28:51 2017 New Revision: 324517 URL: https://svnweb.freebsd.org/changeset/base/324517 Log: hyperv/hn: Enable transparent VF by default. MFC after:3 days Sponsored by: Microsoft Modified: head/sys/dev/hyperv/netvsc/if_hn.c Modified:

svn commit: r324511 - head/contrib/binutils/bfd

2017-10-10 Thread Justin Hibbits
Author: jhibbits Date: Wed Oct 11 02:39:20 2017 New Revision: 324511 URL: https://svnweb.freebsd.org/changeset/base/324511 Log: Do exception offset computations in 64 bits, not 32. This fixes clang-built binaries on a gcc powerpc64 world. Gets us one step closer to a clang-built world.

svn commit: r324510 - stable/11/sys/conf

2017-10-10 Thread Ed Maste
Author: emaste Date: Wed Oct 11 00:31:54 2017 New Revision: 324510 URL: https://svnweb.freebsd.org/changeset/base/324510 Log: MFC r309151: Use explicit 0x20 for the amd64 kernel physaddr (instead of MAXPAGESIZE) MAXPAGESIZE is not well defined by the GNU ld documentation.

svn commit: r324513 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet

2017-10-10 Thread Cy Schubert
Author: cy Date: Wed Oct 11 05:02:36 2017 New Revision: 324513 URL: https://svnweb.freebsd.org/changeset/base/324513 Log: MFC r323945 and 323962 Fix misspellings, typos and /* border misalignments. Modified: stable/11/sys/contrib/ipfilter/netinet/ip_nat.c Directory Properties:

svn commit: r324513 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet

2017-10-10 Thread Cy Schubert
Author: cy Date: Wed Oct 11 05:02:36 2017 New Revision: 324513 URL: https://svnweb.freebsd.org/changeset/base/324513 Log: MFC r323945 and 323962 Fix misspellings, typos and /* border misalignments. Modified: stable/10/sys/contrib/ipfilter/netinet/ip_nat.c Directory Properties:

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

2017-10-10 Thread Ed Maste
Author: emaste Date: Tue Oct 10 23:54:25 2017 New Revision: 324509 URL: https://svnweb.freebsd.org/changeset/base/324509 Log: sysctl.9: document CTLFLAG_CAPRD and CTLFLAG_CAPWR Reported by: Shawn Webb MFC after:1 week Sponsored by: The FreeBSD Foundation Modified:

svn commit: r324512 - head/sys/sparc64/sparc64

2017-10-10 Thread Kurt Lidl
Author: lidl Date: Wed Oct 11 03:50:44 2017 New Revision: 324512 URL: https://svnweb.freebsd.org/changeset/base/324512 Log: Don't use a non-zero argument for __builtin_frame_address Mirror the change made for powerpc64 in r323687. With this change, gcc 6.4.0 can successfully compile and

svn commit: r324518 - head/sys/dev/ixgbe

2017-10-10 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 11 05:55:52 2017 New Revision: 324518 URL: https://svnweb.freebsd.org/changeset/base/324518 Log: ixgbe: Remove never defined UDP_IPV4_EX Reviewed by: sbruno Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D12454 Modified: