James Morse
7f6d2188ec
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: 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:20:35 +02:00
..
ABI
iio: ABI: Fix wrong format of differential capacitance channel ABI.
2022-10-26 13:22:34 +02:00
accounting
psi: Fix uaf issue when psi trigger is destroyed while being polled
2022-02-05 12:35:36 +01:00
admin-guide
x86/speculation: Add RSB VM Exit protections
2022-10-07 09:16:56 +02:00
arm
ARM: 9012/1: move device tree mapping out of linear region
2021-05-19 10:08:32 +02:00
arm64
arm64: errata: Remove AES hwcap for COMPAT tasks
2022-10-29 10:20:35 +02:00
block
bpf
cdrom
core-api
XArray: add xas_split
2021-06-10 13:37:14 +02:00
cpu-freq
crypto
dev-tools
mm, page_owner: decouple freeing stack trace from debug_pagealloc
2019-10-14 15:04:00 -07:00
devicetree
ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
2022-10-15 07:54:37 +02:00
doc-guide
driver-api
Documentation: fix firewire.rst ABI file path error
2022-01-27 09:19:52 +01:00
EDID
fault-injection
fb
fbdev: fix numbering of fbcon options
2020-02-24 08:36:42 +01:00
features
filesystems
ext4, doc: fix incorrect h_reserved size
2022-04-27 13:50:50 +02:00
firmware-guide
Documentation: ACPI: EINJ: Fix obsolete example
2022-08-25 11:18:21 +02:00
firmware_class
fpga
gpu
hid
hwmon
Revert "hwmon: Make chip parameter for with_info API mandatory"
2022-06-25 12:44:36 +02:00
i2c
ia64
ide
iio
infiniband
input
Input: iforce - add support for Boeder Force Feedback Wheel
2022-09-20 12:27:59 +02:00
ioctl
isdn
kbuild
kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
2020-08-26 10:40:47 +02:00
kernel-hacking
leds
livepatch
locking
m68k
maintainer
media
media: videodev2.h: RGB BT2020 and HSV are always full range
2020-11-05 11:43:15 +01:00
mic
mips
Main MIPS changes for v5.4:
2019-09-22 09:30:30 -07:00
misc-devices
netlabel
networking
Documentation: fix sctp_wmem in ip-sysctl.rst
2022-08-03 11:59:40 +02:00
nios2
openrisc
parisc
PCI
pcmcia
power
powerpc
process
docs: update mediator information in CoC docs
2022-10-07 09:16:57 +02:00
RCU
riscv
s390
scheduler
scsi
scsi: smartpqi: Update attribute name to driver_version
2020-01-17 19:48:27 +01:00
security
Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
2019-09-27 19:37:27 -07:00
sh
sound
ALSA: hda/realtek: Add alc256-samsung-headphone fixup
2022-04-15 14:18:25 +02:00
sparc
sphinx
tweewide: Fix most Shebang lines
2021-05-22 11:38:30 +02:00
sphinx-static
spi
target
tweewide: Fix most Shebang lines
2021-05-22 11:38:30 +02:00
timers
trace
tracing/histogram: Rename "cpu" to "common_cpu"
2021-07-28 13:31:00 +02:00
translations
usb
USB: rio500: Remove Rio 500 kernel driver
2019-10-04 10:53:36 +02:00
userspace-api
Documentation: seccomp: Fix user notification documentation
2021-06-03 08:59:03 +02:00
virt
KVM: X86: MMU: Use the correct inherited permissions to get shadow page
2021-08-15 13:08:04 +02:00
virtual
vm
arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
2022-05-15 19:54:46 +02:00
w1
watchdog
linux-watchdog 5.4-rc1 tag
2019-09-27 11:17:38 -07:00
x86
x86/CPU/AMD: Save AMD NodeId as cpu_die_id
2020-12-30 11:51:47 +01:00
xtensa
xtensa: fix TLBTEMP area placement
2020-11-24 13:29:22 +01:00
.gitignore
asm-annotations.rst
linkage: Introduce new macros for assembler symbols
2020-11-10 12:37:24 +01:00
atomic_bitops.txt
locking/atomic: Make test_and_*_bit() ordered on failure
2022-08-25 11:18:31 +02:00
atomic_t.txt
bus-virt-phys-mapping.txt
Changes
CodingStyle
conf.py
docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0
2022-06-14 18:11:49 +02:00
COPYING-logo
crc32.txt
debugging-modules.txt
debugging-via-ohci1394.txt
digsig.txt
DMA-API-HOWTO.txt
DMA-API.txt
DMA-attributes.txt
Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
2022-05-25 09:14:38 +02:00
DMA-ISA-LPC.txt
docutils.conf
dontdiff
futex-requeue-pi.txt
hwspinlock.txt
index.rst
linkage: Introduce new macros for assembler symbols
2020-11-10 12:37:24 +01:00
io-mapping.txt
io_ordering.txt
IPMI.txt
IRQ-affinity.txt
IRQ-domain.txt
IRQ.txt
irqflags-tracing.txt
Kconfig
kobject.txt
kprobes.txt
kref.txt
logo.gif
lzo.txt
lib/lzo: fix ambiguous encoding bug in lzo-rle
2020-06-17 16:40:28 +02:00
mailbox.txt
Makefile
memory-barriers.txt
nommu-mmap.txt
padata.txt
percpu-rw-semaphore.txt
pi-futex.txt
preempt-locking.txt
rbtree.txt
remoteproc.txt
robust-futex-ABI.txt
robust-futexes.txt
rpmsg.txt
speculation.txt
static-keys.txt
SubmittingPatches
tee.txt
this_cpu_ops.txt
unaligned-memory-access.txt
xz.txt