• Andi Kleen's avatar
    [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E · 3556ddfa
    Andi Kleen authored
    AMD dual core laptops with C1E do not run the APIC timer correctly
    when they go idle. Previously the code assumed this only happened
    on C2 or deeper.  But not all of these systems report support C2.
    
    Use a AMD supplied snippet to detect C1E being enabled and then disable
    local apic timer use.
    
    This supercedes an earlier workaround using DMI detection of specific systems.
    
    Thanks to Mark Langsdorf for the detection snippet.
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    3556ddfa
cpufeature.h 7.64 KB