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

2016-07-20 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jul 21 05:46:26 2016 New Revision: 303129 URL: https://svnweb.freebsd.org/changeset/base/303129 Log: hyperv/vmbus: Shuffle function declaration and macro definition. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

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

2016-07-20 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jul 21 05:38:05 2016 New Revision: 303128 URL: https://svnweb.freebsd.org/changeset/base/303128 Log: hyperv/vmbus: Reorder channel fields. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7258

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

2016-07-20 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jul 21 05:30:31 2016 New Revision: 303127 URL: https://svnweb.freebsd.org/changeset/base/303127 Log: hyperv/vmbus: Save event flag location and evet flag mask. This avoids unnecessary access to the vmbus_softc struct on sending path. MFC after:1 week

svn commit: r303123 - head/sys/cam

2016-07-20 Thread Warner Losh
Author: imp Date: Thu Jul 21 03:11:35 2016 New Revision: 303123 URL: https://svnweb.freebsd.org/changeset/base/303123 Log: Fix mismerge and include the nvme support. Also, print out the name of any CCB's functions that's not supported. MFC after: 1 week Modified:

svn commit: r303126 - head/sys/dev/nvme

2016-07-20 Thread Warner Losh
Author: imp Date: Thu Jul 21 03:11:39 2016 New Revision: 303126 URL: https://svnweb.freebsd.org/changeset/base/303126 Log: Actually import nvme_sim so the CAM attachment for NVME (nda) actually works. MFC after: 1 week Added: head/sys/dev/nvme/nvme_sim.c (contents, props changed)

svn commit: r303125 - head/sys/cam/nvme

2016-07-20 Thread Warner Losh
Author: imp Date: Thu Jul 21 03:11:37 2016 New Revision: 303125 URL: https://svnweb.freebsd.org/changeset/base/303125 Log: Remove some bogus comments and printfs. Also, we can't cam_periph_releaes_locked() at the end of nvme_probe_start because we hit an assertion which may be bogus.

svn commit: r303124 - head/sys/cam

2016-07-20 Thread Warner Losh
Author: imp Date: Thu Jul 21 03:11:36 2016 New Revision: 303124 URL: https://svnweb.freebsd.org/changeset/base/303124 Log: Fix mismerge and add NVME xport support to devstat (or rather, exclude it from SCSI). MFC after: 1 week Modified: head/sys/cam/cam_ccb.h Modified:

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

2016-07-20 Thread Conrad Meyer
Sure — r303122. Conrad On Wed, Jul 20, 2016 at 4:09 PM, John Baldwin wrote: > On Wednesday, July 20, 2016 10:51:33 PM Conrad E. Meyer wrote: >> Author: cem >> Date: Wed Jul 20 22:51:33 2016 >> New Revision: 303120 >> URL: https://svnweb.freebsd.org/changeset/base/303120 >> >>

svn commit: r303122 - head/usr.bin/gcore

2016-07-20 Thread Conrad E. Meyer
Author: cem Date: Thu Jul 21 00:53:14 2016 New Revision: 303122 URL: https://svnweb.freebsd.org/changeset/base/303122 Log: Mirror r303120 to gcore Sponsored by: EMC / Isilon Storage Division Modified: head/usr.bin/gcore/elfcore.c Modified: head/usr.bin/gcore/elfcore.c

Re: svn commit: r303043 - in head: share/man/man4 sys/dev/vt sys/dev/vt/hw/fb

2016-07-20 Thread Kubilay Kocak
On 21/07/2016 5:07 AM, Bryan Drewery wrote: > On 7/20/16 8:20 AM, Conrad Meyer wrote: >> On Wed, Jul 20, 2016 at 12:44 AM, Kubilay Kocak wrote: >>> On 20/07/2016 5:20 AM, Conrad E. Meyer wrote: Author: cem Date: Tue Jul 19 19:20:47 2016 New Revision: 303043

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

2016-07-20 Thread John Baldwin
On Wednesday, July 20, 2016 10:51:33 PM Conrad E. Meyer wrote: > Author: cem > Date: Wed Jul 20 22:51:33 2016 > New Revision: 303120 > URL: https://svnweb.freebsd.org/changeset/base/303120 > > Log: > imgact_elf: Rename the segment iterator to match reality > > The each_writable_segment

svn commit: r303120 - head/sys/kern

2016-07-20 Thread Conrad E. Meyer
Author: cem Date: Wed Jul 20 22:51:33 2016 New Revision: 303120 URL: https://svnweb.freebsd.org/changeset/base/303120 Log: imgact_elf: Rename the segment iterator to match reality The each_writable_segment routine evaluates segments on a slightly little more nuanced metric than simply

