diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2018-07-20 10:53:09 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-22 14:28:51 +0200 |
commit | 0592871918f0acf369cec5c88de1fa76dbf2c1a2 (patch) | |
tree | a46b2112a09f58fae4dd342048e5086c90b34afb /virt/kvm/arm/arm.c | |
parent | b769d86ea9d4b2d77387791cc747462b19e8af22 (diff) |
arm64: KVM: Add HYP per-cpu accessors
commit 85478bab409171de501b719971fd25a3d5d639f9 upstream.
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>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt/kvm/arm/arm.c')
0 files changed, 0 insertions, 0 deletions