svn commit: r291019 - head

2015-11-18 Thread Baptiste Daroussin
Author: bapt Date: Wed Nov 18 16:52:19 2015 New Revision: 291019 URL: https://svnweb.freebsd.org/changeset/base/291019 Log: Recommend only to remove the content of /usr/share/locale/ and not the directory Add a missing full stop Modified: head/UPDATING Modified: head/UPDATING

svn commit: r291020 - head/sys/kern

2015-11-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Nov 18 17:03:22 2015 New Revision: 291020 URL: https://svnweb.freebsd.org/changeset/base/291020 Log: Extend r270123 to run the brand info's header_supported() routine for branded as well as unbranded binaries. This will be required to add support for the new

svn commit: r291017 - head/usr.sbin/pmcstat

2015-11-18 Thread Jonathan T. Looney
Author: jtl Date: Wed Nov 18 15:12:24 2015 New Revision: 291017 URL: https://svnweb.freebsd.org/changeset/base/291017 Log: Fix the date on the pmcstat(8) man page from r291016. Approved by: gnn (mentor) MFC after:1 month X-MFC with: r291016 Pointy hat to:jtl Modified:

svn commit: r291018 - head/sys/arm/arm

2015-11-18 Thread Michal Meloun
Author: mmel Date: Wed Nov 18 16:07:01 2015 New Revision: 291018 URL: https://svnweb.freebsd.org/changeset/base/291018 Log: ARM: Fix dma_dcache_sync() for early allocated memory. Drivers can request DMA to buffers that are not in memory represented in the vm page arrays. Because of this,

svn commit: r291021 - in head: sbin usr.sbin

2015-11-18 Thread Bryan Drewery
Author: bdrewery Date: Wed Nov 18 17:52:38 2015 New Revision: 291021 URL: https://svnweb.freebsd.org/changeset/base/291021 Log: Convert to SUBDIR.yes format. Reviewed by: imp Sponsored by: EMC / Isilon Storage Division Differential Revision:https://reviews.freebsd.org/D4182

svn commit: r291022 - head/sys/x86/x86

2015-11-18 Thread Roger Pau Monné
Author: royger Date: Wed Nov 18 18:09:49 2015 New Revision: 291022 URL: https://svnweb.freebsd.org/changeset/base/291022 Log: x86/intr: allow mutex recursion in intr_remove_handler This is needed so interrupt handlers can be removed while the PIC is resuming, it was previously not

svn commit: r291023 - head/sys/x86/xen

2015-11-18 Thread Roger Pau Monné
Author: royger Date: Wed Nov 18 18:10:28 2015 New Revision: 291023 URL: https://svnweb.freebsd.org/changeset/base/291023 Log: xen/intr: properly dispose event channels on resume All event channels are torn down when performing a migration on Xen, make sure all handlers are also removed

svn commit: r291024 - in head/sys: dev/xen/control x86/xen

2015-11-18 Thread Roger Pau Monné
Author: royger Date: Wed Nov 18 18:11:19 2015 New Revision: 291024 URL: https://svnweb.freebsd.org/changeset/base/291024 Log: xen: fix dropping bitmap IPIs during resume Current Xen resume code clears all pending bitmap IPIs on resume, which is not correct. Instead re-inject bitmap IPI

svn commit: r291013 - head/sys/dev/isp

2015-11-18 Thread Alexander Motin
Author: mav Date: Wed Nov 18 11:14:59 2015 New Revision: 291013 URL: https://svnweb.freebsd.org/changeset/base/291013 Log: Remove some confusions between loopid and nphdl. Modern cards in most cases operate abstract port handles, that have no any relation to real loop IDs. Leave loopid

svn commit: r291014 - head/sys/dev/isp

2015-11-18 Thread Alexander Motin
Author: mav Date: Wed Nov 18 12:39:20 2015 New Revision: 291014 URL: https://svnweb.freebsd.org/changeset/base/291014 Log: Simplify fabric tasting code. Except cosmetic changes this removes fabric ports from our port database. It is always firmware duty to manage them, so driver don't

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

2015-11-18 Thread Steven Hartland
Author: smh Date: Wed Nov 18 09:42:36 2015 New Revision: 291012 URL: https://svnweb.freebsd.org/changeset/base/291012 Log: Document loader(8) dumpdev option Add an entry for dumpdev environment variable to loader(8). MFC after:1 week Sponsored by: Multiplay Modified:

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

2015-11-18 Thread Ed Maste
On 18 November 2015 at 04:42, Steven Hartland wrote: > Author: smh > Date: Wed Nov 18 09:42:36 2015 > New Revision: 291012 > URL: https://svnweb.freebsd.org/changeset/base/291012 > > Log: > Document loader(8) dumpdev option Thank you!

svn commit: r291015 - head/lib/libcrypt/tests

2015-11-18 Thread Craig Rodrigues
Author: rodrigc Date: Wed Nov 18 13:19:34 2015 New Revision: 291015 URL: https://svnweb.freebsd.org/changeset/base/291015 Log: Temporarily comment out the libcrypt tests. They are emitting characters which are triggering a kyua bug which causes kyua to emit invalid XML. This invalid

svn commit: r291016 - head/usr.sbin/pmcstat

2015-11-18 Thread Jonathan T. Looney
Author: jtl Date: Wed Nov 18 14:52:01 2015 New Revision: 291016 URL: https://svnweb.freebsd.org/changeset/base/291016 Log: Support a wider history counter in pmcstat(8) gmon output pmcstat(8) contains an option to output sampling data in a gmon format compatible with gprof(1). Currently,

svn commit: r291033 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-11-18 Thread Conrad E. Meyer
Author: cem Date: Wed Nov 18 22:20:40 2015 New Revision: 291033 URL: https://svnweb.freebsd.org/changeset/base/291033 Log: NTB: Expose 32-bit BAR limits to consumers 32-bit BARs can only address memory mapped in the low 32 bits of physical RAM. Expose this as a 'plimit' out parameter

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

2015-11-18 Thread Conrad E. Meyer
Author: cem Date: Wed Nov 18 22:20:49 2015 New Revision: 291034 URL: https://svnweb.freebsd.org/changeset/base/291034 Log: if_ntb: Reuse receive buffers correctly Discard the unused rx_free_q. Instead, reuse inputed packets by putting them back on the *pend* queue after

svn commit: r291030 - head/sys/dev/ntb/ntb_hw

2015-11-18 Thread Conrad E. Meyer
Author: cem Date: Wed Nov 18 22:20:13 2015 New Revision: 291030 URL: https://svnweb.freebsd.org/changeset/base/291030 Log: ntb_hw: Add tunable to disable write-combining The tunable 'hw.ntb.enable_writecombine' may be set to zero to administratively disable write combining the mapped NTB

svn commit: r291029 - head/sys/dev/ntb/ntb_hw

2015-11-18 Thread Conrad E. Meyer
Author: cem Date: Wed Nov 18 22:20:04 2015 New Revision: 291029 URL: https://svnweb.freebsd.org/changeset/base/291029 Log: NTB: Fix 32-bit BAR size validation Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c Modified:

svn commit: r291032 - head/sys/dev/ntb/ntb_hw

2015-11-18 Thread Conrad E. Meyer
Author: cem Date: Wed Nov 18 22:20:31 2015 New Revision: 291032 URL: https://svnweb.freebsd.org/changeset/base/291032 Log: NTB: Mask off the low 12 bits of address/range registers Sometimes they'll read spurious values (observed: 0xc on Broadwell-DE), failing link negotiation.

svn commit: r291031 - head/sys/dev/ntb/ntb_hw

2015-11-18 Thread Conrad E. Meyer
Author: cem Date: Wed Nov 18 22:20:21 2015 New Revision: 291031 URL: https://svnweb.freebsd.org/changeset/base/291031 Log: ntb_hw: Add programmatic interface to enable/disable WC Enable users to enable/disable WC on memory windows programmatically. Sponsored by: EMC / Isilon Storage

svn commit: r291035 - head/sys/netsmb

2015-11-18 Thread Rick Macklem
Author: rmacklem Date: Wed Nov 18 23:04:01 2015 New Revision: 291035 URL: https://svnweb.freebsd.org/changeset/base/291035 Log: The problem report was for a crash that happened when smbfs was trying to do a mount. Given the backtrace, it appears that the crash occurred when smb_vc_create()

svn commit: r291046 - head/share/mk

2015-11-18 Thread Bryan Drewery
Author: bdrewery Date: Thu Nov 19 00:45:36 2015 New Revision: 291046 URL: https://svnweb.freebsd.org/changeset/base/291046 Log: FAST_DEPEND: Similar to r290629, do always depend on headers if 'make depend' has not ran yet. This fixes building objects directly, or skipping 'make depend',

svn commit: r291052 - head/usr.sbin/makefs/ffs

2015-11-18 Thread Ed Maste
Author: emaste Date: Thu Nov 19 02:39:46 2015 New Revision: 291052 URL: https://svnweb.freebsd.org/changeset/base/291052 Log: Remove clauses 3 and 4 from makefs newfs_extern.h Obtained from:NetBSD Modified: head/usr.sbin/makefs/ffs/newfs_extern.h Modified:

svn commit: r291047 - head/sys/ofed/drivers/net/mlx4

2015-11-18 Thread Garrett Cooper
Author: ngie Date: Thu Nov 19 01:08:16 2015 New Revision: 291047 URL: https://svnweb.freebsd.org/changeset/base/291047 Log: Don't leak work if __mlx4_register_vlan(..) fails in mlx4_master_immediate_activate_vlan_qos(..) MFC after: 3 days Differential Revision:

svn commit: r291053 - head/share/mk

2015-11-18 Thread Warner Losh
Author: imp Date: Thu Nov 19 03:11:20 2015 New Revision: 291053 URL: https://svnweb.freebsd.org/changeset/base/291053 Log: Fix mips CPUTYPE so that we can pass it through to gcc. Keep old CPUTYPEs around for compatibility. Also include a list of typical values for FreeBSD. # Split out

Re: svn commit: r288966 - head/share/mk

2015-11-18 Thread Bryan Drewery
On 10/7/2015 11:09 AM, Bryan Drewery wrote: > On 10/7/2015 11:02 AM, Simon J. Gerraty wrote: >> Bryan Drewery wrote: +.for h in ${SRCS:M*.h} >>> >>> I think we can use DPSRCS as well for this. >> >> Not sure. >> usr.bin/truss/Makefile didn't use that. >> I only see it

svn commit: r291049 - head/sys/mips/conf

2015-11-18 Thread Warner Losh
Author: imp Date: Thu Nov 19 01:58:12 2015 New Revision: 291049 URL: https://svnweb.freebsd.org/changeset/base/291049 Log: Mark the mostly redundant kernels that just pull in something from _BASE as NO_UNIVERSE Differential Revision: https://reviews.freebsd.org/D4200 Modified:

svn commit: r291048 - head/sys/boot/powerpc/kboot

2015-11-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Nov 19 01:57:23 2015 New Revision: 291048 URL: https://svnweb.freebsd.org/changeset/base/291048 Log: The Linux kexec boot loader doesn't need a font built in to it. This got copied-and-pasted from the PS3 loader. Modified: head/sys/boot/powerpc/kboot/Makefile

svn commit: r291041 - in head: tools/debugscripts tools/regression/netinet/ip_id_period tools/sched tools/tools/shlib-compat usr.bin/fortune/tools

2015-11-18 Thread Craig Rodrigues
Author: rodrigc Date: Thu Nov 19 00:01:52 2015 New Revision: 291041 URL: https://svnweb.freebsd.org/changeset/base/291041 Log: Use print as a function for Python 3 [PEP 3105] Import print_function from the __future__ module to activate this for Python 2. This works as far back as Python

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

2015-11-18 Thread Conrad E. Meyer
Author: cem Date: Wed Nov 18 22:19:55 2015 New Revision: 291028 URL: https://svnweb.freebsd.org/changeset/base/291028 Log: if_ntb: Diff reduce with Linux Use bus_space_write instead of (non-volatile) C pointer writes via an iowrite32() shim in the same places as the Dual BSD/GPL Linux

svn commit: r291026 - in head: . usr.bin/xinstall

2015-11-18 Thread Bryan Drewery
Author: bdrewery Date: Wed Nov 18 21:37:46 2015 New Revision: 291026 URL: https://svnweb.freebsd.org/changeset/base/291026 Log: Remove unneeded libmd from bootstrap-tools (reverting r246784). The bootstrap-tools are supposed to be host tools, which in most cases, use host headers and

svn commit: r291036 - in head/tools: sched tools/shlib-compat

2015-11-18 Thread Craig Rodrigues
Author: rodrigc Date: Wed Nov 18 23:32:29 2015 New Revision: 291036 URL: https://svnweb.freebsd.org/changeset/base/291036 Log: Use 'in' instead of 'has_key()' for testing dictionary membership. In PEP 0290, has_key() was deprecated in Python 2.2 and higher:

svn commit: r291038 - head/lib/libc/tests/net

2015-11-18 Thread Garrett Cooper
Author: ngie Date: Wed Nov 18 23:42:44 2015 New Revision: 291038 URL: https://svnweb.freebsd.org/changeset/base/291038 Log: Do not print out errno if the call succeeded unexpectedly; this was a mistake made in r290868 MFC after: 4 days X-MFC with: r290563, r290868 Reported by: jilles

svn commit: r291045 - head/sys/netinet6

