]> git.karo-electronics.de Git - karo-tx-linux.git/commit
intel_idle: open broadcast clock event
authorShaohua Li <shaohua.li@intel.com>
Mon, 10 Jan 2011 01:38:12 +0000 (09:38 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:26 +0000 (15:14 -0800)
commit0f076e96eae1e03f5fd988911c7062dee22e14a6
tree4073ee5134d52099e66c1f4bcb969c1446e01079
parentdbe128e9782f4e837c04b4426924b0f7579db00d
intel_idle: open broadcast clock event

commit 2a2d31c8dc6f1ebcf5eab1d93a0cb0fb4ed57c7c upstream.

Intel_idle driver uses CLOCK_EVT_NOTIFY_BROADCAST_ENTER
CLOCK_EVT_NOTIFY_BROADCAST_EXIT
for broadcast clock events. The _ENTER/_EXIT doesn't really open broadcast clock
events, please see processor_idle.c for an example. In some situation, this will
cause boot hang, because some CPUs enters idle but local APIC timer stalls.

Reported-and-tested-by: Yan Zheng <zheng.z.yan@intel.com>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/idle/intel_idle.c