From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Subject: Re: [patch 2.6.12 (repost w/ corrected subject)] pci: restore BAR values in pci_enable_device_bars Date: Fri, 08 Jul 2005 00:33:33 -0700 (PDT) Message-ID: <20050708.003333.28789082.davem@davemloft.net> References: <20050708095104.A612@den.park.msu.ru> <20050707.233530.85417983.davem@davemloft.net> <20050708110358.A8491@jurassic.park.msu.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1303695922220196==" Return-path: In-Reply-To: <20050708110358.A8491@jurassic.park.msu.ru> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: ink@jurassic.park.msu.ru Cc: rmk+lkml@arm.linux.org.uk, grundler@parisc-linux.org, matthew@wil.cx, linux-pci@atrey.karlin.mff.cuni.cz, linux-pm@lists.osdl.org, linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org --===============1303695922220196== Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Ivan Kokshaysky Date: Fri, 8 Jul 2005 11:03:58 +0400 > On Thu, Jul 07, 2005 at 11:35:30PM -0700, David S. Miller wrote: > > That's fine, what would be the most minimal implementation? > > #define pci_update_resource(dev, res, n) BUG() > > No, I'm serious - I don't believe that generic implementation of > pcibios_resource_to_bus() in the proposed patch does the right thing > on sparc64 anyway. We really don't do power management on sparc64 at all currently, besides cpufreq, so I guess this would be OK. Do PCI devices ever come out of reset in a PM state, and thus would execute John's new code as a side effect? --===============1303695922220196== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --===============1303695922220196==--