arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 31 Oct 2019 21:47:25 +0000 (14:47 -0700)
committerWill Deacon <will@kernel.org>
Fri, 1 Nov 2019 10:47:37 +0000 (10:47 +0000)
commit1cf45b8fdbb87040e1d1bd793891089f4678aa41
tree1b7b3149e0a42b145bdad778a57dbc2b516ae6fc
parente059770cb1cdfbcbe3f1748f76005861cc79dd1a
arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core

The Broadcom Brahma-B53 core is susceptible to the issue described by
ARM64_ERRATUM_843419 so this commit enables the workaround to be applied
when executing on that core.

Since there are now multiple entries to match, we must convert the
existing ARM64_ERRATUM_843419 into an erratum list and use
cpucap_multi_entry_cap_matches to match our entries.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/arm64/silicon-errata.rst
arch/arm64/kernel/cpu_errata.c