cpu/bus speed detection (was Re: Linux 2.4.2ac7

From: Tigran Aivazian (tigran@veritas.com)
Date: Fri Mar 02 2001 - 07:35:50 EST


On Thu, 1 Mar 2001, Alan Cox wrote:
> Please send me the value of your 0x2A MTRR. Because this isnt properly intel
> documented there is a certain amount of research still required.
>

ok, adding this to init_intel():

        u32 lo, hi;

        rdmsr(0x2A, lo, hi);
        printk(KERN_ERR "lo=%x hi=%x\n", lo, hi);

produces the output:

# dmesg | grep lo=
lo=c5100800 hi=0
lo=c5100800 hi=0
lo=c5000800 hi=0

Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 07 2001 - 21:00:11 EST