From patchwork Wed Oct 13 16:15:31 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 251001 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o9DGGdBU008472 for ; Wed, 13 Oct 2010 16:16:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752304Ab0JMQPe (ORCPT ); Wed, 13 Oct 2010 12:15:34 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:45360 "EHLO g4t0015.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752114Ab0JMQPc (ORCPT ); Wed, 13 Oct 2010 12:15:32 -0400 Received: from g4t0009.houston.hp.com (g4t0009.houston.hp.com [16.234.32.26]) by g4t0015.houston.hp.com (Postfix) with ESMTP id 18A6A82F4; Wed, 13 Oct 2010 16:15:32 +0000 (UTC) Received: from ldl (ldl.usa.hp.com [16.125.112.222]) by g4t0009.houston.hp.com (Postfix) with ESMTP id E66CFC1AE; Wed, 13 Oct 2010 16:15:31 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id C4385CF0009; Wed, 13 Oct 2010 10:15:31 -0600 (MDT) Received: from ldl ([127.0.0.1]) by localhost (ldl.fc.hp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YDyQusHlZwse; Wed, 13 Oct 2010 10:15:31 -0600 (MDT) Received: from eh.fc.hp.com (bob.lnx.usa.hp.com [16.125.112.218]) by ldl (Postfix) with ESMTP id A9238CF0007; Wed, 13 Oct 2010 10:15:31 -0600 (MDT) Received: from bob.kio (localhost [127.0.0.1]) by eh.fc.hp.com (Postfix) with ESMTP id 92556406039; Wed, 13 Oct 2010 10:15:31 -0600 (MDT) Subject: [PATCH v3 5/6] x86: update iomem_resource end based on CPU physical address capabilities To: Jesse Barnes From: Bjorn Helgaas Cc: Bob Picco , Brian Bloniarz , Charles Butterfield , Denys Vlasenko , linux-pci@vger.kernel.org, "Horst H. von Brand" , linux-kernel@vger.kernel.org, Stefan Becker , "H. Peter Anvin" , Yinghai Lu , Thomas Gleixner , Linus Torvalds , Ingo Molnar Date: Wed, 13 Oct 2010 10:15:31 -0600 Message-ID: <20101013161531.28476.20577.stgit@bob.kio> In-Reply-To: <20101013161359.28476.6050.stgit@bob.kio> References: <20101013161359.28476.6050.stgit@bob.kio> User-Agent: StGit/0.15 MIME-Version: 1.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.3 (demeter1.kernel.org [140.211.167.41]); Wed, 13 Oct 2010 16:16:41 +0000 (UTC) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index c3a4fbb..922b5a1 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -788,6 +788,7 @@ void __init setup_arch(char **cmdline_p) x86_init.oem.arch_setup(); + iomem_resource.end = (1ULL << boot_cpu_data.x86_phys_bits) - 1; setup_memory_map(); parse_setup_data(); /* update the e820_saved too */