linux/arch/arm
Ard Biesheuvel e5c46fde75 ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction
After emulating a misaligned load or store issued in Thumb mode, we have
to advance the IT state by hand, or it will get out of sync with the
actual instruction stream, which means we'll end up applying the wrong
condition code to subsequent instructions. This might corrupt the
program state rather catastrophically.

So borrow the it_advance() helper from the probing code, and use it on
CPSR if the emulated instruction is Thumb.

Cc: <stable@vger.kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
2022-07-06 22:44:49 +01:00
..
boot USB / Thunderbolt changes for 5.19-rc1 2022-06-03 11:17:49 -07:00
common
configs ARM: omap1: enable multiplatform 2022-06-03 20:48:53 +02:00
crypto
include ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction 2022-07-06 22:44:49 +01:00
kernel This set of changes updates init and user mode helper tasks to be 2022-06-03 16:03:05 -07:00
lib
mach-actions
mach-airoha
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 AT91 SoC #2 for 5.19: 2022-05-27 15:56:30 +02:00
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-cns3xxx
mach-davinci gpio updates for v5.19 2022-05-26 14:51:38 -07:00
mach-digicolor
mach-dove
mach-ep93xx ARM: ep93xx: Make ts72xx_register_flash() static 2022-05-27 16:00:58 +02:00
mach-exynos ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-footbridge
mach-gemini
mach-highbank
mach-hisi ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-hpe ARM: hpe: Introduce the HPE GXP architecture 2022-05-18 14:05:53 +02:00
mach-imx
mach-iop32x ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-ixp4xx ARM: ixp4xx: Consolidate Kconfig fixing issue 2022-05-25 15:54:11 +02:00
mach-keystone
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-milbeaut
mach-mmp ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
mach-moxart
mach-mstar
mach-mv78xx0
mach-mvebu
mach-mxs
mach-nomadik ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-npcm
mach-nspire
mach-omap1 ARM: omap1: enable multiplatform 2022-06-03 20:48:53 +02:00
mach-omap2 ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-orion5x ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-oxnas
mach-pxa ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
mach-qcom
mach-rda
mach-realtek
mach-rockchip
mach-rpc
mach-s3c ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-s5pv210
mach-sa1100
mach-shmobile ARM: shmobile: rcar-gen2: Drop comma after OF match table sentinel 2022-05-05 12:32:40 +02:00
mach-socfpga
mach-spear
mach-sti
mach-stm32
mach-sunxi ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-tegra
mach-uniphier
mach-ux500
mach-versatile ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
mach-vt8500
mach-zynq
mm ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction 2022-07-06 22:44:49 +01:00
net
nwfpe
plat-orion
probes ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction 2022-07-06 22:44:49 +01:00
tools
vdso randstruct: Split randstruct Makefile and CFLAGS 2022-05-08 01:33:06 -07:00
vfp
xen dma-mapping updates for Linux 5.19 2022-05-25 19:18:36 -07:00
Kbuild
Kconfig ARM: omap1: enable multiplatform 2022-06-03 20:48:53 +02:00
Kconfig-nommu
Kconfig.assembler
Kconfig.debug ARM: ARMv4T/v5 multiplatform support for v5.19, part 1 2022-05-26 10:43:09 -07:00
Makefile ARM: SoC changes, part 2 2022-06-02 15:27:44 -07:00