Commit 5c811fc8 authored by Andre Przywara's avatar Andre Przywara Committed by Sami Tolvanen
Browse files

UPSTREAM: arm64: add Cortex-A53 cache errata workaround



The ARM errata 819472, 826319, 827319 and 824069 define the same
workaround for these hardware issues in certain Cortex-A53 parts.
Use the new alternatives framework and the CPU MIDR detection to
patch "cache clean" into "cache clean and invalidate" instructions if
an affected CPU is detected at runtime.

Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
[will: add __maybe_unused to squash gcc warning]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>

Bug: 31432001
Change-Id: Ia123231c6631b13bac45b54f60ee076fd4ede56e
(cherry picked from commit 301bcfac)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent b85a9934
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment