From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: [linux-pm] Bug in PCI core Date: Fri, 13 Oct 2006 13:18:54 -0600 Message-ID: <20061013191854.GF11633@parisc-linux.org> References: <1160760867.25218.77.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Alan Stern Cc: Alan Cox , Adam Belay , Arjan van de Ven , Benjamin Herrenschmidt , Greg KH , linux-pci@atrey.karlin.mff.cuni.cz, Linux-pm mailing list , Kernel development list List-Id: linux-pm@vger.kernel.org On Fri, Oct 13, 2006 at 01:57:48PM -0400, Alan Stern wrote: > Would it be okay for pci_block_user_cfg_access() to use its own cache, so > it doesn't interfere with data previously cached by pci_save_state()? My suggestion is just to require that the callers have previously called pci_save_state(). The PCI PM stack already has, and it's a one-line change to the IPR driver.