diff options
author | James Morse <james.morse@arm.com> | 2022-01-25 16:40:40 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-01-28 17:15:46 +0100 |
commit | 297ae1eb23b04c5a46111ab53c8d0f69af43f402 (patch) | |
tree | 7f6edeaec2128b014116e953b0b96b6bf0802900 /arch/arm64/Kconfig | |
parent | Merge tag 'trbe-cortex-a510-errata' of gitolite.kernel.org:pub/scm/linux/kern... (diff) | |
download | linux-297ae1eb23b04c5a46111ab53c8d0f69af43f402.tar.xz linux-297ae1eb23b04c5a46111ab53c8d0f69af43f402.zip |
arm64: cpufeature: List early Cortex-A510 parts as having broken dbm
Versions of Cortex-A510 before r0p3 are affected by a hardware erratum
where the hardware update of the dirty bit is not correctly ordered.
Add these cpus to the cpu_has_broken_dbm list.
Signed-off-by: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20220125154040.549272-3-james.morse@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 1d7036e10215..f2b5a4abef21 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -670,6 +670,16 @@ config ARM64_ERRATUM_1508412 config ARM64_WORKAROUND_TRBE_OVERWRITE_FILL_MODE bool +config ARM64_ERRATUM_2051678 + bool "Cortex-A510: 2051678: disable Hardware Update of the page table dirty bit" + help + This options adds the workaround for ARM Cortex-A510 erratum ARM64_ERRATUM_2051678. + Affected Coretex-A510 might not respect the ordering rules for + hardware update of the page table's dirty bit. The workaround + is to not enable the feature on affected CPUs. + + If unsure, say Y. + config ARM64_ERRATUM_2119858 bool "Cortex-A710/X2: 2119858: workaround TRBE overwriting trace data in FILL mode" default y |