arm64: errata: Add Cortex-A55 to the repeat tlbi list
authorJames Morse <james.morse@arm.com>
Fri, 30 Sep 2022 13:19:59 +0000 (14:19 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 7 Oct 2022 13:42:20 +0000 (14:42 +0100)
commit171df58028bf4649460fb146a56a58dcb0c8f75a
treef2d404265dbde354b2f6768c8c66e3eab4015e19
parente1567b4f0eec779af99b372773ddeb5be9b6208b
arm64: errata: Add Cortex-A55 to the repeat tlbi list

Cortex-A55 is affected by an erratum where in rare circumstances the
CPUs may not handle a race between a break-before-make sequence on one
CPU, and another CPU accessing the same page. This could allow a store
to a page that has been unmapped.

Work around this by adding the affected CPUs to the list that needs
TLB sequences to be done twice.

Signed-off-by: James Morse <james.morse@arm.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220930131959.3082594-1-james.morse@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/arm64/silicon-errata.rst
arch/arm64/Kconfig
arch/arm64/kernel/cpu_errata.c