CPU errata selection
CONFIG_ERRATA_ANDES Andes AX45MP errata
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.
- Depends on
RISCV_SBI
CONFIG_ERRATA_ANDES_CMO Apply Andes cache management errata
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".
- Depends on
ERRATA_ANDES && - Selects
RISCV_DMA_NONCOHERENT
CONFIG_ERRATA_MIPS MIPS errata
All MIPS errata Kconfig depend on this Kconfig. Disabling this Kconfig will disable all MIPS errata. Please say "Y" here if your platform uses MIPS CPU cores.
Otherwise, please say "N" here to avoid unnecessary overhead.
- Selects
RISCV_ALTERNATIVE_EARLY
CONFIG_ERRATA_MIPS_P8700_PAUSE_OPCODE Fix the PAUSE Opcode for MIPS P8700
The RISCV MIPS P8700 uses a different opcode for PAUSE. It is a 'hint' encoding of the SLLI instruction, with rd=0, rs1=0 and imm=5. It will behave as a NOP instruction if no additional behavior beyond that of SLLI is implemented.
If you are not using the P8700 processor, say n.
- Depends on
ERRATA_MIPS &&
CONFIG_ERRATA_MIPS_P8700_WFI Replace WFI with mips.pause for MIPS P8700
The RISCV MIPS P8700 has bugs with the WFI instruction. This errata replaces all WFI instructions with the MIPS P8700 pause opcode to avoid these issues.
If you are not using the P8700 processor, say n.
- Depends on
ERRATA_MIPS &&
CONFIG_ERRATA_SIFIVE SiFive errata
All SiFive errata Kconfig depend on this Kconfig. Disabling this Kconfig will disable all SiFive errata. Please say "Y" here if your platform uses SiFive CPU cores.
Otherwise, please say "N" here to avoid unnecessary overhead.
- Depends on
CONFIG_ERRATA_SIFIVE_CIP_453 Apply SiFive errata CIP-453
This will apply the SiFive CIP-453 errata to add sign extension to the $badaddr when exception type is instruction page fault and instruction access fault.
If you don't know what to do here, say "Y".
- Depends on
ERRATA_SIFIVE &&
CONFIG_ERRATA_SIFIVE_CIP_1200 Apply SiFive errata CIP-1200
This will apply the SiFive CIP-1200 errata to repalce all "sfence.vma addr" with "sfence.vma" to ensure that the addr has been flushed from TLB.
If you don't know what to do here, say "Y".
- Depends on
ERRATA_SIFIVE &&
CONFIG_ERRATA_STARFIVE_JH7100 StarFive JH7100 support
The StarFive JH7100 was a test chip for the JH7110 and has caches that are non-coherent with respect to peripheral DMAs. It was designed before the Zicbom extension so needs non-standard cache operations through the SiFive cache controller.
Say "Y" if you want to support the BeagleV Starlight and/or StarFive VisionFive V1 boards.
- Depends on
ARCH_STARFIVE - Depends on
!DMA_DIRECT_REMAP - Depends on
NONPORTABLE - Selects
DMA_GLOBAL_POOL - Selects
RISCV_DMA_NONCOHERENT - Selects
RISCV_NONSTANDARD_CACHE_OPS - Selects
CACHEMAINT_FOR_DMA - Selects
SIFIVE_CCACHE
CONFIG_ERRATA_SIFIVE_MAL_9092 Apply SiFive HLV/HLVX/HSV fence errata
This will apply the SiFive MAL-9092 errata to add fence.rw instructions around all HLV/HLVX/HSV instructions.
Note: HSTATUS.HU is cleared during KVM initialization. If future changes enable HSTATUS.HU to allow hypervisor instructions in U-mode, additional errata handling may be required.
If you don't know what to do here, say "Y".
- Depends on
ERRATA_SIFIVE &&
CONFIG_ERRATA_THEAD T-HEAD errata
CONFIG_ERRATA_THEAD_MAE Apply T-Head's memory attribute extension (XTheadMae) errata
This will apply the memory attribute extension errata to handle the non-standard PTE utilization on T-Head SoCs (XTheadMae).
If you don't know what to do here, say "Y".
- Depends on
ERRATA_THEAD && && - Selects
RISCV_ALTERNATIVE_EARLY
CONFIG_ERRATA_THEAD_CMO Apply T-Head cache management errata
This will apply the cache management errata to handle the non-standard handling on non-coherent operations on T-Head SoCs.
If you don't know what to do here, say "Y".
- Depends on
ERRATA_THEAD && - Selects
DMA_DIRECT_REMAP - Selects
RISCV_DMA_NONCOHERENT - Selects
RISCV_NONSTANDARD_CACHE_OPS
CONFIG_ERRATA_THEAD_PMU Apply T-Head PMU errata
The T-Head C9xx cores implement a PMU overflow extension very similar to the core SSCOFPMF extension.
This will apply the overflow errata to handle the non-standard behaviour via the regular SBI PMU driver and interface.
If you don't know what to do here, say "Y".
- Depends on
ERRATA_THEAD && RISCV_PMU_SBI
CONFIG_ERRATA_THEAD_GHOSTWRITE Apply T-Head Ghostwrite errata
The T-Head C9xx cores have a vulnerability in the xtheadvector instruction set. When this errata is enabled, the CPUs will be probed to determine if they are vulnerable and disable xtheadvector.
If you don't know what to do here, say "Y".
- Depends on
ERRATA_THEAD && RISCV_ISA_XTHEADVECTOR - Selects
RISCV_ALTERNATIVE_EARLY
- arch/alpha/Kconfig:89
- arch/arc/Kconfig:70
- arch/arm/Kconfig:319
- arch/arm64/Kconfig:278
- arch/csky/Kconfig:160
- arch/hexagon/Kconfig:57
- arch/loongarch/Kconfig:787
- arch/m68k/Kconfig:84
- arch/microblaze/Kconfig:93
- arch/mips/Kconfig:3046
- arch/nios2/Kconfig:69
- arch/openrisc/Kconfig:54
- arch/parisc/Kconfig:106
- arch/powerpc/Kconfig:30
- arch/riscv/Kconfig:292
- arch/s390/Kconfig:2
- arch/sh/mm/Kconfig:4
- arch/sparc/Kconfig:140
- arch/um/Kconfig:52
- arch/x86/Kconfig:356
- arch/xtensa/Kconfig:94