From patchwork Wed Aug 24 22:31:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Rzeszutek Wilk X-Patchwork-Id: 1094562 X-Patchwork-Delegate: bhelgaas@google.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7OMYb6F005089 for ; Wed, 24 Aug 2011 22:34:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752411Ab1HXWec (ORCPT ); Wed, 24 Aug 2011 18:34:32 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:55736 "EHLO acsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752366Ab1HXWeb (ORCPT ); Wed, 24 Aug 2011 18:34:31 -0400 Received: from rtcsinet22.oracle.com (rtcsinet22.oracle.com [66.248.204.30]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p7OMVkb4026213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Aug 2011 22:31:48 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by rtcsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p7OMVi3n022475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Aug 2011 22:31:45 GMT Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p7OMVdcf031049; Wed, 24 Aug 2011 17:31:39 -0500 Received: from phenom (/209.6.55.207) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 24 Aug 2011 15:31:38 -0700 Received: by phenom (Postfix, from userid 1000) id 99B0BBE86; Wed, 24 Aug 2011 18:31:37 -0400 (EDT) From: Konrad Rzeszutek Wilk To: linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com Cc: JBeulich@novell.com, jeremy@goop.org, ian.campbell@citrix.com, Konrad Rzeszutek Wilk , Jesse Barnes , linux-pci@vger.kernel.org, stable@kernel.org Subject: [PATCH 1/5] xen-pcifront: Update warning comment to use 'e820_host' option. Date: Wed, 24 Aug 2011 18:31:32 -0400 Message-Id: <1314225096-4861-2-git-send-email-konrad.wilk@oracle.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1314225096-4861-1-git-send-email-konrad.wilk@oracle.com> References: <1314225096-4861-1-git-send-email-konrad.wilk@oracle.com> X-Source-IP: rtcsinet22.oracle.com [66.248.204.30] X-CT-RefId: str=0001.0A090201.4E557BD4.013B,ss=1,re=0.000,fgs=0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 24 Aug 2011 22:34:39 +0000 (UTC) With Xen changeset 23428 "libxl: Add 'e820_host' option to config file" the E820 as seen from the host can now be passed into the guest. This means that a PV guest can now: - Use the correct PCI I/O gap. Before these patches, Linux guest would boot up and would tell: [ 0.000000] Allocating PCI resources starting at 40000000 (gap: 40000000:c0000000) while in actuality the PCI I/O gap should have been: [ 0.000000] Allocating PCI resources starting at b0000000 (gap: b0000000:4c000000) - The PV domain with PCI devices was limited to 3GB. It now can be booted with 4GB, 8GB, or whatever number you want. The PCI devices will now _not_ conflict with System RAM. Meaning the drivers can load. CC: Jesse Barnes CC: linux-pci@vger.kernel.org CC: stable@kernel.org Signed-off-by: Konrad Rzeszutek Wilk --- drivers/pci/xen-pcifront.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/xen-pcifront.c b/drivers/pci/xen-pcifront.c index 492b7d8..659efd1 100644 --- a/drivers/pci/xen-pcifront.c +++ b/drivers/pci/xen-pcifront.c @@ -401,8 +401,8 @@ static int pcifront_claim_resource(struct pci_dev *dev, void *data) pci_name(dev), i); if (pci_claim_resource(dev, i)) { dev_err(&pdev->xdev->dev, "Could not claim " - "resource %s/%d! Device offline. Try " - "giving less than 4GB to domain.\n", + "resource %s/%d! Device offline. Try" + "using e820_host=1 in the guest config.\n", pci_name(dev), i); } }