linux/arch/arm64/tools
James Morse 019aa3dd4e arm64: errata: Remove AES hwcap for COMPAT tasks
[ Upstream commit 44b3834b2e ]

Cortex-A57 and Cortex-A72 have an erratum where an interrupt that
occurs between a pair of AES instructions in aarch32 mode may corrupt
the ELR. The task will subsequently produce the wrong AES result.

The AES instructions are part of the cryptographic extensions, which are
optional. User-space software will detect the support for these
instructions from the hwcaps. If the platform doesn't support these
instructions a software implementation should be used.

Remove the hwcap bits on affected parts to indicate user-space should
not use the AES instructions.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20220714161523.279570-3-james.morse@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2022-08-17 15:14:00 +02:00
..
cpucaps arm64: errata: Remove AES hwcap for COMPAT tasks 2022-08-17 15:14:00 +02:00
gen-cpucaps.awk arm64: tools: Add __ASM_CPUCAPS_H to the endif in cpucaps.h 2021-05-13 17:57:43 +01:00
gen-sysreg.awk arm64/sysreg: Fix typo in Enum element regex 2022-06-10 16:23:48 +01:00
Makefile arm64/sysreg: Enable automatic generation of system register definitions 2022-05-04 15:30:28 +01:00
sysreg arm64/sysreg: Generate definitions for FAR_ELx 2022-05-20 18:49:58 +01:00