Commit 511c4a5d authored by Jesse Barnes's avatar Jesse Barnes Committed by David Mosberger

[PATCH] ia64: make madt parsing quieter

We already get this info in other forms from other boot messages, so kill the 
printing of the MADT entries as they're parsed.  This patch significantly 
reduces the amount of output from a boot of a 512p system.
Signed-off-by: default avatarJesse Barnes <jbarnes@sgi.com>
Signed-off-by: default avatarDavid Mosberger <davidm@hpl.hp.com>
parent ccfd45a2
...@@ -171,8 +171,6 @@ acpi_parse_lapic_addr_ovr ( ...@@ -171,8 +171,6 @@ acpi_parse_lapic_addr_ovr (
if (BAD_MADT_ENTRY(lapic, end)) if (BAD_MADT_ENTRY(lapic, end))
return -EINVAL; return -EINVAL;
acpi_table_print_madt_entry(header);
if (lapic->address) { if (lapic->address) {
iounmap((void *) ipi_base_addr); iounmap((void *) ipi_base_addr);
ipi_base_addr = (unsigned long) ioremap(lapic->address, 0); ipi_base_addr = (unsigned long) ioremap(lapic->address, 0);
...@@ -191,25 +189,13 @@ acpi_parse_lsapic (acpi_table_entry_header *header, const unsigned long end) ...@@ -191,25 +189,13 @@ acpi_parse_lsapic (acpi_table_entry_header *header, const unsigned long end)
if (BAD_MADT_ENTRY(lsapic, end)) if (BAD_MADT_ENTRY(lsapic, end))
return -EINVAL; return -EINVAL;
acpi_table_print_madt_entry(header); if (lsapic->flags.enabled) {
printk(KERN_INFO "CPU %d (0x%04x)", total_cpus, (lsapic->id << 8) | lsapic->eid);
if (!lsapic->flags.enabled)
printk(" disabled");
else {
printk(" enabled");
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
smp_boot_data.cpu_phys_id[available_cpus] = (lsapic->id << 8) | lsapic->eid; smp_boot_data.cpu_phys_id[available_cpus] = (lsapic->id << 8) | lsapic->eid;
if (hard_smp_processor_id()
== (unsigned int) smp_boot_data.cpu_phys_id[available_cpus])
printk(" (BSP)");
#endif #endif
++available_cpus; ++available_cpus;
} }
printk("\n");
total_cpus++; total_cpus++;
return 0; return 0;
} }
...@@ -225,8 +211,6 @@ acpi_parse_lapic_nmi (acpi_table_entry_header *header, const unsigned long end) ...@@ -225,8 +211,6 @@ acpi_parse_lapic_nmi (acpi_table_entry_header *header, const unsigned long end)
if (BAD_MADT_ENTRY(lacpi_nmi, end)) if (BAD_MADT_ENTRY(lacpi_nmi, end))
return -EINVAL; return -EINVAL;
acpi_table_print_madt_entry(header);
/* TBD: Support lapic_nmi entries */ /* TBD: Support lapic_nmi entries */
return 0; return 0;
} }
...@@ -242,8 +226,6 @@ acpi_parse_iosapic (acpi_table_entry_header *header, const unsigned long end) ...@@ -242,8 +226,6 @@ acpi_parse_iosapic (acpi_table_entry_header *header, const unsigned long end)
if (BAD_MADT_ENTRY(iosapic, end)) if (BAD_MADT_ENTRY(iosapic, end))
return -EINVAL; return -EINVAL;
acpi_table_print_madt_entry(header);
iosapic_init(iosapic->address, iosapic->global_irq_base); iosapic_init(iosapic->address, iosapic->global_irq_base);
return 0; return 0;
...@@ -262,8 +244,6 @@ acpi_parse_plat_int_src ( ...@@ -262,8 +244,6 @@ acpi_parse_plat_int_src (
if (BAD_MADT_ENTRY(plintsrc, end)) if (BAD_MADT_ENTRY(plintsrc, end))
return -EINVAL; return -EINVAL;
acpi_table_print_madt_entry(header);
/* /*
* Get vector assignment for this interrupt, set attributes, * Get vector assignment for this interrupt, set attributes,
* and program the IOSAPIC routing table. * and program the IOSAPIC routing table.
...@@ -292,8 +272,6 @@ acpi_parse_int_src_ovr ( ...@@ -292,8 +272,6 @@ acpi_parse_int_src_ovr (
if (BAD_MADT_ENTRY(p, end)) if (BAD_MADT_ENTRY(p, end))
return -EINVAL; return -EINVAL;
acpi_table_print_madt_entry(header);
iosapic_override_isa_irq(p->bus_irq, p->global_irq, iosapic_override_isa_irq(p->bus_irq, p->global_irq,
(p->flags.polarity == 1) ? IOSAPIC_POL_HIGH : IOSAPIC_POL_LOW, (p->flags.polarity == 1) ? IOSAPIC_POL_HIGH : IOSAPIC_POL_LOW,
(p->flags.trigger == 1) ? IOSAPIC_EDGE : IOSAPIC_LEVEL); (p->flags.trigger == 1) ? IOSAPIC_EDGE : IOSAPIC_LEVEL);
...@@ -311,8 +289,6 @@ acpi_parse_nmi_src (acpi_table_entry_header *header, const unsigned long end) ...@@ -311,8 +289,6 @@ acpi_parse_nmi_src (acpi_table_entry_header *header, const unsigned long end)
if (BAD_MADT_ENTRY(nmi_src, end)) if (BAD_MADT_ENTRY(nmi_src, end))
return -EINVAL; return -EINVAL;
acpi_table_print_madt_entry(header);
/* TBD: Support nimsrc entries */ /* TBD: Support nimsrc entries */
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment