2.6.12 with dual way dual core ck804 MB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux