[lkml]   [1998]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectCyrix 6x86MX and Centaur C6 CPUs in 2.1.102
    Hello Linus,

    I have noticed that, as a result of my previous posts, you modified the
    apm driver, setup.c and time.c in kernel 2.1.102.

    The mod in setup.c is more or less:

    if (cyrix_CPU_detected)

    which is sub-optimal, and breaks code that tries to detect TSC
    capability by reading /proc/cpuinfo, in machines equipped with a 6x86MX
    or a C6.

    The Cyrix 6x86MX has a fully compatible TSC implementation. However, it
    also allows turning off the CPU when a Halt state is entered, something
    the Intel CPUs can't do, and this breaks the current implementation of
    do_fast_gettimeoffset() in time.c.

    The mod above also ignores the Centaur C6.

    The following single mod to function time_init() in time.c correctly
    handles both the 6x86MX and the Centaur C6 power-down features:


    if (boot_cpu_data.x86_capability & 16) {


    if ((boot_cpu_data.x86_capability & 16) && (boot_cpu_data.x86_vendor !=
    X86_VENDOR_CYRIX) && (boot_cpu_data.x86_vendor != X86_VENDOR_CENTAUR)) {

    André Balsa

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to

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