Commit c1e95d8b authored by Jes Sorensen's avatar Jes Sorensen Committed by David Mosberger

[PATCH] ia64: quiet down SMP boot messages

This patch gets rid of some superfluous printk's which get tedious on
machines with insane number of CPUs.  The virtual/physical address bit
info is already available via /proc/pal, so there is no need to print
it at boot- time.
parent 7ba0358c
...@@ -525,8 +525,6 @@ identify_cpu (struct cpuinfo_ia64 *c) ...@@ -525,8 +525,6 @@ identify_cpu (struct cpuinfo_ia64 *c)
impl_va_msb = vm2.pal_vm_info_2_s.impl_va_msb; impl_va_msb = vm2.pal_vm_info_2_s.impl_va_msb;
phys_addr_size = vm1.pal_vm_info_1_s.phys_add_size; phys_addr_size = vm1.pal_vm_info_1_s.phys_add_size;
} }
printk(KERN_INFO "CPU %d: %lu virtual and %lu physical address bits\n",
smp_processor_id(), impl_va_msb + 1, phys_addr_size);
c->unimpl_va_mask = ~((7L<<61) | ((1L << (impl_va_msb + 1)) - 1)); c->unimpl_va_mask = ~((7L<<61) | ((1L << (impl_va_msb + 1)) - 1));
c->unimpl_pa_mask = ~((1L<<63) | ((1L << phys_addr_size) - 1)); c->unimpl_pa_mask = ~((1L<<63) | ((1L << phys_addr_size) - 1));
} }
......
...@@ -405,10 +405,7 @@ do_boot_cpu (int sapicid, int cpu) ...@@ -405,10 +405,7 @@ do_boot_cpu (int sapicid, int cpu)
} }
Dprintk("\n"); Dprintk("\n");
if (cpu_isset(cpu, cpu_callin_map)) { if (!cpu_isset(cpu, cpu_callin_map)) {
/* number CPUs logically, starting from 1 (BSP is 0) */
printk(KERN_INFO "CPU%d: CPU has booted.\n", cpu);
} else {
printk(KERN_ERR "Processor 0x%x/0x%x is stuck.\n", cpu, sapicid); printk(KERN_ERR "Processor 0x%x/0x%x is stuck.\n", cpu, sapicid);
ia64_cpu_to_sapicid[cpu] = -1; ia64_cpu_to_sapicid[cpu] = -1;
cpu_clear(cpu, cpu_online_map); /* was set in smp_callin() */ cpu_clear(cpu, cpu_online_map); /* was set in smp_callin() */
...@@ -583,14 +580,11 @@ __cpu_up (unsigned int cpu) ...@@ -583,14 +580,11 @@ __cpu_up (unsigned int cpu)
if (sapicid == -1) if (sapicid == -1)
return -EINVAL; return -EINVAL;
printk(KERN_INFO "Processor %d/%d is spinning up...\n", sapicid, cpu);
/* Processor goes to start_secondary(), sets online flag */ /* Processor goes to start_secondary(), sets online flag */
ret = do_boot_cpu(sapicid, cpu); ret = do_boot_cpu(sapicid, cpu);
if (ret < 0) if (ret < 0)
return ret; return ret;
printk(KERN_INFO "Processor %d has spun up...\n", cpu);
return 0; return 0;
} }
......
...@@ -398,9 +398,6 @@ sn_cpu_init(void) ...@@ -398,9 +398,6 @@ sn_cpu_init(void)
cnode = nasid_to_cnodeid(nasid); cnode = nasid_to_cnodeid(nasid);
slice = cpu_physical_id_to_slice(cpuphyid); slice = cpu_physical_id_to_slice(cpuphyid);
printk("CPU %d: nasid %d, slice %d, cnode %d\n",
smp_processor_id(), nasid, slice, cnode);
memset(pda, 0, sizeof(pda)); memset(pda, 0, sizeof(pda));
pda->p_nodepda = nodepdaindr[cnode]; pda->p_nodepda = nodepdaindr[cnode];
pda->led_address = (typeof(pda->led_address)) (LED0 + (slice<<LED_CPU_SHIFT)); pda->led_address = (typeof(pda->led_address)) (LED0 + (slice<<LED_CPU_SHIFT));
......
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