linux-stable/Documentation
James Morse cada070e9d 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-11-03 23:49:15 +09:00
..
80211 docs-rst: sphinxify 802.11 documentation 2016-10-11 16:19:17 -06:00
ABI iio: ABI: Fix wrong format of differential capacitance channel ABI. 2022-10-26 13:15:41 +02:00
accounting
acpi
aoe
arm ARM: 8833/1: Ensure that NEON code always compiles with Clang 2019-04-05 22:29:11 +02:00
arm64 arm64: errata: Remove AES hwcap for COMPAT tasks 2022-11-03 23:49:15 +09:00
auxdisplay
backlight
blackfin samples: move blackfin gptimers-example from Documentation 2016-10-10 07:12:02 -06:00
block
blockdev
bus-devices
cdrom
cgroup-v1
cma
connector
console
cpu-freq
cpuidle
cris
crypto
dev-tools mm: kmemleak: avoid using __va() on addresses that don't have a lowmem mapping 2016-10-11 15:06:33 -07:00
development-process
device-mapper dm thin: fix documentation relative to low water mark threshold 2018-05-30 07:50:20 +02:00
devicetree ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer 2022-10-26 13:15:34 +02:00
dmaengine
DocBook ata: make qc_prep return ata_completion_errors 2020-10-01 20:40:19 +02:00
driver-api
driver-model
early-userspace
EDID
extcon
fault-injection
fb
features Documentation: MIPS supports HAVE_REGS_AND_STACK_ACCESS_API 2016-10-13 17:19:19 +02:00
filesystems locks: print a warning when mount fails due to lack of "mand" support 2021-08-26 08:37:29 -04:00
firmware_class
fmc
fpga
frv
gpio gpio/board.txt: point to gpiod_set_value 2016-10-20 14:14:11 +02:00
gpu Merge tag 'drm-for-v4.9' of git://people.freedesktop.org/~airlied/linux 2016-10-11 18:12:22 -07:00
hid HID: doc: fix wrong data structure reference for UHID_OUTPUT 2019-12-05 15:34:33 +01:00
hw-vuln x86/bugs: Add "unknown" reporting for MMIO Stale Data 2022-09-05 10:23:56 +02:00
hwmon hwmon: (ina2xx) fix sysfs shunt resistor read access 2018-10-03 17:01:52 -07:00
i2c i2c: Documentation: i2c-topology: fix minor whitespace nit 2016-11-10 21:18:56 +01:00
ia64
ide
iio
infiniband
input
ioctl
isdn
ja_JP
kbuild Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2016-10-14 14:26:58 -07:00
kdump
ko_KR
laptops
leds
livepatch
locking
m68k
media media: dvb_frontend: fix return values for FE_SET_PROPERTY 2020-06-30 15:38:35 -04:00
memory-devices
metag
mic
mips
misc-devices
mmc
mn10300
mtd
namespaces
netlabel
networking ipv4: Fix data-races around sysctl_ip_dynaddr. 2022-07-21 20:40:31 +02:00
nfc
nios2
nvdimm
nvmem
parisc
PCI PCI changes for the v4.9 merge window: 2016-10-07 11:46:37 -07:00
pcmcia
perf
phy
platform
power
powerpc powerpc updates for 4.9 2016-10-07 20:19:31 -07:00
pps
prctl
pti
ptp
rapidio
RCU kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
s390
scheduler
scsi
security
serial
sh
sound
sphinx tweewide: Fix most Shebang lines 2021-06-03 08:23:27 +02:00
sphinx-static
spi Doc: update 00-INDEX files to reflect the runnable code move 2016-10-10 07:12:09 -06:00
sysctl random: fix sysctl documentation nits 2022-06-25 11:45:12 +02:00
target tweewide: Fix most Shebang lines 2021-06-03 08:23:27 +02:00
thermal
timers Doc: update 00-INDEX files to reflect the runnable code move 2016-10-10 07:12:09 -06:00
tpm
trace tweewide: Fix most Shebang lines 2021-06-03 08:23:27 +02:00
usb USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:42:26 -07:00
virtual KVM: X86: MMU: Use the correct inherited permissions to get shadow page 2022-01-29 10:15:58 +01:00
vm
w1
watchdog linux-kselftest-4.9-rc1-update 2016-10-14 15:17:12 -07:00
wimax
x86 x86/speculation/taa: Add documentation for TSX Async Abort 2019-11-16 10:29:46 +01:00
xtensa
zh_CN
.gitignore
00-INDEX Doc: update 00-INDEX files to reflect the runnable code move 2016-10-10 07:12:09 -06:00
adding-syscalls.txt
applying-patches.txt
assoc_array.txt
atomic_ops.txt
bad_memory.txt
basic_profiling.txt
bcache.txt
binfmt_misc.txt
braille-console.txt
bt8xxgpio.txt
btmrvl.txt
BUG-HUNTING
bus-virt-phys-mapping.txt
cachetlb.txt
cgroup-v2.txt
Changes kbuild: verify that $DEPMOD is installed 2018-08-17 20:59:29 +02:00
circular-buffers.txt
clk.txt
CodeOfConflict
CodingStyle
conf.py docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0 2022-06-14 16:52:36 +02:00
cpu-hotplug.txt
cpu-load.txt
cputopology.txt
crc32.txt
dcdbas.txt
debugging-modules.txt
debugging-via-ohci1394.txt
dell_rbu.txt
devices.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-06-25 11:45:19 +02:00
dma-buf-sharing.txt
DMA-ISA-LPC.txt
docutils.conf
dontdiff
dynamic-debug-howto.txt
edac.txt
efi-stub.txt
eisa.txt
email-clients.txt
flexible-arrays.txt
futex-requeue-pi.txt
gcc-plugins.txt
highuid.txt
HOWTO
hw_random.txt
hwspinlock.txt
index.rst Documentation: Move L1TF to separate directory 2019-05-14 19:19:41 +02:00
init.txt
initrd.txt
Intel-IOMMU.txt
intel_txt.txt
io-mapping.txt
io_ordering.txt
iostats.txt
IPMI.txt
IRQ-affinity.txt
IRQ-domain.txt
IRQ.txt
irqflags-tracing.txt
isa.txt
isapnp.txt
java.txt
kernel-doc-nano-HOWTO.txt
kernel-docs.txt
kernel-documentation.rst
kernel-parameters.txt random: treat bootloader trust toggle the same way as cpu trust toggle 2022-06-25 11:45:11 +02:00
kernel-per-CPU-kthreads.txt
kobject.txt
kprobes.txt
kref.txt
kselftest.txt
ldm.txt
local_ops.txt
lockup-watchdogs.txt
logo.gif
logo.txt
lzo.txt
magic-number.txt
mailbox.txt
Makefile samples: move blackfin gptimers-example from Documentation 2016-10-10 07:12:02 -06:00
Makefile.sphinx
ManagementStyle
md-cluster.txt
md.txt
memory-barriers.txt
memory-hotplug.txt
men-chameleon-bus.txt
module-signing.txt
mono.txt
nommu-mmap.txt
ntb.txt
numastat.txt
oops-tracing.txt
padata.txt
parport-lowlevel.txt
parport.txt
percpu-rw-semaphore.txt
phy.txt
pi-futex.txt
pinctrl.txt
pnp.txt
preempt-locking.txt
printk-formats.txt lib/vsprintf: Remove atomic-unsafe support for %pCr 2018-07-03 11:23:06 +02:00
pwm.txt
ramoops.txt
rbtree.txt rbtree: cache leftmost node internally 2022-01-27 08:47:42 +01:00
remoteproc.txt
rfkill.txt
robust-futex-ABI.txt
robust-futexes.txt
rpmsg.txt
rtc.txt
SAK.txt
SecurityBugs
serial-console.txt
sgi-ioc4.txt
siphash.txt siphash: implement HalfSipHash1-3 for hash tables 2019-08-25 10:51:42 +02:00
SM501.txt
smsc_ece1099.txt
spec_ctrl.txt x86/speculation: Add prctl() control for indirect branch speculation 2019-05-14 19:19:39 +02:00
speculation.txt Documentation: Document array_index_nospec 2018-02-13 12:35:59 +01:00
stable_api_nonsense.txt
stable_kernel_rules.txt Documentation: stable-kernel-rules: fix stable-tag format 2017-04-12 12:41:15 +02:00
static-keys.txt
SubmitChecklist
SubmittingDrivers
SubmittingPatches
svga.txt
sync_file.txt
sysfs-rules.txt
sysrq.txt
this_cpu_ops.txt
unaligned-memory-access.txt
unicode.txt
unshare.txt
vfio.txt
VGA-softcursor.txt
video-output.txt
vme_api.txt
volatile-considered-harmful.txt
workqueue.txt
xillybus.txt
xz.txt
zorro.txt