linux-stable/arch/arm
James Morse 623e1528d4 KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation
KVM has helpers to handle the condition codes of trapped aarch32
instructions. These are marked __hyp_text and used from HYP, but they
aren't built by the 'hyp' Makefile, which has all the runes to avoid ASAN
and KCOV instrumentation.

Move this code to a new hyp/aarch32.c to avoid a hyp-panic when starting
an aarch32 guest on a host built with the ASAN/KCOV debug options.

Fixes: 021234ef37 ("KVM: arm64: Make kvm_condition_valid32() accessible from EL2")
Fixes: 8cebe750c4 ("arm64: KVM: Make kvm_skip_instr32 available to HYP")
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2019-05-24 14:53:20 +01:00
..
boot Merge tag 'omap-for-v5.1/fixes-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/late 2019-05-16 10:53:18 -07:00
common treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
configs ARM: SoC: late updates 2019-05-19 10:16:39 -07:00
crypto
include * ARM: support for SVE and Pointer Authentication in guests, PMU improvements 2019-05-17 10:33:30 -07:00
kernel More power management updates for 5.2-rc1 2019-05-15 08:46:44 -07:00
kvm KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation 2019-05-24 14:53:20 +01:00
lib
mach-actions
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-05-19 11:11:20 -07:00
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-cns3xxx
mach-davinci One more patch to remove io.h from clk-provider.h. We used to need this 2019-05-16 19:05:35 -07:00
mach-digicolor
mach-dove clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mach-ebsa110
mach-efm32
mach-ep93xx ARM: SoC platform updates 2019-05-16 08:31:32 -07:00
mach-exynos
mach-footbridge
mach-gemini
mach-highbank
mach-hisi
mach-imx ARM: SoC platform updates 2019-05-16 08:31:32 -07:00
mach-integrator treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-iop13xx treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-iop32x
mach-iop33x
mach-ixp4xx ARM: ixp4xx: Remove duplicated include from common.c 2019-05-16 10:53:15 -07:00
mach-keystone
mach-ks8695 treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-lpc18xx
mach-lpc32xx
mach-mediatek clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mach-meson
mach-milbeaut
mach-mmp
mach-moxart
mach-mv78xx0 clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mach-mvebu Merge tag 'mvebu-arm-5.2-1' of git://git.infradead.org/linux-mvebu into arm/late 2019-05-16 10:53:23 -07:00
mach-mxs
mach-netx
mach-nomadik
mach-npcm
mach-nspire
mach-omap1 Merge tag 'omap-for-v5.1/fixes-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/late 2019-05-16 10:53:18 -07:00
mach-omap2 ARM: SoC-related driver updates 2019-05-16 09:19:14 -07:00
mach-orion5x clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mach-oxnas
mach-picoxcell
mach-prima2 treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-pxa treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-qcom
mach-rda
mach-realview
mach-rockchip One more patch to remove io.h from clk-provider.h. We used to need this 2019-05-16 19:05:35 -07:00
mach-rpc
mach-s3c24xx treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-s3c64xx
mach-s5pv210
mach-sa1100 treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-shmobile
mach-socfpga
mach-spear
mach-sti
mach-stm32 ARM: stm32: add AMBA support for stm32 family 2019-04-28 23:01:47 -07:00
mach-sunxi
mach-tango
mach-tegra ARM: SoC-related driver updates 2019-05-16 09:19:14 -07:00
mach-u300 ARM: u300: regulator: add MODULE_LICENSE() 2019-04-28 23:10:36 -07:00
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress
mach-vt8500
mach-w90x900 treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-zx
mach-zynq clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mm ARM development updates: 2019-05-16 09:41:54 -07:00
net
nwfpe
oprofile
plat-iop
plat-omap Remove MODULE_ALIAS() calls that take undefined macro 2019-05-07 21:50:24 +09:00
plat-orion
plat-pxa
plat-samsung
plat-versatile
probes
tools uapi: Wire up the mount API syscalls on non-x86 arches [ver #2] 2019-05-16 12:23:45 -04:00
vdso ARM development updates: 2019-05-16 09:41:54 -07:00
vfp
xen xen/arm: Use p2m entry with lock protection 2019-04-30 11:26:08 -07:00
Kconfig ARM: SoC platform updates 2019-05-16 08:31:32 -07:00
Kconfig-nommu
Kconfig.debug ARM: SoC platform updates 2019-05-16 08:31:32 -07:00
Makefile ARM development updates: 2019-05-16 09:41:54 -07:00