Re: [PATCH] - Add early detection of UV system types

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yinghai Lu
Date: Tuesday, September 23, 2008 - 12:39 pm

On Tue, Sep 23, 2008 at 12:30 PM, Jack Steiner <steiner@sgi.com> wrote:

early_acpi_boot_init ==> early_acpi_process_madt ==>
acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt) ==> acpi_parse_madt
==> acpi_madt_oem_check
==> at last

int __init acpi_madt_oem_check(char *oem_id, char *oem_table_id)
{
        int i;

        for (i = 0; apic_probe[i]; ++i) {
                if (apic_probe[i]->acpi_madt_oem_check(oem_id, oem_table_id)) {
                        genapic = apic_probe[i];
                        printk(KERN_INFO "Setting APIC routing to %s.\n",
                                genapic->name);
                        return 1;
                }
        }
        return 0;
}

and

static struct genapic *apic_probe[] __initdata = {
        &apic_x2apic_uv_x,
        &apic_x2apic_phys,
        &apic_x2apic_cluster,
        &apic_physflat,
        NULL,
};

so apic_x2apic_uv_x's uv_acpi_madt_oem_check is called at first.


YH
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] - Add early detection of UV system types, Jack Steiner, (Tue Sep 23, 11:28 am)
Re: [PATCH] - Add early detection of UV system types, Yinghai Lu, (Tue Sep 23, 11:59 am)
Re: [PATCH] - Add early detection of UV system types, Jack Steiner, (Tue Sep 23, 12:30 pm)
Re: [PATCH] - Add early detection of UV system types, Yinghai Lu, (Tue Sep 23, 12:39 pm)
Re: [PATCH] - V2 Add early detection of UV system types, Jack Steiner, (Tue Sep 23, 1:37 pm)