diff options
author | James Morse <james.morse@arm.com> | 2018-01-08 16:38:06 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-01-13 11:44:33 +0100 |
commit | 6d99b68933fbcf51f84fcbba49246ce1209ec193 (patch) | |
tree | 894dd012b15f34f5c31f952fb52fc51485f24e9b /fs/compat_binfmt_elf.c | |
parent | KVM: arm64: Change hyp_panic()s dependency on tpidr_el2 (diff) | |
download | linux-6d99b68933fbcf51f84fcbba49246ce1209ec193.tar.xz linux-6d99b68933fbcf51f84fcbba49246ce1209ec193.zip |
arm64: alternatives: use tpidr_el2 on VHE hosts
Now that KVM uses tpidr_el2 in the same way as Linux's cpu_offset in
tpidr_el1, merge the two. This saves KVM from save/restoring tpidr_el1
on VHE hosts, and allows future code to blindly access per-cpu variables
without triggering world-switch.
Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'fs/compat_binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions