]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - arch/arm64/Kconfig
arm64: Work around Falkor erratum 1009
authorChristopher Covington <cov@codeaurora.org>
Tue, 31 Jan 2017 17:50:19 +0000 (12:50 -0500)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 23 Feb 2017 20:20:44 +0000 (14:20 -0600)
commit218c53353c7410fbbaac3d7c47ffab2322603f5a
treefb3c4a21e4e13419d191989174462e2dca53d6e5
parent3f683b475445596e7fc8ec5bab2a0b07986b86f2
arm64: Work around Falkor erratum 1009

During a TLB invalidate sequence targeting the inner shareable domain,
Falkor may prematurely complete the DSB before all loads and stores using
the old translation are observed. Instruction fetches are not subject to
the conditions of this erratum. If the original code sequence includes
multiple TLB invalidate instructions followed by a single DSB, onle one of
the TLB instructions needs to be repeated to work around this erratum.
While the erratum only applies to cases in which the TLBI specifies the
inner-shareable domain (*IS form of TLBI) and the DSB is ISH form or
stronger (OSH, SYS), this changes applies the workaround overabundantly--
to local TLBI, DSB NSH sequences as well--for simplicity.

Based on work by Shanker Donthineni <shankerd@codeaurora.org>

Signed-off-by: Christopher Covington <cov@codeaurora.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit d9ff80f83ecbf4cbdf56d32d01c312498e4fb1cd)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Documentation/arm64/silicon-errata.txt
arch/arm64/Kconfig
arch/arm64/include/asm/cpucaps.h
arch/arm64/include/asm/tlbflush.h
arch/arm64/kernel/cpu_errata.c