WSL2-Linux-Kernel/Documentation/arm64
James Morse 8ddc58e0e3 arm64: errata: Remove AES hwcap for COMPAT tasks
commit 44b3834b2e upstream.

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>
[florian: resolved conflicts in arch/arm64/tools/cpucaps and cpu_errata.c]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-29 10:12:53 +02:00
..
acpi_object_usage.rst Documentation: arm64/acpi : clarify arm64 support of IBFT 2021-03-22 12:43:20 +00:00
amu.rst
arm-acpi.rst
asymmetric-32bit.rst Documentation: arm64: describe asymmetric 32-bit support 2021-08-20 12:33:07 +02:00
booting.rst arm64: Document the requirement for SCR_EL3.HCE 2021-08-24 16:44:23 +01:00
cpu-feature-registers.rst arm64: cpufeature: add HWCAP for FEAT_RPRES 2022-03-11 12:22:33 +01:00
elf_hwcaps.rst arm64: cpufeature: add HWCAP for FEAT_RPRES 2022-03-11 12:22:33 +01:00
features.rst
hugetlbpage.rst
index.rst Documentation: arm64: describe asymmetric 32-bit support 2021-08-20 12:33:07 +02:00
kasan-offsets.sh
legacy_instructions.rst
memory-tagging-extension.rst Documentation: document the preferred tag checking mode feature 2021-07-28 18:39:26 +01:00
memory.rst ARM: 2020-12-20 10:44:05 -08:00
perf.rst
pointer-authentication.rst arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS) 2021-04-13 17:31:44 +01:00
silicon-errata.rst arm64: errata: Remove AES hwcap for COMPAT tasks 2022-10-29 10:12:53 +02:00
sve.rst
tagged-address-abi.rst userfaultfd: do not untag user pointers 2021-07-23 17:43:28 -07:00
tagged-pointers.rst