Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964862AbVIFO2z (ORCPT ); Tue, 6 Sep 2005 10:28:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964869AbVIFO2w (ORCPT ); Tue, 6 Sep 2005 10:28:52 -0400 Received: from e31.co.us.ibm.com ([32.97.110.129]:29691 "EHLO e31.co.us.ibm.com") by vger.kernel.org with ESMTP id S964862AbVIFO2v (ORCPT ); Tue, 6 Sep 2005 10:28:51 -0400 Message-ID: <431DA79C.1050500@us.ibm.com> Date: Tue, 06 Sep 2005 09:28:44 -0500 From: Brian King Reply-To: brking@us.ibm.com User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Grant Grundler CC: Paul Mackerras , Andrew Morton , greg@kroah.com, matthew@wil.cx, benh@kernel.crashing.org, ak@muc.de, linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk, linux-pci@atrey.karlin.mff.cuni.cz Subject: Re: [PATCH 1/2] pci: Block config access during BIST (resend) References: <42B83B8D.9030901@us.ibm.com> <430B3CB4.1050105@us.ibm.com> <20050901160356.2a584975.akpm@osdl.org> <4318E6B3.7010901@us.ibm.com> <20050902224314.GB8463@colo.lackof.org> <17176.56354.363726.363290@cargo.ozlabs.ibm.com> <20050903000854.GC8463@colo.lackof.org> <431A33D0.1040807@us.ibm.com> <20050903193958.GB30579@colo.lackof.org> <431C8EF8.7020702@us.ibm.com> <20050906044809.GA19347@colo.lackof.org> In-Reply-To: <20050906044809.GA19347@colo.lackof.org> Content-Type: multipart/mixed; boundary="------------090004000101050508070102" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 23180 Lines: 352 This is a multi-part message in MIME format. --------------090004000101050508070102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Grant Grundler wrote: > On Mon, Sep 05, 2005 at 01:31:20PM -0500, Brian King wrote: >>+void pci_block_user_cfg_access(struct pci_dev *dev) >>+{ >>+ pci_save_state(dev); >>+ dev->block_ucfg_access = 1; >>+ mb(); >>+ while (spin_is_locked(&pci_lock)) >>+ cpu_relax(); >>+} >>+EXPORT_SYMBOL_GPL(pci_block_user_cfg_access); >>+ >>+/** >>+ * pci_unblock_user_cfg_access - Unblock userspace PCI config reads/writes >>+ * @dev: pci device struct >>+ * >>+ * This function allows userspace PCI config accesses to resume. >>+ **/ >>+void pci_unblock_user_cfg_access(struct pci_dev *dev) >>+{ >>+ dev->block_ucfg_access = 0; >>+} > > > Shouldn't pci_unblock_user_cfg_access() have a similar construct > as pci_block_user_cfg_access()? > > I'm thinking we don't want to pull the rug out from under someone > who is accessing the saved state, right? > Or does something else guarantee that? > > It wasn't obvious from this diff alone. Sounds reasonable enough. Updated patch attached. -- Brian King eServer Storage I/O IBM Linux Technology Center --------------090004000101050508070102 Content-Type: text/plain; name="pci_block_user_config_io_during_bist_again.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="pci_block_user_config_io_during_bist_again.patch" ClNvbWUgUENJIGFkYXB0ZXJzIChlZy4gaXByIHNjc2kgYWRhcHRlcnMpIGhhdmUgYW4gZXhw b3N1cmUgdG9kYXkgaW4gdGhhdCAKdGhleSBpc3N1ZSBCSVNUIHRvIHRoZSBhZGFwdGVyIHRv IHJlc2V0IHRoZSBjYXJkLiBJZiwgZHVyaW5nIHRoZSB0aW1lCml0IHRha2VzIHRvIGNvbXBs ZXRlIEJJU1QsIHVzZXJzcGFjZSBhdHRlbXB0cyB0byBhY2Nlc3MgUENJIGNvbmZpZyBzcGFj ZSwgCnRoZSBob3N0IGJ1cyBicmlkZ2Ugd2lsbCBtYXN0ZXIgYWJvcnQgdGhlIGFjY2VzcyBz aW5jZSB0aGUgaXByIGFkYXB0ZXIgCmRvZXMgbm90IHJlc3BvbmQgb24gdGhlIFBDSSBidXMg Zm9yIGEgYnJpZWYgcGVyaW9kIG9mIHRpbWUgd2hlbiBydW5ua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IHBjaV91c2VyX3dy aXRlX2NvbmZpZ193b3JkKHN0cnVjdCBwY2lfZGV2ICpkZXYsIGludCB3aGVyZSwgdTE2IHZh bCk7CitleHRlcm4gaW50IHBjaV91c2VyX3dyaXRlX2NvbmZpZ19kd29yZChzdHJ1Y3QgcGNp X2RldiAqZGV2LCBpbnQgd2hlcmUsIHUzMiB2YWwpOworCiAvKiBQQ0kgL3Byb2MgZnVuY3Rp b25zICovCiAjaWZkZWYgQ09ORklHX1BST0NfRlMKIGV4dGVybiBpbnQgcGNpX3Byb2NfYXR0 YWNoX2RldmljZShzdHJ1Y3QgcGNpX2RldiAqZGV2KTsKXwo= --------------090004000101050508070102-- - 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/