2015-11-18 Thread Conrad E. Meyer
Author: cem Date: Thu Nov 19 00:27:26 2015 New Revision: 291045 URL: https://svnweb.freebsd.org/changeset/base/291045 Log: in6_mc_get: Fix recursion on if_addr_lock on malloc failure Analogously to r291040, in6_mc_get recurses on if_addr_lock if the M_NOWAIT allocation fails. The fix is

svn commit: r291027 - head/include

2015-11-18 Thread Bryan Drewery
Author: bdrewery Date: Wed Nov 18 21:39:58 2015 New Revision: 291027 URL: https://svnweb.freebsd.org/changeset/base/291027 Log: META MODE: Fix changing what "MACHINE=host" means when computing dirdeps for include/. The _SKIP_BUILD is used while computing DIRDEPS. If MACHINE=host is

svn commit: r291040 - head/sys/netinet

2015-11-18 Thread Conrad E. Meyer
Author: cem Date: Wed Nov 18 23:53:13 2015 New Revision: 291040 URL: https://svnweb.freebsd.org/changeset/base/291040 Log: in_getmulti: Fix recursion on if_addr_lock on malloc failure When the M_NOWAIT allocation fails, we recurse the if_addr_lock trying to clean up. Reorder the cleanup

svn commit: r291056 - head/sys/powerpc/include

2015-11-18 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 19 04:41:16 2015 New Revision: 291056 URL: https://svnweb.freebsd.org/changeset/base/291056 Log: Revert r291009 until rman changes go in. Pointy-hat to:jhibbits Modified: head/sys/powerpc/include/bus.h Modified: head/sys/powerpc/include/bus.h

Re: svn commit: r288966 - head/share/mk

2015-11-18 Thread Bryan Drewery
On 11/18/15 7:53 PM, Simon J. Gerraty wrote: > Bryan Drewery wrote: >> > As for the actual change in local.autodep.mk, I don't think it is needed >> > or right since bsd.lib.mk and bsd.prog.mk already do exactly the same >> > thing via ${OBJS}: ${SRCS:M*.h} if .depend is not

svn commit: r291055 - head/share/mk

2015-11-18 Thread Warner Losh
Author: imp Date: Thu Nov 19 03:55:44 2015 New Revision: 291055 URL: https://svnweb.freebsd.org/changeset/base/291055 Log: Fix missing endif. Modified: head/share/mk/bsd.cpu.mk Modified: head/share/mk/bsd.cpu.mk ==

svn commit: r291060 - head/sys/kern

2015-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 05:58:51 2015 New Revision: 291060 URL: https://svnweb.freebsd.org/changeset/base/291060 Log: Remove a commented-out debug print. MFC after:1 week Modified: head/sys/kern/subr_witness.c Modified: head/sys/kern/subr_witness.c

svn commit: r291059 - in head: share/man/man4 sys/kern

2015-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 05:56:59 2015 New Revision: 291059 URL: https://svnweb.freebsd.org/changeset/base/291059 Log: Add support for a configurable output channel to witness(4). This is useful in environments where system configuration is performed by automated interaction with

svn commit: r291057 - head/sys/cddl/dev/dtrace/amd64

2015-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 05:33:15 2015 New Revision: 291057 URL: https://svnweb.freebsd.org/changeset/base/291057 Log: Fix a bug in the amd64 dtrace_getarg() implementation: when unwinding the stack, take into account the copy of rsi pushed between the breakpoint trapframe and the

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

2015-11-18 Thread Mark Johnston
Author: markj Date: Thu Nov 19 05:50:22 2015 New Revision: 291058 URL: https://svnweb.freebsd.org/changeset/base/291058 Log: Add vlog(9). Reviewed by: cem, jhb MFC after:1 week Differential Revision:https://reviews.freebsd.org/D4183 Modified:

Re: svn commit: r288966 - head/share/mk

2015-11-18 Thread Simon J. Gerraty
Bryan Drewery wrote: > As for the actual change in local.autodep.mk, I don't think it is needed > or right since bsd.lib.mk and bsd.prog.mk already do exactly the same > thing via ${OBJS}: ${SRCS:M*.h} if .depend is not yet generated. This > does work in meta mode as I ran

svn commit: r291025 - in head/bin/sh: . tests/parameters

2015-11-18 Thread Jilles Tjoelker
Author: jilles Date: Wed Nov 18 21:09:03 2015 New Revision: 291025 URL: https://svnweb.freebsd.org/changeset/base/291025 Log: sh: Fix ""$@, which should not use the special case for "$@". "$@" should expand to no words if there are no positional parameters, but ""$@ should always expand