-
- Downloads
arm64: KVM: Add workaround for Cortex-A57 erratum 834220
Cortex-A57 parts up to r1p2 can misreport Stage 2 translation faults when a Stage 1 permission fault or device alignment fault should have been reported. This patch implements the workaround (which is to validate that the Stage-1 translation actually succeeds) by using code patching. Cc: stable@vger.kernel.org Reviewed-by:Will Deacon <will.deacon@arm.com> Signed-off-by:
Marc Zyngier <marc.zyngier@arm.com> Signed-off-by:
Christoffer Dall <christoffer.dall@linaro.org>
Showing
- arch/arm64/Kconfig 21 additions, 0 deletionsarch/arm64/Kconfig
- arch/arm64/include/asm/cpufeature.h 2 additions, 1 deletionarch/arm64/include/asm/cpufeature.h
- arch/arm64/kernel/cpu_errata.c 9 additions, 0 deletionsarch/arm64/kernel/cpu_errata.c
- arch/arm64/kvm/hyp.S 6 additions, 0 deletionsarch/arm64/kvm/hyp.S
Please register or sign in to comment