From owner-svn-src-all@FreeBSD.ORG Tue Jul 14 15:04:47 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADA09106566C; Tue, 14 Jul 2009 15:04:47 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4D0CA8FC14; Tue, 14 Jul 2009 15:04:47 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.4] (adsl-154-199-204.ard.bellsouth.net [72.154.199.204]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n6EF4iQP069702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jul 2009 11:04:45 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: John Baldwin In-Reply-To: <200907141456.n6EEu1du062934@svn.freebsd.org> References: <200907141456.n6EEu1du062934@svn.freebsd.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-F/l7SUirLr6zh0DZZy/M" Organization: FreeBSD Date: Tue, 14 Jul 2009 10:04:39 -0500 Message-Id: <1247583879.1745.24.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-7@freebsd.org Subject: Re: svn commit: r195679 - in stable/7/sys: . contrib/pf dev/pci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 15:04:47 -0000 --=-F/l7SUirLr6zh0DZZy/M Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-07-14 at 14:56 +0000, John Baldwin wrote: > Author: jhb > Date: Tue Jul 14 14:56:01 2009 > New Revision: 195679 > URL: http://svn.freebsd.org/changeset/base/195679 >=20 > Log: > MFC: Enable MSI in the MSI capability registers any time that the first > message in an MSI group is enabled, not just if the address/data pair a= re > not initialized. With this MFC, Intel drm on 965+ chipsets should suck substantially less than before. i.e. This should fix interrupts after a VT Switch issue. I'll follow on and MFC the rest of the changes from HEAD in the next day or so. robert. > Modified: > stable/7/sys/ (props changed) > stable/7/sys/contrib/pf/ (props changed) > stable/7/sys/dev/pci/pci.c >=20 > Modified: stable/7/sys/dev/pci/pci.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- stable/7/sys/dev/pci/pci.c Tue Jul 14 14:41:48 2009 (r195678) > +++ stable/7/sys/dev/pci/pci.c Tue Jul 14 14:56:01 2009 (r195679) > @@ -2869,8 +2869,10 @@ pci_setup_intr(device_t dev, device_t ch > goto bad; > dinfo->cfg.msi.msi_addr =3D addr; > dinfo->cfg.msi.msi_data =3D data; > - pci_enable_msi(child, addr, data); > } > + if (dinfo->cfg.msi.msi_handlers =3D=3D 0) > + pci_enable_msi(child, dinfo->cfg.msi.msi_addr, > + dinfo->cfg.msi.msi_data); > dinfo->cfg.msi.msi_handlers++; > } else { > KASSERT(dinfo->cfg.msix.msix_alloc > 0, --=20 Robert Noland FreeBSD --=-F/l7SUirLr6zh0DZZy/M Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAkpcnocACgkQM4TrQ4qfROO++wCfSNn5PmM6Fd9B0mZTgO20MCDb 9OkAnjEStI/j84WhiKKXKlNn2k5La5Mv =GrSP -----END PGP SIGNATURE----- --=-F/l7SUirLr6zh0DZZy/M--