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

2013-10-22 Thread Dag-Erling Smørgrav
Author: des Date: Tue Oct 22 07:44:26 2013 New Revision: 256878 URL: http://svnweb.freebsd.org/changeset/base/256878 Log: Add a reload command. Reviewed by: hrs MFC after:3 days Modified: head/etc/rc.d/rtadvd Modified: head/etc/rc.d/rtadvd

svn commit: r256880 - in head/sys: cam/ata cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs dev/md geom geom/concat geom/gate geom/mirror geom/multipath geom/nop geom/part geom/raid geom/stripe ...

2013-10-22 Thread Alexander Motin
Author: mav Date: Tue Oct 22 08:22:19 2013 New Revision: 256880 URL: http://svnweb.freebsd.org/changeset/base/256880 Log: Merge GEOM direct dispatch changes from the projects/camlock branch. When safety requirements are met, it allows to avoid passing I/O requests to GEOM g_up/g_down thre

svn commit: r256884 - in head: share/man/man9 sys/geom

2013-10-22 Thread Alexander Motin
Author: mav Date: Tue Oct 22 10:21:20 2013 New Revision: 256884 URL: http://svnweb.freebsd.org/changeset/base/256884 Log: Remove Giant-locked drivers support (DISKFLAG_NEEDSGIANT flag) from disk(9). Since at least FreeBSD 7 we had only four of them in the base tree, and in head branch, th

svn commit: r256885 - head/sys/kern

2013-10-22 Thread Alexander Motin
Author: mav Date: Tue Oct 22 10:40:26 2013 New Revision: 256885 URL: http://svnweb.freebsd.org/changeset/base/256885 Log: Remove global device lock acquisition from dev_relthread(), replacing it with atomics on per-device data. Modified: head/sys/kern/kern_conf.c Modified: head/sys/kern/ke

svn commit: r256886 - head/share/man/man4

2013-10-22 Thread Alexander Motin
Author: mav Date: Tue Oct 22 11:56:46 2013 New Revision: 256886 URL: http://svnweb.freebsd.org/changeset/base/256886 Log: Update ahci(4), respecting recent driver changes. Modified: head/share/man/man4/ahci.4 Modified: head/share/man/man4/ahci.4 ==

svn commit: r256887 - head/sys/dev/aha

2013-10-22 Thread Alexander Motin
Author: mav Date: Tue Oct 22 12:42:49 2013 New Revision: 256887 URL: http://svnweb.freebsd.org/changeset/base/256887 Log: Fix memory and references leak due to unfreed path. Coverity CID: 1109817 Modified: head/sys/dev/aha/aha.c Modified: head/sys/dev/aha/aha.c =

svn commit: r256888 - head/sys/cam

2013-10-22 Thread Alexander Motin
Author: mav Date: Tue Oct 22 12:58:22 2013 New Revision: 256888 URL: http://svnweb.freebsd.org/changeset/base/256888 Log: Unconditionally acquire periph reference on CCB allocation failure. cam_periph_acquire() can return error if periph already invalidated, but that may be unacceptable a

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

2013-10-22 Thread Steven Hartland
Author: smh Date: Tue Oct 22 13:31:36 2013 New Revision: 256889 URL: http://svnweb.freebsd.org/changeset/base/256889 Log: Use the vdev's ashift to calculate the supported min block size passed to zio_compress_data(..) when compressing l2arc buffers. This eliminates l2arc I/O errors, which

svn commit: r256893 - head/sys/dev/buslogic

2013-10-22 Thread Alexander Motin
Author: mav Date: Tue Oct 22 13:52:20 2013 New Revision: 256893 URL: http://svnweb.freebsd.org/changeset/base/256893 Log: Fix memory and references leak due to unfreed path. Coverity CID: 1109815 Modified: head/sys/dev/buslogic/bt.c Modified: head/sys/dev/buslogic/bt.c =

svn commit: r256895 - head/sys/cam

2013-10-22 Thread Alexander Motin
Author: mav Date: Tue Oct 22 13:56:30 2013 New Revision: 256895 URL: http://svnweb.freebsd.org/changeset/base/256895 Log: Fix memory and references leak due to unfreed path. Coverity CID: 1054773 Modified: head/sys/cam/cam_periph.c Modified: head/sys/cam/cam_periph.c ===

svn commit: r256898 - in head/sys: conf dev/fdt powerpc/mambo powerpc/ofw powerpc/powermac powerpc/powerpc

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 14:07:57 2013 New Revision: 256898 URL: http://svnweb.freebsd.org/changeset/base/256898 Log: Standards-conformance and code deduplication: - Use bus reference phandles in place of FDT offsets as IRQ domain keys - Unify the identical macio/fdt/mambo OpenPIC

svn commit: r256899 - head/sys/dev/fdt

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 14:08:57 2013 New Revision: 256899 URL: http://svnweb.freebsd.org/changeset/base/256899 Log: Allow lots of interrupts (useful on multi-domain platforms) and do not set device_quiet() on all devices attached under nexus(4). Modified: head/sys/dev/fdt/fdtbu

svn commit: r256900 - head/sys/dev/cfi

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 14:10:00 2013 New Revision: 256900 URL: http://svnweb.freebsd.org/changeset/base/256900 Log: Set BUS_PROBE_NOWILDCARD on this attachment as a stopgap. Unconditionally poking at registers in unknown devices is not the best probe mechanism. This should be re

svn commit: r256901 - head/sys/powerpc/powerpc

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 14:11:16 2013 New Revision: 256901 URL: http://svnweb.freebsd.org/changeset/base/256901 Log: Catch up on 6 years of improvements in Open Firmware nexus devices by importing the sparc64 one. At least 90% of this code is MI and will be moved into /sys/dev/of

svn commit: r256911 - in head/sys: dev/fdt mips/beri

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 15:29:59 2013 New Revision: 256911 URL: http://svnweb.freebsd.org/changeset/base/256911 Log: MFP4: 223121 (PIC portion), 225861, 227822, 229692 (PIC only), 229693, 230523, 1123614 Implement a driver for Robert Norton's PIC as an FDT interrupt controller.

svn commit: r256912 - in head/sys: boot/fdt/dts mips/conf

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 15:45:31 2013 New Revision: 256912 URL: http://svnweb.freebsd.org/changeset/base/256912 Log: Sync BERI kernel configs with P4: Switch the majority of device configuration to FDT from hints. Add BERI_*_BASE configs to reduce duplication in the MDROOT and

svn commit: r256914 - head/sys/powerpc/powerpc

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 15:47:13 2013 New Revision: 256914 URL: http://svnweb.freebsd.org/changeset/base/256914 Log: Ignore registers on devices where the reg property is malformed. Issue a warning if this happens under bootverbose. This prevents some strange-looking entries in d

svn commit: r256915 - in head: . share/mk

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 15:53:29 2013 New Revision: 256915 URL: http://svnweb.freebsd.org/changeset/base/256915 Log: Stop conflating WITHOUT_CLANG with WITHOUT_CLANG_IS_CC. This allows bootstrapping a copy of clang without building clang for the base system which is useful for nanob

svn commit: r256919 - head/sys/dev/ffec

2013-10-22 Thread Ian Lepore
Author: ian Date: Tue Oct 22 18:14:06 2013 New Revision: 256919 URL: http://svnweb.freebsd.org/changeset/base/256919 Log: Mask out non-address bits in the mac address register, for proper detection of an all-zeroes address. Also remove a misplaced return. Reviewed by: br@ Modified: h

svn commit: r256920 - head/sys/netinet

2013-10-22 Thread Andre Oppermann
Author: andre Date: Tue Oct 22 18:24:34 2013 New Revision: 256920 URL: http://svnweb.freebsd.org/changeset/base/256920 Log: The TCP delayed ACK logic isn't aware of LRO passing up large aggregated segments thinking it received only one segment. This causes it to enable the delay the ACK for

svn commit: r256921 - head

2013-10-22 Thread Colin Percival
Author: cperciva Date: Tue Oct 22 18:36:39 2013 New Revision: 256921 URL: http://svnweb.freebsd.org/changeset/base/256921 Log: Thou shalt not leak build host state into the system being compiled. The VERSION variable is encoded into the SUNW_ctf sections of the kernel and every kernel mod

Re: svn commit: r256884 - in head: share/man/man9 sys/geom

2013-10-22 Thread John Baldwin
On Tuesday, October 22, 2013 6:21:21 am Alexander Motin wrote: > Author: mav > Date: Tue Oct 22 10:21:20 2013 > New Revision: 256884 > URL: http://svnweb.freebsd.org/changeset/base/256884 > > Log: > Remove Giant-locked drivers support (DISKFLAG_NEEDSGIANT flag) from disk(9). > > Since at le

Re: svn commit: r256884 - in head: share/man/man9 sys/geom

2013-10-22 Thread Adrian Chadd
Hi, I definitely agree with marking 0x1 as being reserved, at least for the lifecycle of 10.x up until 11.x. -adrian On 22 October 2013 11:47, John Baldwin wrote: > On Tuesday, October 22, 2013 6:21:21 am Alexander Motin wrote: > > Author: mav > > Date: Tue Oct 22 10:21:20 2013 > > New Rev

svn commit: r256923 - head/usr.sbin/portsnap/portsnap

2013-10-22 Thread Gavin Atkinson
Author: gavin Date: Tue Oct 22 18:55:52 2013 New Revision: 256923 URL: http://svnweb.freebsd.org/changeset/base/256923 Log: Rename the "alfred" command to "auto", and document it. Retain support for "portsnap alfred" for now. Discussed:many times, most recently on svn-src-all MFC a

Re: svn commit: r256884 - in head: share/man/man9 sys/geom

2013-10-22 Thread Alexander Motin
On 22.10.2013 21:47, John Baldwin wrote: On Tuesday, October 22, 2013 6:21:21 am Alexander Motin wrote: Author: mav Date: Tue Oct 22 10:21:20 2013 New Revision: 256884 URL: http://svnweb.freebsd.org/changeset/base/256884 Log: Remove Giant-locked drivers support (DISKFLAG_NEEDSGIANT flag) fro

svn commit: r256925 - head/include

2013-10-22 Thread Tijl Coosemans
Author: tijl Date: Tue Oct 22 19:53:52 2013 New Revision: 256925 URL: http://svnweb.freebsd.org/changeset/base/256925 Log: Add a dummy statement to the beginning of the pthread_cleanup_pop() macro to allow a call of the macro to be labelled as in: label: pthread_cleanup_pop(); Re

svn commit: r256926 - head/usr.sbin/bhyve

2013-10-22 Thread Peter Grehan
Author: grehan Date: Tue Oct 22 19:55:04 2013 New Revision: 256926 URL: http://svnweb.freebsd.org/changeset/base/256926 Log: Fix AHCI ATAPI emulation when backed with /dev/cd0 - remove assumption that the backing file/device had 512-byte sectors - fix incorrect iovec size variable tha

svn commit: r256927 - head/share/man/man9

2013-10-22 Thread John Baldwin
Author: jhb Date: Tue Oct 22 20:10:38 2013 New Revision: 256927 URL: http://svnweb.freebsd.org/changeset/base/256927 Log: Add a manpage for the getenv() family of functions in the kernel. Added: head/share/man/man9/getenv.9 (contents, props changed) Modified: head/share/man/man9/Makefile

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

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 20:50:41 2013 New Revision: 256931 URL: http://svnweb.freebsd.org/changeset/base/256931 Log: Enable ATSE_CFI_HACK in BERI configs, stable MAC addresses are useful. MFC after:3 days Sponsored by: DARPA/AFRL Modified: head/sys/mips/conf/BERI_DE4_BASE

svn commit: r256932 - head/sys/dev/ofw

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 20:57:24 2013 New Revision: 256932 URL: http://svnweb.freebsd.org/changeset/base/256932 Log: Add a new function (OF_getencprop()) that undoes the transformation applied by encode-int. Specifically, it takes a set of 32-bit cell values and changes them to h

svn commit: r256934 - head/sys/mips/include

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 21:06:27 2013 New Revision: 256934 URL: http://svnweb.freebsd.org/changeset/base/256934 Log: MFP4: Change 221534 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/01/27 16:05:30 FreeBSD/mips stores page-table entries in a near-identical format

svn commit: r256935 - in head/sys: conf mips/beri mips/include mips/mips

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 21:08:25 2013 New Revision: 256935 URL: http://svnweb.freebsd.org/changeset/base/256935 Log: MFP4: Change 228019 by bz@bz_zenith on 2013/04/23 13:55:30 Add kernel side support for large TLB on BERI/CHERI. Modelled similar to NLM MFC after

svn commit: r256936 - head/sys/mips/beri

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 21:13:02 2013 New Revision: 256936 URL: http://svnweb.freebsd.org/changeset/base/256936 Log: Remove a bit of debugging output that slipped into r256911. MFC after:3 days Sponsored by: DARPA/AFRL Modified: head/sys/mips/beri/beri_pic.c Modified: head

svn commit: r256937 - in head/sys: conf mips/mips

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 21:16:57 2013 New Revision: 256937 URL: http://svnweb.freebsd.org/changeset/base/256937 Log: MFP4: Change 231031 by brooks@brooks_zenith on 2013/07/11 16:22:08 Turn the unused and uncompilable MIPS_DISABLE_L1_CACHE define in cache.c into a

svn commit: r256938 - head/sys/dev/ofw

2013-10-22 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Oct 22 21:20:05 2013 New Revision: 256938 URL: http://svnweb.freebsd.org/changeset/base/256938 Log: A few other common cases for encode-int decoding: OF_getencprop_alloc() and OF_searchencprop(). I thought about using the element size parameter to OF_getprop_allo

svn commit: r256939 - head/sys/mips/mips

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 21:27:22 2013 New Revision: 256939 URL: http://svnweb.freebsd.org/changeset/base/256939 Log: MFP4: Change 221767 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/02/05 14:18:53 When printing out information on a TLB MOD exception for a user

svn commit: r256940 - head/sys/boot/i386/libi386

2013-10-22 Thread Jung-uk Kim
Author: jkim Date: Tue Oct 22 21:32:28 2013 New Revision: 256940 URL: http://svnweb.freebsd.org/changeset/base/256940 Log: Allow users to set UUID in network byte order regardless of SMBIOS version. Define BOOT_NETWORK_ENDIAN_UUID in make.conf(5) to enable this feature. Modified: head/sys/b

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

2013-10-22 Thread Olivier Houchard
Author: cognet Date: Tue Oct 22 21:47:34 2013 New Revision: 256941 URL: http://svnweb.freebsd.org/changeset/base/256941 Log: Try to make sure the frame is indeed in the kernel memory. Modified: head/sys/arm/arm/stack_machdep.c Modified: head/sys/arm/arm/stack_machdep.c ==

svn commit: r256942 - head/sys/arm/xscale/ixp425

2013-10-22 Thread Olivier Houchard
Author: cognet Date: Tue Oct 22 21:49:58 2013 New Revision: 256942 URL: http://svnweb.freebsd.org/changeset/base/256942 Log: Typo fix. Modified: head/sys/arm/xscale/ixp425/ixp425_mem.c Modified: head/sys/arm/xscale/ixp425/ixp425_mem.c =

svn commit: r256943 - head/sys/arm/xscale/ixp425

2013-10-22 Thread Olivier Houchard
Author: cognet Date: Tue Oct 22 21:51:07 2013 New Revision: 256943 URL: http://svnweb.freebsd.org/changeset/base/256943 Log: - Use bus_dmamap_unload(), it is not optional. - The new allocator won't return coherent memory for any size > PAGE_SIZE, so don't assume we have coherent memory, and

svn commit: r256945 - head/sys/kern

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 22:03:01 2013 New Revision: 256945 URL: http://svnweb.freebsd.org/changeset/base/256945 Log: MFP4: Change 221669 by bz@bz_zenith on 2013/02/01 12:26:04 Run the initialization for polling earlier along with INTRs so that we can put network

svn commit: r256946 - head/tools/tools/atsectl

2013-10-22 Thread Brooks Davis
Author: brooks Date: Tue Oct 22 22:17:48 2013 New Revision: 256946 URL: http://svnweb.freebsd.org/changeset/base/256946 Log: MFP4: 1187103, 222076, 222057, 222051, 221799 Add atsectl, a simple utility to read and update MAC addresses stored in the default flash location on Altera DE4 boar

Re: svn commit: r256943 - head/sys/arm/xscale/ixp425

2013-10-22 Thread Ian Lepore
On Tue, 2013-10-22 at 21:51 +, Olivier Houchard wrote: > Author: cognet > Date: Tue Oct 22 21:51:07 2013 > New Revision: 256943 > URL: http://svnweb.freebsd.org/changeset/base/256943 > > Log: > - Use bus_dmamap_unload(), it is not optional. > - The new allocator won't return coherent memor

svn commit: r256948 - head/sys/boot/fdt/dts

2013-10-22 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Wed Oct 23 00:35:58 2013 New Revision: 256948 URL: http://svnweb.freebsd.org/changeset/base/256948 Log: Add FDT for Radxa Rock board and Rockchip RK3188 SoC. Reviewed by: ray@ Added: head/sys/boot/fdt/dts/rk3188-radxa.dts (contents, props changed)

svn commit: r256949 - head/sys/arm/rockchip

2013-10-22 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Wed Oct 23 00:39:43 2013 New Revision: 256949 URL: http://svnweb.freebsd.org/changeset/base/256949 Log: Import basic support for Rockchip RK3188 SoC. Reviewed by: ray@ Added: head/sys/arm/rockchip/ head/sys/arm/rockchip/bus_space.c (contents, pro

svn commit: r256950 - head/sys/arm/conf

2013-10-22 Thread Ganbold Tsagaankhuu
Author: ganbold (doc committer) Date: Wed Oct 23 00:43:22 2013 New Revision: 256950 URL: http://svnweb.freebsd.org/changeset/base/256950 Log: Radxa Rock board (by radxa.com) kernel config file. More info on the Wiki page: https://wiki.freebsd.org/FreeBSD/arm/Radxa%20Rock Reviewed by: ra

svn commit: r256951 - head/sys/geom/nop

2013-10-22 Thread Mateusz Guzik
Author: mjg Date: Wed Oct 23 01:34:18 2013 New Revision: 256951 URL: http://svnweb.freebsd.org/changeset/base/256951 Log: gnop: make sure that newly allocated memory for softc is zeroed This prevents mtx_init from encountering non-zeros and panicking the kernel as a result. Reported

Re: svn commit: r256934 - head/sys/mips/include

2013-10-22 Thread Adrian Chadd
This fails to build: cc -c -x assembler-with-cpp -DLOCORE -O -pipe -march=mips32 -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics

Re: svn commit: r256934 - head/sys/mips/include

2013-10-22 Thread Adrian Chadd
.. and it didn't compile because TLBLO_SWBITS_CLEAR_SHIFT is just plain not defined in the 32-bit mips platform case. Did you attempt to do a tinderbox build on this? Or even build a 32 bit kernel? -adrian On 22 October 2013 19:20, Adrian Chadd wrote: > This fails to build: > > cc -c -x a

svn commit: r256952 - head/share/man/man9

2013-10-22 Thread Eitan Adler
Author: eadler Date: Wed Oct 23 03:27:42 2013 New Revision: 256952 URL: http://svnweb.freebsd.org/changeset/base/256952 Log: Add missing symlinks for the sbuf man page Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile ==

svn commit: r256953 - head/sys/dev/ofw

2013-10-22 Thread Andreas Tobler
Author: andreast Date: Wed Oct 23 03:59:51 2013 New Revision: 256953 URL: http://svnweb.freebsd.org/changeset/base/256953 Log: Fix build. Modified: head/sys/dev/ofw/openfirm.c Modified: head/sys/dev/ofw/openfirm.c ==

Re: svn commit: r256953 - head/sys/dev/ofw

2013-10-22 Thread Nathan Whitehorn
On 10/22/13 22:59, Andreas Tobler wrote: Author: andreast Date: Wed Oct 23 03:59:51 2013 New Revision: 256953 URL: http://svnweb.freebsd.org/changeset/base/256953 Log: Fix build. Modified: head/sys/dev/ofw/openfirm.c Modified: head/sys/dev/ofw/openfirm.c =

Re: svn commit: r256949 - head/sys/arm/rockchip

2013-10-22 Thread Joel Dahl
23 okt 2013 kl. 02:39 skrev Ganbold Tsagaankhuu : > Author: ganbold (doc committer) > Date: Wed Oct 23 00:39:43 2013 > New Revision: 256949 > URL: http://svnweb.freebsd.org/changeset/base/256949 > > Log: > Import basic support for Rockchip RK3188 SoC. > > Added: head/sys/arm/rockchip/bus_space

Re: svn commit: r256949 - head/sys/arm/rockchip

2013-10-22 Thread Ganbold Tsagaankhuu
On Wed, Oct 23, 2013 at 1:21 PM, Joel Dahl wrote: > > 23 okt 2013 kl. 02:39 skrev Ganbold Tsagaankhuu : > > > Author: ganbold (doc committer) > > Date: Wed Oct 23 00:39:43 2013 > > New Revision: 256949 > > URL: http://svnweb.freebsd.org/changeset/base/256949 > > > > Log: > > Import basic support