xen/arm: Add workaround for Cortex-A55 erratum #1530923
authorBertrand Marquis <bertrand.marquis@arm.com>
Tue, 24 Nov 2020 11:12:15 +0000 (11:12 +0000)
committerJulien Grall <jgrall@amazon.com>
Wed, 25 Nov 2020 11:17:27 +0000 (11:17 +0000)
commitfd7479b9aec25885cc17d33b326b9babae59faee
treeaaa2576f5a7ec621b504d9c7acf604f0494c5186
parent9b156bcc3ffcc7949edd4460b718a241e87ae302
xen/arm: Add workaround for Cortex-A55 erratum #1530923

On the Cortex A55, TLB entries can be allocated by a speculative AT
instruction. If this is happening during a guest context switch with an
inconsistent page table state in the guest, TLBs with wrong values might
be allocated.
The ARM64_WORKAROUND_AT_SPECULATE workaround is used as for erratum
1165522 on Cortex A76 or Neoverse N1.

This change is also introducing the MIDR identifier for the Cortex-A55.

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Rahul Singh <rahul.singh@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Julien Grall <jgrall@amazon.com>
docs/misc/arm/silicon-errata.txt
xen/arch/arm/cpuerrata.c
xen/include/asm-arm/processor.h