]> Git Repo - linux.git/commit
xtensa: add s32c1i sanity check
authorMax Filippov <[email protected]>
Wed, 28 Nov 2012 07:33:02 +0000 (11:33 +0400)
committerChris Zankel <[email protected]>
Wed, 19 Dec 2012 05:10:22 +0000 (21:10 -0800)
commit00273125c39be9cbf619aef90147354a9ed8c385
tree331f33a0a31f9306f4612ecc25c4c9a476840966
parent28570e8dac5c86ab10ce2a7e9c02d3aaece63760
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 <[email protected]>
Signed-off-by: Max Filippov <[email protected]>
Signed-off-by: Chris Zankel <[email protected]>
arch/xtensa/Kconfig.debug
arch/xtensa/include/asm/regs.h
arch/xtensa/kernel/setup.c
This page took 0.052028 seconds and 4 git commands to generate.