svn commit: r220437 - in head/sys: cddl/dev/systrace modules/dtrace/systrace_linux32

2011-04-08 Thread Artem Belevich
Author: art Date: Fri Apr 8 06:27:43 2011 New Revision: 220437 URL: http://svn.freebsd.org/changeset/base/220437 Log: Stripped '32' suffix from linux systrace module name on i386. Approved by: avg Modified: head/sys/cddl/dev/systrace/systrace.c

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

2011-04-08 Thread Adrian Chadd
Author: adrian Date: Fri Apr 8 06:29:41 2011 New Revision: 220438 URL: http://svn.freebsd.org/changeset/base/220438 Log: Extend the RX descriptor block to include two more EVM words. This will be needed for later AR93xx/AR94xx 3-stream devices. Modified:

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

2011-04-08 Thread Adrian Chadd
Author: adrian Date: Fri Apr 8 06:58:01 2011 New Revision: 220442 URL: http://svn.freebsd.org/changeset/base/220442 Log: Export the per-chain ctl/ext noise floor values, raw and uncut, to the upper-level HAL. Right now the per-chain noise floor values aren't used anywhere in the

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

2011-04-08 Thread Adrian Chadd
Author: adrian Date: Fri Apr 8 07:44:00 2011 New Revision: 220443 URL: http://svn.freebsd.org/changeset/base/220443 Log: Begin fleshing out a public HAL routine to export the per-chain ctl/ext noise floor values. This routine doesn't check to see whether the radio is MIMO capable -

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

2011-04-08 Thread Adrian Chadd
Author: adrian Date: Fri Apr 8 08:49:50 2011 New Revision: 220444 URL: http://svn.freebsd.org/changeset/base/220444 Log: Fix the completely wrong types I used in the previous commit. Modified: head/sys/dev/ath/ath_hal/ah.c head/sys/dev/ath/ath_hal/ah.h

svn commit: r220445 - head/sys/net80211

2011-04-08 Thread Adrian Chadd
Author: adrian Date: Fri Apr 8 09:20:45 2011 New Revision: 220445 URL: http://svn.freebsd.org/changeset/base/220445 Log: Add initial support for MIMO statistics to net80211. This introduces struct ieee80211_rx_stats - which stores the various kinds of RX statistics which a MIMO and

svn commit: r220446 - head/sys/net80211

2011-04-08 Thread Adrian Chadd
Author: adrian Date: Fri Apr 8 09:56:31 2011 New Revision: 220446 URL: http://svn.freebsd.org/changeset/base/220446 Log: Re-add the pad[2] I deleted by accident. Modified: head/sys/net80211/_ieee80211.h Modified: head/sys/net80211/_ieee80211.h

Re: svn commit: r220430 - head/sys/amd64/amd64

2011-04-08 Thread Andriy Gapon
on 08/04/2011 00:32 John Baldwin said the following: Author: jhb Date: Thu Apr 7 21:32:25 2011 New Revision: 220430 URL: http://svn.freebsd.org/changeset/base/220430 Log: If a system call does not request a full interrupt return, use a fast path via the sysretq instruction to return

svn commit: r220447 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/common/zfs

2011-04-08 Thread Martin Matuska
Author: mm Date: Fri Apr 8 11:08:26 2011 New Revision: 220447 URL: http://svn.freebsd.org/changeset/base/220447 Log: Partially fix ZFS compat code for sparc64. Some endianess bugs still need to be resolved. Submitted by: marius (parts of the fix) MFC after:1 month Modified:

Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata

2011-04-08 Thread Alexander Motin
On 07.04.2011 22:03, Alexander Best wrote: On Thu Apr 7 11, Alexander Motin wrote: Author: mav Date: Thu Apr 7 08:17:53 2011 New Revision: 220412 URL: http://svn.freebsd.org/changeset/base/220412 Log: Make ada(4) driver to control device write cache, same as ata(4) does. Add

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

2011-04-08 Thread Edwin Groothuis
Author: edwin Date: Fri Apr 8 12:33:07 2011 New Revision: 220448 URL: http://svn.freebsd.org/changeset/base/220448 Log: When specifying the -t option (send tag in front of message), this tag should also be forwarded to the remote logging host, not only when the logging is done locally.

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

2011-04-08 Thread Alexander Motin
Author: mav Date: Fri Apr 8 12:46:47 2011 New Revision: 220449 URL: http://svn.freebsd.org/changeset/base/220449 Log: Add reference to led(4), supported now. Add some details about supported chips. Modified: head/share/man/man4/siis.4 Modified: head/share/man/man4/siis.4

Re: svn commit: r220430 - head/sys/amd64/amd64

2011-04-08 Thread John Baldwin
On 4/8/11 6:23 AM, Andriy Gapon wrote: on 08/04/2011 00:32 John Baldwin said the following: Author: jhb Date: Thu Apr 7 21:32:25 2011 New Revision: 220430 URL: http://svn.freebsd.org/changeset/base/220430 Log: If a system call does not request a full interrupt return, use a fast path

svn commit: r220451 - head/sys/amd64/ia32

2011-04-08 Thread John Baldwin
Author: jhb Date: Fri Apr 8 13:30:48 2011 New Revision: 220451 URL: http://svn.freebsd.org/changeset/base/220451 Log: Catch up to PCB_FULL_IRET becoming a pcb flag rather than a full field. MFC after:3 days Modified: head/sys/amd64/ia32/ia32_exception.S Modified:

svn commit: r220452 - head/sys/amd64/amd64

2011-04-08 Thread John Baldwin
Author: jhb Date: Fri Apr 8 13:33:57 2011 New Revision: 220452 URL: http://svn.freebsd.org/changeset/base/220452 Log: Fix a bug in the previous change to restore the fast path for syscall return. The ast() function may cause a context switch in which case PCB_FULL_IRET would be set in the

svn commit: r220453 - in head/sys: amd64/amd64 i386/i386

2011-04-08 Thread Ryan Stone
Author: rstone Date: Fri Apr 8 14:39:41 2011 New Revision: 220453 URL: http://svn.freebsd.org/changeset/base/220453 Log: Add tunables that mirror the functionality of sysctls machdep.panic_on_nmi and machdep.kdb_on_nmi. Approved by: emaste (mentor) MFC after:1 week Modified:

Re: svn commit: r220433 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 compat/linprocfs contrib/altq/altq dev/acpica i386/i386 i386/isa pc98/pc98 x86/cpufreq x86/isa x86/x86

2011-04-08 Thread Bruce Evans
On Thu, 7 Apr 2011, Jung-uk Kim wrote: Log: Use atomic load store for TSC frequency. It may be overkill for amd64 but safer for i386 because it can be easily over 4 GHz now. More worse, it can be easily changed by user with 'machdep.tsc_freq' tunable (directly) or cpufreq(4)

Re: svn commit: r220451 - head/sys/amd64/ia32

2011-04-08 Thread Jung-uk Kim
On Friday 08 April 2011 09:30 am, John Baldwin wrote: Author: jhb Date: Fri Apr 8 13:30:48 2011 New Revision: 220451 URL: http://svn.freebsd.org/changeset/base/220451 Log: Catch up to PCB_FULL_IRET becoming a pcb flag rather than a full field. MFC after: 3 days Modified:

Re: svn commit: r220433 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 compat/linprocfs contrib/altq/altq dev/acpica i386/i386 i386/isa pc98/pc98 x86/cpufreq x86/isa x86/x86

2011-04-08 Thread Jung-uk Kim
On Friday 08 April 2011 10:54 am, Bruce Evans wrote: On Thu, 7 Apr 2011, Jung-uk Kim wrote: Log: Use atomic load store for TSC frequency. It may be overkill for amd64 but safer for i386 because it can be easily over 4 GHz now. More worse, it can be easily changed by user with

svn commit: r220456 - head/sys/kern

2011-04-08 Thread Attilio Rao
Author: attilio Date: Fri Apr 8 18:48:57 2011 New Revision: 220456 URL: http://svn.freebsd.org/changeset/base/220456 Log: Reintroduce the fix already discussed in r216805 (please check its history for a detailed explanation of the problems). The only difference with the previous fix is

Re: svn commit: r220433 - in head/sys: amd64/amd64 cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 compat/linprocfs contrib/altq/altq dev/acpica i386/i386 i386/isa pc98/pc98 x86/cpufreq x86/isa x86/x86

2011-04-08 Thread Bruce Evans
On Fri, 8 Apr 2011, Jung-uk Kim wrote: On Friday 08 April 2011 10:54 am, Bruce Evans wrote: On Thu, 7 Apr 2011, Jung-uk Kim wrote: Log: Use atomic load store for TSC frequency. It may be overkill for amd64 but safer for i386 because it can be easily over 4 GHz now. More worse, it can be

svn commit: r220459 - head/sys/x86/isa

2011-04-08 Thread Jung-uk Kim
Author: jkim Date: Fri Apr 8 19:54:29 2011 New Revision: 220459 URL: http://svn.freebsd.org/changeset/base/220459 Log: Refactor DELAYDEBUG as it is only useful for correcting i8254 frequency. Modified: head/sys/x86/isa/clock.c Modified: head/sys/x86/isa/clock.c

svn commit: r220460 - head/sys/amd64/amd64

2011-04-08 Thread Konstantin Belousov
Author: kib Date: Fri Apr 8 21:26:50 2011 New Revision: 220460 URL: http://svn.freebsd.org/changeset/base/220460 Log: Disable local interrupts before testing the PCB_FULL_IRET flag. Thread might be preempted after testing, which causes the flag to be cleared. If ast was not delivered, we

svn commit: r220461 - head/sys/amd64/amd64

2011-04-08 Thread Konstantin Belousov
Author: kib Date: Fri Apr 8 21:27:31 2011 New Revision: 220461 URL: http://svn.freebsd.org/changeset/base/220461 Log: Remove setting of PCB_FULL_IRET at the places where we are going to call update_gdt_{f,g}sbase. The functions set the flag when td == curthread, and sysarch is always

Re: svn commit: r220459 - head/sys/x86/isa

2011-04-08 Thread Bruce Evans
On Fri, 8 Apr 2011, Jung-uk Kim wrote: Log: Refactor DELAYDEBUG as it is only useful for correcting i8254 frequency. Er, DELAYDEBUG has nothing to do with the i8254 except that the non-i8254 case was broken (mostly in unreachable code, and missing instrumentation corresponding to the

svn commit: r220462 - head/sys/netinet6

2011-04-08 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 01:29:46 2011 New Revision: 220462 URL: http://svn.freebsd.org/changeset/base/220462 Log: After r219579 and r219779 unbreak v4-mapped v6 sockets for UDP some more. Similar to what we do for TCP check for v4-mapped addresses and then handle them or the normal v6

svn commit: r220463 - head/sys/netinet6

2011-04-08 Thread Bjoern A. Zeeb
Author: bz Date: Sat Apr 9 02:22:49 2011 New Revision: 220463 URL: http://svn.freebsd.org/changeset/base/220463 Log: Remove a check in udp6_send() that prevented v4-mapped v6 addresses from working. We store v4 and v6 addresses as a union but for v4-mapped addresses only store the 32bits