• Thomas Gleixner's avatar
    clockevents: prevent mode mismatch on cpu online · 27ce4cb4
    Thomas Gleixner authored
    Impact: timer hang on CPU online observed on AMD C1E systems
    
    When a CPU is brought online then the broadcast machinery can
    be in the one shot state already. Check this and setup the timer 
    device of the new CPU in one shot mode so the broadcast code
    can pick up the next_event value correctly.
    
    Another AMD C1E oddity, as we switch to broadcast immediately and
    not after the full bring up via the ACPI cpu idle code.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    27ce4cb4
tick-internal.h 4.24 KB