Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759437AbXLMJOu (ORCPT ); Thu, 13 Dec 2007 04:14:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751993AbXLMJOf (ORCPT ); Thu, 13 Dec 2007 04:14:35 -0500 Received: from jurassic.park.msu.ru ([195.208.223.243]:32960 "EHLO jurassic.park.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751940AbXLMJOe (ORCPT ); Thu, 13 Dec 2007 04:14:34 -0500 Date: Thu, 13 Dec 2007 12:14:35 +0300 From: Ivan Kokshaysky To: Benjamin Herrenschmidt Cc: Robert Hancock , linux-pci@atrey.karlin.mff.cuni.cz, Linux Kernel list , Linus Torvalds Subject: Re: Possible issue with dangling PCI BARs Message-ID: <20071213121435.C21124@jurassic.park.msu.ru> References: <4760B37E.3010002@shaw.ca> <1197523602.15741.114.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1197523602.15741.114.camel@pasglop>; from benh@kernel.crashing.org on Thu, Dec 13, 2007 at 04:26:42PM +1100 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 593 Lines: 14 On Thu, Dec 13, 2007 at 04:26:42PM +1100, Benjamin Herrenschmidt wrote: > I can try to whip up some code tomorrow I suppose, though I'm always > afraid some dodgy x86 setup will blow up... That scares me too, but something like pci_dangling_bar(dev, idx) with a default (for now) no-op implementation in asm-generic/pci.h should be safe... Ivan. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/