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

Catalin Marinas catalin.marinas at arm.com
Wed Oct 18 04:00:08 PDT 2017


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 at arm.com>
> Reviewed-by: Christoffer Dall <cdall at linaro.org>

Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list