diff options
author | James Morse <james.morse@arm.com> | 2022-07-14 19:15:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-30 11:41:16 +0300 |
commit | 51b96ecaedc0a12f6827f189a94f59012dde8208 (patch) | |
tree | 28b7e1fa3264e9119aee1b782c353a85ced11a38 /Documentation/kbuild/Kconfig.recursion-issue-02 | |
parent | 910ba49b33450a878128adc7d9c419dd97efd923 (diff) | |
download | linux-51b96ecaedc0a12f6827f189a94f59012dde8208.tar.xz |
arm64: errata: Remove AES hwcap for COMPAT tasks
commit 44b3834b2eed595af07021b1c64e6f9bc396398b 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: removed arch/arm64/tools/cpucaps and fixup cpufeature.c]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/kbuild/Kconfig.recursion-issue-02')
0 files changed, 0 insertions, 0 deletions