]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
arm: KVM: Allow unaligned accesses at HYP
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Jun 2017 18:08:35 +0000 (19:08 +0100)
committerChristoffer Dall <cdall@linaro.org>
Tue, 6 Jun 2017 20:20:02 +0000 (22:20 +0200)
commit33b5c38852b29736f3b472dd095c9a18ec22746f
treeb15b4efb4211b2e6670fb6d3bbcc2dd740272cb0
parent78fd6dcf11468a5a131b8365580d0c613bcc02cb
arm: KVM: Allow unaligned accesses at HYP

We currently have the HSCTLR.A bit set, trapping unaligned accesses
at HYP, but we're not really prepared to deal with it.

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

Cc: stable@vger.kernel.org
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm/kvm/init.S