Commit 950464b2 authored by Andrew Pinski's avatar Andrew Pinski Committed by Greg Kroah-Hartman
Browse files

arm64: Add workaround for Cavium erratum 27456



[ Upstream commit 104a0c02 ]

On ThunderX T88 pass 1.x through 2.1 parts, broadcast TLBI
instructions may cause the icache to become corrupted if it contains
data for a non-current ASID.

This patch implements the workaround (which invalidates the local
icache when switching the mm) by using code patching.

Signed-off-by: default avatarAndrew Pinski <apinski@cavium.com>
Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
Reviewed-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e7c3692b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment