diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-05-29 13:11:15 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-05-31 18:00:53 +0100 |
commit | 85478bab409171de501b719971fd25a3d5d639f9 (patch) | |
tree | 95c490c95a4435880b939673e2e5f6eafd969a90 /arch/arm64/kvm/hyp/switch.c | |
parent | 9cdc0108baa8ef87c76ed834619886a46bd70cbe (diff) |
arm64: KVM: Add HYP per-cpu accessors
As we're going to require to access per-cpu variables at EL2,
let's craft the minimum set of accessors required to implement
reading a per-cpu variable, relying on tpidr_el2 to contain the
per-cpu offset.
Reviewed-by: Christoffer Dall <christoffer.dall@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kvm/hyp/switch.c')
0 files changed, 0 insertions, 0 deletions