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

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 06:12:46 2015 New Revision: 280316 URL: https://svnweb.freebsd.org/changeset/base/280316 Log: Now that the switch PHY fully works, don't limit arge0 to only being up if the WAN port is up. This way I can use it for arbitrary ports/vlans. Modified:

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

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 06:13:30 2015 New Revision: 280317 URL: https://svnweb.freebsd.org/changeset/base/280317 Log: Re-enable the modules for now; I'm using them in some other test builds. Modified: head/sys/mips/conf/AR934X_BASE Modified: head/sys/mips/conf/AR934X_BASE

Re: svn commit: r280308 - head/sys/fs/devfs

2015-03-21 Thread Bruce Evans
On Sat, 21 Mar 2015, Xin LI wrote: Log: Disable timestamping on devfs read/write operations by default. Currently we update timestamps unconditionally when doing read or write operations. This may slow things down on hardware where reading timestamps is expensive (e.g. HPET, because of

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

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 06:44:41 2015 New Revision: 280320 URL: https://svnweb.freebsd.org/changeset/base/280320 Log: Fix the LED configuration so the switch PHY LEDs work fine. Tested: * TP-Link TL-WDR3600; yes, by testing all five ethernet ports. Obtained from:

svn commit: r280313 - head/sys/mips/atheros

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 05:59:45 2015 New Revision: 280313 URL: https://svnweb.freebsd.org/changeset/base/280313 Log: Note that the AR724x PCIe registers are actually from the PCI_CTRL register range. Modified: head/sys/mips/atheros/ar724xreg.h Modified:

svn commit: r280315 - head/sys/mips/atheros

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 06:08:35 2015 New Revision: 280315 URL: https://svnweb.freebsd.org/changeset/base/280315 Log: Add GPIO function mux configuration for AR934x SoCs. The AR934x (and maybe others in this family) have a more complicated GPIO mux. The AR71xx just has a single

svn commit: r280322 - head/sys/dev/sound/usb

2015-03-21 Thread Hans Petter Selasky
Author: hselasky Date: Sat Mar 21 09:45:45 2015 New Revision: 280322 URL: https://svnweb.freebsd.org/changeset/base/280322 Log: The synchronisation value returned by the so-called feedback endpoint appears to be too inaccurate that it can be used to synchronize the playback data stream. If

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread John Baldwin
On 3/21/15 12:35 PM, Konstantin Belousov wrote: On Sat, Mar 21, 2015 at 12:04:41PM -0400, John Baldwin wrote: On 3/20/15 9:02 AM, Konstantin Belousov wrote: On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: Author: jhb Date: Fri Mar 20 10:27:06 2015 New Revision: 280279 URL:

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

2015-03-21 Thread Olivier Houchard
Author: cognet Date: Sat Mar 21 15:32:59 2015 New Revision: 280324 URL: https://svnweb.freebsd.org/changeset/base/280324 Log: When waiting on PTE allocation, another thread could free the l2_dtable while we're not looking at it. Fix this by increasing l2-l2_occupancy before we try to alloc

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread John Baldwin
On 3/20/15 9:02 AM, Konstantin Belousov wrote: On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: Author: jhb Date: Fri Mar 20 10:27:06 2015 New Revision: 280279 URL: https://svnweb.freebsd.org/changeset/base/280279 Log: Expand the bitcount* API to support 64-bit integers,

svn commit: r280325 - head/sys/kern

2015-03-21 Thread Olivier Houchard
Author: cognet Date: Sat Mar 21 16:16:17 2015 New Revision: 280325 URL: https://svnweb.freebsd.org/changeset/base/280325 Log: error is only used if MAC is defined, so make its declaration conditional as well. Modified: head/sys/kern/sysv_shm.c Modified: head/sys/kern/sysv_shm.c

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

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 04:16:18PM +, Olivier Houchard wrote: Author: cognet Date: Sat Mar 21 16:16:17 2015 New Revision: 280325 URL: https://svnweb.freebsd.org/changeset/base/280325 Log: error is only used if MAC is defined, so make its declaration conditional as well. Thank

svn commit: r280314 - head/sys/mips/atheros

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 06:00:46 2015 New Revision: 280314 URL: https://svnweb.freebsd.org/changeset/base/280314 Log: add QCA955x PCIe configuration registers. These are /not/ absolute addresses, as the QCA955x SoC has 2 PCIe RC's (and 1 PCIe EP.) Modified:

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

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 06:18:25 2015 New Revision: 280319 URL: https://svnweb.freebsd.org/changeset/base/280319 Log: Migrate these configs to use the geom map search function. Now that the search function reliably works, this allows for smaller images. Modified:

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

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 06:16:23 2015 New Revision: 280318 URL: https://svnweb.freebsd.org/changeset/base/280318 Log: Add support for the TP-Link TL-WDR4300 and TL-WDR3600. These are actually almost the same units; except one is 3x3 5GHz, and one is 2x2 5GHz. Tested: *

svn commit: r280321 - head/etc/autofs

2015-03-21 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 21 09:42:37 2015 New Revision: 280321 URL: https://svnweb.freebsd.org/changeset/base/280321 Log: Make the autofs LDAP script cope with server returning entries with ENTRY_ATTRIBUTE (eg cn) after the VALUE_ATTRIBUTE (eg automountInformation), instead of before.

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 12:04:41PM -0400, John Baldwin wrote: On 3/20/15 9:02 AM, Konstantin Belousov wrote: On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: Author: jhb Date: Fri Mar 20 10:27:06 2015 New Revision: 280279 URL:

svn commit: r280326 - head

2015-03-21 Thread Warner Losh
Author: imp Date: Sat Mar 21 16:54:01 2015 New Revision: 280326 URL: https://svnweb.freebsd.org/changeset/base/280326 Log: Make TARGET_ARCH=powerpc64 work without TARGET=powerpc. Modified: head/Makefile Modified: head/Makefile

svn commit: r280327 - in head/sys: kern vm

2015-03-21 Thread Alan Cox
Author: alc Date: Sat Mar 21 17:56:55 2015 New Revision: 280327 URL: https://svnweb.freebsd.org/changeset/base/280327 Log: Introduce vm_object_color() and use it in mmap(2) to set the color of named objects to zero before the virtual address is selected. Previously, the color setting was

svn commit: r280323 - head/sys/kern

2015-03-21 Thread Konstantin Belousov
Author: kib Date: Sat Mar 21 15:01:19 2015 New Revision: 280323 URL: https://svnweb.freebsd.org/changeset/base/280323 Log: Somewhat modernize the SysV shm code: - Use real locking, replace Giant with global sx protecting the subsystem. Since the subsystem' lock is no longer dropped

Re: svn commit: r280308 - head/sys/fs/devfs

2015-03-21 Thread Kubilay Kocak
On 21/03/2015 12:14 PM, Xin LI wrote: Author: delphij Date: Sat Mar 21 01:14:11 2015 New Revision: 280308 URL: https://svnweb.freebsd.org/changeset/base/280308 Log: Disable timestamping on devfs read/write operations by default. Currently we update timestamps unconditionally when

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 09:33:22PM +1100, Bruce Evans wrote: On Sat, 21 Mar 2015, Konstantin Belousov wrote: How does the unconditional use of popcntq (in inline asm that is called from amd64 pmap) even work? It is not unconditional. The pmap code does the following: if

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread Bruce Evans
On Sat, 21 Mar 2015, Konstantin Belousov wrote: On Sat, Mar 21, 2015 at 09:42:51AM +1100, Bruce Evans wrote: On Fri, 20 Mar 2015, Konstantin Belousov wrote: On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: Author: jhb Date: Fri Mar 20 10:27:06 2015 New Revision: 280279 URL:

Re: svn commit: r280308 - head/sys/fs/devfs

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 11:00:09PM +1100, Kubilay Kocak wrote: On 21/03/2015 12:14 PM, Xin LI wrote: Author: delphij Date: Sat Mar 21 01:14:11 2015 New Revision: 280308 URL: https://svnweb.freebsd.org/changeset/base/280308 Log: Disable timestamping on devfs read/write operations

svn commit: r280329 - in stable: 10/share/mk 9/share/mk

2015-03-21 Thread Dimitry Andric
Author: dim Date: Sat Mar 21 19:20:15 2015 New Revision: 280329 URL: https://svnweb.freebsd.org/changeset/base/280329 Log: MFC r279980: Allow relative pathnames in SRCS, so as to enable building software which includes more than one file with the same name, in different directories.

svn commit: r280329 - in stable: 10/share/mk 9/share/mk

2015-03-21 Thread Dimitry Andric
Author: dim Date: Sat Mar 21 19:20:15 2015 New Revision: 280329 URL: https://svnweb.freebsd.org/changeset/base/280329 Log: MFC r279980: Allow relative pathnames in SRCS, so as to enable building software which includes more than one file with the same name, in different directories.

svn commit: r280332 - head/sys/kern

2015-03-21 Thread Mateusz Guzik
Author: mjg Date: Sat Mar 21 20:25:34 2015 New Revision: 280332 URL: https://svnweb.freebsd.org/changeset/base/280332 Log: proc: use MTX_NEW flag in proc_init This allows us to get rid of bzero which was added specifically to make mtx_init on p_mtx reliable. This also fixes a

svn commit: r280328 - head/share/mk

2015-03-21 Thread Dimitry Andric
Author: dim Date: Sat Mar 21 19:13:13 2015 New Revision: 280328 URL: https://svnweb.freebsd.org/changeset/base/280328 Log: Correctly pass the -mllvm -enable-gvn=false flag in CLANG_OPT_SMALL (this has to be passed as a combination of two flags). Should fix the case where the clang version

svn commit: r280331 - in head/sys: kern sys

2015-03-21 Thread Mateusz Guzik
Author: mjg Date: Sat Mar 21 20:24:54 2015 New Revision: 280331 URL: https://svnweb.freebsd.org/changeset/base/280331 Log: cred: add proc_set_cred_init helper proc_set_cred_init can be used to set first credentials of a new process. Update proc_set_cred assertions so that it only

svn commit: r280330 - head/sys/kern

2015-03-21 Thread Mateusz Guzik
Author: mjg Date: Sat Mar 21 20:24:03 2015 New Revision: 280330 URL: https://svnweb.freebsd.org/changeset/base/280330 Log: fork: assign refed credentials earlier Prior to this change the kernel would take p1's credentials and assign them tempororarily to p2. But p1 could change

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

2015-03-21 Thread Mark Linimon
On Sat, Mar 21, 2015 at 03:01:20PM +, Konstantin Belousov wrote: Somewhat modernize the SysV shm code: Interesting. Is my understanding correct that postgres still uses shm? If so, has someone benchmarked the speedup? mcl ___

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

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 04:03:41PM -0500, Mark Linimon wrote: On Sat, Mar 21, 2015 at 03:01:20PM +, Konstantin Belousov wrote: Somewhat modernize the SysV shm code: Interesting. Is my understanding correct that postgres still uses shm? If so, has someone benchmarked the speedup?

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

2015-03-21 Thread Konstantin Belousov
On Sun, Mar 22, 2015 at 12:16:22AM +0300, Dmitry Morozovsky wrote: On Sat, 21 Mar 2015, Konstantin Belousov wrote: Somewhat modernize the SysV shm code: Interesting. Is my understanding correct that postgres still uses shm? If so, has someone benchmarked the speedup?

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

2015-03-21 Thread Dmitry Morozovsky
On Sat, 21 Mar 2015, Konstantin Belousov wrote: Somewhat modernize the SysV shm code: Interesting. Is my understanding correct that postgres still uses shm? If so, has someone benchmarked the speedup? Yes, some versions of Postgres still use SysV shm. To be clarified:

Re: svn commit: r280279 - head/sys/sys

2015-03-21 Thread Bruce Evans
On Sat, 21 Mar 2015, John Baldwin wrote: On 3/21/15 12:35 PM, Konstantin Belousov wrote: On Sat, Mar 21, 2015 at 12:04:41PM -0400, John Baldwin wrote: On 3/20/15 9:02 AM, Konstantin Belousov wrote: On Fri, Mar 20, 2015 at 10:27:06AM +, John Baldwin wrote: Author: jhb Date: Fri Mar 20

svn commit: r280334 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 23:12:46 2015 New Revision: 280334 URL: https://svnweb.freebsd.org/changeset/base/280334 Log: Quieten some of the log spam from AR9300 sysctl tree walk and chip setup/reset path. * For now there's no exposed control over classic / LNA antenna diversity,

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

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sat Mar 21 23:39:34 2015 New Revision: 280335 URL: https://svnweb.freebsd.org/changeset/base/280335 Log: re-enable building modules for the AR933x * add ipfw * delete ath / ath_ahb for now, until I can have Warner beat me with the clue stick about putting in

svn commit: r280333 - head/contrib/compiler-rt/lib/builtins

2015-03-21 Thread Dimitry Andric
Author: dim Date: Sat Mar 21 21:49:25 2015 New Revision: 280333 URL: https://svnweb.freebsd.org/changeset/base/280333 Log: Pull in r231972 from upstream compiler-rt trunk (by Jörg Sonnenberger): Always include stddef.h to make sure size_t exists. From Alexander Esilevich.

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

2015-03-21 Thread Adrian Chadd
Author: adrian Date: Sun Mar 22 02:15:09 2015 New Revision: 280337 URL: https://svnweb.freebsd.org/changeset/base/280337 Log: Add initial D-Link DIR-655 (A1) support. This is based on the AP135 design - QCA9558 SoC, 3x3 2GHz wifi, but no 5GHz (11n or 11ac) chip is available. It

svn commit: r280336 - head/usr.bin/logger

2015-03-21 Thread Warren Block
Author: wblock (doc committer) Date: Sun Mar 22 01:25:57 2015 New Revision: 280336 URL: https://svnweb.freebsd.org/changeset/base/280336 Log: Describe the behavior when both -f and a message are given. Pointed out by Raphael Abreu raphael.lorenz...@gmail.com on freebsd-doc. MFC after:

svn commit: r280338 - stable/10/sys/vm

2015-03-21 Thread Garrett Cooper
Author: ngie Date: Sun Mar 22 05:54:48 2015 New Revision: 280338 URL: https://svnweb.freebsd.org/changeset/base/280338 Log: MFC r27: Some minor style(9) fixes (whitespace + comment) Modified: stable/10/sys/vm/memguard.c Directory Properties: stable/10/ (props changed) Modified: