svn commit: r265424 - head/sys/dev/mpr

2014-05-06 Thread Kenneth D. Merry
Author: ken Date: Tue May 6 06:18:43 2014 New Revision: 265424 URL: http://svnweb.freebsd.org/changeset/base/265424 Log: Fix a problem with async notifications in the mpr(4) driver. This problem only occurs on versions of FreeBSD prior to the recent CAM locking changes. (i.e. stable/9

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-06 Thread David Chisnall
Bruce, On 6 May 2014, at 05:46, Bruce Evans b...@optusnet.com.au wrote: The standard behaviour is undefined. It cannot be relied on. From C99 (n869.txt): %7.20.3.1 The calloc function % %Synopsis % %[#1] % %#include stdlib.h %

svn commit: r265427 - head/sys/dev/usb/controller

2014-05-06 Thread Hans Petter Selasky
Author: hselasky Date: Tue May 6 09:12:32 2014 New Revision: 265427 URL: http://svnweb.freebsd.org/changeset/base/265427 Log: Reduce the number of interrupts in USB host mode for the DWC OTG controller driver by piggybacking the SOF interrupt when issuing new and checking old transfers.

svn commit: r265432 - head/sys/sys

2014-05-06 Thread Robert Watson
Author: rwatson Date: Tue May 6 10:53:51 2014 New Revision: 265432 URL: http://svnweb.freebsd.org/changeset/base/265432 Log: Spell raccdt in a more conventional way in a comment. MFC after:3 days Modified: head/sys/sys/kernel.h Modified: head/sys/sys/kernel.h

svn commit: r265433 - in head/sys: conf modules/drm2

2014-05-06 Thread Stefan Esser
Author: se Date: Tue May 6 11:12:56 2014 New Revision: 265433 URL: http://svnweb.freebsd.org/changeset/base/265433 Log: Fix buildkernel breakage, which was fall-out from the move of options to src.opts.mk. Modified: head/sys/conf/kmod.mk head/sys/modules/drm2/Makefile Modified:

Re: svn commit: r265391 - head/sys/dev/vt

2014-05-06 Thread Aleksandr Rybalko
On Mon, 5 May 2014 17:00:27 -0700 Steve Kargl s...@troutmask.apl.washington.edu wrote: On Mon, May 05, 2014 at 09:29:57PM +, Aleksandr Rybalko wrote: Author: ray Date: Mon May 5 21:29:56 2014 New Revision: 265391 URL: http://svnweb.freebsd.org/changeset/base/265391 Log:

svn commit: r265436 - head/usr.bin/bmake

2014-05-06 Thread Stefan Esser
Author: se Date: Tue May 6 12:31:17 2014 New Revision: 265436 URL: http://svnweb.freebsd.org/changeset/base/265436 Log: Fix include statement to accept src.opts.mk from a source directory instead of from /usr/share/mk. I'm not sure that this will let buildworld complete on a system with

Re: svn commit: r265418 - head/sys/vm

2014-05-06 Thread Ian Lepore
On Tue, 2014-05-06 at 03:42 +, Alan Cox wrote: Author: alc Date: Tue May 6 03:42:04 2014 New Revision: 265418 URL: http://svnweb.freebsd.org/changeset/base/265418 Log: Prior to r254304, a separate function, vm_pageout_page_stats(), was used to periodically update the reference

Re: svn commit: r265367 - head/lib/libc/regex

2014-05-06 Thread Bruce Evans
On Tue, 6 May 2014, David Chisnall wrote: On 6 May 2014, at 05:46, Bruce Evans b...@optusnet.com.au wrote: The standard behaviour is undefined. It cannot be relied on. From C99 (n869.txt): %7.20.3.1 The calloc function % %Synopsis % %[#1] % %

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

2014-05-06 Thread Ian Lepore
Author: ian Date: Tue May 6 13:38:34 2014 New Revision: 265440 URL: http://svnweb.freebsd.org/changeset/base/265440 Log: Move the pl310.enabled tunable to hw.pl310.enabled. Clean up a few minor style(9) nits. Use DEVMETHOD_END. Modified: head/sys/arm/arm/pl310.c Modified:

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

2014-05-06 Thread Ian Lepore
Author: ian Date: Tue May 6 13:46:36 2014 New Revision: 265441 URL: http://svnweb.freebsd.org/changeset/base/265441 Log: Break out the code that figures out the L2 cache geometry to its own routine, so that it can be called from multiple places in upcoming changes. Modified:

svn commit: r265442 - head/sys/dev/vt

2014-05-06 Thread Aleksandr Rybalko
Author: ray Date: Tue May 6 13:52:13 2014 New Revision: 265442 URL: http://svnweb.freebsd.org/changeset/base/265442 Log: Implement KDMKTONE ioctl. Submitted by: Matthew D.Fuller fulle...@over-yonder.net (original version) MFC: 7 days PR: kern/189170 Sponsored

svn commit: r265443 - head/usr.bin/bmake

2014-05-06 Thread Stefan Esser
Author: se Date: Tue May 6 14:01:48 2014 New Revision: 265443 URL: http://svnweb.freebsd.org/changeset/base/265443 Log: Revert r265436, since it is not the correct fix. Modified: head/usr.bin/bmake/Makefile.inc Modified: head/usr.bin/bmake/Makefile.inc

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

2014-05-06 Thread Ian Lepore
Author: ian Date: Tue May 6 14:03:35 2014 New Revision: 265444 URL: http://svnweb.freebsd.org/changeset/base/265444 Log: Call platform_pl310_init() before enabling the controller, and handle the case where the controller is already enabled. Some of the pl310 configuration registers

Re: svn commit: r265442 - head/sys/dev/vt

2014-05-06 Thread Matthew Fleming
On Tue, May 6, 2014 at 6:52 AM, Aleksandr Rybalko r...@freebsd.org wrote: Author: ray Date: Tue May 6 13:52:13 2014 New Revision: 265442 URL: http://svnweb.freebsd.org/changeset/base/265442 Log: Implement KDMKTONE ioctl. Submitted by: Matthew D.Fuller fulle...@over-yonder.net

svn commit: r265445 - head/sys/arm/include

2014-05-06 Thread Ian Lepore
Author: ian Date: Tue May 6 14:08:42 2014 New Revision: 265445 URL: http://svnweb.freebsd.org/changeset/base/265445 Log: Add defines for the bits in the PL310 debug control register. This should have been part of r265444. Modified: head/sys/arm/include/pl310.h Modified:

svn commit: r265446 - in head/sys/arm: arm include

2014-05-06 Thread Ian Lepore
Author: ian Date: Tue May 6 14:19:54 2014 New Revision: 265446 URL: http://svnweb.freebsd.org/changeset/base/265446 Log: Add a public routine to set the L2 cache ram latencies. This can be called by platform init routines to fine-tune cache performance. Modified: head/sys/arm/arm/pl310.c

svn commit: r265447 - head/sys/arm/freescale/imx

2014-05-06 Thread Ian Lepore
Author: ian Date: Tue May 6 14:26:24 2014 New Revision: 265447 URL: http://svnweb.freebsd.org/changeset/base/265447 Log: Enable PL310 power-saving modes and tune the cache ram latencies for imx6. Modified: head/sys/arm/freescale/imx/imx6_pl310.c Modified:

svn commit: r265448 - head/usr.bin/bmake

2014-05-06 Thread Warner Losh
Author: imp Date: Tue May 6 14:33:18 2014 New Revision: 265448 URL: http://svnweb.freebsd.org/changeset/base/265448 Log: Fix the upgrade path for fmake by allowing the include of src.opts.mk to fail and falling back on the conservative testing of variables already in place. This should

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

2014-05-06 Thread Warner Losh
On May 5, 2014, at 10:42 PM, Julian Elischer jul...@freebsd.org wrote: While you are wandering around in the Makefiles, I was wondering if you could estimate the amount of work to have the ability to specify the location of the build toolchain a bit better.. For building the /usr/src tree,

Re: svn commit: r265359 - head/sys/modules/sound/sound

2014-05-06 Thread Hans Petter Selasky
On 05/05/14 22:39, Warner Losh wrote: On May 5, 2014, at 8:31 AM, Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Mon May 5 14:31:34 2014 New Revision: 265359 URL: http://svnweb.freebsd.org/changeset/base/265359 Log: Build the kernel sound module without ISA DMA

svn commit: r265452 - head

2014-05-06 Thread Warner Losh
Author: imp Date: Tue May 6 15:44:41 2014 New Revision: 265452 URL: http://svnweb.freebsd.org/changeset/base/265452 Log: Time to prune entries for RELENG_7 and stable/8. They are still in svn, for the historically minded. Modified: head/UPDATING Modified: head/UPDATING

svn commit: r265451 - head

2014-05-06 Thread Warner Losh
Author: imp Date: Tue May 6 15:44:34 2014 New Revision: 265451 URL: http://svnweb.freebsd.org/changeset/base/265451 Log: Add helpful note about possible workarounds for (as yet) unknown breakage. Also fix typo. Modified: head/UPDATING Modified: head/UPDATING

svn commit: r265453 - head

2014-05-06 Thread Warner Losh
Author: imp Date: Tue May 6 15:44:46 2014 New Revision: 265453 URL: http://svnweb.freebsd.org/changeset/base/265453 Log: No need to install man pages for bootstrapping new make. Some environments (that I can't reproduce locally, but that others have reported) seem to get tripped up by this

Re: svn commit: r265364 - head/sys/amd64/vmm

2014-05-06 Thread Neel Natu
Hi Julian, On Mon, May 5, 2014 at 9:10 PM, Julian Elischer jul...@freebsd.org wrote: On 5/6/14, 12:19 AM, Neel Natu wrote: Author: neel Date: Mon May 5 16:19:24 2014 New Revision: 265364 URL: http://svnweb.freebsd.org/changeset/base/265364 Log: Virtual machine halt detection is

Re: svn commit: r265359 - head/sys/modules/sound/sound

2014-05-06 Thread Marius Strobl
On Tue, May 06, 2014 at 05:45:05PM +0200, Hans Petter Selasky wrote: On 05/05/14 22:39, Warner Losh wrote: On May 5, 2014, at 8:31 AM, Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Mon May 5 14:31:34 2014 New Revision: 265359 URL:

svn commit: r265454 - head/sbin/gvinum

2014-05-06 Thread Marius Strobl
Author: marius Date: Tue May 6 16:29:02 2014 New Revision: 265454 URL: http://svnweb.freebsd.org/changeset/base/265454 Log: - Allow foot shooting with the resetconfig command via the -f option. - Fix typos preventing -f to actually work with the create command. - Initialize flags to zero

Re: svn commit: r265442 - head/sys/dev/vt

2014-05-06 Thread Bruce Evans
On Tue, 6 May 2014, Matthew Fleming wrote: On Tue, May 6, 2014 at 6:52 AM, Aleksandr Rybalko r...@freebsd.org wrote: Log: Implement KDMKTONE ioctl. Does it have to have to be even worse than syscons? Modified: head/sys/dev/vt/vt_core.c

svn commit: r265455 - head/sys/netinet

2014-05-06 Thread Michael Tuexen
Author: tuexen Date: Tue May 6 16:51:07 2014 New Revision: 265455 URL: http://svnweb.freebsd.org/changeset/base/265455 Log: Remove unused code. This is triggered by the bugreport of Sylvestre Ledru which deal with useless code in the user land stack:

svn commit: r265456 - head/libexec/rtld-elf

2014-05-06 Thread Mark Johnston
Author: markj Date: Tue May 6 18:07:58 2014 New Revision: 265456 URL: http://svnweb.freebsd.org/changeset/base/265456 Log: Add a postinit debugger hook to rtld. This will be used by dtrace(1) to halt the victim process before its entry point is called, at which point probes and DOF data

svn commit: r265458 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-05-06 Thread Xin LI
Author: delphij Date: Tue May 6 19:03:04 2014 New Revision: 265458 URL: http://svnweb.freebsd.org/changeset/base/265458 Log: Import George Wilson's change for Illumos #4730: 4730 metaslab group taskq should be destroyed in metaslab_group_destroy() Reviewed by: Alex Reece

svn commit: r265462 - head/usr.bin/mkimg

2014-05-06 Thread Marcel Moolenaar
Author: marcel Date: Tue May 6 20:34:21 2014 New Revision: 265462 URL: http://svnweb.freebsd.org/changeset/base/265462 Log: In apm_write(), both fd and imgsz are referenced, so don't mark the arguments as unused. Modified: head/usr.bin/mkimg/apm.c Modified: head/usr.bin/mkimg/apm.c

svn commit: r265463 - head/sys/ufs/ffs

2014-05-06 Thread Scott Long
Author: scottl Date: Tue May 6 20:40:16 2014 New Revision: 265463 URL: http://svnweb.freebsd.org/changeset/base/265463 Log: Due to reasons unknown at this time, the system can be forced to write a journal block even when there are no journal entries to be written. Until the root cause is

svn commit: r265464 - head/lib/libmagic

2014-05-06 Thread Xin LI
Author: delphij Date: Tue May 6 21:30:58 2014 New Revision: 265464 URL: http://svnweb.freebsd.org/changeset/base/265464 Log: Sort .ALLSRC before concatenating files together. This makes sure that the file are always built the same. (Note that Header and Localstuff must appear first and

svn commit: r265465 - head/contrib/ntp/ntpd

2014-05-06 Thread Xin LI
Author: delphij Date: Tue May 6 21:34:01 2014 New Revision: 265465 URL: http://svnweb.freebsd.org/changeset/base/265465 Log: Don't reply monlist request when it's not enabled. No objection from:roberto (but all bugs are mine) MFC after:2 weeks Modified:

svn commit: r265467 - head/usr.bin/mkimg

2014-05-06 Thread Marcel Moolenaar
Author: marcel Date: Tue May 6 21:51:16 2014 New Revision: 265467 URL: http://svnweb.freebsd.org/changeset/base/265467 Log: Add missing svn:keywords property. Modified: Directory Properties: head/usr.bin/mkimg/mkimg.c (props changed) ___

svn commit: r265468 - head/usr.bin/mkimg

2014-05-06 Thread Marcel Moolenaar
Author: marcel Date: Tue May 6 21:54:05 2014 New Revision: 265468 URL: http://svnweb.freebsd.org/changeset/base/265468 Log: Add mkimg_write() which combines lseek(2) and write(2) and uses sector granularity for both offset and length. Have all schemes use mkimg_write() instead of

svn commit: r265472 - head/bin/dd

2014-05-06 Thread Alan Somers
Author: asomers Date: Tue May 6 22:06:39 2014 New Revision: 265472 URL: http://svnweb.freebsd.org/changeset/base/265472 Log: dd(1) uses gettimeofday(2) to compute the throughput statistics. However, gettimeofday returns the system clock, which may jump forward or back, especially if NTP

svn commit: r265473 - head/sys/dev/mpr

2014-05-06 Thread Kenneth D. Merry
Author: ken Date: Tue May 6 22:13:38 2014 New Revision: 265473 URL: http://svnweb.freebsd.org/changeset/base/265473 Log: Change the device name for mpr(4) from /dev/mpr_N to /dev/mprN. This is more consistent with the existing mps(4) behavior. Reviewed by: Steve McConnell

Re: svn commit: r265359 - head/sys/modules/sound/sound

2014-05-06 Thread John-Mark Gurney
Marius Strobl wrote this message on Tue, May 06, 2014 at 18:01 +0200: On Tue, May 06, 2014 at 05:45:05PM +0200, Hans Petter Selasky wrote: On 05/05/14 22:39, Warner Losh wrote: On May 5, 2014, at 8:31 AM, Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date:

Re: svn commit: r265359 - head/sys/modules/sound/sound

2014-05-06 Thread Warner Losh
On May 6, 2014, at 4:55 PM, John-Mark Gurney j...@funkthat.com wrote: Marius Strobl wrote this message on Tue, May 06, 2014 at 18:01 +0200: On Tue, May 06, 2014 at 05:45:05PM +0200, Hans Petter Selasky wrote: On 05/05/14 22:39, Warner Losh wrote: On May 5, 2014, at 8:31 AM, Hans Petter

svn commit: r265474 - head/etc/defaults

2014-05-06 Thread Adrian Chadd
Author: adrian Date: Tue May 6 23:28:37 2014 New Revision: 265474 URL: http://svnweb.freebsd.org/changeset/base/265474 Log: Bump the default C-state to Cmax, rather than the kernel default of C1. This may not stay through 11.0-RELEASE, but at least having it on by default in -HEAD

Re: svn commit: r265418 - head/sys/vm

2014-05-06 Thread Alan Cox
On 05/06/2014 07:39, Ian Lepore wrote: On Tue, 2014-05-06 at 03:42 +, Alan Cox wrote: Author: alc Date: Tue May 6 03:42:04 2014 New Revision: 265418 URL: http://svnweb.freebsd.org/changeset/base/265418 Log: Prior to r254304, a separate function, vm_pageout_page_stats(), was used to

svn commit: r265477 - in head/contrib/llvm/tools/clang: include/clang/Driver include/clang/Frontend lib/CodeGen lib/Driver lib/Frontend

2014-05-06 Thread Ed Maste
Author: emaste Date: Wed May 7 00:51:24 2014 New Revision: 265477 URL: http://svnweb.freebsd.org/changeset/base/265477 Log: Merge -fstandalone-debug from Clang r198655: Implement a new -fstandalone-debug option. rdar://problem/15685848 It controls everything that -flimit-debug-info

Re: svn commit: r265472 - head/bin/dd

2014-05-06 Thread Bruce Evans
On Tue, 6 May 2014, Alan Somers wrote: Log: dd(1) uses gettimeofday(2) to compute the throughput statistics. However, gettimeofday returns the system clock, which may jump forward or back, especially if NTP is in use. If the time jumps backwards, then dd will see negative elapsed time,

svn commit: r265484 - head/sys/dev/mpr

2014-05-06 Thread Kenneth D. Merry
Author: ken Date: Wed May 7 05:11:16 2014 New Revision: 265484 URL: http://svnweb.freebsd.org/changeset/base/265484 Log: Remove some debugging code. Submitted by: Steve McConnell stephen.mcconn...@avagotech.com MFC after:3 days Modified: head/sys/dev/mpr/mpr.c Modified:

svn commit: r265485 - head/sys/dev/mpr

2014-05-06 Thread Kenneth D. Merry
Author: ken Date: Wed May 7 05:14:48 2014 New Revision: 265485 URL: http://svnweb.freebsd.org/changeset/base/265485 Log: Hold the SIM lock when calling xpt_create_path() and xpt_action() in mprsas_SSU_to_SATA_devices(). This fixes an assertion on shutdown with INVARIANTS enabled with