Re: [PATCH v4 04/13] arm64: alternatives: use tpidr_el2 on VHE hosts

Catalin Marinas
2017-10-18T10:59:19Z

On Tue, Oct 17, 2017 at 06:44:23PM +0100, James Morse wrote:
> 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>