original_kernel/arch/arm64/kvm
Marc Zyngier 78fd6dcf11 arm64: KVM: Allow unaligned accesses at EL2
We currently have the SCTLR_EL2.A bit set, trapping unaligned accesses
at EL2, but we're not really prepared to deal with it. So far, this
has been unnoticed, until GCC 7 started emitting those (in particular
64bit writes on a 32bit boundary).

Since the rest of the kernel is pretty happy about that, let's follow
its example and set SCTLR_EL2.A to zero. Modern CPUs don't really
care.

Cc: stable@vger.kernel.org
Reported-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
2017-06-06 22:20:02 +02:00
..
hyp arm64: KVM: Do not use stack-protector to compile EL2 code 2017-05-15 11:31:16 +02:00
Kconfig
Makefile
debug.c
guest.c
handle_exit.c
hyp-init.S arm64: KVM: Allow unaligned accesses at EL2 2017-06-06 22:20:02 +02:00
hyp.S
inject_fault.c
irq.h
regmap.c
reset.c
sys_regs.c Second round of KVM/ARM Changes for v4.12. 2017-05-09 12:51:49 +02:00
sys_regs.h
sys_regs_generic_v8.c
trace.h
vgic-sys-reg-v3.c KVM: arm/arm64: Fix isues with GICv2 on GICv3 migration 2017-05-24 09:44:07 +02:00