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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:53:12 2016 New Revision: 300654 URL: https://svnweb.freebsd.org/changeset/base/300654 Log: hyperv/vmbus: Rework SynIC setup and teardown - Avoid bit fields. - Fix SINT setup (preserve required bits). MFC after:1 week Sponsored by: Microsoft

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:45:43 2016 New Revision: 300653 URL: https://svnweb.freebsd.org/changeset/base/300653 Log: hyperv/vmbus: Nuke unnecessary MSR read MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6528

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:37:42 2016 New Revision: 300652 URL: https://svnweb.freebsd.org/changeset/base/300652 Log: hyperv/vmbus: Pass vmbus softc to vmbus_synic_setup MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:30:48 2016 New Revision: 300651 URL: https://svnweb.freebsd.org/changeset/base/300651 Log: hyperv/vmbus: Minor style and white space cleanup MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:22:35 2016 New Revision: 300650 URL: https://svnweb.freebsd.org/changeset/base/300650 Log: hyperv/vmbus: Move two global flags into vmbus softc And pack them into one flag field. MFC after:1 week Sponsored by: Microsoft OSTC Differential

svn commit: r300649 - head/bin/setfacl

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 05:20:34 2016 New Revision: 300649 URL: https://svnweb.freebsd.org/changeset/base/300649 Log: Fix Coverity CID 1019054 (String not null terminated) in setfacl. Increase the size of buf[] by one to allow room for a NUL character at the end. Reported

svn commit: r300648 - head/bin/ps

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 05:12:56 2016 New Revision: 300648 URL: https://svnweb.freebsd.org/changeset/base/300648 Log: Fix CID 1011370 (Resource leak) in ps. There is no need to to call strdup() on the value returned by fmt(). The latter calls fmt_argv() which always returns a

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 05:06:15 2016 New Revision: 300647 URL: https://svnweb.freebsd.org/changeset/base/300647 Log: hyperv/vmbus: Move vcpuid into vmbus softc per-cpu data MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 04:59:20 2016 New Revision: 300646 URL: https://svnweb.freebsd.org/changeset/base/300646 Log: hyperv/vmbus: Move event/message taskqueue/task to vmbus softc MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 03:39:42 2016 New Revision: 300645 URL: https://svnweb.freebsd.org/changeset/base/300645 Log: hyperv/vmbus: Allocate/setup IDT vector after all ISR resources are ready And release IDT vector before releasing ISR resources on interrupt teardown path. We

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Wed May 25 03:30:56 2016 New Revision: 300644 URL: https://svnweb.freebsd.org/changeset/base/300644 Log: hyperv/vmbus: Check hyperv_dmamem_alloc return value Though it is highly unlikely this function would fail w/ BUS_DMA_WAITOK, we had better to check its return

svn commit: r300643 - head/bin/mv

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 02:51:15 2016 New Revision: 300643 URL: https://svnweb.freebsd.org/changeset/base/300643 Log: Close from_fd if malloc() fails to avoid a file descriptor leak. Reported by: Coverity CID: 1007203 MFC after:1 week Modified:

svn commit: r300642 - head/bin/sh

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 02:10:30 2016 New Revision: 300642 URL: https://svnweb.freebsd.org/changeset/base/300642 Log: Match the descriptions of the \H and \h prompt string sequences to reality. They were swapped. X-Confirmed by: jilles MFC after:1 week Modified:

svn commit: r300641 - stable/10/contrib/ipfilter/man

2016-05-24 Thread Cy Schubert
Author: cy Date: Wed May 25 01:48:44 2016 New Revision: 300641 URL: https://svnweb.freebsd.org/changeset/base/300641 Log: MFC r300177 and r300179: fix two typos in man page. Modified: stable/10/contrib/ipfilter/man/ipf.5 Directory Properties: stable/10/ (props changed) Modified:

svn commit: r300640 - head/sys/cam/ata

2016-05-24 Thread Kenneth D. Merry
Author: ken Date: Wed May 25 01:37:39 2016 New Revision: 300640 URL: https://svnweb.freebsd.org/changeset/base/300640 Log: Fix a few ada(4) driver issues: o Some Samsung drives do not support the ATA READ LOG EXT or READ LOG DMA EXT commands, despite indicating that they do in their

svn commit: r300639 - head/usr.sbin/ypldap

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 01:37:25 2016 New Revision: 300639 URL: https://svnweb.freebsd.org/changeset/base/300639 Log: Fix Coverity CIDs 1340544 Resource leak and 1340543 Use after free At line 479 of ldapclient.c in client_build_req(), the error return leaks ldap_attrs (CID

svn commit: r300638 - head/etc/rc.d

2016-05-24 Thread Cy Schubert
Author: cy Date: Wed May 25 01:35:02 2016 New Revision: 300638 URL: https://svnweb.freebsd.org/changeset/base/300638 Log: Use the expiry date to determine whether to replace the DB copy of leapfile instead of using the leapfile serial number (create timestamp). PR: 209577

svn commit: r300637 - head/sys/dev/dpaa

2016-05-24 Thread Justin Hibbits
Author: jhibbits Date: Wed May 25 01:23:19 2016 New Revision: 300637 URL: https://svnweb.freebsd.org/changeset/base/300637 Log: Set the TLB caching properties for portals at attach time. This was found while reworking the device tree nodes for dtsec to match the Linux device tree.

svn commit: r300636 - head/usr.sbin/ypserv

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 00:25:38 2016 New Revision: 300636 URL: https://svnweb.freebsd.org/changeset/base/300636 Log: Delay calling yp_malloc_dnsent() until after some additional sanity checks to avoid leaking memory on error returns. Reported by: Coverity CID:

svn commit: r300635 - head/usr.sbin/ypserv

2016-05-24 Thread Don Lewis
Author: truckman Date: Wed May 25 00:16:52 2016 New Revision: 300635 URL: https://svnweb.freebsd.org/changeset/base/300635 Log: Call free(cur) if strdup(dirp->d_name) fails to avoid a memory leak. Reported by: Coverity CID: 1007414 MFC after:1 week Modified:

svn commit: r300634 - head/sys/boot/efi/loader

2016-05-24 Thread Conrad E. Meyer
Author: cem Date: Wed May 25 00:13:01 2016 New Revision: 300634 URL: https://svnweb.freebsd.org/changeset/base/300634 Log: efi loader: Match format string to EFI_ERROR_CODE() Silence a format specifier warning. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r300633 - head/usr.sbin/acpi/acpidb

2016-05-24 Thread Don Lewis
Author: truckman Date: Tue May 24 23:41:36 2016 New Revision: 300633 URL: https://svnweb.freebsd.org/changeset/base/300633 Log: Fix acpidb CIDs 1011279 (Buffer not null terminated) and 978405 and 1199380 (Resource leak). load_dsdt() calls strncpy() to copy a filename and Coverity warns

svn commit: r300632 - head/usr.sbin/acpi/acpidump

2016-05-24 Thread Don Lewis
Author: truckman Date: Tue May 24 23:36:43 2016 New Revision: 300632 URL: https://svnweb.freebsd.org/changeset/base/300632 Log: Fix acpidump CID 1011278 (Buffer not null terminated) and other issues Coverity reports that a buffer used for temporary file generation might not be NUL

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

2016-05-24 Thread Bryan Drewery
Author: bdrewery Date: Tue May 24 23:19:03 2016 New Revision: 300631 URL: https://svnweb.freebsd.org/changeset/base/300631 Log: Regenerate Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r300630 - head/tools/build/options

2016-05-24 Thread Bryan Drewery
Author: bdrewery Date: Tue May 24 23:15:52 2016 New Revision: 300630 URL: https://svnweb.freebsd.org/changeset/base/300630 Log: WITH_META_MODE: Correct description of missing .meta file. Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/options/WITH_META_MODE

svn commit: r300629 - in stable: 10/sys/conf 8/sys/conf 9/sys/conf

2016-05-24 Thread John Baldwin
Author: jhb Date: Tue May 24 23:04:16 2016 New Revision: 300629 URL: https://svnweb.freebsd.org/changeset/base/300629 Log: MFC 299310: Don't store generated firmware object files in the source directory. Trim the leading directory of a firmware source file from the resulting target

svn commit: r300629 - in stable: 10/sys/conf 8/sys/conf 9/sys/conf

2016-05-24 Thread John Baldwin
Author: jhb Date: Tue May 24 23:04:16 2016 New Revision: 300629 URL: https://svnweb.freebsd.org/changeset/base/300629 Log: MFC 299310: Don't store generated firmware object files in the source directory. Trim the leading directory of a firmware source file from the resulting target

svn commit: r300629 - in stable: 10/sys/conf 8/sys/conf 9/sys/conf

2016-05-24 Thread John Baldwin
Author: jhb Date: Tue May 24 23:04:16 2016 New Revision: 300629 URL: https://svnweb.freebsd.org/changeset/base/300629 Log: MFC 299310: Don't store generated firmware object files in the source directory. Trim the leading directory of a firmware source file from the resulting target

svn commit: r300628 - in head/sys/dev/bhnd: . bhndb cores/chipc cores/pci cores/pcie2 siba

2016-05-24 Thread Adrian Chadd
Author: adrian Date: Tue May 24 21:20:17 2016 New Revision: 300628 URL: https://svnweb.freebsd.org/changeset/base/300628 Log: [bhnd] Normalize bhnd(4) device matching API This unifies handling of core, chip, and board-level device matching, and adds support for matching device drivers

svn commit: r300627 - head/sys/kern

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 21:13:33 2016 New Revision: 300627 URL: https://svnweb.freebsd.org/changeset/base/300627 Log: Silence false LOR report due to the taskqueue mutex and kqueue lock named the same. Reported by: Doug Luce Sponsored by: The FreeBSD

svn commit: r300626 - in head: sys/kern tests/sys/aio

2016-05-24 Thread John Baldwin
Author: jhb Date: Tue May 24 21:09:05 2016 New Revision: 300626 URL: https://svnweb.freebsd.org/changeset/base/300626 Log: Return the correct status when a partially completed request is cancelled. After the previous changes to fix requests on blocking sockets to complete across multiple

svn commit: r300625 - head/sys/rpc

2016-05-24 Thread Garrett Cooper
Author: ngie Date: Tue May 24 20:06:41 2016 New Revision: 300625 URL: https://svnweb.freebsd.org/changeset/base/300625 Log: Remove unnecessary memset(.., 0, ..)'s The mem_alloc macro calls calloc (userspace) / malloc(.., M_WAITOK|M_ZERO) under the covers, so zeroing out memory is already

svn commit: r300624 - head/lib/libc/rpc

2016-05-24 Thread Garrett Cooper
Author: ngie Date: Tue May 24 19:52:05 2016 New Revision: 300624 URL: https://svnweb.freebsd.org/changeset/base/300624 Log: Fix up r300385 I accidentally glossed over the fact that tmp is manipulated via strchr, so if we tried to free `tmp` after r300385, it would have crashed.

svn commit: r300622 - head/sys/vm

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 19:20:30 2016 New Revision: 300622 URL: https://svnweb.freebsd.org/changeset/base/300622 Log: In vm_page_cache(), only drop the vnode after radix insert failure for empty page cache when the object type if OBJT_VNODE. Reported and tested by: pho

Re: svn commit: r300620 - head/lib/libc/rpc

2016-05-24 Thread Ngie Cooper (yaneurabeya)
> On May 24, 2016, at 11:49, Conrad Meyer wrote: > > On Tue, May 24, 2016 at 11:44 AM, Garrett Cooper wrote: >> Author: ngie >> Date: Tue May 24 18:44:50 2016 >> New Revision: 300620 >> URL: https://svnweb.freebsd.org/changeset/base/300620 >> >> Log: >>

svn commit: r300621 - head/lib/libc/rpc

2016-05-24 Thread Garrett Cooper
Author: ngie Date: Tue May 24 18:53:06 2016 New Revision: 300621 URL: https://svnweb.freebsd.org/changeset/base/300621 Log: Remove redundant NULLing of outbuf_pmap If reallocf ever failed, outbuf_pmap would already be NULL MFC after: 1 week X-MFC with: r300620 Reported by: cem

Re: svn commit: r300620 - head/lib/libc/rpc

2016-05-24 Thread Conrad Meyer
On Tue, May 24, 2016 at 11:44 AM, Garrett Cooper wrote: > Author: ngie > Date: Tue May 24 18:44:50 2016 > New Revision: 300620 > URL: https://svnweb.freebsd.org/changeset/base/300620 > > Log: > Use reallocf instead of malloc to fix leak with outbuf_pmap > > ... > > Add a

svn commit: r300620 - head/lib/libc/rpc

2016-05-24 Thread Garrett Cooper
Author: ngie Date: Tue May 24 18:44:50 2016 New Revision: 300620 URL: https://svnweb.freebsd.org/changeset/base/300620 Log: Use reallocf instead of malloc to fix leak with outbuf_pmap The previous code overwrote outbuf_pmap's memory with malloc once per loop iteration, which leaked its

svn commit: r300619 - head/sys/cddl/dev/dtrace/aarch64

2016-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Tue May 24 17:38:27 2016 New Revision: 300619 URL: https://svnweb.freebsd.org/changeset/base/300619 Log: Try to unbreak the build after r300611 by including the header defining VM_MIN_KERNEL_ADDRESS. Sponsored by: DARPA/AFRL Modified:

RE: svn commit: r300617 - head/sys/conf

2016-05-24 Thread Cy Schubert
>From the commit log it would appear that parallel builds worked whereas >sequential (non-parallel) builds did not. That's kind of strange. Sent from my cellphone, ~Cy -Original Message- From: Ruslan Bukin Sent: 24/05/2016 09:30 To: src-committ...@freebsd.org; svn-src-all@freebsd.org;

svn commit: r300618 - in head: cddl/contrib/opensolaris/lib/libdtrace/common cddl/contrib/opensolaris/lib/libdtrace/riscv cddl/lib cddl/lib/libdtrace cddl/usr.sbin sys/cddl/contrib/opensolaris/uts/...

2016-05-24 Thread Ruslan Bukin
Author: br Date: Tue May 24 16:41:37 2016 New Revision: 300618 URL: https://svnweb.freebsd.org/changeset/base/300618 Log: Add initial DTrace support for RISC-V. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Added: head/cddl/contrib/opensolaris/lib/libdtrace/riscv/

svn commit: r300617 - head/sys/conf

2016-05-24 Thread Ruslan Bukin
Author: br Date: Tue May 24 16:30:05 2016 New Revision: 300617 URL: https://svnweb.freebsd.org/changeset/base/300617 Log: Set dependencies for genassym.c. This fixes non-parallel build. Modified: head/sys/conf/Makefile.riscv Modified: head/sys/conf/Makefile.riscv

Re: svn commit: r300557 - head/usr.sbin/apmd

2016-05-24 Thread John Baldwin
On Monday, May 23, 2016 09:24:41 PM Alan Somers wrote: > On Mon, May 23, 2016 at 9:15 PM, Peter Wemm wrote: > > > Author: peter > > Date: Tue May 24 03:15:46 2016 > > New Revision: 300557 > > URL: https://svnweb.freebsd.org/changeset/base/300557 > > > > Log: > > It seems is

svn commit: r300616 - head/sys/dev/bhnd/soc

