diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-06-06 19:08:34 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-06-06 22:20:02 +0200 |
commit | 78fd6dcf11468a5a131b8365580d0c613bcc02cb (patch) | |
tree | b762fe2d2b452eef518a8eb7c5db3e77b5a369d0 /include/linux | |
parent | d68c1f7fd1b7148dab5fe658321d511998969f2d (diff) |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions