Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161086AbWJROvn (ORCPT ); Wed, 18 Oct 2006 10:51:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161088AbWJROvn (ORCPT ); Wed, 18 Oct 2006 10:51:43 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:23468 "EHLO mail.parisc-linux.org") by vger.kernel.org with ESMTP id S1161086AbWJROvm (ORCPT ); Wed, 18 Oct 2006 10:51:42 -0400 Date: Wed, 18 Oct 2006 08:51:42 -0600 From: Matthew Wilcox To: Alan Stern Cc: Brian King , Alan Cox , linux-pci@atrey.karlin.mff.cuni.cz, linux-pm@lists.osdl.org, linux-kernel@vger.kernel.org, Adam Belay Subject: Re: [linux-pm] [PATCH] Block on access to temporarily unavailable pci device Message-ID: <20061018145141.GO22289@parisc-linux.org> References: <45354A59.3010109@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 701 Lines: 13 On Wed, Oct 18, 2006 at 10:38:20AM -0400, Alan Stern wrote: > You have to do _something_, because a user task could be about to read the > configuration space at the exact moment you want to start the BIST. That > means ipr would have to wait until the user access is finished, which > means it has to be prepared to sleep one way or another. Actually, it only has to spin until the user has finished accessing config space. See the patch I just posted. - 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/