commit | 572494995bc3d282336bfd8162741929402910b9 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Tue Sep 22 21:49:06 2020 +0100 |
committer | Marc Zyngier <maz@kernel.org> | Wed Sep 30 08:37:13 2020 +0100 |
tree | 9929b417abf64374ef4367bf8f884524fc2672e0 | |
parent | ea391027d35546d9155f1350123b5af8bddec706 [diff] |
kvm: arm64: Add helpers for accessing nVHE hyp per-cpu vars Defining a per-CPU variable in hyp/nvhe will result in its name being prefixed with __kvm_nvhe_. Add helpers for declaring these variables in kernel proper and accessing them with this_cpu_ptr and per_cpu_ptr. Signed-off-by: David Brazdil <dbrazdil@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Acked-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20200922204910.7265-7-dbrazdil@google.com