2006-06-19 12:33:28 -06:00
|
|
|
obj-$(CONFIG_PPC_CELL_NATIVE) += interrupt.o iommu.o setup.o \
|
2006-11-10 23:25:12 -07:00
|
|
|
cbe_regs.o spider-pic.o \
|
|
|
|
pervasive.o pmu.o io-workarounds.o
|
2006-06-19 12:33:28 -06:00
|
|
|
obj-$(CONFIG_CBE_RAS) += ras.o
|
2006-01-04 12:55:53 -07:00
|
|
|
|
2006-10-24 10:31:25 -06:00
|
|
|
obj-$(CONFIG_CBE_THERM) += cbe_thermal.o
|
2006-10-24 10:39:45 -06:00
|
|
|
obj-$(CONFIG_CBE_CPUFREQ) += cbe_cpufreq.o
|
2006-10-24 10:31:25 -06:00
|
|
|
|
2006-06-19 12:33:28 -06:00
|
|
|
ifeq ($(CONFIG_SMP),y)
|
|
|
|
obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o
|
|
|
|
endif
|
2006-01-04 12:31:30 -07:00
|
|
|
|
[PATCH] spufs: allow SPU code to do syscalls
An SPU does not have a way to implement system calls
itself, but it can create intercepts to the kernel.
This patch uses the method defined by the JSRE interface
for C99 host library calls from an SPU to implement
Linux system calls. It uses the reserved SPU stop code
0x2104 for this, using the structure layout and syscall
numbers for ppc64-linux.
I'm still undecided wether it is better to have a list
of allowed syscalls or a list of forbidden syscalls,
since we can't allow an SPU to call all syscalls that
are defined for ppc64-linux.
This patch implements the easier choice of them, with a
blacklist that only prevents an SPU from calling anything
that interacts with its own execution, e.g fork, execve,
clone, vfork, exit, spu_run and spu_create and everything
that deals with signals.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-22 16:00:09 -07:00
|
|
|
# needed only when building loadable spufs.ko
|
2006-06-19 12:33:28 -06:00
|
|
|
spufs-modular-$(CONFIG_SPU_FS) += spu_syscalls.o
|
|
|
|
spu-priv1-$(CONFIG_PPC_CELL_NATIVE) += spu_priv1_mmio.o
|
[PATCH] spufs: allow SPU code to do syscalls
An SPU does not have a way to implement system calls
itself, but it can create intercepts to the kernel.
This patch uses the method defined by the JSRE interface
for C99 host library calls from an SPU to implement
Linux system calls. It uses the reserved SPU stop code
0x2104 for this, using the structure layout and syscall
numbers for ppc64-linux.
I'm still undecided wether it is better to have a list
of allowed syscalls or a list of forbidden syscalls,
since we can't allow an SPU to call all syscalls that
are defined for ppc64-linux.
This patch implements the easier choice of them, with a
blacklist that only prevents an SPU from calling anything
that interacts with its own execution, e.g fork, execve,
clone, vfork, exit, spu_run and spu_create and everything
that deals with signals.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-22 16:00:09 -07:00
|
|
|
|
2006-06-19 12:33:28 -06:00
|
|
|
obj-$(CONFIG_SPU_BASE) += spu_callbacks.o spu_base.o \
|
[POWERPC] coredump: Add SPU elf notes to coredump.
This patch adds SPU elf notes to the coredump. It creates a separate note
for each of /regs, /fpcr, /lslr, /decr, /decr_status, /mem, /signal1,
/signal1_type, /signal2, /signal2_type, /event_mask, /event_status,
/mbox_info, /ibox_info, /wbox_info, /dma_info, /proxydma_info, /object-id.
A new macro, ARCH_HAVE_EXTRA_NOTES, was created for architectures to
specify they have extra elf core notes.
A new macro, ELF_CORE_EXTRA_NOTES_SIZE, was created so the size of the
additional notes could be calculated and added to the notes phdr entry.
A new macro, ELF_CORE_WRITE_EXTRA_NOTES, was created so the new notes
would be written after the existing notes.
The SPU coredump code resides in spufs. Stub functions are provided in the
kernel which are hooked into the spufs code which does the actual work via
register_arch_coredump_calls().
A new set of __spufs_<file>_read/get() functions was provided to allow the
coredump code to read from the spufs files without having to lock the
SPU context for each file read from.
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Dwayne Grant McConnell <decimal@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
2006-11-22 16:46:37 -07:00
|
|
|
spu_coredump.o \
|
2006-06-19 12:33:28 -06:00
|
|
|
$(spufs-modular-m) \
|
|
|
|
$(spu-priv1-y) spufs/
|