android_kernel_motorola_sm6225/arch/xtensa/kernel
Max Filippov 00273125c3 xtensa: add s32c1i sanity check
Add a brief sanity test of S32C1I functionality.  This instruction
is needed by the kernel and userland as part of the base ABI
(including GCC atomic builtins, certain threading packages, future
atomic support in the C++ standard, etc).  However, correct operation
of this instruction requires some cooperation by hardware external to
the processor (such as bus bridge, bus fabric, or memory controller).
Minimally exercising this mechanism and reporting explicit status
early in the boot process is helpful to chip vendors using the Linux
kernel as a benchmark of correctness of hardware.

As it turns out, S32C1I is not exercised by the kernel and by uClibc
based userland as of early June 2008.  This is expected to change
soon as both incorporate more recent open source developments.

Signed-off-by: Marc Gauthier <marc@tensilica.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
2012-12-18 21:10:22 -08:00
..
align.S xtensa: provide proper assembler function boundaries with ENDPROC() 2012-12-18 21:10:20 -08:00
asm-offsets.c xtensa: save and restore scompare1 SR on kernel entry 2012-12-18 21:10:22 -08:00
coprocessor.S xtensa: provide proper assembler function boundaries with ENDPROC() 2012-12-18 21:10:20 -08:00
entry.S xtensa: save and restore scompare1 SR on kernel entry 2012-12-18 21:10:22 -08:00
head.S xtensa: initialize atomctl SR 2012-12-18 21:10:22 -08:00
irq.c xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
Makefile xtensa: adopt generic io routines 2012-10-03 15:11:42 -07:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
pci-dma.c xtensa: add missing symbol exports 2012-10-03 15:12:52 -07:00
pci.c Xtensa patchset for 3.7 2012-10-09 16:11:46 +09:00
platform.c xtensa: change default platform clock frequency to 10MHz 2012-10-03 15:11:59 -07:00
process.c flagday: don't pass regs to copy_thread() 2012-11-28 23:43:42 -05:00
ptrace.c Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
setup.c xtensa: add s32c1i sanity check 2012-12-18 21:10:22 -08:00
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
syscall.c xtensa: allow multi-inclusion for uapi/unistd.h 2012-10-25 14:53:36 -07:00
time.c xtensa:fix the incompatible pointer type warning in time.c 2012-12-18 21:10:20 -08:00
traps.c xtensa: add trap_set_handler function 2012-12-18 21:10:22 -08:00
vectors.S xtensa: provide proper assembler function boundaries with ENDPROC() 2012-12-18 21:10:20 -08:00
vmlinux.lds.S xtensa: drop CONFIG_EMBEDDED_RAMDISK 2012-10-03 15:13:09 -07:00
xtensa_ksyms.c xtensa: switch to generic kernel_thread() 2012-10-25 15:00:03 -07:00