lkml.org 
[lkml]   [1999]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: F00F question
    On Thu, Apr 22, 1999 at 10:04:58AM +0930, Benjamin Close wrote:
    > Hi all,
    > sorry if this is off topic.
    > Is there anyway to test if a cpu has the F00F bug (without hanging the
    > machine if it does) if you don't knowing the type of cpu?
    >
    > (I know it's easy to find the cpu type but that's not the question)

    From reading the kernel source, it would appear that all and only Pentiums
    are assumed to have the f00f bug. From the source of 2.2.6-ac1
    include/asm-i386/bugs.h:

    __initfunc(static void check_pentium_f00f(void))
    {
    /*
    * Pentium and Pentium MMX
    */
    boot_cpu_data.f00f_bug = 0;
    if (boot_cpu_data.x86 == 5 && boot_cpu_data.x86_vendor ==
    X86_VENDOR_INTEL) {
    printk(KERN_INFO "Intel Pentium with F0 0F bug - workaround"
    "enabled.\n");
    boot_cpu_data.f00f_bug = 1;
    trap_init_f00f_bug();
    }
    }

    Jeff
    --
    \/ http://www.freshmeat.net/ Jeff Epler jepler@inetnebr.com
    Take a lesson from the whale; the only time he gets speared is when he
    raises to spout.

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

    \
     
     \ /
      Last update: 2005-03-22 13:51    [W:0.018 / U:31.460 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site