kernel_optimize_test/arch/powerpc/platforms/cell
Masato Noguchi 2ebb2477f9 [POWERPC] spufs: Fix missing stop-and-signal
When there is pending signals, current spufs_run_spu() always returns
-ERESTARTSYS and it is called again automatically.
But, if spe already stopped by stop-and-signal or halt instruction,
returning -ERESTARTSYS makes stop-and-signal/halt lost and
spu run over the end-point.

For your convenience, I attached a sample code to restage this bug.
If there is no bug, printed NPC will be 0x4000.

Signed-off-by: Masato Noguchi <Masato.Noguchi@jp.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-04 20:39:55 +11:00
..
spufs [POWERPC] spufs: Fix missing stop-and-signal 2006-12-04 20:39:55 +11:00
cbe_cpufreq.c [POWERPC] cell: add cpufreq driver for Cell BE processor 2006-10-25 14:20:22 +10:00
cbe_regs.c [POWERPC] cell: add shadow registers for pmd_reg 2006-10-25 14:20:21 +10:00
cbe_regs.h [POWERPC] cell: add low-level performance monitoring code 2006-10-25 14:20:21 +10:00
cbe_thermal.c [POWERPC] cell: add temperature to SPU and CPU sysfs entries 2006-10-25 14:20:22 +10:00
interrupt.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
interrupt.h [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
io-workarounds.c [POWERPC] Cell "Spider" MMIO workarounds 2006-12-04 20:38:54 +11:00
iommu.c [POWERPC] Cell iommu support 2006-12-04 20:39:02 +11:00
Kconfig [POWERPC] cell: add cpufreq driver for Cell BE processor 2006-10-25 14:20:22 +10:00
Makefile [POWERPC] Cell "Spider" MMIO workarounds 2006-12-04 20:38:54 +11:00
pervasive.c [POWERPC] cell: use ppc_md->power_save instead of cbe_idle_loop 2006-10-25 14:20:22 +10:00
pervasive.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
pmu.c [POWERPC] cell: add low-level performance monitoring code 2006-10-25 14:20:21 +10:00
pmu.h [POWERPC] cell: add low-level performance monitoring code 2006-10-25 14:20:21 +10:00
ras.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ras.h [POWERPC] cell: add RAS support 2006-06-21 15:01:29 +10:00
setup.c [POWERPC] Cell iommu support 2006-12-04 20:39:02 +11:00
smp.c [POWERPC] Cleanup CPU inits 2006-08-25 13:27:35 +10:00
spider-pic.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
spu_base.c [POWERPC] spufs: Return correct event for data storage interrupt 2006-12-04 20:39:54 +11:00
spu_callbacks.c [POWERPC] Unify ppc syscall tables 2006-06-21 15:01:32 +10:00
spu_priv1_mmio.c [POWERPC] spufs: wrap mfc sdr access 2006-10-25 14:20:20 +10:00
spu_syscalls.c [PATCH] spufs: fix module refcount race 2006-01-09 14:53:11 +11:00