linux-stable/arch/xtensa/include/asm
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
..
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
asmmacro.h
atomic.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
barrier.h Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
bitops.h Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
bootparam.h
bugs.h
cache.h dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN 2010-08-11 08:59:21 -07:00
cacheasm.h
cacheflush.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
checksum.h xtensa: Fix checksum header file 2009-05-11 21:48:23 -07:00
cmpxchg.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
coprocessor.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
current.h
delay.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
dma-mapping.h xtensa: provide DMA_ERROR_CODE definition 2012-12-18 21:10:21 -08:00
dma.h Fix common misspellings 2011-03-31 11:26:23 -03:00
elf.h cross-arch: don't corrupt personality flags upon exec() 2012-10-06 03:04:47 +09:00
fb.h
flat.h xtensa: add flat support 2009-04-02 23:41:29 -07:00
ftrace.h tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
gpio.h gpiolib/arches: Centralise bolierplate asm/gpio.h 2012-05-11 18:00:14 -06:00
highmem.h
hw_irq.h
initialize_mmu.h xtensa: initialize atomctl SR 2012-12-18 21:10:22 -08:00
io.h xtensa: use physical addresses for bus addresses 2012-10-25 14:53:36 -07:00
irq.h xtensa: allow variant to initialize own irq chips 2009-06-22 02:36:59 -07:00
irqflags.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
Kbuild tracing,x86: Add a TSC trace_clock 2012-11-13 15:48:27 -05:00
linkage.h
mmu.h xtensa: nommu support 2009-04-02 23:41:50 -07:00
mmu_context.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
module.h Make most arch asm/module.h files use asm-generic/module.h 2012-09-28 14:31:03 +09:30
mutex.h
nommu.h xtensa: nommu support 2009-04-02 23:41:50 -07:00
nommu_context.h xtensa: nommu support 2009-04-02 23:41:50 -07:00
page.h xtensa/mm: remove WANT_PAGE_VIRTUAL 2011-05-25 08:39:02 -07:00
param.h UAPI: (Scripted) Disintegrate arch/xtensa/include/asm 2012-10-15 21:48:53 -07:00
pci-bridge.h
pci.h PCI: Xtensa: convert pcibios_set_master() to a non-inlined function 2012-01-06 12:10:41 -08:00
pgalloc.h xtensa: Shuffle include statements to fix linker script 2010-05-02 01:05:13 -07:00
pgtable.h mm: remove pte_*map_nested() 2010-10-26 16:52:08 -07:00
platform.h xtensa: remove platform rtc hooks 2009-04-02 23:45:07 -07:00
processor.h xtensa: switch to generic kernel_thread() 2012-10-25 15:00:03 -07:00
ptrace.h xtensa: save and restore scompare1 SR on kernel entry 2012-12-18 21:10:22 -08:00
regs.h xtensa: add s32c1i sanity check 2012-12-18 21:10:22 -08:00
rwsem.h rwsem: Move duplicate function prototypes to linux/rwsem.h 2011-01-27 12:30:39 +01:00
segment.h
serial.h
shmparam.h
signal.h unify default ptrace_signal_deliver 2012-11-29 00:01:23 -05:00
smp.h
spinlock.h
string.h xtensa: fix memscan() 2012-02-03 16:16:40 -08:00
switch_to.h Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
syscall.h xtensa: switch to generic clone() 2012-11-28 23:43:41 -05:00
thread_info.h bury the rest of TIF_IRET 2012-10-01 09:58:13 -04:00
timex.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
tlb.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
tlbflush.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
traps.h xtensa: add trap_set_handler function 2012-12-18 21:10:22 -08:00
types.h UAPI: (Scripted) Disintegrate arch/xtensa/include/asm 2012-10-15 21:48:53 -07:00
uaccess.h Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
ucontext.h
unaligned.h
unistd.h xtensa: switch to generic clone() 2012-11-28 23:43:41 -05:00
user.h
vga.h