An error occurred while fetching folder content.
arm64: errata: Remove AES hwcap for COMPAT tasks
James Morse authored
commit 44b3834b

 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: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarJames Morse <james.morse@arm.com>
Link: https://lore.kernel.org/r/20220714161523.279570-3-james.morse@arm.com

Signed-off-by: default avatarWill Deacon <will@kernel.org>
[florian: resolved conflicts in arch/arm64/tools/cpucaps and cpu_errata.c]
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Sign...
cada070e
Name Last commit Last update
..
80211 docs-rst: sphinxify 802.11 documentation
ABI iio: ABI: Fix wrong format of differential capacitance channel ABI.
DocBook ata: make qc_prep return ata_completion_errors
EDID drm: Add 800x600 (SVGA) screen resolution to the built-in EDIDs
PCI Merge tag 'pci-v4.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
RCU kthread: kthread worker API cleanup
accounting tools: move accounting tool from Documentation
acpi Merge branches 'acpi-button', 'acpi-battery' and 'acpi-doc'
aoe aoe: remove do-nothing NAME="%k" term from example udev rules
arm ARM: 8833/1: Ensure that NEON code always compiles with Clang
arm64 arm64: errata: Remove AES hwcap for COMPAT tasks
auxdisplay samples: move auxdisplay example code from Documentation
backlight backlight: lp855x_bl: support new LP8555 device
blackfin samples: move blackfin gptimers-example from Documentation
block block: remove remnant refs to hardsect
blockdev zram: cosmetic: cleanup documentation
bus-devices ARM: OMAP2+: gpmc: generic timing calculation
cdrom doc: fix broken references
cgroup-v1 Merge tag 'doc-4.8-fixes' of git://git.lwn.net/linux
cma cma: debug: document new debugfs interface
connector samples: connector: from Documentation to samples directory
console TTY:console: update document console.txt
cpu-freq cpufreq-stats: Minor documentation fix
cpuidle cpuidle: remove cpuidle_unregister_governor()
cris CRIS: Update documentation
crypto
dev-tools
development-process
device-mapper
devicetree
dmaengine
driver-api
driver-model
early-userspace
extcon
fault-injection
fb
features
filesystems
firmware_class
fmc
fpga
frv
gpio
gpu
hid
hw-vuln
hwmon
i2c
ia64
ide
iio
infiniband
input
ioctl
isdn
ja_JP
kbuild
kdump
ko_KR
laptops
leds
livepatch
locking
m68k
media
memory-devices
metag
mic
mips
misc-devices
mmc
mn10300
mtd
namespaces
netlabel
networking
nfc
nios2
nvdimm
nvmem
parisc
pcmcia
perf
phy
platform
power
powerpc
pps
prctl
pti
ptp
rapidio
s390
scheduler
scsi
security
serial
sh
sound