Files
kernel_arpi/arch/powerpc/include/asm
Deepthi Dharwar 8ea959a17f cpuidle/powerpc: Fix smt_snooze_delay functionality.
smt_snooze_delay was designed to  delay idle loop's nap entry
in the native idle code before it got  ported over to use as part of
the cpuidle framework.

A -ve value  assigned to smt_snooze_delay should result in
busy looping, in other words disabling the entry to nap state.

	- https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-May/082450.html

This particular functionality can be achieved currently by
echo 1 > /sys/devices/system/cpu/cpu*/state1/disable
but it is broken when one assigns -ve value to  the smt_snooze_delay
variable either via sysfs entry or ppc64_cpu util.

This patch aims to fix this, by disabling nap state when smt_snooze_delay
variable is set to -ve value.

Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-10-18 10:57:24 +11:00
..
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-07-10 19:18:59 +10:00
2012-03-28 18:30:02 +01:00
2011-07-26 16:49:47 -07:00
2012-03-28 18:30:02 +01:00
2011-11-08 14:51:46 +11:00
2012-03-20 21:48:30 +08:00
2012-09-10 09:59:16 +10:00
2011-12-08 14:02:23 +11:00
2011-07-26 16:49:47 -07:00
2012-04-30 15:37:16 +10:00
2011-12-07 18:02:02 +11:00
2011-07-26 16:49:47 -07:00
2011-09-20 09:19:40 +10:00
2012-09-12 14:57:08 -05:00
2012-09-17 16:31:51 +10:00
2012-07-11 14:18:40 +10:00