From: "Takayoshi Kochi" <takayoshi.kochi@gmail.com>
To: linux-acpi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] supporting MMCONFIG over 4GB on x86_64
Date: Fri, 2 Mar 2007 20:07:58 +0900 [thread overview]
Message-ID: <43c301fe0703020307g37f7df7dxd8f94adaac3acaf3@mail.gmail.com> (raw)
Hi,
Currently MMCONFIG is ignored if it is located over 4G, but I see no reason
to reject it on x86_64 platform.
This patch is against 2.6.21-rc2 and was tested on
such a machine (MMCONFIG is located at 0xfe10000000)
without any problem.
Any comments?
--
Takayoshi Kochi
Signed-off-by: Takayoshi Kochi <takayoshi.kochi@gmail.com>
---
boot.c | 2 ++
1 files changed, 2 insertions(+)
--- linux-2.6.20/arch/i386/kernel/acpi/boot.c.orig 2007-03-02
14:34:02.000000000 +0900
+++ linux-2.6.20/arch/i386/kernel/acpi/boot.c 2007-03-02
19:38:10.000000000 +0900
@@ -198,6 +198,7 @@ int __init acpi_parse_mcfg(struct acpi_t
memcpy(pci_mmcfg_config, &mcfg[1], config_size);
for (i = 0; i < pci_mmcfg_config_num; ++i) {
+#ifndef CONFIG_X86_64
if (pci_mmcfg_config[i].address > 0xFFFFFFFF) {
printk(KERN_ERR PREFIX
"MMCONFIG not in low 4GB of memory\n");
@@ -205,6 +206,7 @@ int __init acpi_parse_mcfg(struct acpi_t
pci_mmcfg_config_num = 0;
return -ENODEV;
}
+#endif
}
return 0;
reply other threads:[~2007-03-02 11:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=43c301fe0703020307g37f7df7dxd8f94adaac3acaf3@mail.gmail.com \
--to=takayoshi.kochi@gmail.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®