android_kernel_xiaomi_sm8350/arch/powerpc
Anton Blanchard 0ddd3e7d07 [POWERPC] Always call cede in pseries dedicated idle loop
The smt_snooze_delay logic changed a bit when the idle loops were
consolidated. A value of 0 used to mean we always polled, now it means
we always sleep. Instead of restoring the old behaviour, lets put a
reasonable default in smt_snooze_delay. This means we spin for a bit
(in case an external interrupt comes in) and then sleep.

Also the pseries dedicated idle loop currently does not cede both
threads in an SMT pair. The hypervisor wants us to call in so it can
power manage, so lets do that.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-09-26 15:24:34 +10:00
..
boot [POWERPC] Start arch/powerpc/boot code reorganization 2006-09-20 15:09:58 +10:00
configs Merge branch 'linux-2.6' 2006-09-14 07:07:18 +10:00
kernel [POWERPC] Always call cede in pseries dedicated idle loop 2006-09-26 15:24:34 +10:00
lib [POWERPC] make spinlocks work in a combined kernel 2006-09-20 14:01:16 +10:00
math-emu Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mm Merge branch 'merge' 2006-08-25 14:56:07 +10:00
oprofile
platforms [POWERPC] Always call cede in pseries dedicated idle loop 2006-09-26 15:24:34 +10:00
sysdev [POWERPC] Include <asm/mmu.h> in arch/powerpc/sysdev/fsl_soc.h for phys_addr_t. 2006-09-22 15:19:58 +10:00
xmon [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Kconfig Merge branch 'linux-2.6' 2006-09-14 07:07:18 +10:00
Kconfig.debug [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Makefile