]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
arm64: errata: Add Cortex-A510 to the repeat tlbi list
authorJames Morse <james.morse@arm.com>
Mon, 4 Jul 2022 15:57:32 +0000 (16:57 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 23 Nov 2022 14:10:38 +0000 (15:10 +0100)
commitca552eb38663aede282e29d3aa262f81d30e3ccb
treedc5494101425483eba9915e31b6b0fc7dd94165a
parent335dd6f0279c22cdc349f9881b5da219edd744e0
arm64: errata: Add Cortex-A510 to the repeat tlbi list

BugLink: https://bugs.launchpad.net/bugs/1991831
commit 39fdb65f52e9a53d32a6ba719f96669fd300ae78 upstream.

Cortex-A510 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>
Link: https://lore.kernel.org/r/20220704155732.21216-1-james.morse@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Lucas Wei <lucaswei@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Documentation/arm64/silicon-errata.rst
arch/arm64/Kconfig
arch/arm64/kernel/cpu_errata.c