2016-05-24 Thread Adrian Chadd
Author: adrian Date: Tue May 24 15:39:57 2016 New Revision: 300616 URL: https://svnweb.freebsd.org/changeset/base/300616 Log: [bhnd] fix compilation due to incompatible types Submitted by: Michael Zhilin Differential Revision: https://reviews.freebsd.org/D6532

Re: svn commit: r300423 - in head/sys: fs/ext2fs ufs/ffs

2016-05-24 Thread Pedro Giffuni
On 05/24/16 07:20, Bruce Evans wrote: On Sun, 22 May 2016, Kevin Lo wrote: Log: arc4random() returns 0 to (2**32)−1, use an alternative to initialize i_gen if it's zero rather than a divide by 2. With inputs from delphij, mckusick, rmacklem Reviewed by:mckusick ... Modified:

svn commit: r300615 - head/sys/dev/iscsi

2016-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 24 14:34:36 2016 New Revision: 300615 URL: https://svnweb.freebsd.org/changeset/base/300615 Log: Add kern.icl.iser_offloads sysctl. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.c Modified:

svn commit: r300614 - head/sys/riscv/riscv

2016-05-24 Thread Ruslan Bukin
Author: br Date: Tue May 24 13:59:13 2016 New Revision: 300614 URL: https://svnweb.freebsd.org/changeset/base/300614 Log: Store the original value of stack pointer to the exception frame (the value we had before supervisor exception occurred). This helps consumers (e.g. DTrace) to not

svn commit: r300613 - head/release/doc/en_US.ISO8859-1/relnotes

2016-05-24 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue May 24 13:58:07 2016 New Revision: 300613 URL: https://svnweb.freebsd.org/changeset/base/300613 Log: Bump copyright year Approved by: gjb@ (implicit) Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified:

svn commit: r300612 - head/sys/dev/an

2016-05-24 Thread Sean Bruno
Author: sbruno Date: Tue May 24 13:57:23 2016 New Revision: 300612 URL: https://svnweb.freebsd.org/changeset/base/300612 Log: Reject ioctl commands for FLSHGCHR and FLSHPCHR if the size is greater than sc->areq. This is a bounds check to ensure we're not just cramming arbitrarily sized

svn commit: r300611 - head/sys/cddl/dev/dtrace/aarch64

2016-05-24 Thread Andrew Turner
Author: andrew Date: Tue May 24 13:57:23 2016 New Revision: 300611 URL: https://svnweb.freebsd.org/changeset/base/300611 Log: Mark all memory before the kernel as toxic to DTrace. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

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

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 12:40:03 2016 New Revision: 300610 URL: https://svnweb.freebsd.org/changeset/base/300610 Log: Re-enable write combining, disabled by default at r295486. if_ntb(4) strongly benefits from WC, improving throughput from 350Mbit/s to 8-10Gbit/s on my tests.

svn commit: r300609 - in head/sys/dev/sfxge: . common

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:20:23 2016 New Revision: 300609 URL: https://svnweb.freebsd.org/changeset/base/300609 Log: sfxge(4): enable Medford support Reviewed by:gnn Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision:

Re: svn commit: r300423 - in head/sys: fs/ext2fs ufs/ffs

2016-05-24 Thread Bruce Evans
On Sun, 22 May 2016, Kevin Lo wrote: Log: arc4random() returns 0 to (2**32)???1, use an alternative to initialize i_gen if it's zero rather than a divide by 2. With inputs from delphij, mckusick, rmacklem Reviewed by: mckusick ... Modified: head/sys/fs/ext2fs/ext2_alloc.c

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

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:19:14 2016 New Revision: 300608 URL: https://svnweb.freebsd.org/changeset/base/300608 Log: sfxge(4): bump driver version to the closest out-of-tree version Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Modified:

