• Prakash Cheemplavam's avatar
    [PATCH] APIC/LAPIC hanging problems on nForce2 system · 36573f37
    Prakash Cheemplavam authored
    current state:
    Systems with Nforce2 could freeze on high disk i/o activity in APIC mode
    when CPU Disconnect is enabled. If bios doesn't fix this, current kernel
    fix changes the registers according to follwing table:
    
          * Chip  Old value   New value
          * C17   0x1F0FFF01  0x1F01FF01
          * C18D  0x9F0FFF01  0x9F01FF01
    
    But this is only done, if cpu disconnect has been enabled in bios.
    
    why change this:
    If CPU disconnect is not enabled in bios, and bios is broken (some
    manufacturers like Abit don't care about their customers and even the
    latest bios doesn't fix this; I have an Abit mainboard), the kernel
    doesn't apply the fix, so if cpu disconnect is enabled at a later stage
    (in userspace), the system will be unstable and most likely freeze.
    
    new behaviour:
    The fix is now applied regardless of cpu disconnect being enabled at
    boot time, or not. As you only have to change byte 3 to 0x01, reading
    out chipset version isn't needed, so the patch simplifies the fix. Now
    turning cpu disconnect on, at later stage won't break the system, and if
    it was already enabled, it gets fixed, as the old version did.
    Signed-off-by: default avatarPrakash Punnoor <prakashp@arcor.de>
    Acked-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    36573f37
fixup.c 12.9 KB