From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com ([192.55.52.88]:65360 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904Ab2GIUS0 (ORCPT ); Mon, 9 Jul 2012 16:18:26 -0400 Date: Mon, 9 Jul 2012 13:18:18 -0700 From: Jacob Pan To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Jesse Barnes , Ivan Kokshaysky , Matthew Wilcox , Robert Hancock Subject: Re: [PATCH 1/2] PCI: leave MEM and IO decoding disabled during 64-bit BAR sizing, too Message-ID: <20120709131818.72799bcb@chromoly> In-Reply-To: <20120709182018.18165.98339.stgit@bhelgaas.mtv.corp.google.com> References: <20120709181745.18165.93914.stgit@bhelgaas.mtv.corp.google.com> <20120709182018.18165.98339.stgit@bhelgaas.mtv.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-pci-owner@vger.kernel.org List-ID: On Mon, 09 Jul 2012 12:20:18 -0600 Bjorn Helgaas wrote: > After 253d2e5498, we disable MEM and IO decoding for most devices > while we size 32-bit BARs. However, we restore the original COMMAND > register before we size the upper 32 bits of 64-bit BARs, so we can > still cause a conflict. > > This patch waits to restore the original COMMAND register until we're > completely finished sizing the BAR. agreed. Thanks, Jacob