mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] supporting MMCONFIG over 4GB on x86_64
@ 2007-03-02 11:07 Takayoshi Kochi
  0 siblings, 0 replies; only message in thread
From: Takayoshi Kochi @ 2007-03-02 11:07 UTC (permalink / raw)
  To: linux-acpi; +Cc: linux-kernel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-02 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-02 11:07 [PATCH] supporting MMCONFIG over 4GB on x86_64 Takayoshi Kochi

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®