riscv: Fix wrong usage of lm_alias() when splitting a huge linear mapping
[platform/kernel/linux-rpi.git] / arch / riscv / Kconfig.errata
index 0c8f465..e2c731c 100644 (file)
@@ -1,5 +1,26 @@
 menu "CPU errata selection"
 
+config ERRATA_ANDES
+       bool "Andes AX45MP errata"
+       depends on RISCV_ALTERNATIVE && RISCV_SBI
+       help
+         All Andes errata Kconfig depend on this Kconfig. Disabling
+         this Kconfig will disable all Andes errata. Please say "Y"
+         here if your platform uses Andes CPU cores.
+
+         Otherwise, please say "N" here to avoid unnecessary overhead.
+
+config ERRATA_ANDES_CMO
+       bool "Apply Andes cache management errata"
+       depends on ERRATA_ANDES && ARCH_R9A07G043
+       select RISCV_DMA_NONCOHERENT
+       default y
+       help
+         This will apply the cache management errata to handle the
+         non-standard handling on non-coherent operations on Andes cores.
+
+         If you don't know what to do here, say "Y".
+
 config ERRATA_SIFIVE
        bool "SiFive errata"
        depends on RISCV_ALTERNATIVE
@@ -56,6 +77,7 @@ config ERRATA_THEAD_PBMT
 config ERRATA_THEAD_CMO
        bool "Apply T-Head cache management errata"
        depends on ERRATA_THEAD && MMU
+       select DMA_DIRECT_REMAP
        select RISCV_DMA_NONCOHERENT
        default y
        help