From owner-freebsd-stable@FreeBSD.ORG Fri Sep 2 16:19:55 2011 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C2C0106566C; Fri, 2 Sep 2011 16:19:55 +0000 (UTC) (envelope-from david@wood2.org.uk) Received: from outbound-queue-1.mail.thdo.gradwell.net (outbound-queue-1.mail.thdo.gradwell.net [212.11.70.34]) by mx1.freebsd.org (Postfix) with ESMTP id 50EC48FC0A; Fri, 2 Sep 2011 16:19:55 +0000 (UTC) Received: from outbound-edge-1.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-1.mail.thdo.gradwell.net (Postfix) with ESMTP id 1929622265; Fri, 2 Sep 2011 17:04:10 +0100 (BST) Received: from argon.wood2.org.uk (HELO argon.wood2.org.uk) (82.71.104.124) (smtp-auth username wood, mechanism cram-md5) by outbound-edge-1.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Fri, 02 Sep 2011 17:04:09 +0100 Message-ID: Date: Fri, 2 Sep 2011 17:02:36 +0100 To: John Baldwin From: David Wood References: <201108311334.10804.jhb@freebsd.org> In-Reply-To: <201108311334.10804.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed User-Agent: Turnpike/6.06-M (<+PsRur7S5oJrKwOHpGcZxw$fET>) X-Gradwell-MongoId: 4e60fe79.13160-168f-1 X-Gradwell-Auth-Method: smtpauth X-Gradwell-Auth-Credentials: wood Cc: stable@freebsd.org Subject: Re: mfi(4) patch to add MSI-X support, possibly address command timeouts 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: Fri, 02 Sep 2011 16:19:55 -0000 Dear John (and freebsd-stable), In message <201108311334.10804.jhb@freebsd.org>, John Baldwin writes >I'd like some folks to test a patch to the mfi(4) driver that may help to >address issues several folks have reported. The patch does two things, first >it adds some dummy reads of PCI registers when checking device status in the >interrupt handler to "flush" the writes to ACK interrupts. The Linux >megaraid-sas driver uses this approach and some folks have tested a patch from >Scott Long which had a somewhat similar effect. Second, it enables the use of >MSI-X interrupts for many newer devices. I've installed this patch on my Dell PowerEdge 2950 III with a PERC 6/i controller, which is running 8.2-RELEASE. So far all is working well. Is there any hope of MSI-X support for this device? It's 0x0060 - a SAS1078R - so is deliberately excluded from MSI-X by this patch. The system appears capable of MSI-X operation, but there might be a silicon bug I'm not aware of or extra code needed that is not provided by this patch. With best wishes, David -- David Wood david@wood2.org.uk