svn commit: r236997 - in head/sys: arm/include dev/hwpmc

2012-06-13 Thread Fabien Thomas
Author: fabient Date: Wed Jun 13 06:38:25 2012 New Revision: 236997 URL: http://svn.freebsd.org/changeset/base/236997 Log: Add ARM callchain support for hwpmc. Sponsored by: NETASQ MFC after:3 days Modified: head/sys/arm/include/pmc_mdep.h head/sys/dev/hwpmc/hwpmc_arm.c

svn commit: r236998 - stable/9/usr.sbin/pmcstat

2012-06-13 Thread Fabien Thomas
Author: fabient Date: Wed Jun 13 06:42:36 2012 New Revision: 236998 URL: http://svn.freebsd.org/changeset/base/236998 Log: MFC r236669: Remove spurious ARM symbols from lookup table. Modified: stable/9/usr.sbin/pmcstat/pmcstat_log.c Directory Properties: stable/9/usr.sbin/pmcstat/

svn commit: r236999 - head/share/examples/csh

2012-06-13 Thread Eitan Adler
Author: eadler Date: Wed Jun 13 06:46:00 2012 New Revision: 236999 URL: http://svn.freebsd.org/changeset/base/236999 Log: Include a warning when using the example code as it may not work in unusual situations. Also slightly optimize the command. Submitted by: Jeremy Chadwick

svn commit: r237000 - head/sys/dev/ath

2012-06-13 Thread Adrian Chadd
Author: adrian Date: Wed Jun 13 06:57:55 2012 New Revision: 237000 URL: http://svn.freebsd.org/changeset/base/237000 Log: Implement a separate, smaller pool of ath_buf entries for use by management traffic. * Create sc_mgmt_txbuf and sc_mgmt_txdesc, initialise/free them appropriately.

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

2012-06-13 Thread Pawel Jakub Dawidek
On Wed, Jun 13, 2012 at 08:09:01AM +0400, Andrey Chernov wrote: On Wed, Jun 13, 2012 at 12:37:50PM +1000, Bruce Evans wrote: On Mon, 11 Jun 2012, Pawel Jakub Dawidek wrote: -KASSERT(fd = 0 fd fdp-fd_nfiles, +KASSERT((unsigned int)fd fdp-fd_nfiles, (file

svn commit: r237001 - head/sys/boot/zfs

2012-06-13 Thread Martin Matuska
Author: mm Date: Wed Jun 13 08:00:32 2012 New Revision: 237001 URL: http://svn.freebsd.org/changeset/base/237001 Log: Fix ZFS boot with pre-features pools (version = 28) broken in r236884 Reported by: mav MFC after:1 month Modified: head/sys/boot/zfs/zfsimpl.c Modified:

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

2012-06-13 Thread Mateusz Guzik
On Tue, Jun 12, 2012 at 11:44:00PM +0200, Pawel Jakub Dawidek wrote: On Tue, Jun 12, 2012 at 09:18:28PM +0200, Mateusz Guzik wrote: On Tue, Jun 12, 2012 at 06:01:29PM +0200, Pawel Jakub Dawidek wrote: Look good and you can just add 'In co-operation with: pjd'. One minor thing is that

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

2012-06-13 Thread Pawel Jakub Dawidek
On Wed, Jun 13, 2012 at 11:38:07AM +0200, Mateusz Guzik wrote: On Tue, Jun 12, 2012 at 11:44:00PM +0200, Pawel Jakub Dawidek wrote: On Tue, Jun 12, 2012 at 09:18:28PM +0200, Mateusz Guzik wrote: On Tue, Jun 12, 2012 at 06:01:29PM +0200, Pawel Jakub Dawidek wrote: Look good and you can

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

2012-06-13 Thread Mateusz Guzik
On Wed, Jun 13, 2012 at 12:29:01PM +0200, Pawel Jakub Dawidek wrote: On Wed, Jun 13, 2012 at 11:38:07AM +0200, Mateusz Guzik wrote: On Tue, Jun 12, 2012 at 11:44:00PM +0200, Pawel Jakub Dawidek wrote: On Tue, Jun 12, 2012 at 09:18:28PM +0200, Mateusz Guzik wrote: On Tue, Jun 12, 2012 at

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

2012-06-13 Thread Pawel Jakub Dawidek
On Wed, Jun 13, 2012 at 12:53:44PM +0200, Mateusz Guzik wrote: http://people.freebsd.org/~mjg/patches/fdalloc%2bfd_first_free5.patch David reported that previous version of the patch fixed panic he was experiencing, so I consider the patch tested. Looks good, one (hopefully last) minor nit.

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

2012-06-13 Thread Mateusz Guzik
On Wed, Jun 13, 2012 at 01:13:09PM +0200, Pawel Jakub Dawidek wrote: On Wed, Jun 13, 2012 at 12:53:44PM +0200, Mateusz Guzik wrote: http://people.freebsd.org/~mjg/patches/fdalloc%2bfd_first_free5.patch David reported that previous version of the patch fixed panic he was experiencing, so

svn commit: r237005 - head

2012-06-13 Thread Dag-Erling Smorgrav
== --- head/ObsoleteFiles.inc Wed Jun 13 10:42:55 2012(r237004) +++ head/ObsoleteFiles.inc Wed Jun 13 11:59:03 2012(r237005) @@ -38,6 +38,10 @@ # xargs -n1 | sort | uniq -d; # done +# 20120613: auth.conf

svn commit: r237006 - head

2012-06-13 Thread Dag-Erling Smorgrav
== --- head/ObsoleteFiles.inc Wed Jun 13 11:59:03 2012(r237005) +++ head/ObsoleteFiles.inc Wed Jun 13 11:59:47 2012(r237006) @@ -39,11 +39,11 @@ # done # 20120613: auth.conf removed -OLD_FILES+=/etc/auth.conf -OLD_FILES+=/usr/share/man/man3/auth.3.gz

Re: svn commit: r236959 - in head: share/man/man4 sys/netinet

2012-06-13 Thread Andre Oppermann
On 12.06.2012 16:02, Michael Tuexen wrote: Author: tuexen Date: Tue Jun 12 14:02:38 2012 New Revision: 236959 URL: http://svn.freebsd.org/changeset/base/236959 Log: Add a IP_RECVTOS socket option to receive for received UDP/IPv4 packets a cmsg of type IP_RECVTOS which contains the TOS

svn commit: r237007 - stable/9/share/man/man9

2012-06-13 Thread Sergey Kandaurov
Author: pluknet Date: Wed Jun 13 14:47:03 2012 New Revision: 237007 URL: http://svn.freebsd.org/changeset/base/237007 Log: MFC r234188,r234463,r234465: - Update the swi_add prototype after struct ithd was split up into struct intr_event and struct intr_thread. [1] - Update the rest of

svn commit: r237008 - head/sys/dev/pci

2012-06-13 Thread John Baldwin
Author: jhb Date: Wed Jun 13 15:04:50 2012 New Revision: 237008 URL: http://svn.freebsd.org/changeset/base/237008 Log: Fix a couple of bugs that prevented windows in PCI-PCI bridges from growing downward (moving the start address down). First, an off by one error caused the end address to

Re: svn commit: r237005 - head

2012-06-13 Thread Andrey Zonov
) @@ -38,6 +38,10 @@  #   xargs -n1 | sort | uniq -d;  # done +# 20120613: auth.conf removed +OLD_FILES+=/etc/auth.conf +OLD_FILES+=/usr/share/man/man3/auth.3.gz +OLD_FILES+=/usr/share/man/man5/auth.conf.5.gz I think you missed usr/share/examples/etc/auth.conf  # 20120530: kde pam lives now

svn commit: r237009 - in stable/8: lib/libc/amd64/gen lib/libc/arm/gen lib/libc/gen lib/libc/i386/gen lib/libc/ia64/gen lib/libc/mips/gen lib/libc/powerpc/gen lib/libc/sparc64/gen sys/amd64/acpica ...

2012-06-13 Thread John Baldwin
Author: jhb Date: Wed Jun 13 15:25:52 2012 New Revision: 237009 URL: http://svn.freebsd.org/changeset/base/237009 Log: MFC 230260-230262,230269,230270,230426,230429,230538,230765,230766,230864, 232520 (partial),235563: Add support for the extended FPU states on amd64, both for native

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

2012-06-13 Thread Pawel Jakub Dawidek
On Wed, Jun 13, 2012 at 01:18:53PM +0200, Mateusz Guzik wrote: On Wed, Jun 13, 2012 at 01:13:09PM +0200, Pawel Jakub Dawidek wrote: On Wed, Jun 13, 2012 at 12:53:44PM +0200, Mateusz Guzik wrote: http://people.freebsd.org/~mjg/patches/fdalloc%2bfd_first_free5.patch David reported that

svn commit: r237010 - in head/sys/arm/xscale: i80321 i8134x ixp425 pxa

2012-06-13 Thread Warner Losh
Author: imp Date: Wed Jun 13 16:12:30 2012 New Revision: 237010 URL: http://svn.freebsd.org/changeset/base/237010 Log: Remove leakage of other patches into last commit. Modified: head/sys/arm/xscale/i80321/ep80219_machdep.c head/sys/arm/xscale/i80321/iq31244_machdep.c

svn commit: r237011 - head

2012-06-13 Thread Dag-Erling Smorgrav
@@ # 20120613: auth.conf removed OLD_FILES+=etc/auth.conf +OLD_FILES+=usr/share/examples/etc/auth.conf OLD_FILES+=usr/share/man/man3/auth.3.gz OLD_FILES+=usr/share/man/man5/auth.conf.5.gz # 20120530: kde pam lives now in ports ___ svn-src-all@freebsd.org

svn commit: r237012 - head/sys/kern

2012-06-13 Thread Mateusz Guzik
Author: mjg Date: Wed Jun 13 17:12:53 2012 New Revision: 237012 URL: http://svn.freebsd.org/changeset/base/237012 Log: Re-apply reverted parts of r236935 by pjd with some changes. If fdalloc() decides to grow fdtable it does it once and at most doubles the size. This still may be not

svn commit: r237013 - head/sys/kern

2012-06-13 Thread Mateusz Guzik
Author: mjg Date: Wed Jun 13 17:18:16 2012 New Revision: 237013 URL: http://svn.freebsd.org/changeset/base/237013 Log: Remove 'low' argument from fd_last_used(). This function is static and the only caller always passes 0 as low. While here update note about return values in comment.

svn commit: r237014 - stable/8/sys/dev/pci

2012-06-13 Thread John Baldwin
Author: jhb Date: Wed Jun 13 17:45:38 2012 New Revision: 237014 URL: http://svn.freebsd.org/changeset/base/237014 Log: Restore 229262 which was accidentally reverted in a prior change: Implement BUS_ADD_CHILD() for the isab(4) driver. Submitted by: fabient Modified:

Re: svn commit: r237005 - head

2012-06-13 Thread Dag-Erling Smørgrav
Andrey Zonov and...@zonov.org writes: I think you missed usr/share/examples/etc/auth.conf Thanks, I didn't even realize it existed. DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-all@freebsd.org mailing list

svn commit: r237015 - in head: sys/netinet/libalias usr.sbin/apmd

2012-06-13 Thread Joel Dahl
Author: joel (doc committer) Date: Wed Jun 13 18:57:27 2012 New Revision: 237015 URL: http://svn.freebsd.org/changeset/base/237015 Log: mdoc: avoid nested displays. Fixes mandoc warnings. Modified: head/sys/netinet/libalias/libalias.3 head/usr.sbin/apmd/apmd.8 Modified:

svn commit: r237016 - head/sys/kern

2012-06-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 13 19:00:29 2012 New Revision: 237016 URL: http://svn.freebsd.org/changeset/base/237016 Log: There is only one caller of the dupfdopen() function, so we can simplify it a bit: - We can assert that only ENODEV and ENXIO errors are passed instead of handling

svn commit: r237017 - stable/9/lib/libc/stdlib

2012-06-13 Thread John Baldwin
Author: jhb Date: Wed Jun 13 19:04:39 2012 New Revision: 237017 URL: http://svn.freebsd.org/changeset/base/237017 Log: Ensure that the beginning of the DSS is aligned on a chunk boundary. If the _end symbol used an address with the low bit set, then the initial arena could end up with

svn commit: r237018 - head/share/examples/mdoc

2012-06-13 Thread Joel Dahl
Author: joel (doc committer) Date: Wed Jun 13 19:08:00 2012 New Revision: 237018 URL: http://svn.freebsd.org/changeset/base/237018 Log: Sync example file with mdoc changes made in rev 235450. Modified: head/share/examples/mdoc/example.4 Modified: head/share/examples/mdoc/example.4

svn commit: r237019 - stable/9

2012-06-13 Thread Dimitry Andric
Author: dim Date: Wed Jun 13 19:53:29 2012 New Revision: 237019 URL: http://svn.freebsd.org/changeset/base/237019 Log: MFC r233098: Make sure libgcc_s is finished building in _startup_libs before building libcxxrt with high -j levels. The workaround in libc++/Makefile isn't necessary

svn commit: r237021 - in head/contrib/gcc: . config/i386 doc

2012-06-13 Thread Pedro F. Giffuni
Author: pfg Date: Wed Jun 13 20:21:08 2012 New Revision: 237021 URL: http://svn.freebsd.org/changeset/base/237021 Log: Revert r236962 - Experimental amdfam10/barcelona support. The patches are unexpectedly causing gcc to fail while building ports/graphics/ImageMagick even when the cpu

svn commit: r237023 - stable/9/lib/libc/arm

2012-06-13 Thread Alexander Motin
Author: mav Date: Wed Jun 13 20:31:30 2012 New Revision: 237023 URL: http://svn.freebsd.org/changeset/base/237023 Log: MFC r230188i (by das): Correct some bugs that resulted from arm/_fpmath.h being blindly copied from the x86 version, which has a completely different long double format.

svn commit: r237024 - stable/8/lib/libc/arm

2012-06-13 Thread Alexander Motin
Author: mav Date: Wed Jun 13 20:34:14 2012 New Revision: 237024 URL: http://svn.freebsd.org/changeset/base/237024 Log: MFC r230188i (by das): Correct some bugs that resulted from arm/_fpmath.h being blindly copied from the x86 version, which has a completely different long double format.

svn commit: r237025 - head/sys/sys

2012-06-13 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 13 20:41:45 2012 New Revision: 237025 URL: http://svn.freebsd.org/changeset/base/237025 Log: Add a convenience macro for the fastcall attribute. MFC after:2 weeks Modified: head/sys/sys/cdefs.h Modified: head/sys/sys/cdefs.h

svn commit: r237027 - in head/sys: amd64/amd64 amd64/include i386/acpica i386/i386 i386/include

2012-06-13 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 13 21:03:01 2012 New Revision: 237027 URL: http://svn.freebsd.org/changeset/base/237027 Log: - Fix resumectx() prototypes to reflect reality. - For i386, simply jump to resumectx() with PCB in %ecx. - Fix a style(9) nit while I am here. Modified:

svn commit: r237028 - head/sys/kern

2012-06-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 13 21:10:00 2012 New Revision: 237028 URL: http://svn.freebsd.org/changeset/base/237028 Log: There is no need to set td-td_retval[0] to -1 on error. Confirmed by: jhb MFC after:1 month Modified: head/sys/kern/vfs_syscalls.c Modified:

svn commit: r237029 - head/sys/kern

2012-06-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 13 21:11:58 2012 New Revision: 237029 URL: http://svn.freebsd.org/changeset/base/237029 Log: Style. MFC after:1 month Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c

svn commit: r237030 - head/sys/kern

2012-06-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 13 21:13:18 2012 New Revision: 237030 URL: http://svn.freebsd.org/changeset/base/237030 Log: Add missing {. MFC after:1 month Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c

svn commit: r237031 - head/sys/kern

2012-06-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 13 21:15:01 2012 New Revision: 237031 URL: http://svn.freebsd.org/changeset/base/237031 Log: Remove duplicated code. MFC after:1 month Modified: head/sys/kern/vfs_syscalls.c Modified: head/sys/kern/vfs_syscalls.c

svn commit: r237032 - head/sys/kern

2012-06-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 13 21:22:35 2012 New Revision: 237032 URL: http://svn.freebsd.org/changeset/base/237032 Log: - Remove nfp variable that is not really needed. - Update comment. - Style nits. MFC after:1 month Modified: head/sys/kern/vfs_syscalls.c Modified:

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

2012-06-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 13 21:32:35 2012 New Revision: 237033 URL: http://svn.freebsd.org/changeset/base/237033 Log: Allocate descriptor number in dupfdopen() itself instead of depending on the caller using finstall(). This saves us the filedesc lock/unlock cycle, fhold()/fdrop() cycle

svn commit: r237034 - head/sys/kern

2012-06-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 13 21:38:07 2012 New Revision: 237034 URL: http://svn.freebsd.org/changeset/base/237034 Log: Now that dupfdopen() doesn't depend on finstall() being called earlier, indx will never be -1 on error, as none of dupfdopen(), finstall() and kern_capwrap() modifies it on

svn commit: r237035 - head/usr.bin/find

2012-06-13 Thread Jilles Tjoelker
Author: jilles Date: Wed Jun 13 21:53:40 2012 New Revision: 237035 URL: http://svn.freebsd.org/changeset/base/237035 Log: find(1): Move description of -d option to -depth primary. The nullary -depth primary is standard and the -d option provides little advantage. PR:

svn commit: r237036 - in head/sys: kern netsmb

2012-06-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Wed Jun 13 22:12:10 2012 New Revision: 237036 URL: http://svn.freebsd.org/changeset/base/237036 Log: When checking if file descriptor number is valid, explicitely check for 'fd' being less than 0 instead of using cast-to-unsigned hack. Today's commit was brought to you

svn commit: r237037 - in head/sys: amd64/acpica amd64/amd64 amd64/include x86/acpica

2012-06-13 Thread Jung-uk Kim
Author: jkim Date: Wed Jun 13 22:53:56 2012 New Revision: 237037 URL: http://svn.freebsd.org/changeset/base/237037 Log: - Remove unused code for CR3 and CR4. - Fix few style(9) nits while I am here. Modified: head/sys/amd64/acpica/acpi_wakecode.S head/sys/amd64/amd64/cpu_switch.S

svn commit: r237038 - head/sys/dev/ath

2012-06-13 Thread Adrian Chadd
Author: adrian Date: Thu Jun 14 00:51:53 2012 New Revision: 237038 URL: http://svn.freebsd.org/changeset/base/237038 Log: Implement a global (all non-mgmt traffic) TX ath_buf limitation when ath_start() is called. This (defaults to 10 frames) gives for a little headway in the TX ath_buf

svn commit: r237039 - head/lib/libc/arm

2012-06-13 Thread Tim Kientzle
Author: kientzle Date: Thu Jun 14 03:27:01 2012 New Revision: 237039 URL: http://svn.freebsd.org/changeset/base/237039 Log: __flt_rounds is a public symbol (expands from the FLT_ROUNDS macro), so include it in the public namespace on arm just as with other architectures. This corrects

svn commit: r237040 - in head/sys/arm: arm at91 econa include mv s3c2xx0 sa11x0 xscale/i80321 xscale/i8134x xscale/ixp425

2012-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 14 04:00:30 2012 New Revision: 237040 URL: http://svn.freebsd.org/changeset/base/237040 Log: Modify all the arm platform files to call parse_boot_param passing in the boot parameters from initarm first thing. parse_boot_param parses the boot arguments and converts

svn commit: r237041 - head/sys/dev/ath

2012-06-13 Thread Adrian Chadd
Author: adrian Date: Thu Jun 14 04:01:25 2012 New Revision: 237041 URL: http://svn.freebsd.org/changeset/base/237041 Log: Disable this warning debug for now, as I'm now aware of the particular situation where it's occuring. Whilst I'm here, flesh out a more descriptive description.

svn commit: r237042 - in head/sys: arm/arm arm/include arm/mv conf

2012-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 14 04:09:20 2012 New Revision: 237042 URL: http://svn.freebsd.org/changeset/base/237042 Log: Create default_parse_boot_param which, if FreeBSD /boot/loader support is enabled, sets values based on the metadata passed in. Otherwise fake_preload_metadata is called.

svn commit: r237043 - head/sys/dev/ath

2012-06-13 Thread Adrian Chadd
Author: adrian Date: Thu Jun 14 04:14:06 2012 New Revision: 237043 URL: http://svn.freebsd.org/changeset/base/237043 Log: Disable BGSCAN for 802.11n for now. Until scanning during traffic is fixed for 802.11n TX, this needs to be disabled or users wlil see randomly hanging aggregation

svn commit: r237044 - in head/sys: arm/arm arm/include conf

2012-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 14 04:16:16 2012 New Revision: 237044 URL: http://svn.freebsd.org/changeset/base/237044 Log: Add support for parsing Linux ATAGs such as you'd see from uboot or redboot. Support is very preiminary and likely needs some work. Also, do some minor code shuffling of

svn commit: r237045 - in head/sys/arm: arm at91 econa include mv s3c2xx0 xscale/ixp425

2012-06-13 Thread Warner Losh
Author: imp Date: Thu Jun 14 04:18:56 2012 New Revision: 237045 URL: http://svn.freebsd.org/changeset/base/237045 Log: More Linux boot support. Create arm_dump_avail_init() to initialize this array either from Linux boot data, when enabled, or in the typical way that most ports do it.

svn commit: r237046 - head/sys/dev/ath

2012-06-13 Thread Adrian Chadd
Author: adrian Date: Thu Jun 14 04:24:13 2012 New Revision: 237046 URL: http://svn.freebsd.org/changeset/base/237046 Log: Shrink ath_buf a little more: * Resize some types. In particular, bfs_seqno can be uint16_t for now. Previous work would assign the unassigned seqno a value of -1,