Skip to content
Commit 7f9249fc authored by James Morse's avatar James Morse
Browse files

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's avatarJames Morse <james.morse@arm.com>
parent 0214bba5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment