From owner-freebsd-stable@FreeBSD.ORG Thu Nov 15 15:41:50 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBEB716A46D for ; Thu, 15 Nov 2007 15:41:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A795C13C4E7 for ; Thu, 15 Nov 2007 15:41:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id BA8111A4D83; Thu, 15 Nov 2007 07:23:50 -0800 (PST) From: John Baldwin To: freebsd-stable@freebsd.org Date: Thu, 15 Nov 2007 09:41:54 -0500 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711150941.54675.jhb@freebsd.org> Cc: Subject: Re: Marvell Yukon msk/msi problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2007 15:41:51 -0000 On Thursday 12 April 2007 08:36:02 am Danny Braniss wrote: > hi, > The if_msk works fine under -current, but under -stable it > does not use the MSI capability, and since it's a shared IRQ, it works > less than optimal under heavy cpu load. > Pyun YongHyeon suggested to search for help here :-) > > from the if_msk: > ... > pci_alloc_msi(dev, &msic) == 0) > ... > under -current pci_alloc_msi(...) returns 0, but under -stable > this fails. MSI is not enabled by default in 6-stable. You need to set 'hw.pci.enable_msi=1' in the loader to enable it. -- John Baldwin