diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-06-06 21:08:33 +0300 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-06-06 23:20:02 +0300 |
commit | d68c1f7fd1b7148dab5fe658321d511998969f2d (patch) | |
tree | dad8985ff69023999b33a51382598d5627daa292 /Makefile | |
parent | d6dbdd3c8558cad3b6d74cc357b408622d122331 (diff) | |
download | linux-d68c1f7fd1b7148dab5fe658321d511998969f2d.tar.xz |
arm64: KVM: Preserve RES1 bits in SCTLR_EL2
__do_hyp_init has the rather bad habit of ignoring RES1 bits and
writing them back as zero. On a v8.0-8.2 CPU, this doesn't do anything
bad, but may end-up being pretty nasty on future revisions of the
architecture.
Let's preserve those bits so that we don't have to fix this later on.
Cc: stable@vger.kernel.org
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions