svn commit: r238856 - in head: contrib/libarchive contrib/libarchive/cpio contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/libarchive...

2012-07-27 Thread Martin Matuska
Author: mm Date: Sat Jul 28 06:38:44 2012 New Revision: 238856 URL: http://svn.freebsd.org/changeset/base/238856 Log: Update libarchive to 3.0.4 Added: head/contrib/libarchive/libarchive/archive_getdate.c - copied unchanged from r238825, vendor/libarchive/dist/libarchive/archive_getdate

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

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Sat Jul 28 04:42:05 2012 New Revision: 238855 URL: http://svn.freebsd.org/changeset/base/238855 Log: Flesh out the initial TX FIFO storage for each hardware TX queue. Modified: head/sys/dev/ath/if_ath_tx_edma.c head/sys/dev/ath/if_athvar.h Modified: head/sys/dev/ath/if

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

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Sat Jul 28 04:40:52 2012 New Revision: 238854 URL: http://svn.freebsd.org/changeset/base/238854 Log: Add a missing call to ath_txdma_teardown(). Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ==

Re: svn commit: r238765 - head/sys/dev/e1000

2012-07-27 Thread Adrian Chadd
Hi, Can you please revert this commit for now? * it has some netmap stuff in it that isn't related to the commit; * it's causing panics due to lock recursion; * it likely has other issues you haven't yet found. :) Adrian On 25 July 2012 04:28, Luigi Rizzo wrote: > Author: luigi > Date: Wed J

svn commit: r238853 - head/lib/libc/string

2012-07-27 Thread Ed Maste
Author: emaste Date: Fri Jul 27 21:38:14 2012 New Revision: 238853 URL: http://svn.freebsd.org/changeset/base/238853 Log: Correct BUGS description of static buffer use Since r142667 strerror has unconditionally returned a pointer to a static buffer. MFC after:1 week Modified:

Re: svn commit: r238850 - head/sys/arm/conf

2012-07-27 Thread Hans Petter Selasky
On Friday 27 July 2012 19:32:01 Warner Losh wrote: > Author: imp > Date: Fri Jul 27 17:32:01 2012 > New Revision: 238850 > URL: http://svn.freebsd.org/changeset/base/238850 > > Log: > Add gadget devices. Not yet added to the child lists, but here to > keep things from bit-rotting. > > Modifi

svn commit: r238851 - in head: . sys/boot/sparc64/loader

2012-07-27 Thread Marius Strobl
) +++ head/UPDATING Fri Jul 27 18:23:11 2012(r238851) @@ -24,6 +24,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20120727: + The sp

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

2012-07-27 Thread Warner Losh
Author: imp Date: Fri Jul 27 17:32:01 2012 New Revision: 238850 URL: http://svn.freebsd.org/changeset/base/238850 Log: Add gadget devices. Not yet added to the child lists, but here to keep things from bit-rotting. Modified: head/sys/arm/conf/ATMEL Modified: head/sys/arm/conf/ATMEL ==

svn commit: r238849 - head/sys/arm/at91

2012-07-27 Thread Warner Losh
Author: imp Date: Fri Jul 27 17:31:19 2012 New Revision: 238849 URL: http://svn.freebsd.org/changeset/base/238849 Log: Add the usb device (gadget) side of things. Also add ehci bindings while I'm here in anticipation of usb2 support for newer SoCs. Requested by: Hans Petter Selasky Modi

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

2012-07-27 Thread Warner Losh
Author: imp Date: Fri Jul 27 17:28:11 2012 New Revision: 238848 URL: http://svn.freebsd.org/changeset/base/238848 Log: Make this compile again. Also note that it is AT91RM9200+KB9202B specific still and needs some love to make it work on anything else. Modified: head/sys/dev/usb/controller

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

2012-07-27 Thread Warner Losh
Author: imp Date: Fri Jul 27 17:07:54 2012 New Revision: 238847 URL: http://svn.freebsd.org/changeset/base/238847 Log: Neither of these systems has PCI, but they do have ohci interface, so fix comments. Modified: head/sys/arm/conf/ATMEL head/sys/arm/conf/ETHERNUT5 Modified: head/sys/arm/

svn commit: r238846 - in head/sys/arm: at91 conf

2012-07-27 Thread Warner Losh
Author: imp Date: Fri Jul 27 16:38:02 2012 New Revision: 238846 URL: http://svn.freebsd.org/changeset/base/238846 Log: Add new at91sam9g45 support and sn9g45 board to the ATMEL kernel. Adapt SN9G45 board support to cope with multi-board. Modified: head/sys/arm/at91/board_sn9g45.c head/sys

Re: svn commit: r238755 - head/sys/x86/x86

2012-07-27 Thread Peter Grehan
CPUID causes an unconditional exit in VT-x/SVM so it would be best to avoid that if possible. The only place where the use of CPUID in tsc patch seems to be reasonable is at the SMP test, since it is too much burden to check SSE2/Intel/AMD nuances at the boot time, to be redone later anyway. W

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

2012-07-27 Thread Gleb Smirnoff
On Fri, Jul 27, 2012 at 11:30:58PM +1000, Bruce Evans wrote: B> > On Fri, Jul 27, 2012 at 10:32:55PM +1000, Bruce Evans wrote: B> > B> I just noticed that there is a technical problem -- the count is read B> > B> unlocked in the KASSERT. And since the comparision is for equality, B> > B> if you lo

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

2012-07-27 Thread David Xu
On 2012/7/27 21:30, Bruce Evans wrote: On Fri, 27 Jul 2012, Gleb Smirnoff wrote: On Fri, Jul 27, 2012 at 10:32:55PM +1000, Bruce Evans wrote: B> I just noticed that there is a technical problem -- the count is read B> unlocked in the KASSERT. And since the comparision is for equality, B> if yo

svn commit: r238844 - head/sys/netgraph

2012-07-27 Thread Ed Maste
Author: emaste Date: Fri Jul 27 13:57:28 2012 New Revision: 238844 URL: http://svn.freebsd.org/changeset/base/238844 Log: Add version so others can depend on this module Modified: head/sys/netgraph/ng_ether.c Modified: head/sys/netgraph/ng_ether.c

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

2012-07-27 Thread Bruce Evans
On Fri, 27 Jul 2012, Gleb Smirnoff wrote: On Fri, Jul 27, 2012 at 10:32:55PM +1000, Bruce Evans wrote: B> I just noticed that there is a technical problem -- the count is read B> unlocked in the KASSERT. And since the comparision is for equality, B> if you lose the race reading the count when i

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

2012-07-27 Thread Konstantin Belousov
On Fri, Jul 27, 2012 at 10:32:55PM +1000, Bruce Evans wrote: > On Fri, 27 Jul 2012, Gleb Smirnoff wrote: > > >On Fri, Jul 27, 2012 at 02:12:37PM +0300, Konstantin Belousov wrote: > >K> On Fri, Jul 27, 2012 at 09:16:48AM +, Gleb Smirnoff wrote: > >K> > ... > >K> > Log: > >K> > Add assertion f

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

2012-07-27 Thread Gleb Smirnoff
On Fri, Jul 27, 2012 at 10:32:55PM +1000, Bruce Evans wrote: B> > On Fri, Jul 27, 2012 at 02:12:37PM +0300, Konstantin Belousov wrote: B> > K> On Fri, Jul 27, 2012 at 09:16:48AM +, Gleb Smirnoff wrote: B> > K> > ... B> > K> > Log: B> > K> > Add assertion for refcount overflow. B> > K> > B> >

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

2012-07-27 Thread Bruce Evans
On Fri, 27 Jul 2012, Gleb Smirnoff wrote: On Fri, Jul 27, 2012 at 02:12:37PM +0300, Konstantin Belousov wrote: K> On Fri, Jul 27, 2012 at 09:16:48AM +, Gleb Smirnoff wrote: K> > ... K> > Log: K> > Add assertion for refcount overflow. K> > K> > Submitted by: Andrey Zonov K> > Revi

svn commit: r238843 - head/sys/dev/ath/ath_hal

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 12:08:49 2012 New Revision: 238843 URL: http://svn.freebsd.org/changeset/base/238843 Log: Tidy up the TX status fields a little and add a couple new flags. * shuffle things around so things fall on natural padding boundaries; * add a couple of new flags to

svn commit: r238842 - head/sys/dev/ath/ath_hal/ar5416

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 11:54:05 2012 New Revision: 238842 URL: http://svn.freebsd.org/changeset/base/238842 Log: Add STBC TX support for AR5416 HAL chips. Specifically, however: * AR9280 and later support 1-stream STBC RX; * AR9280 and AR9287 support 1-stream STBC TX. T

svn commit: r238841 - head/sys/dev/ath/ath_hal

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 11:45:57 2012 New Revision: 238841 URL: http://svn.freebsd.org/changeset/base/238841 Log: Add a STBC TX flag. Obtained from:Qualcomm Atheros Modified: head/sys/dev/ath/ath_hal/ah.h Modified: head/sys/dev/ath/ath_hal/ah.h ==

svn commit: r238840 - head/sys/dev/ath/ath_hal

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 11:44:48 2012 New Revision: 238840 URL: http://svn.freebsd.org/changeset/base/238840 Log: Add some comments about what the two fields mean. Modified: head/sys/dev/ath/ath_hal/ah.h Modified: head/sys/dev/ath/ath_hal/ah.h

svn commit: r238839 - in head/sys/dev/ath: . ath_hal

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 11:43:10 2012 New Revision: 238839 URL: http://svn.freebsd.org/changeset/base/238839 Log: Introduce a couple more fields in the rate scenario setup as part of (future) TPC support in the AR9300 HAL. This is effectively a no-op for the moment as (a) TPC isn'

svn commit: r238838 - in head/sys/dev/ath: . ath_hal ath_hal/ar5416

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 11:23:24 2012 New Revision: 238838 URL: http://svn.freebsd.org/changeset/base/238838 Log: Bring this API in line with what the reference driver and Linux ath9k was doing. Obtained from:Qualcomm Atheros, Linux ath9k Modified: head/sys/dev/ath/ath_

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

2012-07-27 Thread Gleb Smirnoff
On Fri, Jul 27, 2012 at 02:12:37PM +0300, Konstantin Belousov wrote: K> On Fri, Jul 27, 2012 at 09:16:48AM +, Gleb Smirnoff wrote: K> > Author: glebius K> > Date: Fri Jul 27 09:16:48 2012 K> > New Revision: 238828 K> > URL: http://svn.freebsd.org/changeset/base/238828 K> > K> > Log: K> > Add

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

2012-07-27 Thread Konstantin Belousov
On Fri, Jul 27, 2012 at 09:16:48AM +, Gleb Smirnoff wrote: > Author: glebius > Date: Fri Jul 27 09:16:48 2012 > New Revision: 238828 > URL: http://svn.freebsd.org/changeset/base/238828 > > Log: > Add assertion for refcount overflow. > > Submitted by: Andrey Zonov > Reviewed by:

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

2012-07-27 Thread Bruce Evans
On Fri, 27 Jul 2012, Gleb Smirnoff wrote: Log: Add assertion for refcount overflow. Submitted by: Andrey Zonov Reviewed by: kib Modified: head/sys/sys/refcount.h Modified: head/sys/sys/refcount.h == --- head/s

svn commit: r238837 - head/sys/dev/netmap

2012-07-27 Thread Luigi Rizzo
Author: luigi Date: Fri Jul 27 10:52:21 2012 New Revision: 238837 URL: http://svn.freebsd.org/changeset/base/238837 Log: use __builtin_prefetch() for prefetch. merge in the remaining part of the linux-specific glue so i do not need to maintain two different distributions. Modified: hea

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

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 10:41:54 2012 New Revision: 238836 URL: http://svn.freebsd.org/changeset/base/238836 Log: Allocate a descriptor ring for EDMA TX completion status. Configure the hardware with said ring physical address and size. Modified: head/sys/dev/ath/if_ath_tx_edma.c

svn commit: r238835 - head/lib/libc/sys

2012-07-27 Thread Konstantin Belousov
Author: kib Date: Fri Jul 27 10:41:53 2012 New Revision: 238835 URL: http://svn.freebsd.org/changeset/base/238835 Log: Document F_DUP2FD_CLOEXEC. MFC after:1 week Modified: head/lib/libc/sys/fcntl.2 Modified: head/lib/libc/sys/fcntl.2

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

2012-07-27 Thread Konstantin Belousov
Author: kib Date: Fri Jul 27 10:41:10 2012 New Revision: 238834 URL: http://svn.freebsd.org/changeset/base/238834 Log: Add F_DUP2FD_CLOEXEC. Apparently Solaris 11 already did this. Submitted by: Jukka A. Ukkonen PR: standards/169962 MFC after:1 week Modified: head/sys/kern/ke

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

2012-07-27 Thread Adrian Chadd
Author: adrian Date: Fri Jul 27 10:38:17 2012 New Revision: 238832 URL: http://svn.freebsd.org/changeset/base/238832 Log: Modify ath_descdma_cleanup() to handle ath_descdma instances with no buffers. ath_descdma is now being used for things other than the classical combination of ath_bu

svn commit: r238831 - head/sys/dev/netmap

2012-07-27 Thread Luigi Rizzo
Author: luigi Date: Fri Jul 27 10:31:26 2012 New Revision: 238831 URL: http://svn.freebsd.org/changeset/base/238831 Log: remove unused definition, whitespace cleanup Modified: head/sys/dev/netmap/netmap_kern.h Modified: head/sys/dev/netmap/netmap_kern.h ==

svn commit: r238828 - head/sys/sys

2012-07-27 Thread Gleb Smirnoff
Author: glebius Date: Fri Jul 27 09:16:48 2012 New Revision: 238828 URL: http://svn.freebsd.org/changeset/base/238828 Log: Add assertion for refcount overflow. Submitted by: Andrey Zonov Reviewed by: kib Modified: head/sys/sys/refcount.h Modified: head/sys/sys/refcount.h ===

Re: svn commit: r238755 - head/sys/x86/x86

2012-07-27 Thread Konstantin Belousov
On Thu, Jul 26, 2012 at 12:44:43PM -0600, Peter Grehan wrote: > >Yes, CPUID or LFENCE is enough to fix the failure. > > CPUID causes an unconditional exit in VT-x/SVM so it would be best to > avoid that if possible. The only place where the use of CPUID in tsc patch seems to be reasonable is at

svn commit: r238827 - head/contrib/libarchive

2012-07-27 Thread Martin Matuska
Author: mm Date: Fri Jul 27 08:28:44 2012 New Revision: 238827 URL: http://svn.freebsd.org/changeset/base/238827 Log: Update information on obtaining libarchive sources and FreeBSD-Xlist Modified: head/contrib/libarchive/FREEBSD-Xlist (contents, props changed) head/contrib/libarchive/FREE

Re: svn commit: r238818 - head/sys/dev/netmap

2012-07-27 Thread Bruce Evans
On Fri, 27 Jul 2012, Luigi Rizzo wrote: On Thu, Jul 26, 2012 at 11:39:59PM +0200, Roman Divacky wrote: Why dont you use __builtin_prefetch() ? ignorance :) thanks for the pointer, i'll look at it. i suppose it works for clang too ? Even gcc-3.3.1 has it (I expected it not to). And it work