2.6.12 with dual way dual core ck804 MB

From: YhLu
Date: Tue Jun 21 2005 - 17:40:58 EST


andi,

for the dual way dual core Opteron ck804 MB, the 2.6.12 still has the timing
problem, I still need to add one printk in amd_detec_cmp after the
phys_proc_id is setup.

Regards

YH

static void __init amd_detect_cmp(struct cpuinfo_x86 *c)
{
#ifdef CONFIG_SMP
int cpu = smp_processor_id();
int node = 0;
unsigned bits;
if (c->x86_num_cores == 1)
return;

bits = 0;
while ((1 << bits) < c->x86_num_cores)
bits++;

/* Low order bits define the core id (index of core in socket) */
cpu_core_id[cpu] = phys_proc_id[cpu] & ((1 << bits)-1);
/* Convert the APIC ID into the socket ID */
phys_proc_id[cpu] >>= bits;
+ printk(KERN_INFO " CPU %d(%d) phys_proc_id %d Core %d\n",
+ cpu, c->x86_num_cores, phys_proc_id[cpu],
cpu_core_id[cpu]);
-
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/