1 menu "CPU errata selection"
6 select RISCV_ALTERNATIVE
8 All SiFive errata Kconfig depend on this Kconfig. Disabling
9 this Kconfig will disable all SiFive errata. Please say "Y"
10 here if your platform uses SiFive CPU cores.
12 Otherwise, please say "N" here to avoid unnecessary overhead.
14 config ERRATA_SIFIVE_CIP_453
15 bool "Apply SiFive errata CIP-453"
16 depends on ERRATA_SIFIVE && 64BIT
19 This will apply the SiFive CIP-453 errata to add sign extension
20 to the $badaddr when exception type is instruction page fault
21 and instruction access fault.
23 If you don't know what to do here, say "Y".
25 config ERRATA_SIFIVE_CIP_1200
26 bool "Apply SiFive errata CIP-1200"
27 depends on ERRATA_SIFIVE && 64BIT
30 This will apply the SiFive CIP-1200 errata to repalce all
31 "sfence.vma addr" with "sfence.vma" to ensure that the addr
32 has been flushed from TLB.
34 If you don't know what to do here, say "Y".
38 depends on !XIP_KERNEL
39 select RISCV_ALTERNATIVE
41 All T-HEAD errata Kconfig depend on this Kconfig. Disabling
42 this Kconfig will disable all T-HEAD errata. Please say "Y"
43 here if your platform uses T-HEAD CPU cores.
45 Otherwise, please say "N" here to avoid unnecessary overhead.
47 config ERRATA_THEAD_PBMT
48 bool "Apply T-Head memory type errata"
49 depends on ERRATA_THEAD && 64BIT && MMU
50 select RISCV_ALTERNATIVE_EARLY
53 This will apply the memory type errata to handle the non-standard
54 memory type bits in page-table-entries on T-Head SoCs.
56 If you don't know what to do here, say "Y".
58 config ERRATA_THEAD_CMO
59 bool "Apply T-Head cache management errata"
60 depends on ERRATA_THEAD && MMU
61 select RISCV_DMA_NONCOHERENT
64 This will apply the cache management errata to handle the
65 non-standard handling on non-coherent operations on T-Head SoCs.
67 If you don't know what to do here, say "Y".
69 endmenu # "CPU errata selection"