svn commit: r208907 - head/sys/dev/ahci

2010-06-08 Thread Alexander Motin
Author: mav Date: Tue Jun 8 10:03:08 2010 New Revision: 208907 URL: http://svn.freebsd.org/changeset/base/208907 Log: Disable NCQ and PMP support for VIA VT8251 AHCI. It was reported to be unreliable under load. Linux does the same. Modified: head/sys/dev/ahci/ahci.c Modified: head/sys/de

svn commit: r208908 - stable/8/sys/dev/ata/chipsets

2010-06-08 Thread Alexander Motin
Author: mav Date: Tue Jun 8 10:52:37 2010 New Revision: 208908 URL: http://svn.freebsd.org/changeset/base/208908 Log: MFC r208796: Fix PCH chipset IDs. They are 0x3bxx, not 0x3axx. Approved by: re (kib) Modified: stable/8/sys/dev/ata/chipsets/ata-intel.c Directory Properties: stabl

Re: svn commit: r208876 - head/sys/netinet

2010-06-08 Thread Robert Watson
On Mon, 7 Jun 2010, Pawel Jakub Dawidek wrote: 1) Further enhance the INVARIANT lock validation (no locks) are held by checking the create and inp locks as well. [...] + if (mtx_owned(&inp->inp_create_mtx)) { + panic("Own create lock on inp"); + } + if (

svn commit: r208911 - in head/sys/cam: . scsi

2010-06-08 Thread Matt Jacob
Author: mjacob Date: Tue Jun 8 16:17:25 2010 New Revision: 208911 URL: http://svn.freebsd.org/changeset/base/208911 Log: Implement the usage of Report Luns as part of SCSI probing for SCP3 or better devices. This can be disabled on a per-device basis using quirks as well. This also han

svn commit: r208912 - head/sys/kern

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 16:17:47 2010 New Revision: 208912 URL: http://svn.freebsd.org/changeset/base/208912 Log: Fix a sign bug that caused adaptive spinning in sx_xlock() to not work properly. Among other things it did not drop Giant while spinning leading to livelocks. Reviewed

svn commit: r208913 - in head/usr.sbin: nfsdumpstate timed/timed

2010-06-08 Thread Ulrich Spoerlein
Author: uqs Date: Tue Jun 8 16:48:49 2010 New Revision: 208913 URL: http://svn.freebsd.org/changeset/base/208913 Log: mdoc: replace troff macros with -mdoc equivalents Modified: head/usr.sbin/nfsdumpstate/nfsdumpstate.8 head/usr.sbin/timed/timed/timed.8 Modified: head/usr.sbin/nfsdumpstat

svn commit: r208914 - in head/lib: libc/sys libpmc librpcsec_gss

2010-06-08 Thread Ulrich Spoerlein
Author: uqs Date: Tue Jun 8 16:48:59 2010 New Revision: 208914 URL: http://svn.freebsd.org/changeset/base/208914 Log: mdoc: remove literal tabs where they don't belong Modified: head/lib/libc/sys/flock.2 head/lib/libc/sys/getitimer.2 head/lib/libc/sys/getrusage.2 head/lib/libc/sys/mq_c

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

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 17:08:13 2010 New Revision: 208915 URL: http://svn.freebsd.org/changeset/base/208915 Log: - Use a bit more care when moving I/O APIC interrupts between CPUs. Mask the interrupt followed by a brief delay if it is not currently masked before moving the interru

svn commit: r208916 - stable/8/sys/powerpc/powermac

2010-06-08 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jun 8 17:26:18 2010 New Revision: 208916 URL: http://svn.freebsd.org/changeset/base/208916 Log: MFC r208168: It is not necessary (and in some cases harmful) to hardcode ata_kauai's IRQ to 39 on K2 devices, as well as Shasta ones. Reported by: Andreas Toble

svn commit: r208917 - head/sys/dev/bge

2010-06-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 8 17:28:28 2010 New Revision: 208917 URL: http://svn.freebsd.org/changeset/base/208917 Log: Remove unused macros. Reviewed by: bde Modified: head/sys/dev/bge/if_bgereg.h Modified: head/sys/dev/bge/if_bgereg.h ==

svn commit: r208918 - head/sys/cam/scsi

2010-06-08 Thread Matt Jacob
Author: mjacob Date: Tue Jun 8 17:44:49 2010 New Revision: 208918 URL: http://svn.freebsd.org/changeset/base/208918 Log: One byte off for scsi_target_group cdb. MFC after:2 weeks Modified: head/sys/cam/scsi/scsi_all.h Modified: head/sys/cam/scsi/scsi_all.h =

svn commit: r208919 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 17:51:21 2010 New Revision: 208919 URL: http://svn.freebsd.org/changeset/base/208919 Log: Move the I/O APIC code to the x86 tree since it is identical on i386 and amd64. Added: head/sys/x86/x86/io_apic.c - copied unchanged from r208915, head/sys/i386/i386/i

svn commit: r208920 - head/sys/kern

2010-06-08 Thread Konstantin Belousov
Author: kib Date: Tue Jun 8 17:54:28 2010 New Revision: 208920 URL: http://svn.freebsd.org/changeset/base/208920 Log: Reorganize the code in bdwrite() which handles move of dirtiness from the buffer pages to buffer. Combine the code to set buffer dirty range (previously in vfs_setdirty()) a

svn commit: r208921 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 18:04:07 2010 New Revision: 208921 URL: http://svn.freebsd.org/changeset/base/208921 Log: Move the machine check support code to the x86 tree since it is identical on i386 and amd64. Requested by: alc Added: head/sys/x86/x86/mca.c - copied, changed fro

svn commit: r208922 - in head/sys: amd64/amd64 conf i386/i386 x86/x86

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 18:36:03 2010 New Revision: 208922 URL: http://svn.freebsd.org/changeset/base/208922 Log: Move the MD support for PCI message signalled interrupts to the x86 tree as it is identical for i386 and amd64. Added: head/sys/x86/x86/msi.c - copied unchanged from r

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

2010-06-08 Thread John Baldwin
On Tuesday 08 June 2010 2:04:07 pm John Baldwin wrote: > Author: jhb > Date: Tue Jun 8 18:04:07 2010 > New Revision: 208921 > URL: http://svn.freebsd.org/changeset/base/208921 > > Log: > Move the machine check support code to the x86 tree since it is identical > on i386 and amd64. > > Re

svn commit: r208923 - stable/8/sys/dev/sge

2010-06-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 8 19:26:22 2010 New Revision: 208923 URL: http://svn.freebsd.org/changeset/base/208923 Log: MFC r208806: Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there is no queued frame, IFF_DRV_OACTIVE would never be cleared. Submitted by:

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

2010-06-08 Thread M. Warner Losh
In message: <201006081446.09423@freebsd.org> John Baldwin writes: : On Tuesday 08 June 2010 2:04:07 pm John Baldwin wrote: : > Author: jhb : > Date: Tue Jun 8 18:04:07 2010 : > New Revision: 208921 : > URL: http://svn.freebsd.org/changeset/base/208921 : > : > Log: : > Move the

svn commit: r208924 - stable/7/sys/dev/sge

2010-06-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 8 19:36:41 2010 New Revision: 208924 URL: http://svn.freebsd.org/changeset/base/208924 Log: MFC r208806: Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there is no queued frame, IFF_DRV_OACTIVE would never be cleared. Submitted by:

svn commit: r208925 - head/sys/dev/acpica

2010-06-08 Thread John Baldwin
Author: jhb Date: Tue Jun 8 21:27:05 2010 New Revision: 208925 URL: http://svn.freebsd.org/changeset/base/208925 Log: The lock associated with the /dev/apm knote is already held, so use KNOTE_LOCKED() instead of KNOTE_UNLOCKED(). Reported by: mav MFC after:3 days Modified: head

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

2010-06-08 Thread John Baldwin
On Tuesday 08 June 2010 3:22:10 pm M. Warner Losh wrote: > In message: <201006081446.09423@freebsd.org> > John Baldwin writes: > : On Tuesday 08 June 2010 2:04:07 pm John Baldwin wrote: > : > Author: jhb > : > Date: Tue Jun 8 18:04:07 2010 > : > New Revision: 208921 > : > URL: htt

svn commit: r208926 - in head/tools/tools/vhba: . faulty lots medium rptluns simple

2010-06-08 Thread Matt Jacob
Author: mjacob Date: Tue Jun 8 22:26:47 2010 New Revision: 208926 URL: http://svn.freebsd.org/changeset/base/208926 Log: Add the VHBA package. It is here in tools because it's really a testbed. Sponsored by: Panasas MFC after:1 month Added: head/tools/tools/vhba/ head/tools/tool

svn commit: r208927 - head/sys/geom

2010-06-08 Thread Matt Jacob
Author: mjacob Date: Tue Jun 8 22:40:02 2010 New Revision: 208927 URL: http://svn.freebsd.org/changeset/base/208927 Log: Try and narrow the gap in which you act on an event that has been canceled. Obtained from:Jaako Heinonen MFC after:1 month Modified: head/sys/geom/geom_eve

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

2010-06-08 Thread M. Warner Losh
In message: <201006081725.24684@freebsd.org> John Baldwin writes: : On Tuesday 08 June 2010 3:22:10 pm M. Warner Losh wrote: : > In message: <201006081446.09423@freebsd.org> : > John Baldwin writes: : > : On Tuesday 08 June 2010 2:04:07 pm John Baldwin wrote: : > :

svn commit: r208928 - head/sys/cam/scsi

2010-06-08 Thread Matt Jacob
Author: mjacob Date: Tue Jun 8 22:46:44 2010 New Revision: 208928 URL: http://svn.freebsd.org/changeset/base/208928 Log: Rearrange how things are done to avoid dereferencing stale pointers in the case of immediate unconfigure after configure. Hold the periph an extra count while we have the

svn commit: r208934 - head/sys/dev/sound/pci/hda

2010-06-08 Thread Alexander Motin
Author: mav Date: Wed Jun 9 05:49:02 2010 New Revision: 208934 URL: http://svn.freebsd.org/changeset/base/208934 Log: Add set of codec IDs. PR: kern/147466 Modified: head/sys/dev/sound/pci/hda/hdac.c Modified: head/sys/dev/sound/pci/hda/hdac.c