svn commit: r300607 - in head: share/man/man4 sys/dev/sfxge sys/dev/sfxge/common

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:16:57 2016 New Revision: 300607 URL: https://svnweb.freebsd.org/changeset/base/300607 Log: sfxge(4): cleanup: update copyright to 2016 Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revision:

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

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:15:30 2016 New Revision: 300606 URL: https://svnweb.freebsd.org/changeset/base/300606 Log: sfxge(4): provide option to disable not a local MAC address check Option EFSYS_OPT_ALLOW_UNCONFIGURED_NIC disables check that the adapter MAC address is not a

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

2016-05-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue May 24 12:14:19 2016 New Revision: 300605 URL: https://svnweb.freebsd.org/changeset/base/300605 Log: sfxge(4): be ready to receive events immediately after event queues are created Submitted by: Mark Spender Reviewed by:gnn Sponsored by: Solarflare

svn commit: r300604 - head/sys/kern

2016-05-24 Thread Andrew Turner
Author: andrew Date: Tue May 24 12:06:56 2016 New Revision: 300604 URL: https://svnweb.freebsd.org/changeset/base/300604 Log: Limit calling pmc_hook to when the interrupt comes while running userspace. We may enable interrupts from within the callback, e.g. in a data abort during copyin. If

svn commit: r300603 - head/sys/net

2016-05-24 Thread Michael Tuexen
Author: tuexen Date: Tue May 24 11:47:14 2016 New Revision: 300603 URL: https://svnweb.freebsd.org/changeset/base/300603 Log: Allow an MTU of 65535 bytes to be set via TUN[SG]IFINFO. This requires changing the type on the mtu field in struct tuninfo from short to unsigned short. This is

svn commit: r300602 - head/lib/libradius

2016-05-24 Thread Dag-Erling Smørgrav
Author: des Date: Tue May 24 11:44:43 2016 New Revision: 300602 URL: https://svnweb.freebsd.org/changeset/base/300602 Log: The NAS-Identifier attribute is a string, not an integer. MFC after:1 week Modified: head/lib/libradius/radlib.h Modified: head/lib/libradius/radlib.h

svn commit: r300601 - stable/10/sys/ufs/ffs

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 10:46:23 2016 New Revision: 300601 URL: https://svnweb.freebsd.org/changeset/base/300601 Log: MFC r300084: Do enable io accounting for read-only mounts and mounts which are remounted to writeable after initial read-only. Assign to dev->si_mountpt earlier to

svn commit: r300600 - stable/10/sys/ufs/ffs

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 10:41:34 2016 New Revision: 300600 URL: https://svnweb.freebsd.org/changeset/base/300600 Log: MFC r300083: If IO_SYNC was passed to ffs_truncate(), request synchronous inode update from the final ffs_update(). Modified: stable/10/sys/ufs/ffs/ffs_inode.c

svn commit: r300599 - stable/10/sys/ufs/ufs

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 10:39:55 2016 New Revision: 300599 URL: https://svnweb.freebsd.org/changeset/base/300599 Log: MFC r300082: For async UFS mounts, shrink the directory asynchronously, at least do not pass IO_SYNC to ffs_truncate() unneccessary. Modified:

svn commit: r300598 - stable/10/sys/ufs/ffs

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 10:36:33 2016 New Revision: 300598 URL: https://svnweb.freebsd.org/changeset/base/300598 Log: MFC r300030: Fix comments. Modified: stable/10/sys/ufs/ffs/ffs_vfsops.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r300597 - stable/10/sys/ufs/ufs

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 10:34:24 2016 New Revision: 300597 URL: https://svnweb.freebsd.org/changeset/base/300597 Log: MFC r300027: Fix typo in the message. Modified: stable/10/sys/ufs/ufs/ufs_lookup.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r300596 - head/sys/vm

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 10:21:39 2016 New Revision: 300596 URL: https://svnweb.freebsd.org/changeset/base/300596 Log: In vm_page_alloc_contig(), on vm_page_insert() failure, mark each freed page as VPO_UNMANAGED. Otherwise vm_pge_free_toq() insists on owning the page lock.

svn commit: r300595 - head/sys/vm

