From: John Keller <jpk@sgi.com>
To: linux-kernel@vger.kernel.org
Cc: linux-acpi@vger.kernel.org, John Keller <jpk@sgi.com>
Subject: [RESEND] [PATCH] x86: Allow MMCONFIG above 4GB on x86_64
Date: Thu, 10 Jul 2008 12:51:37 -0500 (CDT) [thread overview]
Message-ID: <20080710175137.27587.78276.99330@attica.americas.sgi.com> (raw)
SGI UV will have MMCFG base addresses that are greater than 4GB (32 bits).
Signed-off-by: John Keller <jpk@sgi.com>
---
Resend #1: Use CONFIG_RESOURCES_64BIT instead of CONFIG_X86_64.
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-10 10:19:28.000000000 -0500
@@ -200,6 +200,7 @@ int __init acpi_parse_mcfg(struct acpi_t
}
memcpy(pci_mmcfg_config, &mcfg[1], config_size);
+#ifndef CONFIG_RESOURCES_64BIT
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;
}
next reply other threads:[~2008-07-10 17:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-10 17:51 John Keller [this message]
2008-07-15 19:47 John Keller
2008-07-29 19:34 ` John Keller
2008-07-31 10:45 ` Ingo Molnar
2008-08-07 13:39 ` John Keller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080710175137.27587.78276.99330@attica.americas.sgi.com \
--to=jpk@sgi.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®