svn commit: r269428 - head/sys/dev/cxgbe

2014-08-01 Thread Navdeep Parhar
Author: np Date: Sat Aug 2 06:55:36 2014 New Revision: 269428 URL: http://svnweb.freebsd.org/changeset/base/269428 Log: cxgbe(4): some optimizations in freelist handling. MFC after:2 weeks. Modified: head/sys/dev/cxgbe/adapter.h head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev

svn commit: r269425 - head/tools/tools/nanobsd

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:19:33 2014 New Revision: 269425 URL: http://svnweb.freebsd.org/changeset/base/269425 Log: Sort switch statements. Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh ==

svn commit: r269424 - head/tools/tools/nanobsd

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:17:59 2014 New Revision: 269424 URL: http://svnweb.freebsd.org/changeset/base/269424 Log: Sort usage options. Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh ==

svn commit: r269423 - head/tools/tools/nanobsd

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:16:20 2014 New Revision: 269423 URL: http://svnweb.freebsd.org/changeset/base/269423 Log: Add a new -K to suppress installing the kernel. Useful for creating chroots that may never boot (such as build environments), or for platforms that don't really need the

svn commit: r269422 - head/sys/fs/nandfs

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:05:16 2014 New Revision: 269422 URL: http://svnweb.freebsd.org/changeset/base/269422 Log: Set the erase block size properly in the case the underlying media doesn't advertise an erase block size. Submitted by: bjg@ Pointy hat to: imp@ Modified: head/sy

svn commit: r269421 - head/sys/fs/nandfs

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:05:10 2014 New Revision: 269421 URL: http://svnweb.freebsd.org/changeset/base/269421 Log: Follow the ufs practice for disallowing permission changes as well as writes to files for read-only file systems. Since there are already checks in nandfs_setattr that re

svn commit: r269420 - head/sys/fs/nandfs

2014-08-01 Thread Warner Losh
Author: imp Date: Sat Aug 2 05:05:05 2014 New Revision: 269420 URL: http://svnweb.freebsd.org/changeset/base/269420 Log: Fix a minor style(9) issue. Modified: head/sys/fs/nandfs/nandfs_subr.c Modified: head/sys/fs/nandfs/nandfs_subr.c

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

2014-08-01 Thread Alan Cox
On 07/29/2014 05:38, Slawa Olhovchenkov wrote: > On Sat, Jul 26, 2014 at 06:10:18PM +, Alan Cox wrote: > >> Author: alc >> Date: Sat Jul 26 18:10:18 2014 >> New Revision: 269134 >> URL: http://svnweb.freebsd.org/changeset/base/269134 >> >> Log: >> When unwiring a region of an address space, d

Re: svn commit: r269404 - head/sys/cddl/compat/opensolaris/sys

2014-08-01 Thread Justin T. Gibbs
On Aug 1, 2014, at 4:33 PM, Xin LI wrote: > Author: delphij > Date: Fri Aug 1 22:33:23 2014 > New Revision: 269404 > URL: http://svnweb.freebsd.org/changeset/base/269404 > > Log: > Split gethrtime() and gethrtime_waitfree() and make the former use > nanouptime() instead of getnanouptime(). n

svn commit: r269415 - in head/sys: conf sparc64/conf

2014-08-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sat Aug 2 03:48:16 2014 New Revision: 269415 URL: http://svnweb.freebsd.org/changeset/base/269415 Log: Add vt(4) support to sparc64. The only driver currently present (ofwfb) provides support for a variety of low-end graphics hardware (SBus adapters, Mach64, QEMU's

svn commit: r269414 - in head/sys: arm/include cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys

2014-08-01 Thread Ian Lepore
Author: ian Date: Sat Aug 2 03:44:27 2014 New Revision: 269414 URL: http://svnweb.freebsd.org/changeset/base/269414 Log: When arm 64-bit atomic ops are available, define ARM_HAVE_ATOMIC64. Use that symbol (which will be correct in both kernel and userland contexts) rather than just __arm__

svn commit: r269413 - head/sys/dev/cxgbe

2014-08-01 Thread Navdeep Parhar
Author: np Date: Sat Aug 2 01:48:25 2014 New Revision: 269413 URL: http://svnweb.freebsd.org/changeset/base/269413 Log: cxgbe(4): Fix an off by one error when looking for the BAR2 doorbell address of an egress queue. MFC after:2 weeks Modified: head/sys/dev/cxgbe/t4_netmap.c he

svn commit: r269411 - head/sys/dev/cxgbe

2014-08-01 Thread Navdeep Parhar
Author: np Date: Sat Aug 2 00:56:34 2014 New Revision: 269411 URL: http://svnweb.freebsd.org/changeset/base/269411 Log: cxgbe(4): minor optimizations in ingress queue processing. Reorganize struct sge_iq. Make the iq entry size a compile time constant. While here, eliminate RX_FL_ESIZE

svn commit: r269410 - head/sys/cddl/compat/opensolaris/sys

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 23:45:50 2014 New Revision: 269410 URL: http://svnweb.freebsd.org/changeset/base/269410 Log: Use the 64-bit atomics now provided by arm machine/atomic.h instead of (conflicting) local versions. Modified: head/sys/cddl/compat/opensolaris/sys/atomic.h Modified: h

svn commit: r269409 - head/sys/kern

2014-08-01 Thread Rui Paulo
Author: rpaulo Date: Fri Aug 1 23:29:04 2014 New Revision: 269409 URL: http://svnweb.freebsd.org/changeset/base/269409 Log: In the shm_open() and shm_unlink() syscalls, export the path to KTR. MFC after:1 week Modified: head/sys/kern/uipc_shm.c Modified: head/sys/kern/uipc_shm.c ==

svn commit: r269408 - head/usr.bin/kdump

2014-08-01 Thread Rui Paulo
Author: rpaulo Date: Fri Aug 1 23:28:21 2014 New Revision: 269408 URL: http://svnweb.freebsd.org/changeset/base/269408 Log: Add kdump support for shm_open(). MFC after:1 week Modified: head/usr.bin/kdump/kdump.c Modified: head/usr.bin/kdump/kdump.c =

svn commit: r269407 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2014-08-01 Thread Steven Hartland
Author: smh Date: Fri Aug 1 23:16:48 2014 New Revision: 269407 URL: http://svnweb.freebsd.org/changeset/base/269407 Log: Don't return ZIO_PIPELINE_CONTINUE from vdev_op_io_start methods This prevents recursion of vdev_queue_io_done as per r265321 but using a different method as recommend

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

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 23:06:38 2014 New Revision: 269406 URL: http://svnweb.freebsd.org/changeset/base/269406 Log: Use atomic_load/store_64() in the arm implementation of counter(9), and remove the XXX comments about non-atomic access to the counters. Modified: head/sys/arm/include/c

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

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 22:56:41 2014 New Revision: 269405 URL: http://svnweb.freebsd.org/changeset/base/269405 Log: Add 64-bit atomic ops for armv4, only for kernel code, mostly so that we don't need any #ifdef stuff to use atomic_load/store_64() elsewhere in the kernel. For armv4 the

svn commit: r269404 - head/sys/cddl/compat/opensolaris/sys

2014-08-01 Thread Xin LI
Author: delphij Date: Fri Aug 1 22:33:23 2014 New Revision: 269404 URL: http://svnweb.freebsd.org/changeset/base/269404 Log: Split gethrtime() and gethrtime_waitfree() and make the former use nanouptime() instead of getnanouptime(). nanouptime(9) provides more precise result at expense of

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

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 22:28:36 2014 New Revision: 269403 URL: http://svnweb.freebsd.org/changeset/base/269403 Log: Add 64-bit atomic ops for armv6. The only safe way to access a 64-bit value shared across multiple cores is with atomic_load_64() and atomic_store_64(), because the norm

svn commit: r269396 - head/sys/netinet

2014-08-01 Thread Michael Tuexen
Author: tuexen Date: Fri Aug 1 20:49:27 2014 New Revision: 269396 URL: http://svnweb.freebsd.org/changeset/base/269396 Log: Remove the asconf_auth_nochk sysctl. This was off by default and only existed to be able to test with non-compliant peers a long time ago. Modified: head/sys/netinet/

svn commit: r269395 - head/sys/arm/ti

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 20:32:29 2014 New Revision: 269395 URL: http://svnweb.freebsd.org/changeset/base/269395 Log: Tell the assembler we're building for armv7a with security extensions, so that the 'smc' (secure monitor call) opcode is valid. Submitted by: Stepan Dyatkovskiy Modi

svn commit: r269394 - head/contrib/binutils/gas/config

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 20:30:24 2014 New Revision: 269394 URL: http://svnweb.freebsd.org/changeset/base/269394 Log: Teach as(1) to handle the arm .arch_extension pseudo-op, which accepts the same values as the -march= command line option. Add support for the "sec" extension (security

Re: svn commit: r269325 - in head/sys: cddl/contrib/opensolaris/common/util modules/dtrace/dtrace

2014-08-01 Thread John Baldwin
On Thursday 31 July 2014 08:07:23 Rui Paulo wrote: > Author: rpaulo > Date: Thu Jul 31 08:07:23 2014 > New Revision: 269325 > URL: http://svnweb.freebsd.org/changeset/base/269325 > > Log: > Copy strtolctype.h to sys/cddl/contrib/opensolaris/common/util to keep > the kernel self-contained. > >

svn commit: r269393 - head/contrib/binutils/gas/config

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 20:21:41 2014 New Revision: 269393 URL: http://svnweb.freebsd.org/changeset/base/269393 Log: Fix an bug in as(1) parsing of arm -march=arch+ext options. Compare the arch name to just the characters before the '+' in 'arch+ext'. Modified: head/contrib/binutils/g

svn commit: r269392 - head/etc/defaults

2014-08-01 Thread Peter Wemm
Author: peter Date: Fri Aug 1 19:32:20 2014 New Revision: 269392 URL: http://svnweb.freebsd.org/changeset/base/269392 Log: Like with /usr/lib + /usr/lib/compat, add the optional /usr/lib32/compat to the ldconfig32 default path. /usr/lib32 is the 32 bit versions of *current* libraries, whil

svn commit: r269391 - head/sys/netinet

2014-08-01 Thread Peter Grehan
Author: grehan Date: Fri Aug 1 18:36:40 2014 New Revision: 269391 URL: http://svnweb.freebsd.org/changeset/base/269391 Log: Fix byte ordering in default RSS key. The rss_key[] array in netinet/in_rss.c has the bytes in incorrect order. This results in the RSS test vectors in the Microsft

svn commit: r269390 - in head/sys: arm/arm arm/include libkern/arm

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 18:24:44 2014 New Revision: 269390 URL: http://svnweb.freebsd.org/changeset/base/269390 Log: Fix unwind-info errors in our hand-written arm assembler code. We have functions nested within functions, and places where we start a function then never end it, we ju

svn commit: r269388 - head/sys/powerpc/aim

2014-08-01 Thread Alan Cox
Author: alc Date: Fri Aug 1 17:09:50 2014 New Revision: 269388 URL: http://svnweb.freebsd.org/changeset/base/269388 Log: Simplify the selection of the pvo_head and pvo allocation zone in moea_enter_locked() and moea64_enter(). Eliminate an unused variable from moea64_enter(). Modified:

svn commit: r269387 - head/contrib/llvm/tools/clang/lib/Driver

2014-08-01 Thread Andrew Turner
Author: andrew Date: Fri Aug 1 16:53:04 2014 New Revision: 269387 URL: http://svnweb.freebsd.org/changeset/base/269387 Log: Update the ARMv6 core clang targets to be an arm1176jzf-s. This brings us in line with gcc in base as this makes llvm generate code for the armv6k variant of the instr

svn commit: r269385 - in head/sys: arm/conf boot/fdt/dts/arm

2014-08-01 Thread Ruslan Bukin
Author: br Date: Fri Aug 1 15:10:55 2014 New Revision: 269385 URL: http://svnweb.freebsd.org/changeset/base/269385 Log: Rename files: keep codename only to make it shorter. Added: head/sys/boot/fdt/dts/arm/exynos5250-snow.dts - copied unchanged from r269369, head/sys/boot/fdt/dts/arm/e

svn commit: r269376 - head/sys/netinet

2014-08-01 Thread Michael Tuexen
Author: tuexen Date: Fri Aug 1 12:42:37 2014 New Revision: 269376 URL: http://svnweb.freebsd.org/changeset/base/269376 Log: Cleanup sctp_send_initiate() and sctp_send_initiate_ack() to be in sync as much as possible. This simplifies upcoming changes. Modified: head/sys/netinet/sctp_header.

svn commit: r269369 - in head/sys: arm/conf arm/samsung/exynos boot/fdt/dts/arm

2014-08-01 Thread Ruslan Bukin
Author: br Date: Fri Aug 1 06:20:25 2014 New Revision: 269369 URL: http://svnweb.freebsd.org/changeset/base/269369 Log: Add support for Chromebook2 -- next-generation 8-core (4 in operation), 4GB ram (3.5 usable) ARM machine. Support covers device drivers for: - Serial Peripheral Inter