forked from luck/tmp_suning_uos_patched
4faac97d44
Impact: hang which happens across CPU offline/online on AMD C1E systems. When a CPU goes offline then the corresponding bit in the broadcast mask is cleared. For AMD C1E enabled CPUs we do not reenable the broadcast when the CPU comes online again as we do not clear the corresponding bit in the c1e_mask, which keeps track which CPUs have been switched to broadcast already. So on those !$@#& machines we never switch back to broadcasting after a CPU offline/online cycle. Clear the bit when the CPU plays dead. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
16 lines
261 B
C
16 lines
261 B
C
#ifndef _ASM_X86_64_IDLE_H
|
|
#define _ASM_X86_64_IDLE_H 1
|
|
|
|
#define IDLE_START 1
|
|
#define IDLE_END 2
|
|
|
|
struct notifier_block;
|
|
void idle_notifier_register(struct notifier_block *n);
|
|
|
|
void enter_idle(void);
|
|
void exit_idle(void);
|
|
|
|
void c1e_remove_cpu(int cpu);
|
|
|
|
#endif
|