lkml.org 
[lkml]   [2008]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86: Allow MMCONFIG above 4GB on x86_64
    On Wed, Jul 9, 2008 at 1:41 PM, John Keller <jpk@sgi.com> wrote:
    > SGI UV will have MMCFG base addresses that are greater than 4GB (32 bits).
    >
    > Signed-off-by: John Keller <jpk@sgi.com>
    > ---
    >
    > 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


    \
     
     \ /
      Last update: 2008-07-09 23:05    [W:0.020 / U:89.452 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site