arm64: Add workaround for Cavium erratum 27456
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / Kconfig
index 871f21783866d5fdb1557ec56e5f13b602ba331a..c7236d1a3f649454feec19837a4c418895f3d8fd 100644 (file)
@@ -401,6 +401,17 @@ config CAVIUM_ERRATUM_23154
 
          If unsure, say Y.
 
+config CAVIUM_ERRATUM_27456
+       bool "Cavium erratum 27456: Broadcast TLBI instructions may cause icache corruption"
+       default y
+       help
+         On ThunderX T88 pass 1.x through 2.1 parts, broadcast TLBI
+         instructions may cause the icache to become corrupted if it
+         contains data for a non-current ASID.  The fix is to
+         invalidate the icache when changing the mm context.
+
+         If unsure, say Y.
+
 endmenu