ARM: 7017/1: Use generic BUG() handler
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / Kconfig
index 5ebc5d922ea14984e10ef8e10f47d414469efa7c..1412da8ccf0599bea78497e10d2a6f138de60ef3 100644 (file)
@@ -215,6 +215,10 @@ config ARM_PATCH_PHYS_VIRT_16BIT
          to allow physical memory down to a theoretical minimum of 64K
          boundaries.
 
+config GENERIC_BUG
+       def_bool y
+       depends on BUG
+
 source "init/Kconfig"
 
 source "kernel/Kconfig.freezer"
@@ -1271,6 +1275,18 @@ config ARM_ERRATA_754327
          This workaround defines cpu_relax() as smp_mb(), preventing correctly
          written polling loops from denying visibility of updates to memory.
 
+config ARM_ERRATA_364296
+       bool "ARM errata: Possible cache data corruption with hit-under-miss enabled"
+       depends on CPU_V6 && !SMP
+       help
+         This options enables the workaround for the 364296 ARM1136
+         r0p2 erratum (possible cache data corruption with
+         hit-under-miss enabled). It sets the undocumented bit 31 in
+         the auxiliary control register and the FI bit in the control
+         register, thus disabling hit-under-miss without putting the
+         processor into full low interrupt latency mode. ARM11MPCore
+         is not affected.
+
 endmenu
 
 source "arch/arm/common/Kconfig"