svn commit: r303119 - head/release/tools

2016-07-20 Thread Glen Barber
Author: gjb Date: Wed Jul 20 22:49:33 2016 New Revision: 303119 URL: https://svnweb.freebsd.org/changeset/base/303119 Log: Create a /usr/home -> /home symlink for the arm images to avoid /usr/home confusingly being created as a directory. Reported by: Russell Haley MFC after:3

svn commit: r303118 - head/sys/kern

2016-07-20 Thread Conrad E. Meyer
Author: cem Date: Wed Jul 20 22:46:56 2016 New Revision: 303118 URL: https://svnweb.freebsd.org/changeset/base/303118 Log: ANSI-fy imgact_elf.c Sponsored by: EMC / Isilon Storage Division Modified: head/sys/kern/imgact_elf.c Modified: head/sys/kern/imgact_elf.c

svn commit: r303115 - head/sys/dev/urtwn

2016-07-20 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jul 20 22:05:44 2016 New Revision: 303115 URL: https://svnweb.freebsd.org/changeset/base/303115 Log: urtwn: fix A-MSDU tx aggregation when encryption is used. Clear unused (undocumented) CAM bytes while setting a key; without that, hardware does weird things when

svn commit: r303114 - head/usr.bin/gcore

2016-07-20 Thread Conrad E. Meyer
Author: cem Date: Wed Jul 20 22:03:45 2016 New Revision: 303114 URL: https://svnweb.freebsd.org/changeset/base/303114 Log: Add extended segment support to gcore A follow-up to r303099, D7255. Basically, apply the exact same change, with the exact same rationale, to gcore. gcore's

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

2016-07-20 Thread Alexander Motin
Author: mav Date: Wed Jul 20 20:18:52 2016 New Revision: 303113 URL: https://svnweb.freebsd.org/changeset/base/303113 Log: Cross-link some SMBus controller drivers man pages. Some compatibility cases are not obvious. Modified: head/share/man/man4/amdpm.4 head/share/man/man4/amdsmb.4

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

2016-07-20 Thread Alexander Motin
Author: mav Date: Wed Jul 20 20:10:37 2016 New Revision: 303111 URL: https://svnweb.freebsd.org/changeset/base/303111 Log: Document list of supported chipsets. Modified: head/share/man/man4/intpm.4 Modified: head/share/man/man4/intpm.4

Re: svn commit: r302350 - in head: share/man/man9 sys/kern sys/sys

2016-07-20 Thread Bryan Drewery
On 7/13/16 3:11 AM, Hans Petter Selasky wrote: > Hi, > > Can we agree on the following return values for callout_stop() and > callout_reset() and their variants: > > If the callout was scheduled regardless of being serviced or not, > .Dv CALLOUT_RET_CANCELLED > is returned. > If the callout was

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

2016-07-20 Thread Sean Bruno
Author: sbruno Date: Wed Jul 20 19:21:11 2016 New Revision: 303110 URL: https://svnweb.freebsd.org/changeset/base/303110 Log: Remove uneeded parens. MFC after:1 day Modified: head/sys/dev/e1000/if_igb.c head/sys/dev/e1000/if_lem.c Modified: head/sys/dev/e1000/if_igb.c

Re: svn commit: r303043 - in head: share/man/man4 sys/dev/vt sys/dev/vt/hw/fb

2016-07-20 Thread Bryan Drewery
On 7/20/16 8:20 AM, Conrad Meyer wrote: > On Wed, Jul 20, 2016 at 12:44 AM, Kubilay Kocak wrote: >> On 20/07/2016 5:20 AM, Conrad E. Meyer wrote: >>> Author: cem >>> Date: Tue Jul 19 19:20:47 2016 >>> New Revision: 303043 >>> URL:

svn commit: r303109 - head/usr.sbin/crashinfo

2016-07-20 Thread John Baldwin
Author: jhb Date: Wed Jul 20 18:41:47 2016 New Revision: 303109 URL: https://svnweb.freebsd.org/changeset/base/303109 Log: Update crashinfo to work with newer gdb from ports. If gdb from ports is installed, use it instead of the base system gdb to extract variables from a kernel. Note

svn commit: r303106 - head/lib/libc/sys

2016-07-20 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Wed Jul 20 18:16:58 2016 New Revision: 303106 URL: https://svnweb.freebsd.org/changeset/base/303106 Log: Change wording to use function rather than system call in the description as well. Reviewed by: brooks MFC after:5 days Modified:

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

2016-07-20 Thread Conrad Meyer
Mea culpa. Thanks for the report. Fixed in r303105. Best, Conrad On Wed, Jul 20, 2016 at 10:32 AM, Larry Rosenman wrote: > This broke my build: > --- imgact_elf32.o --- > In file included from /usr/src/sys/kern/imgact_elf32.c:31: > /usr/src/sys/kern/imgact_elf.c:1663:8:

svn commit: r303105 - head/sys/kern

2016-07-20 Thread Conrad E. Meyer
Author: cem Date: Wed Jul 20 18:11:22 2016 New Revision: 303105 URL: https://svnweb.freebsd.org/changeset/base/303105 Log: Fix DEBUG build on 64-bit arch after r303099 Reported by: Larry Rosenman Modified: head/sys/kern/imgact_elf.c Modified: head/sys/kern/imgact_elf.c

svn commit: r303104 - head/lib/libc/sys

2016-07-20 Thread Brooks Davis
Author: brooks Date: Wed Jul 20 18:02:07 2016 New Revision: 303104 URL: https://svnweb.freebsd.org/changeset/base/303104 Log: Update to reflect the fact that pipe() is a wrapper around the pipe2() system call. Reviewed by: jhb, wblock MFC after:5 days Sponsored by: DAPRA, AFRL

svn commit: r303103 - head

2016-07-20 Thread Brooks Davis
Author: brooks Date: Wed Jul 20 18:00:22 2016 New Revision: 303103 URL: https://svnweb.freebsd.org/changeset/base/303103 Log: Minor wording improvements to the note about pipe(2) removal. MFC after:5 days Sponsored by: DARPA, AFRL Modified: head/UPDATING Modified: head/UPDATING

svn commit: r303102 - head/sys/conf

2016-07-20 Thread Andrew Turner
Author: andrew Date: Wed Jul 20 17:46:33 2016 New Revision: 303102 URL: https://svnweb.freebsd.org/changeset/base/303102 Log: Mark the Designware MMC and USB OTG drivers as FDT only. These are normally found on arm64 devices that use FDT. Obtained from:ABT Systems Ltd MFC

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

2016-07-20 Thread Larry Rosenman
This broke my build: --- imgact_elf32.o --- In file included from /usr/src/sys/kern/imgact_elf32.c:31: /usr/src/sys/kern/imgact_elf.c:1663:8: error: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'Elf32_Off' (aka 'unsigned int') [-Werror,-Wformat]

svn commit: r303101 - head/sys/vm

2016-07-20 Thread Alan Cox
Author: alc Date: Wed Jul 20 17:20:22 2016 New Revision: 303101 URL: https://svnweb.freebsd.org/changeset/base/303101 Log: Add a comment describing the 'fast path' that was introduced in r270011. Reviewed by: kib MFC after:3 days Sponsored by: EMC / Isilon Storage Division

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

2016-07-20 Thread Andrew Turner
Author: andrew Date: Wed Jul 20 17:19:47 2016 New Revision: 303100 URL: https://svnweb.freebsd.org/changeset/base/303100 Log: We will be switching to a new arm64 uart cpu driver that handles both FDT and ACPI. As such pull out what will be the common parts of the FDT cpu detection to a new

svn commit: r303099 - head/sys/kern

2016-07-20 Thread Conrad E. Meyer
Author: cem Date: Wed Jul 20 16:59:36 2016 New Revision: 303099 URL: https://svnweb.freebsd.org/changeset/base/303099 Log: Extend ELF coredump to support more than 65535 segments The ELF e_phnum field is only 16 bits wide. To support more than 65535 segments (program headers), Sun's

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

2016-07-20 Thread Hans Petter Selasky
On 07/20/16 18:35, Gleb Smirnoff wrote: Randall, I have just tested and r303037 brings the TCP panic back. I got two crashes during 2.5 hours. Hi Gleb, There is more than one way to fix the TCP panic. You don't _need_ to change the return values of callout_stop(). You _can_ make a new

svn commit: r303098 - head/sys/kern

2016-07-20 Thread Gleb Smirnoff
Author: glebius Date: Wed Jul 20 16:48:25 2016 New Revision: 303098 URL: https://svnweb.freebsd.org/changeset/base/303098 Log: Redo the r302894: the very new value for a non-scheduled callout is -1. This was recently added in r290664. Noticed by: hselasky Tested by:Larry Rosenman

svn commit: r303097 - head

2016-07-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jul 20 16:46:13 2016 New Revision: 303097 URL: https://svnweb.freebsd.org/changeset/base/303097 Log: Add myself to MAINTAINERS. Modified: head/MAINTAINERS Modified: head/MAINTAINERS ==

svn commit: r303096 - head/sys/kern

2016-07-20 Thread Gleb Smirnoff
Author: glebius Date: Wed Jul 20 16:44:22 2016 New Revision: 303096 URL: https://svnweb.freebsd.org/changeset/base/303096 Log: Revert r303037. It re-introduces the panic with TCP timers. Agreed by:rrs, re (gjb) Modified: head/sys/kern/kern_timeout.c Modified:

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

2016-07-20 Thread Randall Stewart via svn-src-head
You are most welcome to backout anything you like.. as far as I am concerned you own the code.. R > On Jul 20, 2016, at 6:35 PM, Gleb Smirnoff wrote: > > Randall, > > I have just tested and r303037 brings the TCP panic back. I > got two crashes during 2.5 hours. > > In

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

2016-07-20 Thread Gleb Smirnoff
Randall, I have just tested and r303037 brings the TCP panic back. I got two crashes during 2.5 hours. In your email [1] you are right, there is regression that (-1) return value is lost. This problem was worked on in the PR 210884, and we were very close to commiting the fix. The whole

svn commit: r303094 - head/usr.bin

2016-07-20 Thread Andrey A. Chernov
Author: ache Date: Wed Jul 20 15:59:37 2016 New Revision: 303094 URL: https://svnweb.freebsd.org/changeset/base/303094 Log: Continuation lines with comments badly affects gprof, it is excluded from build on amd64 f.e. Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile

Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-20 Thread Nathan Whitehorn
On 07/20/16 04:28, Michal Meloun wrote: Dne 19.07.2016 v 17:06 Nathan Whitehorn napsal(a): On 07/19/16 04:13, Michal Meloun wrote: Dne 19.07.2016 v 2:11 Nathan Whitehorn napsal(a): Hi Nathan, I’m afraid that skra is on vacation, for next 2 weeks (at minimum), so please don’t expect quick

Re: svn commit: r303043 - in head: share/man/man4 sys/dev/vt sys/dev/vt/hw/fb

2016-07-20 Thread Conrad Meyer
On Wed, Jul 20, 2016 at 12:44 AM, Kubilay Kocak wrote: > On 20/07/2016 5:20 AM, Conrad E. Meyer wrote: >> Author: cem >> Date: Tue Jul 19 19:20:47 2016 >> New Revision: 303043 >> URL: https://svnweb.freebsd.org/changeset/base/303043 >> >> Log: >> Increase vt(4) framebuffer

svn commit: r303091 - head/usr.sbin/camdd

2016-07-20 Thread Alan Somers
Author: asomers Date: Wed Jul 20 15:00:05 2016 New Revision: 303091 URL: https://svnweb.freebsd.org/changeset/base/303091 Log: Fix camdd for host-aware and host-managed SMR disks. This should've gone in as part of r300207 Reviewed by: ken MFC after:3 days Sponsored by:

svn commit: r303090 - head/sys/ufs/ufs

2016-07-20 Thread Konstantin Belousov
Author: kib Date: Wed Jul 20 14:40:56 2016 New Revision: 303090 URL: https://svnweb.freebsd.org/changeset/base/303090 Log: Ensure that the UFS directory vnode' vm_object is properly sized before UFS_BALLOC() is called. I do not believe that this caused any real issue on FreeBSD because the

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

2016-07-20 Thread Randall Stewart via svn-src-head
Gleb I wish you would have responded earlier.. I am more than glad to hand off all kern_timeout.c to you… please take it commit what you want to it and have it. I hate the code and I dislike having to touch it. Its yours.. I can assure you I will not touch it again. R > On Jul 20, 2016, at 8:53

svn commit: r303088 - head/lib/libc/gen

2016-07-20 Thread Andrey A. Chernov
Author: ache Date: Wed Jul 20 12:46:21 2016 New Revision: 303088 URL: https://svnweb.freebsd.org/changeset/base/303088 Log: In addition to r303074 case 1, search for protected L'/' too in globtilde() Modified: head/lib/libc/gen/glob.c Modified: head/lib/libc/gen/glob.c

Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-20 Thread Michal Meloun
Dne 19.07.2016 v 17:06 Nathan Whitehorn napsal(a): > > > On 07/19/16 04:13, Michal Meloun wrote: >> Dne 19.07.2016 v 2:11 Nathan Whitehorn napsal(a): >> Hi Nathan, >> I’m afraid that skra is on vacation, for next 2 weeks (at minimum), so >> please don’t expect quick response. >> >>> Could you

svn commit: r303087 - head/sys/arm/allwinner

2016-07-20 Thread Emmanuel Vadot
Author: manu Date: Wed Jul 20 11:23:06 2016 New Revision: 303087 URL: https://svnweb.freebsd.org/changeset/base/303087 Log: Add support for the SID (Security ID Module) on Allwinner A10 and A20. The rootkey is burnt at production and can't be changed, thus is can be used as a device unique

svn commit: r303086 - head/cddl/contrib/opensolaris/cmd/zdb

2016-07-20 Thread Andriy Gapon
Author: avg Date: Wed Jul 20 11:15:32 2016 New Revision: 303086 URL: https://svnweb.freebsd.org/changeset/base/303086 Log: MFV r303083: 7164 zdb should be able to open the root dataset Note: conversion of the manual page change from roff to mdoc is mine.

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

2016-07-20 Thread Alexander Motin
Author: mav Date: Wed Jul 20 11:04:49 2016 New Revision: 303085 URL: https://svnweb.freebsd.org/changeset/base/303085 Log: Remove outdated list of supported chipsets, generalizing it. Modified: head/share/man/man4/ichsmb.4 Modified: head/share/man/man4/ichsmb.4

svn commit: r303084 - head/cddl/contrib/opensolaris/cmd/zdb

2016-07-20 Thread Andriy Gapon
Author: avg Date: Wed Jul 20 10:06:56 2016 New Revision: 303084 URL: https://svnweb.freebsd.org/changeset/base/303084 Log: MFV r303082: 6391 Override default SPA config location via environment illumos/illumos-gate@ae24175b2b25e9fb4bfd9ac0648b57e0735b6651

svn commit: r303076 - head/sys/dev/fb

2016-07-20 Thread Roger Pau Monné
Author: royger Date: Wed Jul 20 09:29:39 2016 New Revision: 303076 URL: https://svnweb.freebsd.org/changeset/base/303076 Log: vesa: fix panic on suspend Fix the following panic seen when migrating a FreeBSD guest on Xen: panic: mtx_lock() of destroyed mutex @

Re: svn commit: r303043 - in head: share/man/man4 sys/dev/vt sys/dev/vt/hw/fb

2016-07-20 Thread Kubilay Kocak
On 20/07/2016 5:20 AM, Conrad E. Meyer wrote: > Author: cem > Date: Tue Jul 19 19:20:47 2016 > New Revision: 303043 > URL: https://svnweb.freebsd.org/changeset/base/303043 > > Log: > Increase vt(4) framebuffer maximum size > > And rename "DEFAULT" constants to the more accurate "MAX." >

Re: svn commit: r303033 - head/share/man/man7

2016-07-20 Thread Bruce Evans
On Tue, 19 Jul 2016, Warner Losh wrote: On Tue, Jul 19, 2016 at 9:01 PM, Jan Beich wrote: Ed Maste writes: +.Ss Predefined Macros +The compiler provides a number of predefined macros. +Some of these provide architecture-specific details and are

svn commit: r303074 - head/lib/libc/gen

2016-07-20 Thread Andrey A. Chernov
Author: ache Date: Wed Jul 20 07:30:44 2016 New Revision: 303074 URL: https://svnweb.freebsd.org/changeset/base/303074 Log: 1) Per POSIX (and glibc) GLOB_NOCHECK should return original pattern, unmodified, if no matches found. But our original code strips all '\' returning it. Rewrite the

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

2016-07-20 Thread Gleb Smirnoff
On Tue, Jul 19, 2016 at 06:31:19PM +, Randall Stewart wrote: R> Author: rrs R> Date: Tue Jul 19 18:31:19 2016 R> New Revision: 303037 R> URL: https://svnweb.freebsd.org/changeset/base/303037 R> R> Log: R> This reverts out Gleb's changes and adds three small R> fixes that I think closes up

svn commit: r303073 - head/sys/netinet

2016-07-20 Thread Michael Tuexen
Author: tuexen Date: Wed Jul 20 06:29:26 2016 New Revision: 303073 URL: https://svnweb.freebsd.org/changeset/base/303073 Log: Fix a bug in deferred stream reset processing which results in using a length field before it is set. Thanks to Taylor Brandstetter for reporting the issue and

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

2016-07-20 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jul 20 06:12:32 2016 New Revision: 303072 URL: https://svnweb.freebsd.org/changeset/base/303072 Log: hyperv/vmbus: Save MNF trigger location instead of MNF trigger index. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r303071 - in head/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-07-20 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jul 20 06:00:27 2016 New Revision: 303071 URL: https://svnweb.freebsd.org/changeset/base/303071 Log: hyperv/vmbus: Hide channel struct definition. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7245