• T
    x86-64: Disable local APIC timer use on AMD systems with C1E · e66485d7
    Thomas Gleixner 提交于
    commit 3556ddfa titled
    
     [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E
    
    solves a problem with AMD dual core laptops e.g. HP nx6325 (Turion 64
    X2) with C1E enabled:
    
    When both cores go into idle at the same time, then the system switches
    into C1E state, which is basically the same as C3. This stops the local
    apic timer.
    
    This was debugged right after the dyntick merge on i386 and despite the
    patch title it fixes only the 32 bit path.
    
    x86_64 is still missing this fix. It seems that mainline is not really
    affected by this issue, as the PIT is running and keeps jiffies
    incrementing, but that's just waiting for trouble.
    
    -mm suffers from this problem due to the x86_64 high resolution timer
    patches.
    
    This is a quick and dirty port of the i386 code to x86_64.
    
    I spent quite a time with Rafael to debug the -mm / hrt wreckage until
    someone pointed us to this. I really had forgotten that we debugged this
    half a year ago already.
    
    Sigh, is it just me or is there something yelling arch/x86 into my ear?
    Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
    Tested-by: NRafael J. Wysocki <rjw@sisk.pl>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    e66485d7
apic.h 2.8 KB