xtensa: add s32c1i sanity check
[sfrench/cifs-2.6.git] / arch / xtensa / Kconfig.debug
index be5fb4c6243f06cbad370dce103d15acdbaaa700..a34010e0e51c3fcfece542266886ced6563a47eb 100644 (file)
@@ -13,4 +13,15 @@ config LD_NO_RELAX
          Enabling this option improves the link time but increases the
          code size, and possibly execution time.
 
+config S32C1I_SELFTEST
+       bool "Perform S32C1I instruction self-test at boot"
+       default y
+       help
+         Enable this option to test S32C1I instruction behavior at boot.
+         Correct operation of this instruction requires some cooperation from hardware
+         external to the processor (such as bus bridge, bus fabric, or memory controller).
+         It is easy to make wrong hardware configuration, this test should catch it early.
+
+         Say 'N' on stable hardware.
+
 endmenu