Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753392AbYGIVCo (ORCPT ); Wed, 9 Jul 2008 17:02:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753182AbYGIVCe (ORCPT ); Wed, 9 Jul 2008 17:02:34 -0400 Received: from rv-out-0506.google.com ([209.85.198.227]:42223 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753271AbYGIVCd (ORCPT ); Wed, 9 Jul 2008 17:02:33 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=pR7G2WnlbuS8Cv5QjNYq5BvzVwoGsLSmNVekP0G/0jfUM5audEqubsJV1xi27mR6Gc nkSaH8MR1l1jfswdOe+V2wMT/vCdGAdLTQU7Tm+I37MjUOUTRylJs7uiXI9Ruc23kWDu XxM74Kt0CDQY5a3P/Olv6XiCyQUxduzURoYQU= Message-ID: <86802c440807091402x7042c25dnb20a6d00d0f55307@mail.gmail.com> Date: Wed, 9 Jul 2008 14:02:33 -0700 From: "Yinghai Lu" To: "John Keller" Subject: Re: [PATCH] x86: Allow MMCONFIG above 4GB on x86_64 Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, takayoshi.kochi@gmail.com In-Reply-To: <20080709204127.1458.5727.77728@attica.americas.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080709204127.1458.5727.77728@attica.americas.sgi.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1403 Lines: 41 On Wed, Jul 9, 2008 at 1:41 PM, John Keller wrote: > SGI UV will have MMCFG base addresses that are greater than 4GB (32 bits). > > Signed-off-by: John Keller > --- > > A similar patch was submitted over a year ago, but apparently was not > merged in. > > http://marc.info/?l=linux-acpi&m=117283388212912&w=2 > > > Index: linux-2.6/arch/x86/kernel/acpi/boot.c > =================================================================== > --- linux-2.6.orig/arch/x86/kernel/acpi/boot.c 2008-07-09 13:02:54.000000000 -0500 > +++ linux-2.6/arch/x86/kernel/acpi/boot.c 2008-07-09 15:25:32.000000000 -0500 > @@ -200,6 +200,7 @@ int __init acpi_parse_mcfg(struct acpi_t > } > > memcpy(pci_mmcfg_config, &mcfg[1], config_size); > +#ifndef CONFIG_X86_64 > for (i = 0; i < pci_mmcfg_config_num; ++i) { > if (pci_mmcfg_config[i].address > 0xFFFFFFFF) { > printk(KERN_ERR PREFIX > @@ -209,6 +210,7 @@ int __init acpi_parse_mcfg(struct acpi_t > return -ENODEV; > } > } > +#endif > > return 0; > } CONFIG_RESOURCES_64BIT ? YH -- 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/