svn commit: r189026 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb net netinet netinet6

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 10:59:56 2009 New Revision: 189026 URL: http://svn.freebsd.org/changeset/base/189026 Log: Merge r185747, r185774, r185807, r185849, r185964, r185965, r186051, r186052 from head to stable/7; note that only the locking fixes and invariants checking are added fr

svn commit: r189029 - stable/7/sys/net

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 11:18:18 2009 New Revision: 189029 URL: http://svn.freebsd.org/changeset/base/189029 Log: Correct a deadlock and a rtentry leak in rt_check(): - In the event that a gateway route has to be looked up, drop the lock on 'rt' before reacquiring it 'rt0' in o

svn commit: r189030 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/nve

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 11:37:19 2009 New Revision: 189030 URL: http://svn.freebsd.org/changeset/base/189030 Log: Merge r179458 from head to stable/7: Import rewritten nve device id's, which brings this more inline with if_nfe. PR: 110883 Submitted by:

svn commit: r189031 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 11:44:03 2009 New Revision: 189031 URL: http://svn.freebsd.org/changeset/base/189031 Log: Merge r186825 from head to stable/7: Do a lockless read of the audit pipe list before grabbing the audit pipe lock in order to avoid the lock acquire hit if the p

svn commit: r189032 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 12:00:15 2009 New Revision: 189032 URL: http://svn.freebsd.org/changeset/base/189032 Log: Merge r184508 from head to stable/7: Historically, /dev/auditpipe has allows only whole records to be read via read(2), which meant that records longer than the b

Re: svn commit: r189029 - stable/7/sys/net

2009-02-25 Thread Robert Watson
On Wed, 25 Feb 2009, Robert Watson wrote: Author: rwatson Date: Wed Feb 25 11:18:18 2009 New Revision: 189029 URL: http://svn.freebsd.org/changeset/base/189029 Log: Correct a deadlock and a rtentry leak in rt_check(): - In the event that a gateway route has to be looked up, drop the lock

svn commit: r189033 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 12:32:15 2009 New Revision: 189033 URL: http://svn.freebsd.org/changeset/base/189033 Log: Merge 3184510 from head to stable/7: Since there is no longer the opportunity for record truncation, just return 0 if the truncation counter is queried on an audi

svn commit: r189034 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 13:17:46 2009 New Revision: 189034 URL: http://svn.freebsd.org/changeset/base/189034 Log: Merge r184534 from head to stable/7: Allow a single read(2) system call on an audit pipe to retrieve data from more than one audit record at a time in order to im

svn commit: r189035 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 13:21:28 2009 New Revision: 189035 URL: http://svn.freebsd.org/changeset/base/189035 Log: Merge r184536 from head to stable/7: We only allow a partial read of the first record in an audit pipe record queue, so move the offset field from the per-record

svn commit: r189036 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 13:26:30 2009 New Revision: 189036 URL: http://svn.freebsd.org/changeset/base/189036 Log: Merge r184540 from head to stable/7: Add comment for per-pipe stats. Sponsored by: Apple, Inc. Modified: stable/7/sys/ (props changed) stable/7/sys/cont

svn commit: r189037 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 13:30:17 2009 New Revision: 189037 URL: http://svn.freebsd.org/changeset/base/189037 Log: Merge r184544 and r184545 from head to stable/7: Remove stale comment about filtering in audit pipe ioctl routine: we do support filtering now, although we may wa

svn commit: r189038 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 13:42:38 2009 New Revision: 189038 URL: http://svn.freebsd.org/changeset/base/189038 Log: Merge r184825 from head to stable/7: Wrap sx locking of the audit worker sleep lock in macros, update comments. Sponsored by: Apple, Inc. Modified: stable/7

svn commit: r189039 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 13:47:09 2009 New Revision: 189039 URL: http://svn.freebsd.org/changeset/base/189039 Log: Merge r188122 from head to stable/7: Eliminate the local variable 'ape' in audit_pipe_kqread(), as it's only used for an assertion that we don't really need anymo

svn commit: r189040 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 14:08:28 2009 New Revision: 189040 URL: http://svn.freebsd.org/changeset/base/189040 Log: Merge r183689 from head to stable/7: Differentiate pr_usrreqs for stream and datagram UNIX domain sockets, and employ soreceive_dgram for the datagram case. Modi

svn commit: r189042 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netatalk

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 14:48:13 2009 New Revision: 189042 URL: http://svn.freebsd.org/changeset/base/189042 Log: Merge 3188124 from head to stable/7: Remove local variable 'ddp' from DDP's attach and detach routines; they were used only for assertions, and rather than ifdef'

svn commit: r189041 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 14:26:16 2009 New Revision: 189041 URL: http://svn.freebsd.org/changeset/base/189041 Log: Merge r188123 from head to stable/7: Remove written-to but never read local variable 'offset' from soreceive_dgram(). Submitted by: Christoph Mallon Modi

svn commit: r189043 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb security/audit

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 15:01:26 2009 New Revision: 189043 URL: http://svn.freebsd.org/changeset/base/189043 Log: Merge r188312 from head to stable/7: Audit AUE_MAC_EXECVE; currently just the standard AUE_EXECVE arguments and not the label. Obtained from:Truste

svn commit: r189044 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-25 Thread Robert Watson
Author: rwatson Date: Wed Feb 25 15:04:30 2009 New Revision: 189044 URL: http://svn.freebsd.org/changeset/base/189044 Log: Merge r188485 from head to stable/7: Modify fdcopy() so that, during fork(2), it won't copy file descriptors from the parent to the child process if they have an

Re: svn commit: r188977 - in head/sys: amd64/conf i386/conf

2009-02-25 Thread Ganbold
Andrew Thompson wrote: > Author: thompsa > Date: Tue Feb 24 00:39:48 2009 > New Revision: 188977 > URL: http://svn.freebsd.org/changeset/base/188977 > > Log: > Exclude ndis from the LINT build as it currently breaks the build, patches > to > move to the new usb stack are in progress. > Jus

Re: svn commit: r189044 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-25 Thread Andrew Gallatin
Just picking a commit at random, but is there any way to clean up the props on pf, ath and cxgb: stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/kern/kern_descrip.c Or at the very least, ha

Re: svn commit: r189044 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-25 Thread John Baldwin
On Wednesday 25 February 2009 11:28:46 am Andrew Gallatin wrote: > Just picking a commit at random, but is there any way > to clean up the props on pf, ath and cxgb: > > > stable/7/sys/contrib/pf/ (props changed) > > stable/7/sys/dev/ath/ath_hal/ (props changed) > > stable/7/sys/dev/cxgb

Re: svn commit: r189044 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-02-25 Thread Bjoern A. Zeeb
On Wed, 25 Feb 2009, John Baldwin wrote: On Wednesday 25 February 2009 11:28:46 am Andrew Gallatin wrote: Just picking a commit at random, but is there any way to clean up the props on pf, ath and cxgb: stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props chan

Re: svn commit: r188018 - in head: sys/dev/pci usr.sbin/pciconf

2009-02-25 Thread John Baldwin
On Wednesday 25 February 2009 12:27:23 pm Nathan Whitehorn wrote: > John Baldwin wrote: > > Author: jhb > > Date: Mon Feb 2 19:54:16 2009 > > New Revision: 188018 > > URL: http://svn.freebsd.org/changeset/base/188018 > > > > Log: > > - Add a new ioctl to /dev/pci to fetch details on an individu

Re: svn commit: r188018 - in head: sys/dev/pci usr.sbin/pciconf

2009-02-25 Thread Robert Noland
On Wed, 2009-02-25 at 12:51 -0500, John Baldwin wrote: > On Wednesday 25 February 2009 12:27:23 pm Nathan Whitehorn wrote: > > John Baldwin wrote: > > > Author: jhb > > > Date: Mon Feb 2 19:54:16 2009 > > > New Revision: 188018 > > > URL: http://svn.freebsd.org/changeset/base/188018 > > > > > > L

svn commit: r189045 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 18:16:50 2009 New Revision: 189045 URL: http://svn.freebsd.org/changeset/base/189045 Log: Remove the PZERO priority from mtx_sleep. MFC after:2 weeks Modified: head/sys/dev/drm/drmP.h Modified: head/sys/dev/drm/drmP.h

svn commit: r189046 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 18:19:16 2009 New Revision: 189046 URL: http://svn.freebsd.org/changeset/base/189046 Log: There is no reason to hold the lock here. When I was LOCK_PROFILING this was pretty high up and there is no reason for it. MFC after:2 weeks Modified: hea

svn commit: r189047 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 18:22:57 2009 New Revision: 189047 URL: http://svn.freebsd.org/changeset/base/189047 Log: The vblank_swap ioctl was fundamentally race prone. Get rid of it. MFC after:2 weeks Modified: head/sys/dev/drm/i915_dma.c head/sys/dev/drm/i915_drv.h head/

svn commit: r189048 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 18:25:47 2009 New Revision: 189048 URL: http://svn.freebsd.org/changeset/base/189048 Log: The i915 driver was the only consumer of locked task support. Now that it doesn't use it anymore, get right of the taskqueue and locked task support. MFC after:

Re: svn commit: r188018 - in head: sys/dev/pci usr.sbin/pciconf

2009-02-25 Thread Nathan Whitehorn
John Baldwin wrote: Author: jhb Date: Mon Feb 2 19:54:16 2009 New Revision: 188018 URL: http://svn.freebsd.org/changeset/base/188018 Log: - Add a new ioctl to /dev/pci to fetch details on an individual BAR of a device. The details include the current value of the BAR (including all t

svn commit: r189049 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 18:44:50 2009 New Revision: 189049 URL: http://svn.freebsd.org/changeset/base/189049 Log: This was part of a sync to the code that Intel is shipping in linux. - Remove the old TTM interface - Move register definitions to i915_reg.h - Ov

svn commit: r189050 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 18:48:33 2009 New Revision: 189050 URL: http://svn.freebsd.org/changeset/base/189050 Log: Add some vblank related debugging and replace the DRM_WAIT_ON macro with a localized version. MFC after:2 weeks Modified: head/sys/dev/drm/drm_irq.c Modified:

svn commit: r189051 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 18:50:35 2009 New Revision: 189051 URL: http://svn.freebsd.org/changeset/base/189051 Log: Prepare the radeon driver for MSI support. MFC after:2 weeks Modified: head/sys/dev/drm/radeon_irq.c Modified: head/sys/dev/drm/radeon_irq.c ===

svn commit: r189052 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 18:54:35 2009 New Revision: 189052 URL: http://svn.freebsd.org/changeset/base/189052 Log: Turn on MSI if the card supports it. There is a blacklist for chips which report that they are capable of MSI, but don't work correctly. MFC after:2 weeks Modif

svn commit: r189053 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 18:56:49 2009 New Revision: 189053 URL: http://svn.freebsd.org/changeset/base/189053 Log: Remove D_NEEDGIANT. MFC after:2 weeks Modified: head/sys/dev/drm/drm_drv.c Modified: head/sys/dev/drm/drm_drv.c

Re: svn commit: r189052 - head/sys/dev/drm

2009-02-25 Thread Ed Schouten
Hi Robert, * Robert Noland wrote: > +static struct drm_msi_blacklist_entry drm_msi_blacklist[] = { > + {0x8086, 0x2772}, /* Intel i945G*/ \ > + {0x8086, 0x27A2}, /* Intel i945GM */ \ > + {0x8086, 0x27AE}, /* Intel i945GME */ \ > + {0, 0} > +}; Wouldn't it be be

svn commit: r189054 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
Author: rnoland Date: Wed Feb 25 20:24:13 2009 New Revision: 189054 URL: http://svn.freebsd.org/changeset/base/189054 Log: The GM45 handles vblank differently. Pull the changes from Intel in. MFC after:2 Weeks Modified: head/sys/dev/drm/i915_dma.c head/sys/dev/drm/i915_drv.c hea

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

2009-02-25 Thread Jung-uk Kim
Author: jkim Date: Wed Feb 25 20:26:48 2009 New Revision: 189055 URL: http://svn.freebsd.org/changeset/base/189055 Log: Enable support for PAT_WRITE_PROTECTED and PAT_UNCACHED cache modes unconditionally on amd64. On i386, we assume PAT is usable if the CPU vendor is not Intel or CPU model

Re: svn commit: r189052 - head/sys/dev/drm

2009-02-25 Thread Robert Noland
On Wed, 2009-02-25 at 20:42 +0100, Ed Schouten wrote: > Hi Robert, > > * Robert Noland wrote: > > +static struct drm_msi_blacklist_entry drm_msi_blacklist[] = { > > + {0x8086, 0x2772}, /* Intel i945G*/ \ > > + {0x8086, 0x27A2}, /* Intel i945GM */ \ > > + {0x8086, 0x27AE}, /* I

Re: svn commit: r189052 - head/sys/dev/drm

2009-02-25 Thread Ed Schouten
* Robert Noland wrote: > On Wed, 2009-02-25 at 20:42 +0100, Ed Schouten wrote: > > Hi Robert, > > > > * Robert Noland wrote: > > > +static struct drm_msi_blacklist_entry drm_msi_blacklist[] = { > > > + {0x8086, 0x2772}, /* Intel i945G*/ \ > > > + {0x8086, 0x27A2}, /* Intel i945GM *

svn commit: r189056 - stable/7/lib/libthread_db

2009-02-25 Thread Ed Maste
Author: emaste Date: Wed Feb 25 20:56:27 2009 New Revision: 189056 URL: http://svn.freebsd.org/changeset/base/189056 Log: MFC r177490 - diff reduction w/ head. Use linker set to collection all target operations. Modified: stable/7/lib/libthread_db/ (props changed) stable/7/lib/libt

Re: svn commit: r189052 - head/sys/dev/drm

2009-02-25 Thread M. Warner Losh
In message: <20090225205253.gt19...@hoeg.nl> Ed Schouten writes: : * Robert Noland wrote: : > On Wed, 2009-02-25 at 20:42 +0100, Ed Schouten wrote: : > > Hi Robert, : > > : > > * Robert Noland wrote: : > > > +static struct drm_msi_blacklist_entry drm_msi_blacklist[] = { : > > > +

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

2009-02-25 Thread Maxim Sobolev
Author: sobomax Date: Wed Feb 25 22:24:56 2009 New Revision: 189057 URL: http://svn.freebsd.org/changeset/base/189057 Log: Fix typo in comments in r189023. Modified: head/sys/amd64/amd64/mp_machdep.c head/sys/i386/i386/mp_machdep.c Modified: head/sys/amd64/amd64/mp_machdep.c ==

Re: svn commit: r188018 - in head: sys/dev/pci usr.sbin/pciconf

2009-02-25 Thread Nathan Whitehorn
Robert Noland wrote: On Wed, 2009-02-25 at 12:51 -0500, John Baldwin wrote: On Wednesday 25 February 2009 12:27:23 pm Nathan Whitehorn wrote: John Baldwin wrote: Author: jhb Date: Mon Feb 2 19:54:16 2009 New Revision: 188018 URL: http://svn.freebsd.org/changeset/base/188018 Log: - Add a ne

Re: svn commit: r188018 - in head: sys/dev/pci usr.sbin/pciconf

2009-02-25 Thread Robert Noland
On Wed, 2009-02-25 at 18:35 -0600, Nathan Whitehorn wrote: > Robert Noland wrote: > > On Wed, 2009-02-25 at 12:51 -0500, John Baldwin wrote: > >> On Wednesday 25 February 2009 12:27:23 pm Nathan Whitehorn wrote: > >>> John Baldwin wrote: > Author: jhb > Date: Mon Feb 2 19:54:16 2009 > >>

svn commit: r189058 - stable/6/lib/libthread_db

2009-02-25 Thread Ed Maste
Author: emaste Date: Thu Feb 26 03:36:10 2009 New Revision: 189058 URL: http://svn.freebsd.org/changeset/base/189058 Log: MFC r177490 - diff reduction w/ head. Use linker set to collection all target operations. Modified: stable/6/lib/libthread_db/ (props changed) stable/6/lib/libt

Re: svn commit: r188977 - in head/sys: amd64/conf i386/conf

2009-02-25 Thread Weongyo Jeong
On Wed, Feb 25, 2009 at 11:47:38PM +0800, Ganbold wrote: > Andrew Thompson wrote: > > Author: thompsa > > Date: Tue Feb 24 00:39:48 2009 > > New Revision: 188977 > > URL: http://svn.freebsd.org/changeset/base/188977 > > > > Log: > > Exclude ndis from the LINT build as it currently breaks the buil

svn commit: r189059 - head/tools/tools/ath/athregs

2009-02-25 Thread Sam Leffler
Author: sam Date: Thu Feb 26 06:16:15 2009 New Revision: 189059 URL: http://svn.freebsd.org/changeset/base/189059 Log: add more gpio registers Modified: head/tools/tools/ath/athregs/dumpregs_5416.c Modified: head/tools/tools/ath/athregs/dumpregs_5416.c ===