diff options
author | James Morse <[email protected]> | 2022-07-14 17:15:23 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-07-19 19:27:01 +0100 |
commit | 44b3834b2eed595af07021b1c64e6f9bc396398b (patch) | |
tree | 6edd3d5aeff720c50d407985db85f122ca3bd394 /lib/mpi/mpi-cmp.c | |
parent | 39fdb65f52e9a53d32a6ba719f96669fd300ae78 (diff) |
arm64: errata: Remove AES hwcap for COMPAT tasks
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 <[email protected]>
Signed-off-by: James Morse <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions