Re: [PATCH] x86: Allow MMCONFIG above 4GB on x86_64

From: Ingo Molnar
Date: Fri Jul 18 2008 - 08:39:41 EST



* John Keller <jpk@xxxxxxx> wrote:

> SGI UV will have MMCFG base addresses that are greater than 4GB (32
> bits).

> +++ 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

hm. If then it should be enabled very carefully and initially probably
on a per system (i.e. DMI driven whitelist) basis.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/