2016-05-24 Thread Konstantin Belousov
Author: kib Date: Tue May 24 10:16:03 2016 New Revision: 300595 URL: https://svnweb.freebsd.org/changeset/base/300595 Log: Remove Giant around allocation of the swap pager with non-NULL handle. Existing issue of not protecting pager_object_list iteration in vm_pager_object_lookup() by

svn commit: r300594 - head/sys/compat/linuxkpi/common/include/linux

2016-05-24 Thread Kevin Lo
Author: kevlo Date: Tue May 24 09:23:04 2016 New Revision: 300594 URL: https://svnweb.freebsd.org/changeset/base/300594 Log: Add __iowrite32_copy() to the Linux kernel compatibility layer. Reviewed by: hselasky Modified: head/sys/compat/linuxkpi/common/include/linux/io.h Modified:

svn commit: r300593 - head/sys/dev/iscsi

2016-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 24 08:54:41 2016 New Revision: 300593 URL: https://svnweb.freebsd.org/changeset/base/300593 Log: Rename kern.icl.drivers to kern.icl.offloads, for consistency. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.c

svn commit: r300592 - in head/sys: cam/ctl dev/cxgbe/cxgbei dev/iscsi

2016-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 24 08:44:45 2016 New Revision: 300592 URL: https://svnweb.freebsd.org/changeset/base/300592 Log: Add mechanism for choosing iSER-capable ICL modules. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/cam/ctl/ctl_frontend_iscsi.c

svn commit: r300591 - head/sys/compat/linuxkpi/common/src

2016-05-24 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 24 07:52:53 2016 New Revision: 300591 URL: https://svnweb.freebsd.org/changeset/base/300591 Log: Use the DROP_GIANT() and PICKUP_GIANT() macros instead of making assumptions about how the Giant mutex is locked. MFC after:1 week Sponsored by: Mellanox

svn commit: r300590 - in head/sys/compat/linuxkpi/common: include/linux src

2016-05-24 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 24 07:46:20 2016 New Revision: 300590 URL: https://svnweb.freebsd.org/changeset/base/300590 Log: Set "current" for all PCI enumeration callbacks. Obtained from:kmacy @ MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r300589 - stable/10/sys/cam/scsi

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:21:23 2016 New Revision: 300589 URL: https://svnweb.freebsd.org/changeset/base/300589 Log: MFC r299373: Allow sleepable allocations in enclosure daemon threads. There were at least two places where M_NOWAIT was used without NULL check. This change should

svn commit: r300588 - stable/10/sys/cam/ctl

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:19:52 2016 New Revision: 300588 URL: https://svnweb.freebsd.org/changeset/base/300588 Log: MFC r299347, r299348: Validate XCOPY range offsets and lengths. Modified: stable/10/sys/cam/ctl/ctl_tpc.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r300587 - stable/10/sys/cam/ctl

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:19:00 2016 New Revision: 300587 URL: https://svnweb.freebsd.org/changeset/base/300587 Log: MFC r299346: More XCOPY parameters validation. Modified: stable/10/sys/cam/ctl/ctl_tpc.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r300586 - stable/10/sys/cam/ctl

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:18:22 2016 New Revision: 300586 URL: https://svnweb.freebsd.org/changeset/base/300586 Log: MFC r299329: Improve validation of some POPULATE TOKEN parameters. Modified: stable/10/sys/cam/ctl/ctl_tpc.c Directory Properties: stable/10/ (props changed)

svn commit: r300585 - stable/10/sys/dev/fb

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:17:09 2016 New Revision: 300585 URL: https://svnweb.freebsd.org/changeset/base/300585 Log: MFC r300072: Fix NULL-dereference panic if VESA reports zero modes. Modified: stable/10/sys/dev/fb/vesa.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r300584 - stable/10/sys/dev/isp

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:15:53 2016 New Revision: 300584 URL: https://svnweb.freebsd.org/changeset/base/300584 Log: MFC r300218: Add proper reporting for early task management errors. This covers unknown requests and requests to unknown virtual ports. Previously it "worked" only

svn commit: r300583 - stable/10/sys/dev/isp

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:15:10 2016 New Revision: 300583 URL: https://svnweb.freebsd.org/changeset/base/300583 Log: MFC r300217: Add IOCB debugging for ISPCTL_RESET_DEV and ISPCTL_ABORT_CMD. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed)

svn commit: r300582 - stable/10/sys/dev/isp

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:14:24 2016 New Revision: 300582 URL: https://svnweb.freebsd.org/changeset/base/300582 Log: MFC r300157: Unify Multi ID target code by reusing isp_find_chan_by_did(). Modified: stable/10/sys/dev/isp/isp_target.c Directory Properties: stable/10/ (props

svn commit: r300581 - stable/10/sys/dev/isp

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:13:42 2016 New Revision: 300581 URL: https://svnweb.freebsd.org/changeset/base/300581 Log: MFC r300058: Make RQCS_PORT_LOGGED_OUT for ZOMBIE ports retriable. It is normal for ZOMBIE ports to be logged out. This status is not really an error until Gone

svn commit: r300580 - stable/10/sys/dev/isp

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:12:53 2016 New Revision: 300580 URL: https://svnweb.freebsd.org/changeset/base/300580 Log: MFC r300052: Completely remove broken now autologin port flag. Firmware automatically logs in only to local loop ports, and those ports can be easily identified

svn commit: r300579 - stable/10/sys/dev/isp

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:12:11 2016 New Revision: 300579 URL: https://svnweb.freebsd.org/changeset/base/300579 Log: MFC r299957: Reduce verbosity of "now sending synthesized status" message. Modified: stable/10/sys/dev/isp/isp_freebsd.c Directory Properties: stable/10/ (props

svn commit: r300578 - stable/10/sys/dev/isp

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:11:31 2016 New Revision: 300578 URL: https://svnweb.freebsd.org/changeset/base/300578 Log: MFC r299955: No need to check login status for ZOMBIE ports. ZOMBIE ports are always logged out, and so initiator may try to relogin. Modified:

svn commit: r300575 - head/sys/compat/linuxkpi/common/include/linux

2016-05-24 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 24 07:06:04 2016 New Revision: 300575 URL: https://svnweb.freebsd.org/changeset/base/300575 Log: Use make_dev_s() instead of make_dev() to avoid race setting "si_drv1". Convert panic() into regular error while at it. Suggested by: jhb @ MFC after:1

svn commit: r300577 - stable/10/sys/dev/isp

2016-05-24 Thread Alexander Motin
Author: mav Date: Tue May 24 07:10:50 2016 New Revision: 300577 URL: https://svnweb.freebsd.org/changeset/base/300577 Log: MFC r299691: Fix FCP_CMD LENGTH mask in ATIO7 IOCB. This caused "long IU length (16384) ignored" errors following by others. Modified:

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 24 07:07:11 2016 New Revision: 300576 URL: https://svnweb.freebsd.org/changeset/base/300576 Log: hyperv/vmbus: Free message taskqueue during interrupt teardown MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 24 06:42:14 2016 New Revision: 300574 URL: https://svnweb.freebsd.org/changeset/base/300574 Log: hyperv/vmbus: Factor out functions for vmbus interrupt set/teardown This paves way for further cleanup and fix. MFC after:1 week Sponsored by: Microsoft

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 24 06:10:21 2016 New Revision: 300573 URL: https://svnweb.freebsd.org/changeset/base/300573 Log: hyperv/vmbus: Git rid of sc version of pcpu data extraction macro MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

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

2016-05-24 Thread Sepherosa Ziehau
Author: sephe Date: Tue May 24 06:01:39 2016 New Revision: 300572 URL: https://svnweb.freebsd.org/changeset/base/300572 Log: hyperv/vmbus: Use busdma(9) for messages and event flags And - Move message and event flags to vmbus_softc per-cpu data. - Get rid of hv_setup_arg, which serves